From 85bd4494e427d75c46c8ce76ba4fcad5fce07873 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Mon, 27 Apr 2026 09:45:28 +0000
Subject: [PATCH] SDK regeneration
---
.fern/metadata.json | 2 +-
poetry.lock | 20 +-
pyproject.toml | 2 +-
reference.md | 220 +++++++++++++++++-
src/elevenlabs/__init__.py | 192 +++++++--------
src/elevenlabs/audio_isolation/client.py | 173 ++++++++++++++
src/elevenlabs/audio_isolation/raw_client.py | 218 +++++++++++++++++
.../conversational_ai/mcp_servers/client.py | 25 +-
.../mcp_servers/raw_client.py | 25 +-
.../mcp_servers/tool_configs/client.py | 49 +++-
.../mcp_servers/tool_configs/raw_client.py | 49 +++-
.../tests/types/tests_create_request_body.py | 22 +-
.../tests/types/tests_get_response.py | 22 +-
.../tests/types/tests_update_request_body.py | 22 +-
.../tests/types/tests_update_response.py | 22 +-
src/elevenlabs/core/client_wrapper.py | 4 +-
src/elevenlabs/speech_to_text/client.py | 4 +-
src/elevenlabs/speech_to_text/raw_client.py | 4 +-
src/elevenlabs/types/__init__.py | 218 +++++++----------
.../agent_platform_settings_request_model.py | 6 +
.../agent_platform_settings_response_model.py | 6 +
src/elevenlabs/types/agent_trust_context.py | 5 +
...i_integration_webhook_tool_config_input.py | 8 +-
..._integration_webhook_tool_config_output.py | 8 +-
src/elevenlabs/types/asset_transcription.py | 24 ++
.../types/asset_transcription_data.py | 25 ++
.../types/asset_transcription_status.py | 5 +
...o_isolation_history_item_response_model.py | 32 +++
src/elevenlabs/types/client_event.py | 1 +
.../types/client_tool_config_input.py | 8 +-
.../types/client_tool_config_output.py | 8 +-
src/elevenlabs/types/conversation_config.py | 5 +
.../conversation_config_workflow_override.py | 5 +
...n_history_transcript_common_model_input.py | 1 +
..._history_transcript_common_model_output.py | 1 +
...ation_history_transcript_response_model.py | 1 +
...rsation_initiation_client_data_internal.py | 8 +-
...t_data_internal_dynamic_variables_value.py | 9 -
...on_initiation_client_data_request_input.py | 8 +-
...a_request_input_dynamic_variables_value.py | 9 -
...n_initiation_client_data_request_output.py | 8 +-
..._request_output_dynamic_variables_value.py | 9 -
.../conversation_simulation_specification.py | 8 +-
...n_specification_dynamic_variables_value.py | 9 -
...rvice_params.py => conversation_source.py} | 5 +-
.../create_response_unit_test_request.py | 10 +-
...it_test_request_dynamic_variables_value.py | 9 -
src/elevenlabs/types/create_service_params.py | 2 +-
.../types/create_simulation_test_request.py | 8 +-
...on_test_request_dynamic_variables_value.py | 9 -
.../create_tool_call_unit_test_request.py | 10 +-
...it_test_request_dynamic_variables_value.py | 9 -
src/elevenlabs/types/currency.py | 5 +
.../types/dialogue_text_alignment.py | 26 +++
...y => dynamic_variable_value_type_input.py} | 2 +-
... => dynamic_variable_value_type_output.py} | 2 +-
.../types/dynamic_variables_config_input.py | 10 +-
...put_dynamic_variable_placeholders_value.py | 9 -
.../types/dynamic_variables_config_output.py | 6 +-
...put_dynamic_variable_placeholders_value.py | 9 -
...ariables_config_workflow_override_input.py | 10 +-
...put_dynamic_variable_placeholders_value.py | 9 -
...riables_config_workflow_override_output.py | 6 +-
...put_dynamic_variable_placeholders_value.py | 9 -
...ed_subscription_response_model_currency.py | 5 -
...pointment_by_confirmation_number_params.py | 29 +++
..._audio_isolation_history_response_model.py | 22 ++
.../get_response_unit_test_response_model.py | 10 +-
..._response_model_dynamic_variables_value.py | 9 -
.../get_simulation_test_response_model.py | 10 +-
..._response_model_dynamic_variables_value.py | 9 -
.../get_tool_call_unit_test_response_model.py | 10 +-
..._response_model_dynamic_variables_value.py | 9 -
src/elevenlabs/types/icon.py | 28 +++
.../types/list_rental_services_params.py | 21 --
src/elevenlabs/types/llm.py | 2 -
...tal_service_params.py => manual_source.py} | 6 +-
.../types/mcp_server_config_input.py | 13 +-
.../types/mcp_server_config_output.py | 13 +-
.../types/mcp_tool_config_override_input.py | 13 +-
.../types/mcp_tool_config_override_output.py | 13 +-
.../types/memory_entry_search_result.py | 25 ++
.../memory_entry_search_result_source.py | 8 +
src/elevenlabs/types/merging_strategy.py | 5 -
.../types/multi_source_config_json.py | 61 -----
...ms.py => pending_blocks_metadata_model.py} | 5 +-
...pending_external_audios_metadata_model.py} | 5 +-
src/elevenlabs/types/play_dtmf_tool_config.py | 2 +-
src/elevenlabs/types/pre_tool_speech_mode.py | 5 +
.../types/procedure_compiler_mode.py | 2 +-
...ect_extended_response_model_assets_item.py | 9 +
.../project_external_audio_response_model.py | 6 +
.../types/project_video_response_model.py | 6 +
...prompt_agent_api_model_input_tools_item.py | 5 +
...rompt_agent_api_model_output_tools_item.py | 5 +
...odel_workflow_override_input_tools_item.py | 5 +
...del_workflow_override_output_tools_item.py | 5 +
src/elevenlabs/types/rag_retrieval_info.py | 1 +
.../types/response_unit_test_model.py | 8 +-
...unit_test_model_dynamic_variables_value.py | 9 -
.../types/session_started_payload_config.py | 10 +
src/elevenlabs/types/simulation_test_model.py | 4 +-
...tion_test_model_dynamic_variables_value.py | 7 -
src/elevenlabs/types/source_config_json.py | 85 -------
.../types/source_retrieval_config.py | 34 ---
...eech_history_item_response_model_source.py | 3 +-
src/elevenlabs/types/subscription.py | 4 +-
src/elevenlabs/types/subscription_response.py | 4 +-
.../subscription_response_model_currency.py | 5 -
.../types/system_tool_config_input.py | 8 +-
.../types/system_tool_config_output.py | 8 +-
...websocket_apply_text_normalization_enum.py | 5 +
.../text_to_dialogue_websocket_audio_chunk.py | 38 +++
...xt_to_dialogue_websocket_client_message.py | 83 +++++++
.../types/text_to_dialogue_websocket_error.py | 38 +++
...py => text_to_dialogue_websocket_final.py} | 7 +-
...o_dialogue_websocket_output_format_enum.py | 30 +++
.../text_to_dialogue_websocket_voice_input.py | 33 +++
src/elevenlabs/types/tool.py | 4 +
.../types/tool_call_unit_test_model.py | 8 +-
...unit_test_model_dynamic_variables_value.py | 9 -
src/elevenlabs/types/tool_execution.py | 29 +++
.../types/tool_execution_task_support.py | 5 +
.../types/tool_request_model_tool_config.py | 4 +
.../types/tool_response_model_tool_config.py | 4 +
.../unit_test_run_response_model_test_info.py | 16 +-
.../update_response_unit_test_request.py | 10 +-
...it_test_request_dynamic_variables_value.py | 9 -
.../types/update_simulation_test_request.py | 8 +-
...on_test_request_dynamic_variables_value.py | 9 -
.../update_tool_call_unit_test_request.py | 10 +-
...it_test_request_dynamic_variables_value.py | 9 -
.../webhook_tool_api_schema_config_input.py | 5 +
.../webhook_tool_api_schema_config_output.py | 5 +
.../types/webhook_tool_config_input.py | 8 +-
.../types/webhook_tool_config_output.py | 8 +-
.../__init__.py | 34 +++
.../types/__init__.py | 36 +++
...eive_text_to_dialogue_websocket_message.py | 11 +
src/elevenlabs/workspace/usage/client.py | 8 +-
src/elevenlabs/workspace/usage/raw_client.py | 8 +-
141 files changed, 1846 insertions(+), 891 deletions(-)
create mode 100644 src/elevenlabs/types/agent_trust_context.py
create mode 100644 src/elevenlabs/types/asset_transcription.py
create mode 100644 src/elevenlabs/types/asset_transcription_data.py
create mode 100644 src/elevenlabs/types/asset_transcription_status.py
create mode 100644 src/elevenlabs/types/audio_isolation_history_item_response_model.py
delete mode 100644 src/elevenlabs/types/conversation_initiation_client_data_internal_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/conversation_initiation_client_data_request_input_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/conversation_initiation_client_data_request_output_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/conversation_simulation_specification_dynamic_variables_value.py
rename src/elevenlabs/types/{update_rental_service_params.py => conversation_source.py} (78%)
delete mode 100644 src/elevenlabs/types/create_response_unit_test_request_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/create_simulation_test_request_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/create_tool_call_unit_test_request_dynamic_variables_value.py
create mode 100644 src/elevenlabs/types/currency.py
create mode 100644 src/elevenlabs/types/dialogue_text_alignment.py
rename src/elevenlabs/types/{dynamic_variable_container_value_type_input.py => dynamic_variable_value_type_input.py} (59%)
rename src/elevenlabs/types/{dynamic_variable_container_value_type_output.py => dynamic_variable_value_type_output.py} (59%)
delete mode 100644 src/elevenlabs/types/dynamic_variables_config_input_dynamic_variable_placeholders_value.py
delete mode 100644 src/elevenlabs/types/dynamic_variables_config_output_dynamic_variable_placeholders_value.py
delete mode 100644 src/elevenlabs/types/dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value.py
delete mode 100644 src/elevenlabs/types/dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value.py
delete mode 100644 src/elevenlabs/types/extended_subscription_response_model_currency.py
create mode 100644 src/elevenlabs/types/get_appointment_by_confirmation_number_params.py
create mode 100644 src/elevenlabs/types/get_audio_isolation_history_response_model.py
delete mode 100644 src/elevenlabs/types/get_response_unit_test_response_model_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/get_simulation_test_response_model_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/get_tool_call_unit_test_response_model_dynamic_variables_value.py
create mode 100644 src/elevenlabs/types/icon.py
delete mode 100644 src/elevenlabs/types/list_rental_services_params.py
rename src/elevenlabs/types/{create_rental_service_params.py => manual_source.py} (75%)
create mode 100644 src/elevenlabs/types/memory_entry_search_result.py
create mode 100644 src/elevenlabs/types/memory_entry_search_result_source.py
delete mode 100644 src/elevenlabs/types/merging_strategy.py
delete mode 100644 src/elevenlabs/types/multi_source_config_json.py
rename src/elevenlabs/types/{create_rental_booking_params.py => pending_blocks_metadata_model.py} (77%)
rename src/elevenlabs/types/{check_rental_availability_params.py => pending_external_audios_metadata_model.py} (75%)
create mode 100644 src/elevenlabs/types/pre_tool_speech_mode.py
delete mode 100644 src/elevenlabs/types/response_unit_test_model_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/simulation_test_model_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/source_config_json.py
delete mode 100644 src/elevenlabs/types/source_retrieval_config.py
delete mode 100644 src/elevenlabs/types/subscription_response_model_currency.py
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_apply_text_normalization_enum.py
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_audio_chunk.py
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_client_message.py
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_error.py
rename src/elevenlabs/types/{delete_rental_service_params.py => text_to_dialogue_websocket_final.py} (72%)
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_output_format_enum.py
create mode 100644 src/elevenlabs/types/text_to_dialogue_websocket_voice_input.py
delete mode 100644 src/elevenlabs/types/tool_call_unit_test_model_dynamic_variables_value.py
create mode 100644 src/elevenlabs/types/tool_execution.py
create mode 100644 src/elevenlabs/types/tool_execution_task_support.py
delete mode 100644 src/elevenlabs/types/update_response_unit_test_request_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/update_simulation_test_request_dynamic_variables_value.py
delete mode 100644 src/elevenlabs/types/update_tool_call_unit_test_request_dynamic_variables_value.py
create mode 100644 src/elevenlabs/v_1_text_to_dialogue_stream_input/__init__.py
create mode 100644 src/elevenlabs/v_1_text_to_dialogue_stream_input/types/__init__.py
create mode 100644 src/elevenlabs/v_1_text_to_dialogue_stream_input/types/receive_text_to_dialogue_websocket_message.py
diff --git a/.fern/metadata.json b/.fern/metadata.json
index c80387ec..a4d1e254 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -55,5 +55,5 @@
}
]
},
- "originGitCommit": "f9098194b68244835e13d11abd36888e8bc1eee6"
+ "originGitCommit": "6ac7251b36877c1630a1a8f045d4dd9d6f4a9ea6"
}
\ No newline at end of file
diff --git a/poetry.lock b/poetry.lock
index 49b9dd35..d13356ca 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -38,13 +38,13 @@ trio = ["trio (>=0.26.1)"]
[[package]]
name = "certifi"
-version = "2026.2.25"
+version = "2026.4.22"
description = "Python package for providing Mozilla's CA Bundle."
optional = false
python-versions = ">=3.7"
files = [
- {file = "certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa"},
- {file = "certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7"},
+ {file = "certifi-2026.4.22-py3-none-any.whl", hash = "sha256:3cb2210c8f88ba2318d29b0388d1023c8492ff72ecdde4ebdaddbb13a31b1c4a"},
+ {file = "certifi-2026.4.22.tar.gz", hash = "sha256:8d455352a37b71bf76a79caa83a3d6c25afee4a385d632127b6afb3963f1c580"},
]
[[package]]
@@ -285,17 +285,17 @@ zstd = ["zstandard (>=0.18.0)"]
[[package]]
name = "idna"
-version = "3.11"
+version = "3.13"
description = "Internationalized Domain Names in Applications (IDNA)"
optional = false
python-versions = ">=3.8"
files = [
- {file = "idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"},
- {file = "idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902"},
+ {file = "idna-3.13-py3-none-any.whl", hash = "sha256:892ea0cde124a99ce773decba204c5552b69c3c67ffd5f232eb7696135bc8bb3"},
+ {file = "idna-3.13.tar.gz", hash = "sha256:585ea8fe5d69b9181ec1afba340451fba6ba764af97026f92a91d4eef164a242"},
]
[package.extras]
-all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"]
+all = ["mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"]
[[package]]
name = "iniconfig"
@@ -374,13 +374,13 @@ files = [
[[package]]
name = "packaging"
-version = "26.1"
+version = "26.2"
description = "Core utilities for Python packages"
optional = false
python-versions = ">=3.8"
files = [
- {file = "packaging-26.1-py3-none-any.whl", hash = "sha256:5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f"},
- {file = "packaging-26.1.tar.gz", hash = "sha256:f042152b681c4bfac5cae2742a55e103d27ab2ec0f3d88037136b6bfe7c9c5de"},
+ {file = "packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e"},
+ {file = "packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661"},
]
[[package]]
diff --git a/pyproject.toml b/pyproject.toml
index 634404e3..1ab827b3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ dynamic = ["version"]
[tool.poetry]
name = "elevenlabs"
-version = "2.44.0"
+version = "2.45.0"
description = ""
readme = "README.md"
authors = []
diff --git a/reference.md b/reference.md
index 785e09f7..50236b31 100644
--- a/reference.md
+++ b/reference.md
@@ -602,6 +602,164 @@ client.text_to_sound_effects.convert(
## AudioIsolation
+client.audio_isolation.list(...)
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of all your audio isolation generations.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```python
+from elevenlabs import ElevenLabs
+
+client = ElevenLabs(
+ api_key="YOUR_API_KEY",
+)
+client.audio_isolation.list(
+ page_size=1,
+ page=1,
+ search="search",
+)
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**page_size:** `typing.Optional[int]` — How many history items to return at maximum. Defaults to 100.
+
+
+
+
+
+-
+
+**page:** `typing.Optional[int]` — Page number for search pagination (1-based). Only used when search is provided.
+
+
+
+
+
+-
+
+**search:** `typing.Optional[str]` — Optional search term used for filtering audio isolation history (title/text).
+
+
+
+
+
+-
+
+**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+
+
+
+
+
+
+
+
+
+client.audio_isolation.delete(...)
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Deletes a specific audio isolation history item and the associated media files.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```python
+from elevenlabs import ElevenLabs
+
+client = ElevenLabs(
+ api_key="YOUR_API_KEY",
+)
+client.audio_isolation.delete(
+ history_item_id="history_item_id",
+)
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**history_item_id:** `str` — Identifier of the audio isolation history item.
+
+
+
+
+
+-
+
+**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+
+
+
+
+
+
+
+
+
## Samples
client.samples.delete(...)
@@ -6937,7 +7095,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**keyterms:** `typing.Optional[typing.List[str]]` — A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
+**keyterms:** `typing.Optional[typing.List[str]]` — A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. The following characters are not supported: `<`, `>`, `{`, `}`, `[`, `]`, `\`. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
@@ -13422,7 +13580,15 @@ client.conversational_ai.mcp_servers.update(
-
-**force_pre_tool_speech:** `typing.Optional[bool]` — If set, overrides the server's force_pre_tool_speech setting for this tool
+**force_pre_tool_speech:** `typing.Optional[bool]` — DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+
+
+
+
+-
+
+**pre_tool_speech:** `typing.Optional[PreToolSpeechMode]` — If set, overrides the server's pre_tool_speech setting for this tool.
@@ -13462,6 +13628,14 @@ client.conversational_ai.mcp_servers.update(
-
+**response_timeout_secs:** `typing.Optional[int]` — The maximum time in seconds to wait for each MCP tool call to complete.
+
+
+
+
+
+-
+
**request_headers:** `typing.Optional[
typing.Dict[
str,
@@ -17882,7 +18056,15 @@ client.conversational_ai.mcp_servers.tool_configs.create(
-
-**force_pre_tool_speech:** `typing.Optional[bool]` — If set, overrides the server's force_pre_tool_speech setting for this tool
+**force_pre_tool_speech:** `typing.Optional[bool]` — DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+
+
+
+
+-
+
+**pre_tool_speech:** `typing.Optional[PreToolSpeechMode]` — If set, overrides the server's pre_tool_speech setting for this tool.
@@ -17922,6 +18104,14 @@ client.conversational_ai.mcp_servers.tool_configs.create(
-
+**response_timeout_secs:** `typing.Optional[int]` — If set, overrides the server's response timeout for this MCP tool.
+
+
+
+
+
+-
+
**assignments:** `typing.Optional[typing.Sequence[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool
@@ -18190,7 +18380,15 @@ client.conversational_ai.mcp_servers.tool_configs.update(
-
-**force_pre_tool_speech:** `typing.Optional[bool]` — If set, overrides the server's force_pre_tool_speech setting for this tool
+**force_pre_tool_speech:** `typing.Optional[bool]` — DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+
+
+
+
+-
+
+**pre_tool_speech:** `typing.Optional[PreToolSpeechMode]` — If set, overrides the server's pre_tool_speech setting for this tool.
@@ -18230,6 +18428,14 @@ client.conversational_ai.mcp_servers.tool_configs.update(
-
+**response_timeout_secs:** `typing.Optional[int]` — If set, overrides the server's response timeout for this MCP tool.
+
+
+
+
+
+-
+
**assignments:** `typing.Optional[typing.Sequence[DynamicVariableAssignment]]` — Dynamic variable assignments for this MCP tool
@@ -26243,7 +26449,7 @@ client.workspace.resources.unshare(
-
-Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.
+Returns credit usage broken down by product type over time. The response is a tabular structure with columns, column_types, column_units, and rows.
@@ -26282,7 +26488,7 @@ client.workspace.usage.get_usage_by_product_over_time(
-
-**start_time:** `int`
+**start_time:** `int` — Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
@@ -26290,7 +26496,7 @@ client.workspace.usage.get_usage_by_product_over_time(
-
-**end_time:** `int`
+**end_time:** `int` — End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
diff --git a/src/elevenlabs/__init__.py b/src/elevenlabs/__init__.py
index d6a67e01..4958add5 100644
--- a/src/elevenlabs/__init__.py
+++ b/src/elevenlabs/__init__.py
@@ -55,6 +55,7 @@
AgentTestingSettings,
AgentTopicResponseModel,
AgentTransfer,
+ AgentTrustContext,
AgentVersionMetadata,
AgentVersionParents,
AgentWorkflowRequestModel,
@@ -103,6 +104,9 @@
AsrInputFormat,
AsrProvider,
AsrQuality,
+ AssetTranscription,
+ AssetTranscriptionData,
+ AssetTranscriptionStatus,
AstAdditionOperatorNodeInput,
AstAdditionOperatorNodeOutput,
AstAndOperatorNodeInput,
@@ -190,6 +194,7 @@
AudioAnalysisResult,
AudioAnalysisStatus,
AudioFormatEnum,
+ AudioIsolationHistoryItemResponseModel,
AudioKeyMoment,
AudioNativeCreateProjectResponseModel,
AudioNativeEditContentResponseModel,
@@ -275,7 +280,6 @@
CharacterRefreshPeriod,
CharacterUsageResponse,
ChatSourceMedium,
- CheckRentalAvailabilityParams,
CheckServiceAvailabilityParams,
ClientEvent,
ClientToolConfigInput,
@@ -417,18 +421,15 @@
ConversationInitiationClientDataConfigInput,
ConversationInitiationClientDataConfigOutput,
ConversationInitiationClientDataInternal,
- ConversationInitiationClientDataInternalDynamicVariablesValue,
ConversationInitiationClientDataRequestInput,
- ConversationInitiationClientDataRequestInputDynamicVariablesValue,
ConversationInitiationClientDataRequestOutput,
- ConversationInitiationClientDataRequestOutputDynamicVariablesValue,
ConversationInitiationClientDataWebhook,
ConversationInitiationClientDataWebhookRequestHeadersValue,
ConversationInitiationSource,
ConversationInitiationSourceInfo,
ConversationSignedUrlResponseModel,
ConversationSimulationSpecification,
- ConversationSimulationSpecificationDynamicVariablesValue,
+ ConversationSource,
ConversationSummaryResponseModel,
ConversationSummaryResponseModelStatus,
ConversationTokenDbModel,
@@ -465,21 +466,17 @@
CreatePrivateKeyJwtRequestAlgorithm,
CreateProductParams,
CreatePronunciationDictionaryResponseModel,
- CreateRentalBookingParams,
- CreateRentalServiceParams,
CreateResponseUnitTestRequest,
- CreateResponseUnitTestRequestDynamicVariablesValue,
CreateSecretEnvironmentVariableRequest,
CreateServiceParams,
CreateSimulationTestRequest,
- CreateSimulationTestRequestDynamicVariablesValue,
CreateSipTrunkPhoneNumberRequest,
CreateStaffParams,
CreateStringEnvironmentVariableRequest,
CreateToolCallUnitTestRequest,
- CreateToolCallUnitTestRequestDynamicVariablesValue,
CreateTranscriptRequest,
CreateTwilioPhoneNumberRequest,
+ Currency,
CustomGuardrailConfig,
CustomGuardrailConfigTriggerAction,
CustomGuardrailConfigTriggerAction_EndCall,
@@ -515,7 +512,6 @@
DeleteProductParams,
DeleteProjectRequest,
DeleteProjectResponseModel,
- DeleteRentalServiceParams,
DeleteSampleResponse,
DeleteServiceParams,
DeleteStaffParams,
@@ -540,6 +536,7 @@
DetectedEntity,
DialogueInput,
DialogueInputResponseModel,
+ DialogueTextAlignment,
DirectPublishingReadResponseModel,
DirectPublishingReadResponseModelDisplayMode,
DirectPublishingReadResponseModelGenreItem,
@@ -566,20 +563,16 @@
DubbingTranscriptsResponseModel,
DubbingTranscriptsResponseModelTranscriptFormat,
DynamicVariableAssignment,
- DynamicVariableContainerValueTypeInput,
- DynamicVariableContainerValueTypeOutput,
DynamicVariableNestedValueTypeInput,
DynamicVariableNestedValueTypeOutput,
DynamicVariableSchemaOverride,
DynamicVariableUpdateCommonModel,
+ DynamicVariableValueTypeInput,
+ DynamicVariableValueTypeOutput,
DynamicVariablesConfigInput,
- DynamicVariablesConfigInputDynamicVariablePlaceholdersValue,
DynamicVariablesConfigOutput,
- DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue,
DynamicVariablesConfigWorkflowOverrideInput,
- DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue,
DynamicVariablesConfigWorkflowOverrideOutput,
- DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue,
EditChapterResponseModel,
EditProjectResponseModel,
EditVoiceResponseModel,
@@ -610,7 +603,6 @@
ExportOptions_SegmentedJson,
ExportOptions_Srt,
ExportOptions_Txt,
- ExtendedSubscriptionResponseModelCurrency,
ExtendedSubscriptionResponseModelMaxCreditLimitExtension,
ExtendedSubscriptionResponseModelPendingChange,
FeatureStatusCommonModel,
@@ -643,6 +635,8 @@
GetAgentTopicsResponseModel,
GetAgentsPageResponseModel,
GetAnalyticsSummaryParams,
+ GetAppointmentByConfirmationNumberParams,
+ GetAudioIsolationHistoryResponseModel,
GetAudioNativeProjectSettingsResponseModel,
GetBookingPageSettingsParams,
GetBookingSlugStatusParams,
@@ -714,7 +708,6 @@
GetPronunciationDictionaryWithRulesResponseModelRulesItem_Alias,
GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme,
GetResponseUnitTestResponseModel,
- GetResponseUnitTestResponseModelDynamicVariablesValue,
GetScheduleParams,
GetSecretDependenciesResponseModel,
GetSecretDependenciesResponseModelDependencies,
@@ -725,14 +718,12 @@
GetSecretDependenciesResponseModelDependenciesZeroItem_Available,
GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown,
GetSimulationTestResponseModel,
- GetSimulationTestResponseModelDynamicVariablesValue,
GetSpeechHistoryResponse,
GetTestInvocationsPageResponseModel,
GetTestSuiteInvocationResponseModel,
GetTestsPageResponseModel,
GetTestsSummariesByIdsResponseModel,
GetToolCallUnitTestResponseModel,
- GetToolCallUnitTestResponseModelDynamicVariablesValue,
GetToolDependentAgentsResponseModel,
GetToolDependentAgentsResponseModelAgentsItem,
GetToolDependentAgentsResponseModelAgentsItem_Available,
@@ -750,6 +741,7 @@
HistoryItemResponse,
HtmlExportOptions,
HttpValidationError,
+ Icon,
ImageAvatar,
InboundSipTrunkConfigRequestModel,
InitialiseContext,
@@ -812,7 +804,6 @@
ListLocationsParams,
ListMcpToolsResponseModel,
ListProductsParams,
- ListRentalServicesParams,
ListResponseAgentBranchSummary,
ListResponseMeta,
ListServicesParams,
@@ -841,6 +832,7 @@
LlmUsageCalculatorResponseModel,
LlmUsageInput,
LlmUsageOutput,
+ ManualSource,
ManualVerificationFileResponse,
ManualVerificationResponse,
MatchAnythingParameterEvaluationStrategy,
@@ -874,7 +866,8 @@
McpToolConfigOverrideOutputInputOverridesValue_Constant,
McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable,
McpToolConfigOverrideOutputInputOverridesValue_Llm,
- MergingStrategy,
+ MemoryEntrySearchResult,
+ MemoryEntrySearchResultSource,
MessageSearchSortBy,
MessagesSearchResponse,
MessagesSearchResult,
@@ -889,7 +882,6 @@
ModerationGuardrailInput,
ModerationGuardrailOutput,
MtlsAuthResponse,
- MultiSourceConfigJson,
MultichannelSpeechToTextResponseModel,
MultipartMusicResponse,
MusicExploreSongSourceContext,
@@ -915,9 +907,11 @@
PartialTranscriptPayload,
PatchWorkspaceWebhookResponseModel,
PdfExportOptions,
+ PendingBlocksMetadataModel,
PendingCancellationResponseModel,
PendingClipTask,
PendingClipTaskType,
+ PendingExternalAudiosMetadataModel,
PendingSubscriptionSwitchResponseModel,
PendingSubscriptionSwitchResponseModelNextTier,
PermissionType,
@@ -952,6 +946,7 @@
PostDialDigitsDynamicVariable,
PostDialDigitsStatic,
PostWorkspaceSecretResponseModel,
+ PreToolSpeechMode,
PreviewAudioDbModel,
PrivacyConfigInput,
PrivacyConfigOutput,
@@ -1092,7 +1087,6 @@
ResponseFilter,
ResponseFilterMode,
ResponseUnitTestModel,
- ResponseUnitTestModelDynamicVariablesValue,
RetryTriggerAction,
ReviewResponseModel,
ReviewResponseModelRejectReasonsItem,
@@ -1150,7 +1144,6 @@
SimilarVoice,
SimilarVoicesForSpeakerResponse,
SimulationTestModel,
- SimulationTestModelDynamicVariablesValue,
SimulationToolMockBehaviorConfig,
SingleTestRunRequestModel,
SingleUseTokenResponseModel,
@@ -1171,8 +1164,6 @@
SongSection,
SongSourceContext,
SortDirection,
- SourceConfigJson,
- SourceRetrievalConfig,
SpeakerAudioResponseModel,
SpeakerCreatedResponse,
SpeakerResponseModel,
@@ -1203,7 +1194,6 @@
StudioTextStyleShadowModel,
Subscription,
SubscriptionResponse,
- SubscriptionResponseModelCurrency,
SubscriptionResponseModelMaxCreditLimitExtension,
SubscriptionStatusType,
SuggestedAudioTag,
@@ -1242,6 +1232,13 @@
TestType,
TestsFeatureUsageCommonModel,
TextNormalisationType,
+ TextToDialogueWebsocketApplyTextNormalizationEnum,
+ TextToDialogueWebsocketAudioChunk,
+ TextToDialogueWebsocketClientMessage,
+ TextToDialogueWebsocketError,
+ TextToDialogueWebsocketFinal,
+ TextToDialogueWebsocketOutputFormatEnum,
+ TextToDialogueWebsocketVoiceInput,
TextToSpeechApplyTextNormalizationEnum,
TextToSpeechOutputFormatEnum,
TextToSpeechRequest,
@@ -1257,8 +1254,8 @@
ToolCallSoundBehavior,
ToolCallSoundType,
ToolCallUnitTestModel,
- ToolCallUnitTestModelDynamicVariablesValue,
ToolErrorHandlingMode,
+ ToolExecution,
ToolExecutionMode,
ToolExecutionResponseModel,
ToolExecutionResponseModelToolCallDetails,
@@ -1266,6 +1263,7 @@
ToolExecutionResponseModelToolCallDetails_Client,
ToolExecutionResponseModelToolCallDetails_Mcp,
ToolExecutionResponseModelToolCallDetails_Webhook,
+ ToolExecutionTaskSupport,
ToolMockConfig,
ToolRequestModel,
ToolRequestModelToolConfig,
@@ -1352,15 +1350,11 @@
UpdateProductParams,
UpdateProjectRequest,
UpdatePronunciationDictionariesRequest,
- UpdateRentalServiceParams,
UpdateResponseUnitTestRequest,
- UpdateResponseUnitTestRequestDynamicVariablesValue,
UpdateServiceParams,
UpdateSimulationTestRequest,
- UpdateSimulationTestRequestDynamicVariablesValue,
UpdateStaffParams,
UpdateToolCallUnitTestRequest,
- UpdateToolCallUnitTestRequestDynamicVariablesValue,
UpdateWorkspaceMemberResponseModel,
UrlAvatar,
UsageAggregationInterval,
@@ -1608,6 +1602,7 @@
usage,
user,
v_1_speech_to_text_realtime,
+ v_1_text_to_dialogue_stream_input,
v_1_text_to_speech_voice_id_multi_stream_input,
v_1_text_to_speech_voice_id_stream_input,
voices,
@@ -1697,6 +1692,7 @@
)
from .text_to_voice import VoiceDesignRequestModelModelId
from .v_1_speech_to_text_realtime import ReceiveTranscription, TextToSpeechCommitStrategy
+ from .v_1_text_to_dialogue_stream_input import ReceiveTextToDialogueWebsocketMessage
from .v_1_text_to_speech_voice_id_multi_stream_input import ReceiveMessageMulti, SendMessageMulti
from .v_1_text_to_speech_voice_id_stream_input import ReceiveMessage, SendMessage
from .version import __version__
@@ -1747,6 +1743,7 @@
"AgentTestingSettings": ".types",
"AgentTopicResponseModel": ".types",
"AgentTransfer": ".types",
+ "AgentTrustContext": ".types",
"AgentVersionMetadata": ".types",
"AgentVersionParents": ".types",
"AgentWorkflowRequestModel": ".types",
@@ -1795,6 +1792,9 @@
"AsrInputFormat": ".types",
"AsrProvider": ".types",
"AsrQuality": ".types",
+ "AssetTranscription": ".types",
+ "AssetTranscriptionData": ".types",
+ "AssetTranscriptionStatus": ".types",
"AstAdditionOperatorNodeInput": ".types",
"AstAdditionOperatorNodeOutput": ".types",
"AstAndOperatorNodeInput": ".types",
@@ -1885,6 +1885,7 @@
"AudioFormat": ".realtime",
"AudioFormatEnum": ".types",
"AudioIsolationConvertRequestFileFormat": ".audio_isolation",
+ "AudioIsolationHistoryItemResponseModel": ".types",
"AudioIsolationStreamRequestFileFormat": ".audio_isolation",
"AudioKeyMoment": ".types",
"AudioNativeCreateProjectResponseModel": ".types",
@@ -1994,7 +1995,6 @@
"CharacterRefreshPeriod": ".types",
"CharacterUsageResponse": ".types",
"ChatSourceMedium": ".types",
- "CheckRentalAvailabilityParams": ".types",
"CheckServiceAvailabilityParams": ".types",
"ClientEvent": ".types",
"ClientToolConfigInput": ".types",
@@ -2138,18 +2138,15 @@
"ConversationInitiationClientDataConfigInput": ".types",
"ConversationInitiationClientDataConfigOutput": ".types",
"ConversationInitiationClientDataInternal": ".types",
- "ConversationInitiationClientDataInternalDynamicVariablesValue": ".types",
"ConversationInitiationClientDataRequestInput": ".types",
- "ConversationInitiationClientDataRequestInputDynamicVariablesValue": ".types",
"ConversationInitiationClientDataRequestOutput": ".types",
- "ConversationInitiationClientDataRequestOutputDynamicVariablesValue": ".types",
"ConversationInitiationClientDataWebhook": ".types",
"ConversationInitiationClientDataWebhookRequestHeadersValue": ".types",
"ConversationInitiationSource": ".types",
"ConversationInitiationSourceInfo": ".types",
"ConversationSignedUrlResponseModel": ".types",
"ConversationSimulationSpecification": ".types",
- "ConversationSimulationSpecificationDynamicVariablesValue": ".types",
+ "ConversationSource": ".types",
"ConversationSummaryResponseModel": ".types",
"ConversationSummaryResponseModelStatus": ".types",
"ConversationTokenDbModel": ".types",
@@ -2186,21 +2183,17 @@
"CreatePrivateKeyJwtRequestAlgorithm": ".types",
"CreateProductParams": ".types",
"CreatePronunciationDictionaryResponseModel": ".types",
- "CreateRentalBookingParams": ".types",
- "CreateRentalServiceParams": ".types",
"CreateResponseUnitTestRequest": ".types",
- "CreateResponseUnitTestRequestDynamicVariablesValue": ".types",
"CreateSecretEnvironmentVariableRequest": ".types",
"CreateServiceParams": ".types",
"CreateSimulationTestRequest": ".types",
- "CreateSimulationTestRequestDynamicVariablesValue": ".types",
"CreateSipTrunkPhoneNumberRequest": ".types",
"CreateStaffParams": ".types",
"CreateStringEnvironmentVariableRequest": ".types",
"CreateToolCallUnitTestRequest": ".types",
- "CreateToolCallUnitTestRequestDynamicVariablesValue": ".types",
"CreateTranscriptRequest": ".types",
"CreateTwilioPhoneNumberRequest": ".types",
+ "Currency": ".types",
"CustomGuardrailConfig": ".types",
"CustomGuardrailConfigTriggerAction": ".types",
"CustomGuardrailConfigTriggerAction_EndCall": ".types",
@@ -2236,7 +2229,6 @@
"DeleteProductParams": ".types",
"DeleteProjectRequest": ".types",
"DeleteProjectResponseModel": ".types",
- "DeleteRentalServiceParams": ".types",
"DeleteSampleResponse": ".types",
"DeleteServiceParams": ".types",
"DeleteStaffParams": ".types",
@@ -2261,6 +2253,7 @@
"DetectedEntity": ".types",
"DialogueInput": ".types",
"DialogueInputResponseModel": ".types",
+ "DialogueTextAlignment": ".types",
"DirectPublishingReadResponseModel": ".types",
"DirectPublishingReadResponseModelDisplayMode": ".types",
"DirectPublishingReadResponseModelGenreItem": ".types",
@@ -2291,20 +2284,16 @@
"DubbingTranscriptsResponseModel": ".types",
"DubbingTranscriptsResponseModelTranscriptFormat": ".types",
"DynamicVariableAssignment": ".types",
- "DynamicVariableContainerValueTypeInput": ".types",
- "DynamicVariableContainerValueTypeOutput": ".types",
"DynamicVariableNestedValueTypeInput": ".types",
"DynamicVariableNestedValueTypeOutput": ".types",
"DynamicVariableSchemaOverride": ".types",
"DynamicVariableUpdateCommonModel": ".types",
+ "DynamicVariableValueTypeInput": ".types",
+ "DynamicVariableValueTypeOutput": ".types",
"DynamicVariablesConfigInput": ".types",
- "DynamicVariablesConfigInputDynamicVariablePlaceholdersValue": ".types",
"DynamicVariablesConfigOutput": ".types",
- "DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue": ".types",
"DynamicVariablesConfigWorkflowOverrideInput": ".types",
- "DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue": ".types",
"DynamicVariablesConfigWorkflowOverrideOutput": ".types",
- "DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue": ".types",
"EditChapterResponseModel": ".types",
"EditProjectResponseModel": ".types",
"EditVoiceResponseModel": ".types",
@@ -2342,7 +2331,6 @@
"ExportOptions_SegmentedJson": ".types",
"ExportOptions_Srt": ".types",
"ExportOptions_Txt": ".types",
- "ExtendedSubscriptionResponseModelCurrency": ".types",
"ExtendedSubscriptionResponseModelMaxCreditLimitExtension": ".types",
"ExtendedSubscriptionResponseModelPendingChange": ".types",
"FeatureStatusCommonModel": ".types",
@@ -2376,6 +2364,8 @@
"GetAgentTopicsResponseModel": ".types",
"GetAgentsPageResponseModel": ".types",
"GetAnalyticsSummaryParams": ".types",
+ "GetAppointmentByConfirmationNumberParams": ".types",
+ "GetAudioIsolationHistoryResponseModel": ".types",
"GetAudioNativeProjectSettingsResponseModel": ".types",
"GetBookingPageSettingsParams": ".types",
"GetBookingSlugStatusParams": ".types",
@@ -2447,7 +2437,6 @@
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Alias": ".types",
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme": ".types",
"GetResponseUnitTestResponseModel": ".types",
- "GetResponseUnitTestResponseModelDynamicVariablesValue": ".types",
"GetScheduleParams": ".types",
"GetSecretDependenciesResponseModel": ".types",
"GetSecretDependenciesResponseModelDependencies": ".types",
@@ -2458,14 +2447,12 @@
"GetSecretDependenciesResponseModelDependenciesZeroItem_Available": ".types",
"GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown": ".types",
"GetSimulationTestResponseModel": ".types",
- "GetSimulationTestResponseModelDynamicVariablesValue": ".types",
"GetSpeechHistoryResponse": ".types",
"GetTestInvocationsPageResponseModel": ".types",
"GetTestSuiteInvocationResponseModel": ".types",
"GetTestsPageResponseModel": ".types",
"GetTestsSummariesByIdsResponseModel": ".types",
"GetToolCallUnitTestResponseModel": ".types",
- "GetToolCallUnitTestResponseModelDynamicVariablesValue": ".types",
"GetToolDependentAgentsResponseModel": ".types",
"GetToolDependentAgentsResponseModelAgentsItem": ".types",
"GetToolDependentAgentsResponseModelAgentsItem_Available": ".types",
@@ -2485,6 +2472,7 @@
"HistoryListRequestSource": ".history",
"HtmlExportOptions": ".types",
"HttpValidationError": ".types",
+ "Icon": ".types",
"ImageAvatar": ".types",
"InboundSipTrunkConfigRequestModel": ".types",
"InitialiseContext": ".types",
@@ -2547,7 +2535,6 @@
"ListLocationsParams": ".types",
"ListMcpToolsResponseModel": ".types",
"ListProductsParams": ".types",
- "ListRentalServicesParams": ".types",
"ListResponseAgentBranchSummary": ".types",
"ListResponseMeta": ".types",
"ListServicesParams": ".types",
@@ -2576,6 +2563,7 @@
"LlmUsageCalculatorResponseModel": ".types",
"LlmUsageInput": ".types",
"LlmUsageOutput": ".types",
+ "ManualSource": ".types",
"ManualVerificationFileResponse": ".types",
"ManualVerificationResponse": ".types",
"MatchAnythingParameterEvaluationStrategy": ".types",
@@ -2609,7 +2597,8 @@
"McpToolConfigOverrideOutputInputOverridesValue_Constant": ".types",
"McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable": ".types",
"McpToolConfigOverrideOutputInputOverridesValue_Llm": ".types",
- "MergingStrategy": ".types",
+ "MemoryEntrySearchResult": ".types",
+ "MemoryEntrySearchResultSource": ".types",
"MessageSearchSortBy": ".types",
"MessagesSearchResponse": ".types",
"MessagesSearchResult": ".types",
@@ -2624,7 +2613,6 @@
"ModerationGuardrailInput": ".types",
"ModerationGuardrailOutput": ".types",
"MtlsAuthResponse": ".types",
- "MultiSourceConfigJson": ".types",
"MultichannelSpeechToTextResponseModel": ".types",
"MultipartMusicResponse": ".types",
"MusicExploreSongSourceContext": ".types",
@@ -2652,9 +2640,11 @@
"PartialTranscriptPayload": ".types",
"PatchWorkspaceWebhookResponseModel": ".types",
"PdfExportOptions": ".types",
+ "PendingBlocksMetadataModel": ".types",
"PendingCancellationResponseModel": ".types",
"PendingClipTask": ".types",
"PendingClipTaskType": ".types",
+ "PendingExternalAudiosMetadataModel": ".types",
"PendingSubscriptionSwitchResponseModel": ".types",
"PendingSubscriptionSwitchResponseModelNextTier": ".types",
"PermissionType": ".types",
@@ -2689,6 +2679,7 @@
"PostDialDigitsDynamicVariable": ".types",
"PostDialDigitsStatic": ".types",
"PostWorkspaceSecretResponseModel": ".types",
+ "PreToolSpeechMode": ".types",
"PreviewAudioDbModel": ".types",
"PrivacyConfigInput": ".types",
"PrivacyConfigOutput": ".types",
@@ -2817,6 +2808,7 @@
"RealtimeVoiceSettings": ".types",
"ReceiveMessage": ".v_1_text_to_speech_voice_id_stream_input",
"ReceiveMessageMulti": ".v_1_text_to_speech_voice_id_multi_stream_input",
+ "ReceiveTextToDialogueWebsocketMessage": ".v_1_text_to_dialogue_stream_input",
"ReceiveTranscription": ".v_1_speech_to_text_realtime",
"RecordingResponse": ".types",
"ReferenceVideo": ".types",
@@ -2838,7 +2830,6 @@
"ResponseFilter": ".types",
"ResponseFilterMode": ".types",
"ResponseUnitTestModel": ".types",
- "ResponseUnitTestModelDynamicVariablesValue": ".types",
"RetryTriggerAction": ".types",
"ReviewResponseModel": ".types",
"ReviewResponseModelRejectReasonsItem": ".types",
@@ -2898,7 +2889,6 @@
"SimilarVoice": ".types",
"SimilarVoicesForSpeakerResponse": ".types",
"SimulationTestModel": ".types",
- "SimulationTestModelDynamicVariablesValue": ".types",
"SimulationToolMockBehaviorConfig": ".types",
"SingleTestRunRequestModel": ".types",
"SingleUseTokenResponseModel": ".types",
@@ -2919,8 +2909,6 @@
"SongSection": ".types",
"SongSourceContext": ".types",
"SortDirection": ".types",
- "SourceConfigJson": ".types",
- "SourceRetrievalConfig": ".types",
"SpeakerAudioResponseModel": ".types",
"SpeakerCreatedResponse": ".types",
"SpeakerResponseModel": ".types",
@@ -2962,7 +2950,6 @@
"StudioTextStyleShadowModel": ".types",
"Subscription": ".types",
"SubscriptionResponse": ".types",
- "SubscriptionResponseModelCurrency": ".types",
"SubscriptionResponseModelMaxCreditLimitExtension": ".types",
"SubscriptionStatusType": ".types",
"SuggestedAudioTag": ".types",
@@ -3003,6 +2990,13 @@
"TextNormalisationType": ".types",
"TextToDialogueConvertRequestOutputFormat": ".text_to_dialogue",
"TextToDialogueConvertWithTimestampsRequestOutputFormat": ".text_to_dialogue",
+ "TextToDialogueWebsocketApplyTextNormalizationEnum": ".types",
+ "TextToDialogueWebsocketAudioChunk": ".types",
+ "TextToDialogueWebsocketClientMessage": ".types",
+ "TextToDialogueWebsocketError": ".types",
+ "TextToDialogueWebsocketFinal": ".types",
+ "TextToDialogueWebsocketOutputFormatEnum": ".types",
+ "TextToDialogueWebsocketVoiceInput": ".types",
"TextToSpeechApplyTextNormalizationEnum": ".types",
"TextToSpeechCommitStrategy": ".v_1_speech_to_text_realtime",
"TextToSpeechConvertRequestOutputFormat": ".text_to_speech",
@@ -3024,8 +3018,8 @@
"ToolCallSoundBehavior": ".types",
"ToolCallSoundType": ".types",
"ToolCallUnitTestModel": ".types",
- "ToolCallUnitTestModelDynamicVariablesValue": ".types",
"ToolErrorHandlingMode": ".types",
+ "ToolExecution": ".types",
"ToolExecutionMode": ".types",
"ToolExecutionResponseModel": ".types",
"ToolExecutionResponseModelToolCallDetails": ".types",
@@ -3033,6 +3027,7 @@
"ToolExecutionResponseModelToolCallDetails_Client": ".types",
"ToolExecutionResponseModelToolCallDetails_Mcp": ".types",
"ToolExecutionResponseModelToolCallDetails_Webhook": ".types",
+ "ToolExecutionTaskSupport": ".types",
"ToolMockConfig": ".types",
"ToolRequestModel": ".types",
"ToolRequestModelToolConfig": ".types",
@@ -3122,15 +3117,11 @@
"UpdateProductParams": ".types",
"UpdateProjectRequest": ".types",
"UpdatePronunciationDictionariesRequest": ".types",
- "UpdateRentalServiceParams": ".types",
"UpdateResponseUnitTestRequest": ".types",
- "UpdateResponseUnitTestRequestDynamicVariablesValue": ".types",
"UpdateServiceParams": ".types",
"UpdateSimulationTestRequest": ".types",
- "UpdateSimulationTestRequestDynamicVariablesValue": ".types",
"UpdateStaffParams": ".types",
"UpdateToolCallUnitTestRequest": ".types",
- "UpdateToolCallUnitTestRequestDynamicVariablesValue": ".types",
"UpdateWorkspaceMemberResponseModel": ".types",
"UrlAvatar": ".types",
"UsageAggregationInterval": ".types",
@@ -3374,6 +3365,7 @@
"usage": ".usage",
"user": ".user",
"v_1_speech_to_text_realtime": ".v_1_speech_to_text_realtime",
+ "v_1_text_to_dialogue_stream_input": ".v_1_text_to_dialogue_stream_input",
"v_1_text_to_speech_voice_id_multi_stream_input": ".v_1_text_to_speech_voice_id_multi_stream_input",
"v_1_text_to_speech_voice_id_stream_input": ".v_1_text_to_speech_voice_id_stream_input",
"voices": ".voices",
@@ -3449,6 +3441,7 @@ def __dir__():
"AgentTestingSettings",
"AgentTopicResponseModel",
"AgentTransfer",
+ "AgentTrustContext",
"AgentVersionMetadata",
"AgentVersionParents",
"AgentWorkflowRequestModel",
@@ -3497,6 +3490,9 @@ def __dir__():
"AsrInputFormat",
"AsrProvider",
"AsrQuality",
+ "AssetTranscription",
+ "AssetTranscriptionData",
+ "AssetTranscriptionStatus",
"AstAdditionOperatorNodeInput",
"AstAdditionOperatorNodeOutput",
"AstAndOperatorNodeInput",
@@ -3587,6 +3583,7 @@ def __dir__():
"AudioFormat",
"AudioFormatEnum",
"AudioIsolationConvertRequestFileFormat",
+ "AudioIsolationHistoryItemResponseModel",
"AudioIsolationStreamRequestFileFormat",
"AudioKeyMoment",
"AudioNativeCreateProjectResponseModel",
@@ -3696,7 +3693,6 @@ def __dir__():
"CharacterRefreshPeriod",
"CharacterUsageResponse",
"ChatSourceMedium",
- "CheckRentalAvailabilityParams",
"CheckServiceAvailabilityParams",
"ClientEvent",
"ClientToolConfigInput",
@@ -3840,18 +3836,15 @@ def __dir__():
"ConversationInitiationClientDataConfigInput",
"ConversationInitiationClientDataConfigOutput",
"ConversationInitiationClientDataInternal",
- "ConversationInitiationClientDataInternalDynamicVariablesValue",
"ConversationInitiationClientDataRequestInput",
- "ConversationInitiationClientDataRequestInputDynamicVariablesValue",
"ConversationInitiationClientDataRequestOutput",
- "ConversationInitiationClientDataRequestOutputDynamicVariablesValue",
"ConversationInitiationClientDataWebhook",
"ConversationInitiationClientDataWebhookRequestHeadersValue",
"ConversationInitiationSource",
"ConversationInitiationSourceInfo",
"ConversationSignedUrlResponseModel",
"ConversationSimulationSpecification",
- "ConversationSimulationSpecificationDynamicVariablesValue",
+ "ConversationSource",
"ConversationSummaryResponseModel",
"ConversationSummaryResponseModelStatus",
"ConversationTokenDbModel",
@@ -3888,21 +3881,17 @@ def __dir__():
"CreatePrivateKeyJwtRequestAlgorithm",
"CreateProductParams",
"CreatePronunciationDictionaryResponseModel",
- "CreateRentalBookingParams",
- "CreateRentalServiceParams",
"CreateResponseUnitTestRequest",
- "CreateResponseUnitTestRequestDynamicVariablesValue",
"CreateSecretEnvironmentVariableRequest",
"CreateServiceParams",
"CreateSimulationTestRequest",
- "CreateSimulationTestRequestDynamicVariablesValue",
"CreateSipTrunkPhoneNumberRequest",
"CreateStaffParams",
"CreateStringEnvironmentVariableRequest",
"CreateToolCallUnitTestRequest",
- "CreateToolCallUnitTestRequestDynamicVariablesValue",
"CreateTranscriptRequest",
"CreateTwilioPhoneNumberRequest",
+ "Currency",
"CustomGuardrailConfig",
"CustomGuardrailConfigTriggerAction",
"CustomGuardrailConfigTriggerAction_EndCall",
@@ -3938,7 +3927,6 @@ def __dir__():
"DeleteProductParams",
"DeleteProjectRequest",
"DeleteProjectResponseModel",
- "DeleteRentalServiceParams",
"DeleteSampleResponse",
"DeleteServiceParams",
"DeleteStaffParams",
@@ -3963,6 +3951,7 @@ def __dir__():
"DetectedEntity",
"DialogueInput",
"DialogueInputResponseModel",
+ "DialogueTextAlignment",
"DirectPublishingReadResponseModel",
"DirectPublishingReadResponseModelDisplayMode",
"DirectPublishingReadResponseModelGenreItem",
@@ -3993,20 +3982,16 @@ def __dir__():
"DubbingTranscriptsResponseModel",
"DubbingTranscriptsResponseModelTranscriptFormat",
"DynamicVariableAssignment",
- "DynamicVariableContainerValueTypeInput",
- "DynamicVariableContainerValueTypeOutput",
"DynamicVariableNestedValueTypeInput",
"DynamicVariableNestedValueTypeOutput",
"DynamicVariableSchemaOverride",
"DynamicVariableUpdateCommonModel",
+ "DynamicVariableValueTypeInput",
+ "DynamicVariableValueTypeOutput",
"DynamicVariablesConfigInput",
- "DynamicVariablesConfigInputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigOutput",
- "DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigWorkflowOverrideInput",
- "DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigWorkflowOverrideOutput",
- "DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue",
"EditChapterResponseModel",
"EditProjectResponseModel",
"EditVoiceResponseModel",
@@ -4044,7 +4029,6 @@ def __dir__():
"ExportOptions_SegmentedJson",
"ExportOptions_Srt",
"ExportOptions_Txt",
- "ExtendedSubscriptionResponseModelCurrency",
"ExtendedSubscriptionResponseModelMaxCreditLimitExtension",
"ExtendedSubscriptionResponseModelPendingChange",
"FeatureStatusCommonModel",
@@ -4078,6 +4062,8 @@ def __dir__():
"GetAgentTopicsResponseModel",
"GetAgentsPageResponseModel",
"GetAnalyticsSummaryParams",
+ "GetAppointmentByConfirmationNumberParams",
+ "GetAudioIsolationHistoryResponseModel",
"GetAudioNativeProjectSettingsResponseModel",
"GetBookingPageSettingsParams",
"GetBookingSlugStatusParams",
@@ -4149,7 +4135,6 @@ def __dir__():
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Alias",
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme",
"GetResponseUnitTestResponseModel",
- "GetResponseUnitTestResponseModelDynamicVariablesValue",
"GetScheduleParams",
"GetSecretDependenciesResponseModel",
"GetSecretDependenciesResponseModelDependencies",
@@ -4160,14 +4145,12 @@ def __dir__():
"GetSecretDependenciesResponseModelDependenciesZeroItem_Available",
"GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown",
"GetSimulationTestResponseModel",
- "GetSimulationTestResponseModelDynamicVariablesValue",
"GetSpeechHistoryResponse",
"GetTestInvocationsPageResponseModel",
"GetTestSuiteInvocationResponseModel",
"GetTestsPageResponseModel",
"GetTestsSummariesByIdsResponseModel",
"GetToolCallUnitTestResponseModel",
- "GetToolCallUnitTestResponseModelDynamicVariablesValue",
"GetToolDependentAgentsResponseModel",
"GetToolDependentAgentsResponseModelAgentsItem",
"GetToolDependentAgentsResponseModelAgentsItem_Available",
@@ -4187,6 +4170,7 @@ def __dir__():
"HistoryListRequestSource",
"HtmlExportOptions",
"HttpValidationError",
+ "Icon",
"ImageAvatar",
"InboundSipTrunkConfigRequestModel",
"InitialiseContext",
@@ -4249,7 +4233,6 @@ def __dir__():
"ListLocationsParams",
"ListMcpToolsResponseModel",
"ListProductsParams",
- "ListRentalServicesParams",
"ListResponseAgentBranchSummary",
"ListResponseMeta",
"ListServicesParams",
@@ -4278,6 +4261,7 @@ def __dir__():
"LlmUsageCalculatorResponseModel",
"LlmUsageInput",
"LlmUsageOutput",
+ "ManualSource",
"ManualVerificationFileResponse",
"ManualVerificationResponse",
"MatchAnythingParameterEvaluationStrategy",
@@ -4311,7 +4295,8 @@ def __dir__():
"McpToolConfigOverrideOutputInputOverridesValue_Constant",
"McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable",
"McpToolConfigOverrideOutputInputOverridesValue_Llm",
- "MergingStrategy",
+ "MemoryEntrySearchResult",
+ "MemoryEntrySearchResultSource",
"MessageSearchSortBy",
"MessagesSearchResponse",
"MessagesSearchResult",
@@ -4326,7 +4311,6 @@ def __dir__():
"ModerationGuardrailInput",
"ModerationGuardrailOutput",
"MtlsAuthResponse",
- "MultiSourceConfigJson",
"MultichannelSpeechToTextResponseModel",
"MultipartMusicResponse",
"MusicExploreSongSourceContext",
@@ -4354,9 +4338,11 @@ def __dir__():
"PartialTranscriptPayload",
"PatchWorkspaceWebhookResponseModel",
"PdfExportOptions",
+ "PendingBlocksMetadataModel",
"PendingCancellationResponseModel",
"PendingClipTask",
"PendingClipTaskType",
+ "PendingExternalAudiosMetadataModel",
"PendingSubscriptionSwitchResponseModel",
"PendingSubscriptionSwitchResponseModelNextTier",
"PermissionType",
@@ -4391,6 +4377,7 @@ def __dir__():
"PostDialDigitsDynamicVariable",
"PostDialDigitsStatic",
"PostWorkspaceSecretResponseModel",
+ "PreToolSpeechMode",
"PreviewAudioDbModel",
"PrivacyConfigInput",
"PrivacyConfigOutput",
@@ -4519,6 +4506,7 @@ def __dir__():
"RealtimeVoiceSettings",
"ReceiveMessage",
"ReceiveMessageMulti",
+ "ReceiveTextToDialogueWebsocketMessage",
"ReceiveTranscription",
"RecordingResponse",
"ReferenceVideo",
@@ -4540,7 +4528,6 @@ def __dir__():
"ResponseFilter",
"ResponseFilterMode",
"ResponseUnitTestModel",
- "ResponseUnitTestModelDynamicVariablesValue",
"RetryTriggerAction",
"ReviewResponseModel",
"ReviewResponseModelRejectReasonsItem",
@@ -4600,7 +4587,6 @@ def __dir__():
"SimilarVoice",
"SimilarVoicesForSpeakerResponse",
"SimulationTestModel",
- "SimulationTestModelDynamicVariablesValue",
"SimulationToolMockBehaviorConfig",
"SingleTestRunRequestModel",
"SingleUseTokenResponseModel",
@@ -4621,8 +4607,6 @@ def __dir__():
"SongSection",
"SongSourceContext",
"SortDirection",
- "SourceConfigJson",
- "SourceRetrievalConfig",
"SpeakerAudioResponseModel",
"SpeakerCreatedResponse",
"SpeakerResponseModel",
@@ -4664,7 +4648,6 @@ def __dir__():
"StudioTextStyleShadowModel",
"Subscription",
"SubscriptionResponse",
- "SubscriptionResponseModelCurrency",
"SubscriptionResponseModelMaxCreditLimitExtension",
"SubscriptionStatusType",
"SuggestedAudioTag",
@@ -4705,6 +4688,13 @@ def __dir__():
"TextNormalisationType",
"TextToDialogueConvertRequestOutputFormat",
"TextToDialogueConvertWithTimestampsRequestOutputFormat",
+ "TextToDialogueWebsocketApplyTextNormalizationEnum",
+ "TextToDialogueWebsocketAudioChunk",
+ "TextToDialogueWebsocketClientMessage",
+ "TextToDialogueWebsocketError",
+ "TextToDialogueWebsocketFinal",
+ "TextToDialogueWebsocketOutputFormatEnum",
+ "TextToDialogueWebsocketVoiceInput",
"TextToSpeechApplyTextNormalizationEnum",
"TextToSpeechCommitStrategy",
"TextToSpeechConvertRequestOutputFormat",
@@ -4726,8 +4716,8 @@ def __dir__():
"ToolCallSoundBehavior",
"ToolCallSoundType",
"ToolCallUnitTestModel",
- "ToolCallUnitTestModelDynamicVariablesValue",
"ToolErrorHandlingMode",
+ "ToolExecution",
"ToolExecutionMode",
"ToolExecutionResponseModel",
"ToolExecutionResponseModelToolCallDetails",
@@ -4735,6 +4725,7 @@ def __dir__():
"ToolExecutionResponseModelToolCallDetails_Client",
"ToolExecutionResponseModelToolCallDetails_Mcp",
"ToolExecutionResponseModelToolCallDetails_Webhook",
+ "ToolExecutionTaskSupport",
"ToolMockConfig",
"ToolRequestModel",
"ToolRequestModelToolConfig",
@@ -4824,15 +4815,11 @@ def __dir__():
"UpdateProductParams",
"UpdateProjectRequest",
"UpdatePronunciationDictionariesRequest",
- "UpdateRentalServiceParams",
"UpdateResponseUnitTestRequest",
- "UpdateResponseUnitTestRequestDynamicVariablesValue",
"UpdateServiceParams",
"UpdateSimulationTestRequest",
- "UpdateSimulationTestRequestDynamicVariablesValue",
"UpdateStaffParams",
"UpdateToolCallUnitTestRequest",
- "UpdateToolCallUnitTestRequestDynamicVariablesValue",
"UpdateWorkspaceMemberResponseModel",
"UrlAvatar",
"UsageAggregationInterval",
@@ -5076,6 +5063,7 @@ def __dir__():
"usage",
"user",
"v_1_speech_to_text_realtime",
+ "v_1_text_to_dialogue_stream_input",
"v_1_text_to_speech_voice_id_multi_stream_input",
"v_1_text_to_speech_voice_id_stream_input",
"voices",
diff --git a/src/elevenlabs/audio_isolation/client.py b/src/elevenlabs/audio_isolation/client.py
index ece1d714..5a22196e 100644
--- a/src/elevenlabs/audio_isolation/client.py
+++ b/src/elevenlabs/audio_isolation/client.py
@@ -5,6 +5,7 @@
from .. import core
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.request_options import RequestOptions
+from ..types.get_audio_isolation_history_response_model import GetAudioIsolationHistoryResponseModel
from .raw_client import AsyncRawAudioIsolationClient, RawAudioIsolationClient
from .types.audio_isolation_convert_request_file_format import AudioIsolationConvertRequestFileFormat
from .types.audio_isolation_stream_request_file_format import AudioIsolationStreamRequestFileFormat
@@ -63,6 +64,84 @@ def convert(
) as r:
yield from r.data
+ def list(
+ self,
+ *,
+ page_size: typing.Optional[int] = None,
+ page: typing.Optional[int] = None,
+ search: typing.Optional[str] = None,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> GetAudioIsolationHistoryResponseModel:
+ """
+ Returns a list of all your audio isolation generations.
+
+ Parameters
+ ----------
+ page_size : typing.Optional[int]
+ How many history items to return at maximum. Defaults to 100.
+
+ page : typing.Optional[int]
+ Page number for search pagination (1-based). Only used when search is provided.
+
+ search : typing.Optional[str]
+ Optional search term used for filtering audio isolation history (title/text).
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ GetAudioIsolationHistoryResponseModel
+ Successful Response
+
+ Examples
+ --------
+ from elevenlabs import ElevenLabs
+
+ client = ElevenLabs(
+ api_key="YOUR_API_KEY",
+ )
+ client.audio_isolation.list(
+ page_size=1,
+ page=1,
+ search="search",
+ )
+ """
+ _response = self._raw_client.list(
+ page_size=page_size, page=page, search=search, request_options=request_options
+ )
+ return _response.data
+
+ def delete(self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
+ """
+ Deletes a specific audio isolation history item and the associated media files.
+
+ Parameters
+ ----------
+ history_item_id : str
+ Identifier of the audio isolation history item.
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ None
+
+ Examples
+ --------
+ from elevenlabs import ElevenLabs
+
+ client = ElevenLabs(
+ api_key="YOUR_API_KEY",
+ )
+ client.audio_isolation.delete(
+ history_item_id="history_item_id",
+ )
+ """
+ _response = self._raw_client.delete(history_item_id, request_options=request_options)
+ return _response.data
+
def stream(
self,
*,
@@ -144,6 +223,100 @@ async def convert(
async for _chunk in r.data:
yield _chunk
+ async def list(
+ self,
+ *,
+ page_size: typing.Optional[int] = None,
+ page: typing.Optional[int] = None,
+ search: typing.Optional[str] = None,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> GetAudioIsolationHistoryResponseModel:
+ """
+ Returns a list of all your audio isolation generations.
+
+ Parameters
+ ----------
+ page_size : typing.Optional[int]
+ How many history items to return at maximum. Defaults to 100.
+
+ page : typing.Optional[int]
+ Page number for search pagination (1-based). Only used when search is provided.
+
+ search : typing.Optional[str]
+ Optional search term used for filtering audio isolation history (title/text).
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ GetAudioIsolationHistoryResponseModel
+ Successful Response
+
+ Examples
+ --------
+ import asyncio
+
+ from elevenlabs import AsyncElevenLabs
+
+ client = AsyncElevenLabs(
+ api_key="YOUR_API_KEY",
+ )
+
+
+ async def main() -> None:
+ await client.audio_isolation.list(
+ page_size=1,
+ page=1,
+ search="search",
+ )
+
+
+ asyncio.run(main())
+ """
+ _response = await self._raw_client.list(
+ page_size=page_size, page=page, search=search, request_options=request_options
+ )
+ return _response.data
+
+ async def delete(self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
+ """
+ Deletes a specific audio isolation history item and the associated media files.
+
+ Parameters
+ ----------
+ history_item_id : str
+ Identifier of the audio isolation history item.
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ None
+
+ Examples
+ --------
+ import asyncio
+
+ from elevenlabs import AsyncElevenLabs
+
+ client = AsyncElevenLabs(
+ api_key="YOUR_API_KEY",
+ )
+
+
+ async def main() -> None:
+ await client.audio_isolation.delete(
+ history_item_id="history_item_id",
+ )
+
+
+ asyncio.run(main())
+ """
+ _response = await self._raw_client.delete(history_item_id, request_options=request_options)
+ return _response.data
+
async def stream(
self,
*,
diff --git a/src/elevenlabs/audio_isolation/raw_client.py b/src/elevenlabs/audio_isolation/raw_client.py
index e1f9feea..ca9389d6 100644
--- a/src/elevenlabs/audio_isolation/raw_client.py
+++ b/src/elevenlabs/audio_isolation/raw_client.py
@@ -8,9 +8,11 @@
from ..core.api_error import ApiError
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.http_response import AsyncHttpResponse, HttpResponse
+from ..core.jsonable_encoder import jsonable_encoder
from ..core.request_options import RequestOptions
from ..core.unchecked_base_model import construct_type
from ..errors.unprocessable_entity_error import UnprocessableEntityError
+from ..types.get_audio_isolation_history_response_model import GetAudioIsolationHistoryResponseModel
from .types.audio_isolation_convert_request_file_format import AudioIsolationConvertRequestFileFormat
from .types.audio_isolation_stream_request_file_format import AudioIsolationStreamRequestFileFormat
@@ -96,6 +98,114 @@ def _stream() -> HttpResponse[typing.Iterator[bytes]]:
yield _stream()
+ def list(
+ self,
+ *,
+ page_size: typing.Optional[int] = None,
+ page: typing.Optional[int] = None,
+ search: typing.Optional[str] = None,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> HttpResponse[GetAudioIsolationHistoryResponseModel]:
+ """
+ Returns a list of all your audio isolation generations.
+
+ Parameters
+ ----------
+ page_size : typing.Optional[int]
+ How many history items to return at maximum. Defaults to 100.
+
+ page : typing.Optional[int]
+ Page number for search pagination (1-based). Only used when search is provided.
+
+ search : typing.Optional[str]
+ Optional search term used for filtering audio isolation history (title/text).
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ HttpResponse[GetAudioIsolationHistoryResponseModel]
+ Successful Response
+ """
+ _response = self._client_wrapper.httpx_client.request(
+ "v1/audio-isolation/history",
+ method="GET",
+ params={
+ "page_size": page_size,
+ "page": page,
+ "search": search,
+ },
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ GetAudioIsolationHistoryResponseModel,
+ construct_type(
+ type_=GetAudioIsolationHistoryResponseModel, # type: ignore
+ object_=_response.json(),
+ ),
+ )
+ return HttpResponse(response=_response, data=_data)
+ if _response.status_code == 422:
+ raise UnprocessableEntityError(
+ headers=dict(_response.headers),
+ body=typing.cast(
+ typing.Any,
+ construct_type(
+ type_=typing.Any, # type: ignore
+ object_=_response.json(),
+ ),
+ ),
+ )
+ _response_json = _response.json()
+ except JSONDecodeError:
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
+
+ def delete(
+ self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> HttpResponse[None]:
+ """
+ Deletes a specific audio isolation history item and the associated media files.
+
+ Parameters
+ ----------
+ history_item_id : str
+ Identifier of the audio isolation history item.
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ HttpResponse[None]
+ """
+ _response = self._client_wrapper.httpx_client.request(
+ f"v1/audio-isolation/history/{jsonable_encoder(history_item_id)}",
+ method="DELETE",
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ return HttpResponse(response=_response, data=None)
+ if _response.status_code == 422:
+ raise UnprocessableEntityError(
+ headers=dict(_response.headers),
+ body=typing.cast(
+ typing.Any,
+ construct_type(
+ type_=typing.Any, # type: ignore
+ object_=_response.json(),
+ ),
+ ),
+ )
+ _response_json = _response.json()
+ except JSONDecodeError:
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
+
@contextlib.contextmanager
def stream(
self,
@@ -245,6 +355,114 @@ async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]:
yield await _stream()
+ async def list(
+ self,
+ *,
+ page_size: typing.Optional[int] = None,
+ page: typing.Optional[int] = None,
+ search: typing.Optional[str] = None,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> AsyncHttpResponse[GetAudioIsolationHistoryResponseModel]:
+ """
+ Returns a list of all your audio isolation generations.
+
+ Parameters
+ ----------
+ page_size : typing.Optional[int]
+ How many history items to return at maximum. Defaults to 100.
+
+ page : typing.Optional[int]
+ Page number for search pagination (1-based). Only used when search is provided.
+
+ search : typing.Optional[str]
+ Optional search term used for filtering audio isolation history (title/text).
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ AsyncHttpResponse[GetAudioIsolationHistoryResponseModel]
+ Successful Response
+ """
+ _response = await self._client_wrapper.httpx_client.request(
+ "v1/audio-isolation/history",
+ method="GET",
+ params={
+ "page_size": page_size,
+ "page": page,
+ "search": search,
+ },
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ GetAudioIsolationHistoryResponseModel,
+ construct_type(
+ type_=GetAudioIsolationHistoryResponseModel, # type: ignore
+ object_=_response.json(),
+ ),
+ )
+ return AsyncHttpResponse(response=_response, data=_data)
+ if _response.status_code == 422:
+ raise UnprocessableEntityError(
+ headers=dict(_response.headers),
+ body=typing.cast(
+ typing.Any,
+ construct_type(
+ type_=typing.Any, # type: ignore
+ object_=_response.json(),
+ ),
+ ),
+ )
+ _response_json = _response.json()
+ except JSONDecodeError:
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
+
+ async def delete(
+ self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> AsyncHttpResponse[None]:
+ """
+ Deletes a specific audio isolation history item and the associated media files.
+
+ Parameters
+ ----------
+ history_item_id : str
+ Identifier of the audio isolation history item.
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ AsyncHttpResponse[None]
+ """
+ _response = await self._client_wrapper.httpx_client.request(
+ f"v1/audio-isolation/history/{jsonable_encoder(history_item_id)}",
+ method="DELETE",
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ return AsyncHttpResponse(response=_response, data=None)
+ if _response.status_code == 422:
+ raise UnprocessableEntityError(
+ headers=dict(_response.headers),
+ body=typing.cast(
+ typing.Any,
+ construct_type(
+ type_=typing.Any, # type: ignore
+ object_=_response.json(),
+ ),
+ ),
+ )
+ _response_json = _response.json()
+ except JSONDecodeError:
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
+
@contextlib.asynccontextmanager
async def stream(
self,
diff --git a/src/elevenlabs/conversational_ai/mcp_servers/client.py b/src/elevenlabs/conversational_ai/mcp_servers/client.py
index 07231ad9..3fb7ed26 100644
--- a/src/elevenlabs/conversational_ai/mcp_servers/client.py
+++ b/src/elevenlabs/conversational_ai/mcp_servers/client.py
@@ -11,6 +11,7 @@
from ...types.mcp_server_config_input import McpServerConfigInput
from ...types.mcp_server_response_model import McpServerResponseModel
from ...types.mcp_servers_response_model import McpServersResponseModel
+from ...types.pre_tool_speech_mode import PreToolSpeechMode
from ...types.tool_call_sound_behavior import ToolCallSoundBehavior
from ...types.tool_call_sound_type import ToolCallSoundType
from ...types.tool_execution_mode import ToolExecutionMode
@@ -183,10 +184,12 @@ def update(
*,
approval_policy: typing.Optional[McpApprovalPolicy] = OMIT,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
request_headers: typing.Optional[
typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]
] = OMIT,
@@ -207,7 +210,10 @@ def update(
The approval mode to set for the MCP server
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -221,6 +227,9 @@ def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ The maximum time in seconds to wait for each MCP tool call to complete.
+
request_headers : typing.Optional[typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]]
The headers to include in requests to the MCP server
@@ -256,10 +265,12 @@ def update(
mcp_server_id,
approval_policy=approval_policy,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
request_headers=request_headers,
disable_compression=disable_compression,
secret_token=secret_token,
@@ -487,10 +498,12 @@ async def update(
*,
approval_policy: typing.Optional[McpApprovalPolicy] = OMIT,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
request_headers: typing.Optional[
typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]
] = OMIT,
@@ -511,7 +524,10 @@ async def update(
The approval mode to set for the MCP server
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -525,6 +541,9 @@ async def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ The maximum time in seconds to wait for each MCP tool call to complete.
+
request_headers : typing.Optional[typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]]
The headers to include in requests to the MCP server
@@ -568,10 +587,12 @@ async def main() -> None:
mcp_server_id,
approval_policy=approval_policy,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
request_headers=request_headers,
disable_compression=disable_compression,
secret_token=secret_token,
diff --git a/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py
index a2979560..8ba018a1 100644
--- a/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py
+++ b/src/elevenlabs/conversational_ai/mcp_servers/raw_client.py
@@ -16,6 +16,7 @@
from ...types.mcp_server_config_input import McpServerConfigInput
from ...types.mcp_server_response_model import McpServerResponseModel
from ...types.mcp_servers_response_model import McpServersResponseModel
+from ...types.pre_tool_speech_mode import PreToolSpeechMode
from ...types.tool_call_sound_behavior import ToolCallSoundBehavior
from ...types.tool_call_sound_type import ToolCallSoundType
from ...types.tool_execution_mode import ToolExecutionMode
@@ -246,10 +247,12 @@ def update(
*,
approval_policy: typing.Optional[McpApprovalPolicy] = OMIT,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
request_headers: typing.Optional[
typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]
] = OMIT,
@@ -270,7 +273,10 @@ def update(
The approval mode to set for the MCP server
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -284,6 +290,9 @@ def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ The maximum time in seconds to wait for each MCP tool call to complete.
+
request_headers : typing.Optional[typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]]
The headers to include in requests to the MCP server
@@ -310,10 +319,12 @@ def update(
json={
"approval_policy": approval_policy,
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"request_headers": convert_and_respect_annotation_metadata(
object_=request_headers,
annotation=typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]],
@@ -580,10 +591,12 @@ async def update(
*,
approval_policy: typing.Optional[McpApprovalPolicy] = OMIT,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
request_headers: typing.Optional[
typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]
] = OMIT,
@@ -604,7 +617,10 @@ async def update(
The approval mode to set for the MCP server
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -618,6 +634,9 @@ async def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ The maximum time in seconds to wait for each MCP tool call to complete.
+
request_headers : typing.Optional[typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]]]
The headers to include in requests to the MCP server
@@ -644,10 +663,12 @@ async def update(
json={
"approval_policy": approval_policy,
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"request_headers": convert_and_respect_annotation_metadata(
object_=request_headers,
annotation=typing.Dict[str, typing.Optional[McpServerConfigUpdateRequestModelRequestHeadersValue]],
diff --git a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/client.py b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/client.py
index 3080489e..874e1edb 100644
--- a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/client.py
+++ b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/client.py
@@ -7,6 +7,7 @@
from ....types.dynamic_variable_assignment import DynamicVariableAssignment
from ....types.mcp_server_response_model import McpServerResponseModel
from ....types.mcp_tool_config_override_output import McpToolConfigOverrideOutput
+from ....types.pre_tool_speech_mode import PreToolSpeechMode
from ....types.tool_call_sound_behavior import ToolCallSoundBehavior
from ....types.tool_call_sound_type import ToolCallSoundType
from ....types.tool_execution_mode import ToolExecutionMode
@@ -44,10 +45,12 @@ def create(
*,
tool_name: str,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideCreateRequestModelInputOverridesValue]]
@@ -67,7 +70,10 @@ def create(
The name of the MCP tool
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -81,6 +87,9 @@ def create(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -114,10 +123,12 @@ def create(
mcp_server_id,
tool_name=tool_name,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
assignments=assignments,
input_overrides=input_overrides,
response_mocks=response_mocks,
@@ -205,10 +216,12 @@ def update(
tool_name: str,
*,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideUpdateRequestModelInputOverridesValue]]
@@ -228,7 +241,10 @@ def update(
Name of the MCP tool to update config overrides for.
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -242,6 +258,9 @@ def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -275,10 +294,12 @@ def update(
mcp_server_id,
tool_name,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
assignments=assignments,
input_overrides=input_overrides,
response_mocks=response_mocks,
@@ -308,10 +329,12 @@ async def create(
*,
tool_name: str,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideCreateRequestModelInputOverridesValue]]
@@ -331,7 +354,10 @@ async def create(
The name of the MCP tool
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -345,6 +371,9 @@ async def create(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -386,10 +415,12 @@ async def main() -> None:
mcp_server_id,
tool_name=tool_name,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
assignments=assignments,
input_overrides=input_overrides,
response_mocks=response_mocks,
@@ -493,10 +524,12 @@ async def update(
tool_name: str,
*,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideUpdateRequestModelInputOverridesValue]]
@@ -516,7 +549,10 @@ async def update(
Name of the MCP tool to update config overrides for.
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -530,6 +566,9 @@ async def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -571,10 +610,12 @@ async def main() -> None:
mcp_server_id,
tool_name,
force_pre_tool_speech=force_pre_tool_speech,
+ pre_tool_speech=pre_tool_speech,
disable_interruptions=disable_interruptions,
tool_call_sound=tool_call_sound,
tool_call_sound_behavior=tool_call_sound_behavior,
execution_mode=execution_mode,
+ response_timeout_secs=response_timeout_secs,
assignments=assignments,
input_overrides=input_overrides,
response_mocks=response_mocks,
diff --git a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py
index 94f5db47..0d188ce4 100644
--- a/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py
+++ b/src/elevenlabs/conversational_ai/mcp_servers/tool_configs/raw_client.py
@@ -16,6 +16,7 @@
from ....types.dynamic_variable_assignment import DynamicVariableAssignment
from ....types.mcp_server_response_model import McpServerResponseModel
from ....types.mcp_tool_config_override_output import McpToolConfigOverrideOutput
+from ....types.pre_tool_speech_mode import PreToolSpeechMode
from ....types.tool_call_sound_behavior import ToolCallSoundBehavior
from ....types.tool_call_sound_type import ToolCallSoundType
from ....types.tool_execution_mode import ToolExecutionMode
@@ -41,10 +42,12 @@ def create(
*,
tool_name: str,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideCreateRequestModelInputOverridesValue]]
@@ -64,7 +67,10 @@ def create(
The name of the MCP tool
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -78,6 +84,9 @@ def create(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -100,10 +109,12 @@ def create(
method="POST",
json={
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"assignments": convert_and_respect_annotation_metadata(
object_=assignments, annotation=typing.Sequence[DynamicVariableAssignment], direction="write"
),
@@ -285,10 +296,12 @@ def update(
tool_name: str,
*,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideUpdateRequestModelInputOverridesValue]]
@@ -308,7 +321,10 @@ def update(
Name of the MCP tool to update config overrides for.
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -322,6 +338,9 @@ def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -344,10 +363,12 @@ def update(
method="PATCH",
json={
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"assignments": convert_and_respect_annotation_metadata(
object_=assignments, annotation=typing.Sequence[DynamicVariableAssignment], direction="write"
),
@@ -416,10 +437,12 @@ async def create(
*,
tool_name: str,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideCreateRequestModelInputOverridesValue]]
@@ -439,7 +462,10 @@ async def create(
The name of the MCP tool
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -453,6 +479,9 @@ async def create(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -475,10 +504,12 @@ async def create(
method="POST",
json={
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"assignments": convert_and_respect_annotation_metadata(
object_=assignments, annotation=typing.Sequence[DynamicVariableAssignment], direction="write"
),
@@ -660,10 +691,12 @@ async def update(
tool_name: str,
*,
force_pre_tool_speech: typing.Optional[bool] = OMIT,
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = OMIT,
disable_interruptions: typing.Optional[bool] = OMIT,
tool_call_sound: typing.Optional[ToolCallSoundType] = OMIT,
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = OMIT,
execution_mode: typing.Optional[ToolExecutionMode] = OMIT,
+ response_timeout_secs: typing.Optional[int] = OMIT,
assignments: typing.Optional[typing.Sequence[DynamicVariableAssignment]] = OMIT,
input_overrides: typing.Optional[
typing.Dict[str, typing.Optional[McpToolConfigOverrideUpdateRequestModelInputOverridesValue]]
@@ -683,7 +716,10 @@ async def update(
Name of the MCP tool to update config overrides for.
force_pre_tool_speech : typing.Optional[bool]
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+
+ pre_tool_speech : typing.Optional[PreToolSpeechMode]
+ If set, overrides the server's pre_tool_speech setting for this tool.
disable_interruptions : typing.Optional[bool]
If set, overrides the server's disable_interruptions setting for this tool
@@ -697,6 +733,9 @@ async def update(
execution_mode : typing.Optional[ToolExecutionMode]
If set, overrides the server's execution_mode setting for this tool
+ response_timeout_secs : typing.Optional[int]
+ If set, overrides the server's response timeout for this MCP tool.
+
assignments : typing.Optional[typing.Sequence[DynamicVariableAssignment]]
Dynamic variable assignments for this MCP tool
@@ -719,10 +758,12 @@ async def update(
method="PATCH",
json={
"force_pre_tool_speech": force_pre_tool_speech,
+ "pre_tool_speech": pre_tool_speech,
"disable_interruptions": disable_interruptions,
"tool_call_sound": tool_call_sound,
"tool_call_sound_behavior": tool_call_sound_behavior,
"execution_mode": execution_mode,
+ "response_timeout_secs": response_timeout_secs,
"assignments": convert_and_respect_annotation_metadata(
object_=assignments, annotation=typing.Sequence[DynamicVariableAssignment], direction="write"
),
diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py b/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py
index a725ee63..d25288c1 100644
--- a/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py
+++ b/src/elevenlabs/conversational_ai/tests/types/tests_create_request_body.py
@@ -11,15 +11,7 @@
from ....types.agent_failure_response_example import AgentFailureResponseExample
from ....types.agent_successful_response_example import AgentSuccessfulResponseExample
from ....types.conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
-from ....types.create_response_unit_test_request_dynamic_variables_value import (
- CreateResponseUnitTestRequestDynamicVariablesValue,
-)
-from ....types.create_simulation_test_request_dynamic_variables_value import (
- CreateSimulationTestRequestDynamicVariablesValue,
-)
-from ....types.create_tool_call_unit_test_request_dynamic_variables_value import (
- CreateToolCallUnitTestRequestDynamicVariablesValue,
-)
+from ....types.dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from ....types.test_from_conversation_metadata_input import TestFromConversationMetadataInput
from ....types.unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput
@@ -32,9 +24,7 @@ class TestsCreateRequestBody_Llm(UncheckedBaseModel):
type: typing.Literal["llm"] = "llm"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateResponseUnitTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
success_condition: typing.Optional[str] = None
success_examples: typing.Optional[typing.List[AgentSuccessfulResponseExample]] = None
@@ -59,9 +49,7 @@ class TestsCreateRequestBody_Tool(UncheckedBaseModel):
type: typing.Literal["tool"] = "tool"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateToolCallUnitTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
tool_call_parameters: typing.Optional[UnitTestToolCallEvaluationModelInput] = None
check_any_tool_matches: typing.Optional[bool] = None
@@ -85,9 +73,7 @@ class TestsCreateRequestBody_Simulation(UncheckedBaseModel):
type: typing.Literal["simulation"] = "simulation"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateSimulationTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
success_condition: typing.Optional[str] = None
simulation_scenario: typing.Optional[str] = None
diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py b/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py
index 557743fc..c555c03b 100644
--- a/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py
+++ b/src/elevenlabs/conversational_ai/tests/types/tests_get_response.py
@@ -11,15 +11,7 @@
from ....types.agent_failure_response_example import AgentFailureResponseExample
from ....types.agent_successful_response_example import AgentSuccessfulResponseExample
from ....types.conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from ....types.get_response_unit_test_response_model_dynamic_variables_value import (
- GetResponseUnitTestResponseModelDynamicVariablesValue,
-)
-from ....types.get_simulation_test_response_model_dynamic_variables_value import (
- GetSimulationTestResponseModelDynamicVariablesValue,
-)
-from ....types.get_tool_call_unit_test_response_model_dynamic_variables_value import (
- GetToolCallUnitTestResponseModelDynamicVariablesValue,
-)
+from ....types.dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from ....types.test_from_conversation_metadata_output import TestFromConversationMetadataOutput
from ....types.unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput
@@ -28,9 +20,7 @@
class TestsGetResponse_Llm(UncheckedBaseModel):
type: typing.Literal["llm"] = "llm"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetResponseUnitTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
success_examples: typing.Optional[typing.List[AgentSuccessfulResponseExample]] = None
@@ -51,9 +41,7 @@ class Config:
class TestsGetResponse_Tool(UncheckedBaseModel):
type: typing.Literal["tool"] = "tool"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetToolCallUnitTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
tool_call_parameters: typing.Optional[UnitTestToolCallEvaluationModelOutput] = None
check_any_tool_matches: typing.Optional[bool] = None
@@ -73,9 +61,7 @@ class Config:
class TestsGetResponse_Simulation(UncheckedBaseModel):
type: typing.Literal["simulation"] = "simulation"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetSimulationTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
simulation_scenario: typing.Optional[str] = None
diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py b/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py
index bc837666..d0644765 100644
--- a/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py
+++ b/src/elevenlabs/conversational_ai/tests/types/tests_update_request_body.py
@@ -11,18 +11,10 @@
from ....types.agent_failure_response_example import AgentFailureResponseExample
from ....types.agent_successful_response_example import AgentSuccessfulResponseExample
from ....types.conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
+from ....types.dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from ....types.test_from_conversation_metadata_input import TestFromConversationMetadataInput
from ....types.unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput
-from ....types.update_response_unit_test_request_dynamic_variables_value import (
- UpdateResponseUnitTestRequestDynamicVariablesValue,
-)
-from ....types.update_simulation_test_request_dynamic_variables_value import (
- UpdateSimulationTestRequestDynamicVariablesValue,
-)
-from ....types.update_tool_call_unit_test_request_dynamic_variables_value import (
- UpdateToolCallUnitTestRequestDynamicVariablesValue,
-)
class TestsUpdateRequestBody_Llm(UncheckedBaseModel):
@@ -32,9 +24,7 @@ class TestsUpdateRequestBody_Llm(UncheckedBaseModel):
type: typing.Literal["llm"] = "llm"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateResponseUnitTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
success_condition: typing.Optional[str] = None
success_examples: typing.Optional[typing.List[AgentSuccessfulResponseExample]] = None
@@ -59,9 +49,7 @@ class TestsUpdateRequestBody_Tool(UncheckedBaseModel):
type: typing.Literal["tool"] = "tool"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateToolCallUnitTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
tool_call_parameters: typing.Optional[UnitTestToolCallEvaluationModelInput] = None
check_any_tool_matches: typing.Optional[bool] = None
@@ -85,9 +73,7 @@ class TestsUpdateRequestBody_Simulation(UncheckedBaseModel):
type: typing.Literal["simulation"] = "simulation"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataInput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateSimulationTestRequestDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelInput]] = None
success_condition: typing.Optional[str] = None
simulation_scenario: typing.Optional[str] = None
diff --git a/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py b/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py
index 26c63fbe..22a8b3df 100644
--- a/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py
+++ b/src/elevenlabs/conversational_ai/tests/types/tests_update_response.py
@@ -11,15 +11,7 @@
from ....types.agent_failure_response_example import AgentFailureResponseExample
from ....types.agent_successful_response_example import AgentSuccessfulResponseExample
from ....types.conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from ....types.get_response_unit_test_response_model_dynamic_variables_value import (
- GetResponseUnitTestResponseModelDynamicVariablesValue,
-)
-from ....types.get_simulation_test_response_model_dynamic_variables_value import (
- GetSimulationTestResponseModelDynamicVariablesValue,
-)
-from ....types.get_tool_call_unit_test_response_model_dynamic_variables_value import (
- GetToolCallUnitTestResponseModelDynamicVariablesValue,
-)
+from ....types.dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from ....types.simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from ....types.test_from_conversation_metadata_output import TestFromConversationMetadataOutput
from ....types.unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput
@@ -28,9 +20,7 @@
class TestsUpdateResponse_Llm(UncheckedBaseModel):
type: typing.Literal["llm"] = "llm"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetResponseUnitTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
success_examples: typing.Optional[typing.List[AgentSuccessfulResponseExample]] = None
@@ -51,9 +41,7 @@ class Config:
class TestsUpdateResponse_Tool(UncheckedBaseModel):
type: typing.Literal["tool"] = "tool"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetToolCallUnitTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
tool_call_parameters: typing.Optional[UnitTestToolCallEvaluationModelOutput] = None
check_any_tool_matches: typing.Optional[bool] = None
@@ -73,9 +61,7 @@ class Config:
class TestsUpdateResponse_Simulation(UncheckedBaseModel):
type: typing.Literal["simulation"] = "simulation"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetSimulationTestResponseModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
simulation_scenario: typing.Optional[str] = None
diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py
index f8c1575d..e0235b57 100644
--- a/src/elevenlabs/core/client_wrapper.py
+++ b/src/elevenlabs/core/client_wrapper.py
@@ -22,10 +22,10 @@ def __init__(
def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
- "User-Agent": "elevenlabs/2.44.0",
+ "User-Agent": "elevenlabs/2.45.0",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "elevenlabs",
- "X-Fern-SDK-Version": "2.44.0",
+ "X-Fern-SDK-Version": "2.45.0",
**(self.get_custom_headers() or {}),
}
if self._api_key is not None:
diff --git a/src/elevenlabs/speech_to_text/client.py b/src/elevenlabs/speech_to_text/client.py
index a91159af..d2e5a215 100644
--- a/src/elevenlabs/speech_to_text/client.py
+++ b/src/elevenlabs/speech_to_text/client.py
@@ -148,7 +148,7 @@ def convert(
How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set.
keyterms : typing.Optional[typing.List[str]]
- A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
+ A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. The following characters are not supported: `<`, `>`, `{`, `}`, `[`, `]`, `\\`. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -334,7 +334,7 @@ async def convert(
How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set.
keyterms : typing.Optional[typing.List[str]]
- A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
+ A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. The following characters are not supported: `<`, `>`, `{`, `}`, `[`, `]`, `\\`. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
diff --git a/src/elevenlabs/speech_to_text/raw_client.py b/src/elevenlabs/speech_to_text/raw_client.py
index bed22c51..4c2c51d0 100644
--- a/src/elevenlabs/speech_to_text/raw_client.py
+++ b/src/elevenlabs/speech_to_text/raw_client.py
@@ -137,7 +137,7 @@ def convert(
How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set.
keyterms : typing.Optional[typing.List[str]]
- A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
+ A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. The following characters are not supported: `<`, `>`, `{`, `}`, `[`, `]`, `\\`. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -328,7 +328,7 @@ async def convert(
How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set.
keyterms : typing.Optional[typing.List[str]]
- A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
+ A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. The following characters are not supported: `<`, `>`, `{`, `}`, `[`, `]`, `\\`. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
diff --git a/src/elevenlabs/types/__init__.py b/src/elevenlabs/types/__init__.py
index ba005228..2723e5d4 100644
--- a/src/elevenlabs/types/__init__.py
+++ b/src/elevenlabs/types/__init__.py
@@ -53,6 +53,7 @@
from .agent_testing_settings import AgentTestingSettings
from .agent_topic_response_model import AgentTopicResponseModel
from .agent_transfer import AgentTransfer
+ from .agent_trust_context import AgentTrustContext
from .agent_version_metadata import AgentVersionMetadata
from .agent_version_parents import AgentVersionParents
from .agent_workflow_request_model import AgentWorkflowRequestModel
@@ -111,6 +112,9 @@
from .asr_input_format import AsrInputFormat
from .asr_provider import AsrProvider
from .asr_quality import AsrQuality
+ from .asset_transcription import AssetTranscription
+ from .asset_transcription_data import AssetTranscriptionData
+ from .asset_transcription_status import AssetTranscriptionStatus
from .ast_addition_operator_node_input import AstAdditionOperatorNodeInput
from .ast_addition_operator_node_output import AstAdditionOperatorNodeOutput
from .ast_and_operator_node_input import AstAndOperatorNodeInput
@@ -202,6 +206,7 @@
from .audio_analysis_result import AudioAnalysisResult
from .audio_analysis_status import AudioAnalysisStatus
from .audio_format_enum import AudioFormatEnum
+ from .audio_isolation_history_item_response_model import AudioIsolationHistoryItemResponseModel
from .audio_key_moment import AudioKeyMoment
from .audio_native_create_project_response_model import AudioNativeCreateProjectResponseModel
from .audio_native_edit_content_response_model import AudioNativeEditContentResponseModel
@@ -295,7 +300,6 @@
from .character_refresh_period import CharacterRefreshPeriod
from .character_usage_response import CharacterUsageResponse
from .chat_source_medium import ChatSourceMedium
- from .check_rental_availability_params import CheckRentalAvailabilityParams
from .check_service_availability_params import CheckServiceAvailabilityParams
from .client_event import ClientEvent
from .client_tool_config_input import ClientToolConfigInput
@@ -499,17 +503,8 @@
from .conversation_initiation_client_data_config_input import ConversationInitiationClientDataConfigInput
from .conversation_initiation_client_data_config_output import ConversationInitiationClientDataConfigOutput
from .conversation_initiation_client_data_internal import ConversationInitiationClientDataInternal
- from .conversation_initiation_client_data_internal_dynamic_variables_value import (
- ConversationInitiationClientDataInternalDynamicVariablesValue,
- )
from .conversation_initiation_client_data_request_input import ConversationInitiationClientDataRequestInput
- from .conversation_initiation_client_data_request_input_dynamic_variables_value import (
- ConversationInitiationClientDataRequestInputDynamicVariablesValue,
- )
from .conversation_initiation_client_data_request_output import ConversationInitiationClientDataRequestOutput
- from .conversation_initiation_client_data_request_output_dynamic_variables_value import (
- ConversationInitiationClientDataRequestOutputDynamicVariablesValue,
- )
from .conversation_initiation_client_data_webhook import ConversationInitiationClientDataWebhook
from .conversation_initiation_client_data_webhook_request_headers_value import (
ConversationInitiationClientDataWebhookRequestHeadersValue,
@@ -518,9 +513,7 @@
from .conversation_initiation_source_info import ConversationInitiationSourceInfo
from .conversation_signed_url_response_model import ConversationSignedUrlResponseModel
from .conversation_simulation_specification import ConversationSimulationSpecification
- from .conversation_simulation_specification_dynamic_variables_value import (
- ConversationSimulationSpecificationDynamicVariablesValue,
- )
+ from .conversation_source import ConversationSource
from .conversation_summary_response_model import ConversationSummaryResponseModel
from .conversation_summary_response_model_status import ConversationSummaryResponseModelStatus
from .conversation_token_db_model import ConversationTokenDbModel
@@ -561,25 +554,17 @@
from .create_private_key_jwt_request_algorithm import CreatePrivateKeyJwtRequestAlgorithm
from .create_product_params import CreateProductParams
from .create_pronunciation_dictionary_response_model import CreatePronunciationDictionaryResponseModel
- from .create_rental_booking_params import CreateRentalBookingParams
- from .create_rental_service_params import CreateRentalServiceParams
from .create_response_unit_test_request import CreateResponseUnitTestRequest
- from .create_response_unit_test_request_dynamic_variables_value import (
- CreateResponseUnitTestRequestDynamicVariablesValue,
- )
from .create_secret_environment_variable_request import CreateSecretEnvironmentVariableRequest
from .create_service_params import CreateServiceParams
from .create_simulation_test_request import CreateSimulationTestRequest
- from .create_simulation_test_request_dynamic_variables_value import CreateSimulationTestRequestDynamicVariablesValue
from .create_sip_trunk_phone_number_request import CreateSipTrunkPhoneNumberRequest
from .create_staff_params import CreateStaffParams
from .create_string_environment_variable_request import CreateStringEnvironmentVariableRequest
from .create_tool_call_unit_test_request import CreateToolCallUnitTestRequest
- from .create_tool_call_unit_test_request_dynamic_variables_value import (
- CreateToolCallUnitTestRequestDynamicVariablesValue,
- )
from .create_transcript_request import CreateTranscriptRequest
from .create_twilio_phone_number_request import CreateTwilioPhoneNumberRequest
+ from .currency import Currency
from .custom_guardrail_config import CustomGuardrailConfig
from .custom_guardrail_config_trigger_action import (
CustomGuardrailConfigTriggerAction,
@@ -617,7 +602,6 @@
from .delete_product_params import DeleteProductParams
from .delete_project_request import DeleteProjectRequest
from .delete_project_response_model import DeleteProjectResponseModel
- from .delete_rental_service_params import DeleteRentalServiceParams
from .delete_sample_response import DeleteSampleResponse
from .delete_service_params import DeleteServiceParams
from .delete_staff_params import DeleteStaffParams
@@ -642,6 +626,7 @@
from .detected_entity import DetectedEntity
from .dialogue_input import DialogueInput
from .dialogue_input_response_model import DialogueInputResponseModel
+ from .dialogue_text_alignment import DialogueTextAlignment
from .direct_publishing_read_response_model import DirectPublishingReadResponseModel
from .direct_publishing_read_response_model_display_mode import DirectPublishingReadResponseModelDisplayMode
from .direct_publishing_read_response_model_genre_item import DirectPublishingReadResponseModelGenreItem
@@ -668,28 +653,16 @@
from .dubbing_transcripts_response_model import DubbingTranscriptsResponseModel
from .dubbing_transcripts_response_model_transcript_format import DubbingTranscriptsResponseModelTranscriptFormat
from .dynamic_variable_assignment import DynamicVariableAssignment
- from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
- from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
from .dynamic_variable_nested_value_type_input import DynamicVariableNestedValueTypeInput
from .dynamic_variable_nested_value_type_output import DynamicVariableNestedValueTypeOutput
from .dynamic_variable_schema_override import DynamicVariableSchemaOverride
from .dynamic_variable_update_common_model import DynamicVariableUpdateCommonModel
+ from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
+ from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .dynamic_variables_config_input import DynamicVariablesConfigInput
- from .dynamic_variables_config_input_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigInputDynamicVariablePlaceholdersValue,
- )
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
- from .dynamic_variables_config_output_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue,
- )
from .dynamic_variables_config_workflow_override_input import DynamicVariablesConfigWorkflowOverrideInput
- from .dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue,
- )
from .dynamic_variables_config_workflow_override_output import DynamicVariablesConfigWorkflowOverrideOutput
- from .dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue,
- )
from .edit_chapter_response_model import EditChapterResponseModel
from .edit_project_response_model import EditProjectResponseModel
from .edit_voice_response_model import EditVoiceResponseModel
@@ -722,7 +695,6 @@
ExportOptions_Srt,
ExportOptions_Txt,
)
- from .extended_subscription_response_model_currency import ExtendedSubscriptionResponseModelCurrency
from .extended_subscription_response_model_max_credit_limit_extension import (
ExtendedSubscriptionResponseModelMaxCreditLimitExtension,
)
@@ -759,6 +731,8 @@
from .get_agent_topics_response_model import GetAgentTopicsResponseModel
from .get_agents_page_response_model import GetAgentsPageResponseModel
from .get_analytics_summary_params import GetAnalyticsSummaryParams
+ from .get_appointment_by_confirmation_number_params import GetAppointmentByConfirmationNumberParams
+ from .get_audio_isolation_history_response_model import GetAudioIsolationHistoryResponseModel
from .get_audio_native_project_settings_response_model import GetAudioNativeProjectSettingsResponseModel
from .get_booking_page_settings_params import GetBookingPageSettingsParams
from .get_booking_slug_status_params import GetBookingSlugStatusParams
@@ -856,9 +830,6 @@
GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme,
)
from .get_response_unit_test_response_model import GetResponseUnitTestResponseModel
- from .get_response_unit_test_response_model_dynamic_variables_value import (
- GetResponseUnitTestResponseModelDynamicVariablesValue,
- )
from .get_schedule_params import GetScheduleParams
from .get_secret_dependencies_response_model import GetSecretDependenciesResponseModel
from .get_secret_dependencies_response_model_dependencies import GetSecretDependenciesResponseModelDependencies
@@ -873,18 +844,12 @@
GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown,
)
from .get_simulation_test_response_model import GetSimulationTestResponseModel
- from .get_simulation_test_response_model_dynamic_variables_value import (
- GetSimulationTestResponseModelDynamicVariablesValue,
- )
from .get_speech_history_response import GetSpeechHistoryResponse
from .get_test_invocations_page_response_model import GetTestInvocationsPageResponseModel
from .get_test_suite_invocation_response_model import GetTestSuiteInvocationResponseModel
from .get_tests_page_response_model import GetTestsPageResponseModel
from .get_tests_summaries_by_ids_response_model import GetTestsSummariesByIdsResponseModel
from .get_tool_call_unit_test_response_model import GetToolCallUnitTestResponseModel
- from .get_tool_call_unit_test_response_model_dynamic_variables_value import (
- GetToolCallUnitTestResponseModelDynamicVariablesValue,
- )
from .get_tool_dependent_agents_response_model import GetToolDependentAgentsResponseModel
from .get_tool_dependent_agents_response_model_agents_item import (
GetToolDependentAgentsResponseModelAgentsItem,
@@ -904,6 +869,7 @@
from .history_item_response import HistoryItemResponse
from .html_export_options import HtmlExportOptions
from .http_validation_error import HttpValidationError
+ from .icon import Icon
from .image_avatar import ImageAvatar
from .inbound_sip_trunk_config_request_model import InboundSipTrunkConfigRequestModel
from .initialise_context import InitialiseContext
@@ -974,7 +940,6 @@
from .list_locations_params import ListLocationsParams
from .list_mcp_tools_response_model import ListMcpToolsResponseModel
from .list_products_params import ListProductsParams
- from .list_rental_services_params import ListRentalServicesParams
from .list_response_agent_branch_summary import ListResponseAgentBranchSummary
from .list_response_meta import ListResponseMeta
from .list_services_params import ListServicesParams
@@ -1003,6 +968,7 @@
from .llm_usage_calculator_response_model import LlmUsageCalculatorResponseModel
from .llm_usage_input import LlmUsageInput
from .llm_usage_output import LlmUsageOutput
+ from .manual_source import ManualSource
from .manual_verification_file_response import ManualVerificationFileResponse
from .manual_verification_response import ManualVerificationResponse
from .match_anything_parameter_evaluation_strategy import MatchAnythingParameterEvaluationStrategy
@@ -1042,7 +1008,8 @@
McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable,
McpToolConfigOverrideOutputInputOverridesValue_Llm,
)
- from .merging_strategy import MergingStrategy
+ from .memory_entry_search_result import MemoryEntrySearchResult
+ from .memory_entry_search_result_source import MemoryEntrySearchResultSource
from .message_search_sort_by import MessageSearchSortBy
from .messages_search_response import MessagesSearchResponse
from .messages_search_result import MessagesSearchResult
@@ -1057,7 +1024,6 @@
from .moderation_guardrail_input import ModerationGuardrailInput
from .moderation_guardrail_output import ModerationGuardrailOutput
from .mtls_auth_response import MtlsAuthResponse
- from .multi_source_config_json import MultiSourceConfigJson
from .multichannel_speech_to_text_response_model import MultichannelSpeechToTextResponseModel
from .multipart_music_response import MultipartMusicResponse
from .music_explore_song_source_context import MusicExploreSongSourceContext
@@ -1083,9 +1049,11 @@
from .partial_transcript_payload import PartialTranscriptPayload
from .patch_workspace_webhook_response_model import PatchWorkspaceWebhookResponseModel
from .pdf_export_options import PdfExportOptions
+ from .pending_blocks_metadata_model import PendingBlocksMetadataModel
from .pending_cancellation_response_model import PendingCancellationResponseModel
from .pending_clip_task import PendingClipTask
from .pending_clip_task_type import PendingClipTaskType
+ from .pending_external_audios_metadata_model import PendingExternalAudiosMetadataModel
from .pending_subscription_switch_response_model import PendingSubscriptionSwitchResponseModel
from .pending_subscription_switch_response_model_next_tier import PendingSubscriptionSwitchResponseModelNextTier
from .permission_type import PermissionType
@@ -1126,6 +1094,7 @@
from .post_dial_digits_dynamic_variable import PostDialDigitsDynamicVariable
from .post_dial_digits_static import PostDialDigitsStatic
from .post_workspace_secret_response_model import PostWorkspaceSecretResponseModel
+ from .pre_tool_speech_mode import PreToolSpeechMode
from .preview_audio_db_model import PreviewAudioDbModel
from .privacy_config_input import PrivacyConfigInput
from .privacy_config_output import PrivacyConfigOutput
@@ -1292,7 +1261,6 @@
from .response_filter import ResponseFilter
from .response_filter_mode import ResponseFilterMode
from .response_unit_test_model import ResponseUnitTestModel
- from .response_unit_test_model_dynamic_variables_value import ResponseUnitTestModelDynamicVariablesValue
from .retry_trigger_action import RetryTriggerAction
from .review_response_model import ReviewResponseModel
from .review_response_model_reject_reasons_item import ReviewResponseModelRejectReasonsItem
@@ -1350,7 +1318,6 @@
from .similar_voice import SimilarVoice
from .similar_voices_for_speaker_response import SimilarVoicesForSpeakerResponse
from .simulation_test_model import SimulationTestModel
- from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .single_test_run_request_model import SingleTestRunRequestModel
from .single_use_token_response_model import SingleUseTokenResponseModel
@@ -1371,8 +1338,6 @@
from .song_section import SongSection
from .song_source_context import SongSourceContext
from .sort_direction import SortDirection
- from .source_config_json import SourceConfigJson
- from .source_retrieval_config import SourceRetrievalConfig
from .speaker_audio_response_model import SpeakerAudioResponseModel
from .speaker_created_response import SpeakerCreatedResponse
from .speaker_response_model import SpeakerResponseModel
@@ -1405,7 +1370,6 @@
from .studio_text_style_shadow_model import StudioTextStyleShadowModel
from .subscription import Subscription
from .subscription_response import SubscriptionResponse
- from .subscription_response_model_currency import SubscriptionResponseModelCurrency
from .subscription_response_model_max_credit_limit_extension import SubscriptionResponseModelMaxCreditLimitExtension
from .subscription_status_type import SubscriptionStatusType
from .suggested_audio_tag import SuggestedAudioTag
@@ -1448,6 +1412,15 @@
from .test_type import TestType
from .tests_feature_usage_common_model import TestsFeatureUsageCommonModel
from .text_normalisation_type import TextNormalisationType
+ from .text_to_dialogue_websocket_apply_text_normalization_enum import (
+ TextToDialogueWebsocketApplyTextNormalizationEnum,
+ )
+ from .text_to_dialogue_websocket_audio_chunk import TextToDialogueWebsocketAudioChunk
+ from .text_to_dialogue_websocket_client_message import TextToDialogueWebsocketClientMessage
+ from .text_to_dialogue_websocket_error import TextToDialogueWebsocketError
+ from .text_to_dialogue_websocket_final import TextToDialogueWebsocketFinal
+ from .text_to_dialogue_websocket_output_format_enum import TextToDialogueWebsocketOutputFormatEnum
+ from .text_to_dialogue_websocket_voice_input import TextToDialogueWebsocketVoiceInput
from .text_to_speech_apply_text_normalization_enum import TextToSpeechApplyTextNormalizationEnum
from .text_to_speech_output_format_enum import TextToSpeechOutputFormatEnum
from .text_to_speech_request import TextToSpeechRequest
@@ -1463,8 +1436,8 @@
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_call_unit_test_model import ToolCallUnitTestModel
- from .tool_call_unit_test_model_dynamic_variables_value import ToolCallUnitTestModelDynamicVariablesValue
from .tool_error_handling_mode import ToolErrorHandlingMode
+ from .tool_execution import ToolExecution
from .tool_execution_mode import ToolExecutionMode
from .tool_execution_response_model import ToolExecutionResponseModel
from .tool_execution_response_model_tool_call_details import (
@@ -1474,6 +1447,7 @@
ToolExecutionResponseModelToolCallDetails_Mcp,
ToolExecutionResponseModelToolCallDetails_Webhook,
)
+ from .tool_execution_task_support import ToolExecutionTaskSupport
from .tool_mock_config import ToolMockConfig
from .tool_request_model import ToolRequestModel
from .tool_request_model_tool_config import (
@@ -1570,19 +1544,11 @@
from .update_product_params import UpdateProductParams
from .update_project_request import UpdateProjectRequest
from .update_pronunciation_dictionaries_request import UpdatePronunciationDictionariesRequest
- from .update_rental_service_params import UpdateRentalServiceParams
from .update_response_unit_test_request import UpdateResponseUnitTestRequest
- from .update_response_unit_test_request_dynamic_variables_value import (
- UpdateResponseUnitTestRequestDynamicVariablesValue,
- )
from .update_service_params import UpdateServiceParams
from .update_simulation_test_request import UpdateSimulationTestRequest
- from .update_simulation_test_request_dynamic_variables_value import UpdateSimulationTestRequestDynamicVariablesValue
from .update_staff_params import UpdateStaffParams
from .update_tool_call_unit_test_request import UpdateToolCallUnitTestRequest
- from .update_tool_call_unit_test_request_dynamic_variables_value import (
- UpdateToolCallUnitTestRequestDynamicVariablesValue,
- )
from .update_workspace_member_response_model import UpdateWorkspaceMemberResponseModel
from .url_avatar import UrlAvatar
from .usage_aggregation_interval import UsageAggregationInterval
@@ -1886,6 +1852,7 @@
"AgentTestingSettings": ".agent_testing_settings",
"AgentTopicResponseModel": ".agent_topic_response_model",
"AgentTransfer": ".agent_transfer",
+ "AgentTrustContext": ".agent_trust_context",
"AgentVersionMetadata": ".agent_version_metadata",
"AgentVersionParents": ".agent_version_parents",
"AgentWorkflowRequestModel": ".agent_workflow_request_model",
@@ -1934,6 +1901,9 @@
"AsrInputFormat": ".asr_input_format",
"AsrProvider": ".asr_provider",
"AsrQuality": ".asr_quality",
+ "AssetTranscription": ".asset_transcription",
+ "AssetTranscriptionData": ".asset_transcription_data",
+ "AssetTranscriptionStatus": ".asset_transcription_status",
"AstAdditionOperatorNodeInput": ".ast_addition_operator_node_input",
"AstAdditionOperatorNodeOutput": ".ast_addition_operator_node_output",
"AstAndOperatorNodeInput": ".ast_and_operator_node_input",
@@ -2021,6 +1991,7 @@
"AudioAnalysisResult": ".audio_analysis_result",
"AudioAnalysisStatus": ".audio_analysis_status",
"AudioFormatEnum": ".audio_format_enum",
+ "AudioIsolationHistoryItemResponseModel": ".audio_isolation_history_item_response_model",
"AudioKeyMoment": ".audio_key_moment",
"AudioNativeCreateProjectResponseModel": ".audio_native_create_project_response_model",
"AudioNativeEditContentResponseModel": ".audio_native_edit_content_response_model",
@@ -2106,7 +2077,6 @@
"CharacterRefreshPeriod": ".character_refresh_period",
"CharacterUsageResponse": ".character_usage_response",
"ChatSourceMedium": ".chat_source_medium",
- "CheckRentalAvailabilityParams": ".check_rental_availability_params",
"CheckServiceAvailabilityParams": ".check_service_availability_params",
"ClientEvent": ".client_event",
"ClientToolConfigInput": ".client_tool_config_input",
@@ -2248,18 +2218,15 @@
"ConversationInitiationClientDataConfigInput": ".conversation_initiation_client_data_config_input",
"ConversationInitiationClientDataConfigOutput": ".conversation_initiation_client_data_config_output",
"ConversationInitiationClientDataInternal": ".conversation_initiation_client_data_internal",
- "ConversationInitiationClientDataInternalDynamicVariablesValue": ".conversation_initiation_client_data_internal_dynamic_variables_value",
"ConversationInitiationClientDataRequestInput": ".conversation_initiation_client_data_request_input",
- "ConversationInitiationClientDataRequestInputDynamicVariablesValue": ".conversation_initiation_client_data_request_input_dynamic_variables_value",
"ConversationInitiationClientDataRequestOutput": ".conversation_initiation_client_data_request_output",
- "ConversationInitiationClientDataRequestOutputDynamicVariablesValue": ".conversation_initiation_client_data_request_output_dynamic_variables_value",
"ConversationInitiationClientDataWebhook": ".conversation_initiation_client_data_webhook",
"ConversationInitiationClientDataWebhookRequestHeadersValue": ".conversation_initiation_client_data_webhook_request_headers_value",
"ConversationInitiationSource": ".conversation_initiation_source",
"ConversationInitiationSourceInfo": ".conversation_initiation_source_info",
"ConversationSignedUrlResponseModel": ".conversation_signed_url_response_model",
"ConversationSimulationSpecification": ".conversation_simulation_specification",
- "ConversationSimulationSpecificationDynamicVariablesValue": ".conversation_simulation_specification_dynamic_variables_value",
+ "ConversationSource": ".conversation_source",
"ConversationSummaryResponseModel": ".conversation_summary_response_model",
"ConversationSummaryResponseModelStatus": ".conversation_summary_response_model_status",
"ConversationTokenDbModel": ".conversation_token_db_model",
@@ -2296,21 +2263,17 @@
"CreatePrivateKeyJwtRequestAlgorithm": ".create_private_key_jwt_request_algorithm",
"CreateProductParams": ".create_product_params",
"CreatePronunciationDictionaryResponseModel": ".create_pronunciation_dictionary_response_model",
- "CreateRentalBookingParams": ".create_rental_booking_params",
- "CreateRentalServiceParams": ".create_rental_service_params",
"CreateResponseUnitTestRequest": ".create_response_unit_test_request",
- "CreateResponseUnitTestRequestDynamicVariablesValue": ".create_response_unit_test_request_dynamic_variables_value",
"CreateSecretEnvironmentVariableRequest": ".create_secret_environment_variable_request",
"CreateServiceParams": ".create_service_params",
"CreateSimulationTestRequest": ".create_simulation_test_request",
- "CreateSimulationTestRequestDynamicVariablesValue": ".create_simulation_test_request_dynamic_variables_value",
"CreateSipTrunkPhoneNumberRequest": ".create_sip_trunk_phone_number_request",
"CreateStaffParams": ".create_staff_params",
"CreateStringEnvironmentVariableRequest": ".create_string_environment_variable_request",
"CreateToolCallUnitTestRequest": ".create_tool_call_unit_test_request",
- "CreateToolCallUnitTestRequestDynamicVariablesValue": ".create_tool_call_unit_test_request_dynamic_variables_value",
"CreateTranscriptRequest": ".create_transcript_request",
"CreateTwilioPhoneNumberRequest": ".create_twilio_phone_number_request",
+ "Currency": ".currency",
"CustomGuardrailConfig": ".custom_guardrail_config",
"CustomGuardrailConfigTriggerAction": ".custom_guardrail_config_trigger_action",
"CustomGuardrailConfigTriggerAction_EndCall": ".custom_guardrail_config_trigger_action",
@@ -2346,7 +2309,6 @@
"DeleteProductParams": ".delete_product_params",
"DeleteProjectRequest": ".delete_project_request",
"DeleteProjectResponseModel": ".delete_project_response_model",
- "DeleteRentalServiceParams": ".delete_rental_service_params",
"DeleteSampleResponse": ".delete_sample_response",
"DeleteServiceParams": ".delete_service_params",
"DeleteStaffParams": ".delete_staff_params",
@@ -2371,6 +2333,7 @@
"DetectedEntity": ".detected_entity",
"DialogueInput": ".dialogue_input",
"DialogueInputResponseModel": ".dialogue_input_response_model",
+ "DialogueTextAlignment": ".dialogue_text_alignment",
"DirectPublishingReadResponseModel": ".direct_publishing_read_response_model",
"DirectPublishingReadResponseModelDisplayMode": ".direct_publishing_read_response_model_display_mode",
"DirectPublishingReadResponseModelGenreItem": ".direct_publishing_read_response_model_genre_item",
@@ -2397,20 +2360,16 @@
"DubbingTranscriptsResponseModel": ".dubbing_transcripts_response_model",
"DubbingTranscriptsResponseModelTranscriptFormat": ".dubbing_transcripts_response_model_transcript_format",
"DynamicVariableAssignment": ".dynamic_variable_assignment",
- "DynamicVariableContainerValueTypeInput": ".dynamic_variable_container_value_type_input",
- "DynamicVariableContainerValueTypeOutput": ".dynamic_variable_container_value_type_output",
"DynamicVariableNestedValueTypeInput": ".dynamic_variable_nested_value_type_input",
"DynamicVariableNestedValueTypeOutput": ".dynamic_variable_nested_value_type_output",
"DynamicVariableSchemaOverride": ".dynamic_variable_schema_override",
"DynamicVariableUpdateCommonModel": ".dynamic_variable_update_common_model",
+ "DynamicVariableValueTypeInput": ".dynamic_variable_value_type_input",
+ "DynamicVariableValueTypeOutput": ".dynamic_variable_value_type_output",
"DynamicVariablesConfigInput": ".dynamic_variables_config_input",
- "DynamicVariablesConfigInputDynamicVariablePlaceholdersValue": ".dynamic_variables_config_input_dynamic_variable_placeholders_value",
"DynamicVariablesConfigOutput": ".dynamic_variables_config_output",
- "DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue": ".dynamic_variables_config_output_dynamic_variable_placeholders_value",
"DynamicVariablesConfigWorkflowOverrideInput": ".dynamic_variables_config_workflow_override_input",
- "DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue": ".dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value",
"DynamicVariablesConfigWorkflowOverrideOutput": ".dynamic_variables_config_workflow_override_output",
- "DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue": ".dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value",
"EditChapterResponseModel": ".edit_chapter_response_model",
"EditProjectResponseModel": ".edit_project_response_model",
"EditVoiceResponseModel": ".edit_voice_response_model",
@@ -2441,7 +2400,6 @@
"ExportOptions_SegmentedJson": ".export_options",
"ExportOptions_Srt": ".export_options",
"ExportOptions_Txt": ".export_options",
- "ExtendedSubscriptionResponseModelCurrency": ".extended_subscription_response_model_currency",
"ExtendedSubscriptionResponseModelMaxCreditLimitExtension": ".extended_subscription_response_model_max_credit_limit_extension",
"ExtendedSubscriptionResponseModelPendingChange": ".extended_subscription_response_model_pending_change",
"FeatureStatusCommonModel": ".feature_status_common_model",
@@ -2474,6 +2432,8 @@
"GetAgentTopicsResponseModel": ".get_agent_topics_response_model",
"GetAgentsPageResponseModel": ".get_agents_page_response_model",
"GetAnalyticsSummaryParams": ".get_analytics_summary_params",
+ "GetAppointmentByConfirmationNumberParams": ".get_appointment_by_confirmation_number_params",
+ "GetAudioIsolationHistoryResponseModel": ".get_audio_isolation_history_response_model",
"GetAudioNativeProjectSettingsResponseModel": ".get_audio_native_project_settings_response_model",
"GetBookingPageSettingsParams": ".get_booking_page_settings_params",
"GetBookingSlugStatusParams": ".get_booking_slug_status_params",
@@ -2545,7 +2505,6 @@
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Alias": ".get_pronunciation_dictionary_with_rules_response_model_rules_item",
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme": ".get_pronunciation_dictionary_with_rules_response_model_rules_item",
"GetResponseUnitTestResponseModel": ".get_response_unit_test_response_model",
- "GetResponseUnitTestResponseModelDynamicVariablesValue": ".get_response_unit_test_response_model_dynamic_variables_value",
"GetScheduleParams": ".get_schedule_params",
"GetSecretDependenciesResponseModel": ".get_secret_dependencies_response_model",
"GetSecretDependenciesResponseModelDependencies": ".get_secret_dependencies_response_model_dependencies",
@@ -2556,14 +2515,12 @@
"GetSecretDependenciesResponseModelDependenciesZeroItem_Available": ".get_secret_dependencies_response_model_dependencies_zero_item",
"GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown": ".get_secret_dependencies_response_model_dependencies_zero_item",
"GetSimulationTestResponseModel": ".get_simulation_test_response_model",
- "GetSimulationTestResponseModelDynamicVariablesValue": ".get_simulation_test_response_model_dynamic_variables_value",
"GetSpeechHistoryResponse": ".get_speech_history_response",
"GetTestInvocationsPageResponseModel": ".get_test_invocations_page_response_model",
"GetTestSuiteInvocationResponseModel": ".get_test_suite_invocation_response_model",
"GetTestsPageResponseModel": ".get_tests_page_response_model",
"GetTestsSummariesByIdsResponseModel": ".get_tests_summaries_by_ids_response_model",
"GetToolCallUnitTestResponseModel": ".get_tool_call_unit_test_response_model",
- "GetToolCallUnitTestResponseModelDynamicVariablesValue": ".get_tool_call_unit_test_response_model_dynamic_variables_value",
"GetToolDependentAgentsResponseModel": ".get_tool_dependent_agents_response_model",
"GetToolDependentAgentsResponseModelAgentsItem": ".get_tool_dependent_agents_response_model_agents_item",
"GetToolDependentAgentsResponseModelAgentsItem_Available": ".get_tool_dependent_agents_response_model_agents_item",
@@ -2581,6 +2538,7 @@
"HistoryItemResponse": ".history_item_response",
"HtmlExportOptions": ".html_export_options",
"HttpValidationError": ".http_validation_error",
+ "Icon": ".icon",
"ImageAvatar": ".image_avatar",
"InboundSipTrunkConfigRequestModel": ".inbound_sip_trunk_config_request_model",
"InitialiseContext": ".initialise_context",
@@ -2643,7 +2601,6 @@
"ListLocationsParams": ".list_locations_params",
"ListMcpToolsResponseModel": ".list_mcp_tools_response_model",
"ListProductsParams": ".list_products_params",
- "ListRentalServicesParams": ".list_rental_services_params",
"ListResponseAgentBranchSummary": ".list_response_agent_branch_summary",
"ListResponseMeta": ".list_response_meta",
"ListServicesParams": ".list_services_params",
@@ -2672,6 +2629,7 @@
"LlmUsageCalculatorResponseModel": ".llm_usage_calculator_response_model",
"LlmUsageInput": ".llm_usage_input",
"LlmUsageOutput": ".llm_usage_output",
+ "ManualSource": ".manual_source",
"ManualVerificationFileResponse": ".manual_verification_file_response",
"ManualVerificationResponse": ".manual_verification_response",
"MatchAnythingParameterEvaluationStrategy": ".match_anything_parameter_evaluation_strategy",
@@ -2705,7 +2663,8 @@
"McpToolConfigOverrideOutputInputOverridesValue_Constant": ".mcp_tool_config_override_output_input_overrides_value",
"McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable": ".mcp_tool_config_override_output_input_overrides_value",
"McpToolConfigOverrideOutputInputOverridesValue_Llm": ".mcp_tool_config_override_output_input_overrides_value",
- "MergingStrategy": ".merging_strategy",
+ "MemoryEntrySearchResult": ".memory_entry_search_result",
+ "MemoryEntrySearchResultSource": ".memory_entry_search_result_source",
"MessageSearchSortBy": ".message_search_sort_by",
"MessagesSearchResponse": ".messages_search_response",
"MessagesSearchResult": ".messages_search_result",
@@ -2720,7 +2679,6 @@
"ModerationGuardrailInput": ".moderation_guardrail_input",
"ModerationGuardrailOutput": ".moderation_guardrail_output",
"MtlsAuthResponse": ".mtls_auth_response",
- "MultiSourceConfigJson": ".multi_source_config_json",
"MultichannelSpeechToTextResponseModel": ".multichannel_speech_to_text_response_model",
"MultipartMusicResponse": ".multipart_music_response",
"MusicExploreSongSourceContext": ".music_explore_song_source_context",
@@ -2746,9 +2704,11 @@
"PartialTranscriptPayload": ".partial_transcript_payload",
"PatchWorkspaceWebhookResponseModel": ".patch_workspace_webhook_response_model",
"PdfExportOptions": ".pdf_export_options",
+ "PendingBlocksMetadataModel": ".pending_blocks_metadata_model",
"PendingCancellationResponseModel": ".pending_cancellation_response_model",
"PendingClipTask": ".pending_clip_task",
"PendingClipTaskType": ".pending_clip_task_type",
+ "PendingExternalAudiosMetadataModel": ".pending_external_audios_metadata_model",
"PendingSubscriptionSwitchResponseModel": ".pending_subscription_switch_response_model",
"PendingSubscriptionSwitchResponseModelNextTier": ".pending_subscription_switch_response_model_next_tier",
"PermissionType": ".permission_type",
@@ -2783,6 +2743,7 @@
"PostDialDigitsDynamicVariable": ".post_dial_digits_dynamic_variable",
"PostDialDigitsStatic": ".post_dial_digits_static",
"PostWorkspaceSecretResponseModel": ".post_workspace_secret_response_model",
+ "PreToolSpeechMode": ".pre_tool_speech_mode",
"PreviewAudioDbModel": ".preview_audio_db_model",
"PrivacyConfigInput": ".privacy_config_input",
"PrivacyConfigOutput": ".privacy_config_output",
@@ -2923,7 +2884,6 @@
"ResponseFilter": ".response_filter",
"ResponseFilterMode": ".response_filter_mode",
"ResponseUnitTestModel": ".response_unit_test_model",
- "ResponseUnitTestModelDynamicVariablesValue": ".response_unit_test_model_dynamic_variables_value",
"RetryTriggerAction": ".retry_trigger_action",
"ReviewResponseModel": ".review_response_model",
"ReviewResponseModelRejectReasonsItem": ".review_response_model_reject_reasons_item",
@@ -2981,7 +2941,6 @@
"SimilarVoice": ".similar_voice",
"SimilarVoicesForSpeakerResponse": ".similar_voices_for_speaker_response",
"SimulationTestModel": ".simulation_test_model",
- "SimulationTestModelDynamicVariablesValue": ".simulation_test_model_dynamic_variables_value",
"SimulationToolMockBehaviorConfig": ".simulation_tool_mock_behavior_config",
"SingleTestRunRequestModel": ".single_test_run_request_model",
"SingleUseTokenResponseModel": ".single_use_token_response_model",
@@ -3002,8 +2961,6 @@
"SongSection": ".song_section",
"SongSourceContext": ".song_source_context",
"SortDirection": ".sort_direction",
- "SourceConfigJson": ".source_config_json",
- "SourceRetrievalConfig": ".source_retrieval_config",
"SpeakerAudioResponseModel": ".speaker_audio_response_model",
"SpeakerCreatedResponse": ".speaker_created_response",
"SpeakerResponseModel": ".speaker_response_model",
@@ -3034,7 +2991,6 @@
"StudioTextStyleShadowModel": ".studio_text_style_shadow_model",
"Subscription": ".subscription",
"SubscriptionResponse": ".subscription_response",
- "SubscriptionResponseModelCurrency": ".subscription_response_model_currency",
"SubscriptionResponseModelMaxCreditLimitExtension": ".subscription_response_model_max_credit_limit_extension",
"SubscriptionStatusType": ".subscription_status_type",
"SuggestedAudioTag": ".suggested_audio_tag",
@@ -3073,6 +3029,13 @@
"TestType": ".test_type",
"TestsFeatureUsageCommonModel": ".tests_feature_usage_common_model",
"TextNormalisationType": ".text_normalisation_type",
+ "TextToDialogueWebsocketApplyTextNormalizationEnum": ".text_to_dialogue_websocket_apply_text_normalization_enum",
+ "TextToDialogueWebsocketAudioChunk": ".text_to_dialogue_websocket_audio_chunk",
+ "TextToDialogueWebsocketClientMessage": ".text_to_dialogue_websocket_client_message",
+ "TextToDialogueWebsocketError": ".text_to_dialogue_websocket_error",
+ "TextToDialogueWebsocketFinal": ".text_to_dialogue_websocket_final",
+ "TextToDialogueWebsocketOutputFormatEnum": ".text_to_dialogue_websocket_output_format_enum",
+ "TextToDialogueWebsocketVoiceInput": ".text_to_dialogue_websocket_voice_input",
"TextToSpeechApplyTextNormalizationEnum": ".text_to_speech_apply_text_normalization_enum",
"TextToSpeechOutputFormatEnum": ".text_to_speech_output_format_enum",
"TextToSpeechRequest": ".text_to_speech_request",
@@ -3088,8 +3051,8 @@
"ToolCallSoundBehavior": ".tool_call_sound_behavior",
"ToolCallSoundType": ".tool_call_sound_type",
"ToolCallUnitTestModel": ".tool_call_unit_test_model",
- "ToolCallUnitTestModelDynamicVariablesValue": ".tool_call_unit_test_model_dynamic_variables_value",
"ToolErrorHandlingMode": ".tool_error_handling_mode",
+ "ToolExecution": ".tool_execution",
"ToolExecutionMode": ".tool_execution_mode",
"ToolExecutionResponseModel": ".tool_execution_response_model",
"ToolExecutionResponseModelToolCallDetails": ".tool_execution_response_model_tool_call_details",
@@ -3097,6 +3060,7 @@
"ToolExecutionResponseModelToolCallDetails_Client": ".tool_execution_response_model_tool_call_details",
"ToolExecutionResponseModelToolCallDetails_Mcp": ".tool_execution_response_model_tool_call_details",
"ToolExecutionResponseModelToolCallDetails_Webhook": ".tool_execution_response_model_tool_call_details",
+ "ToolExecutionTaskSupport": ".tool_execution_task_support",
"ToolMockConfig": ".tool_mock_config",
"ToolRequestModel": ".tool_request_model",
"ToolRequestModelToolConfig": ".tool_request_model_tool_config",
@@ -3183,15 +3147,11 @@
"UpdateProductParams": ".update_product_params",
"UpdateProjectRequest": ".update_project_request",
"UpdatePronunciationDictionariesRequest": ".update_pronunciation_dictionaries_request",
- "UpdateRentalServiceParams": ".update_rental_service_params",
"UpdateResponseUnitTestRequest": ".update_response_unit_test_request",
- "UpdateResponseUnitTestRequestDynamicVariablesValue": ".update_response_unit_test_request_dynamic_variables_value",
"UpdateServiceParams": ".update_service_params",
"UpdateSimulationTestRequest": ".update_simulation_test_request",
- "UpdateSimulationTestRequestDynamicVariablesValue": ".update_simulation_test_request_dynamic_variables_value",
"UpdateStaffParams": ".update_staff_params",
"UpdateToolCallUnitTestRequest": ".update_tool_call_unit_test_request",
- "UpdateToolCallUnitTestRequestDynamicVariablesValue": ".update_tool_call_unit_test_request_dynamic_variables_value",
"UpdateWorkspaceMemberResponseModel": ".update_workspace_member_response_model",
"UrlAvatar": ".url_avatar",
"UsageAggregationInterval": ".usage_aggregation_interval",
@@ -3475,6 +3435,7 @@ def __dir__():
"AgentTestingSettings",
"AgentTopicResponseModel",
"AgentTransfer",
+ "AgentTrustContext",
"AgentVersionMetadata",
"AgentVersionParents",
"AgentWorkflowRequestModel",
@@ -3523,6 +3484,9 @@ def __dir__():
"AsrInputFormat",
"AsrProvider",
"AsrQuality",
+ "AssetTranscription",
+ "AssetTranscriptionData",
+ "AssetTranscriptionStatus",
"AstAdditionOperatorNodeInput",
"AstAdditionOperatorNodeOutput",
"AstAndOperatorNodeInput",
@@ -3610,6 +3574,7 @@ def __dir__():
"AudioAnalysisResult",
"AudioAnalysisStatus",
"AudioFormatEnum",
+ "AudioIsolationHistoryItemResponseModel",
"AudioKeyMoment",
"AudioNativeCreateProjectResponseModel",
"AudioNativeEditContentResponseModel",
@@ -3695,7 +3660,6 @@ def __dir__():
"CharacterRefreshPeriod",
"CharacterUsageResponse",
"ChatSourceMedium",
- "CheckRentalAvailabilityParams",
"CheckServiceAvailabilityParams",
"ClientEvent",
"ClientToolConfigInput",
@@ -3837,18 +3801,15 @@ def __dir__():
"ConversationInitiationClientDataConfigInput",
"ConversationInitiationClientDataConfigOutput",
"ConversationInitiationClientDataInternal",
- "ConversationInitiationClientDataInternalDynamicVariablesValue",
"ConversationInitiationClientDataRequestInput",
- "ConversationInitiationClientDataRequestInputDynamicVariablesValue",
"ConversationInitiationClientDataRequestOutput",
- "ConversationInitiationClientDataRequestOutputDynamicVariablesValue",
"ConversationInitiationClientDataWebhook",
"ConversationInitiationClientDataWebhookRequestHeadersValue",
"ConversationInitiationSource",
"ConversationInitiationSourceInfo",
"ConversationSignedUrlResponseModel",
"ConversationSimulationSpecification",
- "ConversationSimulationSpecificationDynamicVariablesValue",
+ "ConversationSource",
"ConversationSummaryResponseModel",
"ConversationSummaryResponseModelStatus",
"ConversationTokenDbModel",
@@ -3885,21 +3846,17 @@ def __dir__():
"CreatePrivateKeyJwtRequestAlgorithm",
"CreateProductParams",
"CreatePronunciationDictionaryResponseModel",
- "CreateRentalBookingParams",
- "CreateRentalServiceParams",
"CreateResponseUnitTestRequest",
- "CreateResponseUnitTestRequestDynamicVariablesValue",
"CreateSecretEnvironmentVariableRequest",
"CreateServiceParams",
"CreateSimulationTestRequest",
- "CreateSimulationTestRequestDynamicVariablesValue",
"CreateSipTrunkPhoneNumberRequest",
"CreateStaffParams",
"CreateStringEnvironmentVariableRequest",
"CreateToolCallUnitTestRequest",
- "CreateToolCallUnitTestRequestDynamicVariablesValue",
"CreateTranscriptRequest",
"CreateTwilioPhoneNumberRequest",
+ "Currency",
"CustomGuardrailConfig",
"CustomGuardrailConfigTriggerAction",
"CustomGuardrailConfigTriggerAction_EndCall",
@@ -3935,7 +3892,6 @@ def __dir__():
"DeleteProductParams",
"DeleteProjectRequest",
"DeleteProjectResponseModel",
- "DeleteRentalServiceParams",
"DeleteSampleResponse",
"DeleteServiceParams",
"DeleteStaffParams",
@@ -3960,6 +3916,7 @@ def __dir__():
"DetectedEntity",
"DialogueInput",
"DialogueInputResponseModel",
+ "DialogueTextAlignment",
"DirectPublishingReadResponseModel",
"DirectPublishingReadResponseModelDisplayMode",
"DirectPublishingReadResponseModelGenreItem",
@@ -3986,20 +3943,16 @@ def __dir__():
"DubbingTranscriptsResponseModel",
"DubbingTranscriptsResponseModelTranscriptFormat",
"DynamicVariableAssignment",
- "DynamicVariableContainerValueTypeInput",
- "DynamicVariableContainerValueTypeOutput",
"DynamicVariableNestedValueTypeInput",
"DynamicVariableNestedValueTypeOutput",
"DynamicVariableSchemaOverride",
"DynamicVariableUpdateCommonModel",
+ "DynamicVariableValueTypeInput",
+ "DynamicVariableValueTypeOutput",
"DynamicVariablesConfigInput",
- "DynamicVariablesConfigInputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigOutput",
- "DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigWorkflowOverrideInput",
- "DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue",
"DynamicVariablesConfigWorkflowOverrideOutput",
- "DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue",
"EditChapterResponseModel",
"EditProjectResponseModel",
"EditVoiceResponseModel",
@@ -4030,7 +3983,6 @@ def __dir__():
"ExportOptions_SegmentedJson",
"ExportOptions_Srt",
"ExportOptions_Txt",
- "ExtendedSubscriptionResponseModelCurrency",
"ExtendedSubscriptionResponseModelMaxCreditLimitExtension",
"ExtendedSubscriptionResponseModelPendingChange",
"FeatureStatusCommonModel",
@@ -4063,6 +4015,8 @@ def __dir__():
"GetAgentTopicsResponseModel",
"GetAgentsPageResponseModel",
"GetAnalyticsSummaryParams",
+ "GetAppointmentByConfirmationNumberParams",
+ "GetAudioIsolationHistoryResponseModel",
"GetAudioNativeProjectSettingsResponseModel",
"GetBookingPageSettingsParams",
"GetBookingSlugStatusParams",
@@ -4134,7 +4088,6 @@ def __dir__():
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Alias",
"GetPronunciationDictionaryWithRulesResponseModelRulesItem_Phoneme",
"GetResponseUnitTestResponseModel",
- "GetResponseUnitTestResponseModelDynamicVariablesValue",
"GetScheduleParams",
"GetSecretDependenciesResponseModel",
"GetSecretDependenciesResponseModelDependencies",
@@ -4145,14 +4098,12 @@ def __dir__():
"GetSecretDependenciesResponseModelDependenciesZeroItem_Available",
"GetSecretDependenciesResponseModelDependenciesZeroItem_Unknown",
"GetSimulationTestResponseModel",
- "GetSimulationTestResponseModelDynamicVariablesValue",
"GetSpeechHistoryResponse",
"GetTestInvocationsPageResponseModel",
"GetTestSuiteInvocationResponseModel",
"GetTestsPageResponseModel",
"GetTestsSummariesByIdsResponseModel",
"GetToolCallUnitTestResponseModel",
- "GetToolCallUnitTestResponseModelDynamicVariablesValue",
"GetToolDependentAgentsResponseModel",
"GetToolDependentAgentsResponseModelAgentsItem",
"GetToolDependentAgentsResponseModelAgentsItem_Available",
@@ -4170,6 +4121,7 @@ def __dir__():
"HistoryItemResponse",
"HtmlExportOptions",
"HttpValidationError",
+ "Icon",
"ImageAvatar",
"InboundSipTrunkConfigRequestModel",
"InitialiseContext",
@@ -4232,7 +4184,6 @@ def __dir__():
"ListLocationsParams",
"ListMcpToolsResponseModel",
"ListProductsParams",
- "ListRentalServicesParams",
"ListResponseAgentBranchSummary",
"ListResponseMeta",
"ListServicesParams",
@@ -4261,6 +4212,7 @@ def __dir__():
"LlmUsageCalculatorResponseModel",
"LlmUsageInput",
"LlmUsageOutput",
+ "ManualSource",
"ManualVerificationFileResponse",
"ManualVerificationResponse",
"MatchAnythingParameterEvaluationStrategy",
@@ -4294,7 +4246,8 @@ def __dir__():
"McpToolConfigOverrideOutputInputOverridesValue_Constant",
"McpToolConfigOverrideOutputInputOverridesValue_DynamicVariable",
"McpToolConfigOverrideOutputInputOverridesValue_Llm",
- "MergingStrategy",
+ "MemoryEntrySearchResult",
+ "MemoryEntrySearchResultSource",
"MessageSearchSortBy",
"MessagesSearchResponse",
"MessagesSearchResult",
@@ -4309,7 +4262,6 @@ def __dir__():
"ModerationGuardrailInput",
"ModerationGuardrailOutput",
"MtlsAuthResponse",
- "MultiSourceConfigJson",
"MultichannelSpeechToTextResponseModel",
"MultipartMusicResponse",
"MusicExploreSongSourceContext",
@@ -4335,9 +4287,11 @@ def __dir__():
"PartialTranscriptPayload",
"PatchWorkspaceWebhookResponseModel",
"PdfExportOptions",
+ "PendingBlocksMetadataModel",
"PendingCancellationResponseModel",
"PendingClipTask",
"PendingClipTaskType",
+ "PendingExternalAudiosMetadataModel",
"PendingSubscriptionSwitchResponseModel",
"PendingSubscriptionSwitchResponseModelNextTier",
"PermissionType",
@@ -4372,6 +4326,7 @@ def __dir__():
"PostDialDigitsDynamicVariable",
"PostDialDigitsStatic",
"PostWorkspaceSecretResponseModel",
+ "PreToolSpeechMode",
"PreviewAudioDbModel",
"PrivacyConfigInput",
"PrivacyConfigOutput",
@@ -4512,7 +4467,6 @@ def __dir__():
"ResponseFilter",
"ResponseFilterMode",
"ResponseUnitTestModel",
- "ResponseUnitTestModelDynamicVariablesValue",
"RetryTriggerAction",
"ReviewResponseModel",
"ReviewResponseModelRejectReasonsItem",
@@ -4570,7 +4524,6 @@ def __dir__():
"SimilarVoice",
"SimilarVoicesForSpeakerResponse",
"SimulationTestModel",
- "SimulationTestModelDynamicVariablesValue",
"SimulationToolMockBehaviorConfig",
"SingleTestRunRequestModel",
"SingleUseTokenResponseModel",
@@ -4591,8 +4544,6 @@ def __dir__():
"SongSection",
"SongSourceContext",
"SortDirection",
- "SourceConfigJson",
- "SourceRetrievalConfig",
"SpeakerAudioResponseModel",
"SpeakerCreatedResponse",
"SpeakerResponseModel",
@@ -4623,7 +4574,6 @@ def __dir__():
"StudioTextStyleShadowModel",
"Subscription",
"SubscriptionResponse",
- "SubscriptionResponseModelCurrency",
"SubscriptionResponseModelMaxCreditLimitExtension",
"SubscriptionStatusType",
"SuggestedAudioTag",
@@ -4662,6 +4612,13 @@ def __dir__():
"TestType",
"TestsFeatureUsageCommonModel",
"TextNormalisationType",
+ "TextToDialogueWebsocketApplyTextNormalizationEnum",
+ "TextToDialogueWebsocketAudioChunk",
+ "TextToDialogueWebsocketClientMessage",
+ "TextToDialogueWebsocketError",
+ "TextToDialogueWebsocketFinal",
+ "TextToDialogueWebsocketOutputFormatEnum",
+ "TextToDialogueWebsocketVoiceInput",
"TextToSpeechApplyTextNormalizationEnum",
"TextToSpeechOutputFormatEnum",
"TextToSpeechRequest",
@@ -4677,8 +4634,8 @@ def __dir__():
"ToolCallSoundBehavior",
"ToolCallSoundType",
"ToolCallUnitTestModel",
- "ToolCallUnitTestModelDynamicVariablesValue",
"ToolErrorHandlingMode",
+ "ToolExecution",
"ToolExecutionMode",
"ToolExecutionResponseModel",
"ToolExecutionResponseModelToolCallDetails",
@@ -4686,6 +4643,7 @@ def __dir__():
"ToolExecutionResponseModelToolCallDetails_Client",
"ToolExecutionResponseModelToolCallDetails_Mcp",
"ToolExecutionResponseModelToolCallDetails_Webhook",
+ "ToolExecutionTaskSupport",
"ToolMockConfig",
"ToolRequestModel",
"ToolRequestModelToolConfig",
@@ -4772,15 +4730,11 @@ def __dir__():
"UpdateProductParams",
"UpdateProjectRequest",
"UpdatePronunciationDictionariesRequest",
- "UpdateRentalServiceParams",
"UpdateResponseUnitTestRequest",
- "UpdateResponseUnitTestRequestDynamicVariablesValue",
"UpdateServiceParams",
"UpdateSimulationTestRequest",
- "UpdateSimulationTestRequestDynamicVariablesValue",
"UpdateStaffParams",
"UpdateToolCallUnitTestRequest",
- "UpdateToolCallUnitTestRequestDynamicVariablesValue",
"UpdateWorkspaceMemberResponseModel",
"UrlAvatar",
"UsageAggregationInterval",
diff --git a/src/elevenlabs/types/agent_platform_settings_request_model.py b/src/elevenlabs/types/agent_platform_settings_request_model.py
index 2150b174..ed079936 100644
--- a/src/elevenlabs/types/agent_platform_settings_request_model.py
+++ b/src/elevenlabs/types/agent_platform_settings_request_model.py
@@ -7,6 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .agent_call_limits import AgentCallLimits
from .agent_testing_settings import AgentTestingSettings
+from .agent_trust_context import AgentTrustContext
from .agent_workspace_overrides_input import AgentWorkspaceOverridesInput
from .analysis_property import AnalysisProperty
from .analysis_scope import AnalysisScope
@@ -85,6 +86,11 @@ class AgentPlatformSettingsRequestModel(UncheckedBaseModel):
Privacy settings for the agent
"""
+ trust_context: typing.Optional[AgentTrustContext] = pydantic.Field(default=None)
+ """
+ The trust context in which the agent operates.
+ """
+
analysis_llm: typing.Optional[Llm] = pydantic.Field(default=None)
"""
Default LLM model for post-call analysis (evaluation and data collection)
diff --git a/src/elevenlabs/types/agent_platform_settings_response_model.py b/src/elevenlabs/types/agent_platform_settings_response_model.py
index ee4fdf63..e26213a5 100644
--- a/src/elevenlabs/types/agent_platform_settings_response_model.py
+++ b/src/elevenlabs/types/agent_platform_settings_response_model.py
@@ -7,6 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .agent_call_limits import AgentCallLimits
from .agent_testing_settings import AgentTestingSettings
+from .agent_trust_context import AgentTrustContext
from .agent_workspace_overrides_output import AgentWorkspaceOverridesOutput
from .analysis_property import AnalysisProperty
from .analysis_scope import AnalysisScope
@@ -86,6 +87,11 @@ class AgentPlatformSettingsResponseModel(UncheckedBaseModel):
Privacy settings for the agent
"""
+ trust_context: typing.Optional[AgentTrustContext] = pydantic.Field(default=None)
+ """
+ The trust context in which the agent operates.
+ """
+
analysis_llm: typing.Optional[Llm] = pydantic.Field(default=None)
"""
Default LLM model for post-call analysis (evaluation and data collection)
diff --git a/src/elevenlabs/types/agent_trust_context.py b/src/elevenlabs/types/agent_trust_context.py
new file mode 100644
index 00000000..4e3eecba
--- /dev/null
+++ b/src/elevenlabs/types/agent_trust_context.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+AgentTrustContext = typing.Union[typing.Literal["unknown", "low", "high"], typing.Any]
diff --git a/src/elevenlabs/types/api_integration_webhook_tool_config_input.py b/src/elevenlabs/types/api_integration_webhook_tool_config_input.py
index 26555bd2..b06fde27 100644
--- a/src/elevenlabs/types/api_integration_webhook_tool_config_input.py
+++ b/src/elevenlabs/types/api_integration_webhook_tool_config_input.py
@@ -8,6 +8,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -33,7 +34,12 @@ class ApiIntegrationWebhookToolConfigInput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/api_integration_webhook_tool_config_output.py b/src/elevenlabs/types/api_integration_webhook_tool_config_output.py
index defea534..3ade4133 100644
--- a/src/elevenlabs/types/api_integration_webhook_tool_config_output.py
+++ b/src/elevenlabs/types/api_integration_webhook_tool_config_output.py
@@ -8,6 +8,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -33,7 +34,12 @@ class ApiIntegrationWebhookToolConfigOutput(UncheckedBaseModel):
force_pre_tool_speech: bool = pydantic.Field()
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: PreToolSpeechMode = pydantic.Field()
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.List[DynamicVariableAssignment] = pydantic.Field()
diff --git a/src/elevenlabs/types/asset_transcription.py b/src/elevenlabs/types/asset_transcription.py
new file mode 100644
index 00000000..fe10bfce
--- /dev/null
+++ b/src/elevenlabs/types/asset_transcription.py
@@ -0,0 +1,24 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .asset_transcription_data import AssetTranscriptionData
+from .asset_transcription_status import AssetTranscriptionStatus
+
+
+class AssetTranscription(UncheckedBaseModel):
+ status: AssetTranscriptionStatus
+ data: typing.Optional[AssetTranscriptionData] = None
+ updated_at_ms: typing.Optional[int] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/asset_transcription_data.py b/src/elevenlabs/types/asset_transcription_data.py
new file mode 100644
index 00000000..f64e1ccc
--- /dev/null
+++ b/src/elevenlabs/types/asset_transcription_data.py
@@ -0,0 +1,25 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class AssetTranscriptionData(UncheckedBaseModel):
+ language_code: str
+ text: str
+ words: typing.List[str]
+ word_start_times_ms: typing.List[int]
+ word_end_times_ms: typing.List[int]
+ word_speaker_ids: typing.List[typing.Optional[str]]
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/asset_transcription_status.py b/src/elevenlabs/types/asset_transcription_status.py
new file mode 100644
index 00000000..bec8dd99
--- /dev/null
+++ b/src/elevenlabs/types/asset_transcription_status.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+AssetTranscriptionStatus = typing.Union[typing.Literal["processing", "completed", "failed"], typing.Any]
diff --git a/src/elevenlabs/types/audio_isolation_history_item_response_model.py b/src/elevenlabs/types/audio_isolation_history_item_response_model.py
new file mode 100644
index 00000000..e7c43184
--- /dev/null
+++ b/src/elevenlabs/types/audio_isolation_history_item_response_model.py
@@ -0,0 +1,32 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+import typing_extensions
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.serialization import FieldMetadata
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class AudioIsolationHistoryItemResponseModel(UncheckedBaseModel):
+ id: str
+ title: typing.Optional[str] = None
+ created_at_unix: int
+ format: str
+ duration_seconds: typing.Optional[float] = None
+ download_url: typing.Optional[str] = None
+ icon_url: typing.Optional[str] = None
+ source_video_url: typing.Optional[str] = None
+ supports_video: bool
+ processing: bool
+ preview_b_64: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="preview_b64")] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/client_event.py b/src/elevenlabs/types/client_event.py
index 9001e149..2bc50051 100644
--- a/src/elevenlabs/types/client_event.py
+++ b/src/elevenlabs/types/client_event.py
@@ -24,6 +24,7 @@
"client_error",
"guardrail_triggered",
"dtmf_request",
+ "agent_response_complete",
"internal_turn_probability",
"internal_tentative_agent_response",
],
diff --git a/src/elevenlabs/types/client_tool_config_input.py b/src/elevenlabs/types/client_tool_config_input.py
index e37700d6..ac081a0f 100644
--- a/src/elevenlabs/types/client_tool_config_input.py
+++ b/src/elevenlabs/types/client_tool_config_input.py
@@ -9,6 +9,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -38,7 +39,12 @@ class ClientToolConfigInput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/client_tool_config_output.py b/src/elevenlabs/types/client_tool_config_output.py
index 1ece7497..35aa90f5 100644
--- a/src/elevenlabs/types/client_tool_config_output.py
+++ b/src/elevenlabs/types/client_tool_config_output.py
@@ -9,6 +9,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -38,7 +39,12 @@ class ClientToolConfigOutput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/conversation_config.py b/src/elevenlabs/types/conversation_config.py
index b2b25026..b9115e41 100644
--- a/src/elevenlabs/types/conversation_config.py
+++ b/src/elevenlabs/types/conversation_config.py
@@ -40,6 +40,11 @@ class ConversationConfig(UncheckedBaseModel):
The events that will be sent to monitoring connections.
"""
+ source_attribution: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ When enabled and knowledge base content is present, the LLM is instructed to report which sources it used.
+ """
+
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:
diff --git a/src/elevenlabs/types/conversation_config_workflow_override.py b/src/elevenlabs/types/conversation_config_workflow_override.py
index 08037e1a..2dd84505 100644
--- a/src/elevenlabs/types/conversation_config_workflow_override.py
+++ b/src/elevenlabs/types/conversation_config_workflow_override.py
@@ -40,6 +40,11 @@ class ConversationConfigWorkflowOverride(UncheckedBaseModel):
The events that will be sent to monitoring connections.
"""
+ source_attribution: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ When enabled and knowledge base content is present, the LLM is instructed to report which sources it used.
+ """
+
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:
diff --git a/src/elevenlabs/types/conversation_history_transcript_common_model_input.py b/src/elevenlabs/types/conversation_history_transcript_common_model_input.py
index 13afd882..3d23e070 100644
--- a/src/elevenlabs/types/conversation_history_transcript_common_model_input.py
+++ b/src/elevenlabs/types/conversation_history_transcript_common_model_input.py
@@ -40,6 +40,7 @@ class ConversationHistoryTranscriptCommonModelInput(UncheckedBaseModel):
original_message: typing.Optional[str] = None
source_medium: typing.Optional[ChatSourceMedium] = None
source_event_id: typing.Optional[int] = None
+ used_static_kb_document_ids: typing.Optional[typing.List[str]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/conversation_history_transcript_common_model_output.py b/src/elevenlabs/types/conversation_history_transcript_common_model_output.py
index e35278dd..9e95594f 100644
--- a/src/elevenlabs/types/conversation_history_transcript_common_model_output.py
+++ b/src/elevenlabs/types/conversation_history_transcript_common_model_output.py
@@ -40,6 +40,7 @@ class ConversationHistoryTranscriptCommonModelOutput(UncheckedBaseModel):
original_message: typing.Optional[str] = None
source_medium: typing.Optional[ChatSourceMedium] = None
source_event_id: typing.Optional[int] = None
+ used_static_kb_document_ids: typing.Optional[typing.List[str]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/conversation_history_transcript_response_model.py b/src/elevenlabs/types/conversation_history_transcript_response_model.py
index a754ae60..fec5af6f 100644
--- a/src/elevenlabs/types/conversation_history_transcript_response_model.py
+++ b/src/elevenlabs/types/conversation_history_transcript_response_model.py
@@ -43,6 +43,7 @@ class ConversationHistoryTranscriptResponseModel(UncheckedBaseModel):
original_message: typing.Optional[str] = None
source_medium: typing.Optional[ChatSourceMedium] = None
source_event_id: typing.Optional[int] = None
+ used_static_kb_document_ids: typing.Optional[typing.List[str]] = None
file_input: typing.Optional[ConversationHistoryTranscriptFileInputResponseModel] = None
if IS_PYDANTIC_V2:
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_internal.py b/src/elevenlabs/types/conversation_initiation_client_data_internal.py
index 711320cb..aab5b23b 100644
--- a/src/elevenlabs/types/conversation_initiation_client_data_internal.py
+++ b/src/elevenlabs/types/conversation_initiation_client_data_internal.py
@@ -6,10 +6,8 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_config_client_override_output import ConversationConfigClientOverrideOutput
-from .conversation_initiation_client_data_internal_dynamic_variables_value import (
- ConversationInitiationClientDataInternalDynamicVariablesValue,
-)
from .conversation_initiation_source_info import ConversationInitiationSourceInfo
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .orchestrator_tool_mock_behavior_config import OrchestratorToolMockBehaviorConfig
@@ -37,9 +35,7 @@ class ConversationInitiationClientDataInternal(UncheckedBaseModel):
If set, start the workflow at this node id instead of the default entry
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ConversationInitiationClientDataInternalDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
tool_mock_config: typing.Optional[OrchestratorToolMockBehaviorConfig] = pydantic.Field(default=None)
"""
Configuration for which tools to mock and fallback behavior
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_internal_dynamic_variables_value.py b/src/elevenlabs/types/conversation_initiation_client_data_internal_dynamic_variables_value.py
deleted file mode 100644
index 954aaf47..00000000
--- a/src/elevenlabs/types/conversation_initiation_client_data_internal_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-ConversationInitiationClientDataInternalDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_request_input.py b/src/elevenlabs/types/conversation_initiation_client_data_request_input.py
index d13ecbfb..f24e11dd 100644
--- a/src/elevenlabs/types/conversation_initiation_client_data_request_input.py
+++ b/src/elevenlabs/types/conversation_initiation_client_data_request_input.py
@@ -6,10 +6,8 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_config_client_override_input import ConversationConfigClientOverrideInput
-from .conversation_initiation_client_data_request_input_dynamic_variables_value import (
- ConversationInitiationClientDataRequestInputDynamicVariablesValue,
-)
from .conversation_initiation_source_info import ConversationInitiationSourceInfo
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
class ConversationInitiationClientDataRequestInput(UncheckedBaseModel):
@@ -36,9 +34,7 @@ class ConversationInitiationClientDataRequestInput(UncheckedBaseModel):
If set, start the workflow at this node id instead of the default entry
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ConversationInitiationClientDataRequestInputDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_request_input_dynamic_variables_value.py b/src/elevenlabs/types/conversation_initiation_client_data_request_input_dynamic_variables_value.py
deleted file mode 100644
index 5271e69b..00000000
--- a/src/elevenlabs/types/conversation_initiation_client_data_request_input_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-ConversationInitiationClientDataRequestInputDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_request_output.py b/src/elevenlabs/types/conversation_initiation_client_data_request_output.py
index 053404ed..41b996e1 100644
--- a/src/elevenlabs/types/conversation_initiation_client_data_request_output.py
+++ b/src/elevenlabs/types/conversation_initiation_client_data_request_output.py
@@ -6,10 +6,8 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_config_client_override_output import ConversationConfigClientOverrideOutput
-from .conversation_initiation_client_data_request_output_dynamic_variables_value import (
- ConversationInitiationClientDataRequestOutputDynamicVariablesValue,
-)
from .conversation_initiation_source_info import ConversationInitiationSourceInfo
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
class ConversationInitiationClientDataRequestOutput(UncheckedBaseModel):
@@ -36,9 +34,7 @@ class ConversationInitiationClientDataRequestOutput(UncheckedBaseModel):
If set, start the workflow at this node id instead of the default entry
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ConversationInitiationClientDataRequestOutputDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/conversation_initiation_client_data_request_output_dynamic_variables_value.py b/src/elevenlabs/types/conversation_initiation_client_data_request_output_dynamic_variables_value.py
deleted file mode 100644
index ded20ba7..00000000
--- a/src/elevenlabs/types/conversation_initiation_client_data_request_output_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-ConversationInitiationClientDataRequestOutputDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/conversation_simulation_specification.py b/src/elevenlabs/types/conversation_simulation_specification.py
index 0d44434b..7e792b82 100644
--- a/src/elevenlabs/types/conversation_simulation_specification.py
+++ b/src/elevenlabs/types/conversation_simulation_specification.py
@@ -9,9 +9,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .agent_config import AgentConfig
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
-from .conversation_simulation_specification_dynamic_variables_value import (
- ConversationSimulationSpecificationDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .tool_mock_config import ToolMockConfig
@@ -29,9 +27,7 @@ class ConversationSimulationSpecification(UncheckedBaseModel):
A partial conversation history to start the simulation from. If empty, simulation starts fresh.
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ConversationSimulationSpecificationDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/conversation_simulation_specification_dynamic_variables_value.py b/src/elevenlabs/types/conversation_simulation_specification_dynamic_variables_value.py
deleted file mode 100644
index 7268c0cc..00000000
--- a/src/elevenlabs/types/conversation_simulation_specification_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-ConversationSimulationSpecificationDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/update_rental_service_params.py b/src/elevenlabs/types/conversation_source.py
similarity index 78%
rename from src/elevenlabs/types/update_rental_service_params.py
rename to src/elevenlabs/types/conversation_source.py
index 344ff922..51d642a3 100644
--- a/src/elevenlabs/types/update_rental_service_params.py
+++ b/src/elevenlabs/types/conversation_source.py
@@ -7,8 +7,9 @@
from ..core.unchecked_base_model import UncheckedBaseModel
-class UpdateRentalServiceParams(UncheckedBaseModel):
- smb_tool_type: typing.Optional[typing.Literal["update_rental_service"]] = None
+class ConversationSource(UncheckedBaseModel):
+ type: typing.Optional[typing.Literal["conversation"]] = None
+ conversation_id: str
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/create_response_unit_test_request.py b/src/elevenlabs/types/create_response_unit_test_request.py
index 4c0069b5..9ed055db 100644
--- a/src/elevenlabs/types/create_response_unit_test_request.py
+++ b/src/elevenlabs/types/create_response_unit_test_request.py
@@ -10,9 +10,7 @@
from .agent_failure_response_example import AgentFailureResponseExample
from .agent_successful_response_example import AgentSuccessfulResponseExample
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
-from .create_response_unit_test_request_dynamic_variables_value import (
- CreateResponseUnitTestRequestDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
@@ -22,9 +20,9 @@ class CreateResponseUnitTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateResponseUnitTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/create_response_unit_test_request_dynamic_variables_value.py b/src/elevenlabs/types/create_response_unit_test_request_dynamic_variables_value.py
deleted file mode 100644
index 767de785..00000000
--- a/src/elevenlabs/types/create_response_unit_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-CreateResponseUnitTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/create_service_params.py b/src/elevenlabs/types/create_service_params.py
index a6bd00a8..e16cd8b4 100644
--- a/src/elevenlabs/types/create_service_params.py
+++ b/src/elevenlabs/types/create_service_params.py
@@ -9,7 +9,7 @@
class CreateServiceParams(UncheckedBaseModel):
"""
- Create a new service in the system.
+ Create a new service (classic or rental) in the system.
"""
smb_tool_type: typing.Optional[typing.Literal["create_service"]] = None
diff --git a/src/elevenlabs/types/create_simulation_test_request.py b/src/elevenlabs/types/create_simulation_test_request.py
index c2441fa0..0a8ac3ff 100644
--- a/src/elevenlabs/types/create_simulation_test_request.py
+++ b/src/elevenlabs/types/create_simulation_test_request.py
@@ -8,7 +8,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
-from .create_simulation_test_request_dynamic_variables_value import CreateSimulationTestRequestDynamicVariablesValue
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
@@ -19,9 +19,9 @@ class CreateSimulationTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateSimulationTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/create_simulation_test_request_dynamic_variables_value.py b/src/elevenlabs/types/create_simulation_test_request_dynamic_variables_value.py
deleted file mode 100644
index 151a8e47..00000000
--- a/src/elevenlabs/types/create_simulation_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-CreateSimulationTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/create_tool_call_unit_test_request.py b/src/elevenlabs/types/create_tool_call_unit_test_request.py
index 2b90f1fb..46154cc9 100644
--- a/src/elevenlabs/types/create_tool_call_unit_test_request.py
+++ b/src/elevenlabs/types/create_tool_call_unit_test_request.py
@@ -8,9 +8,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
-from .create_tool_call_unit_test_request_dynamic_variables_value import (
- CreateToolCallUnitTestRequestDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
from .unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput
@@ -21,9 +19,9 @@ class CreateToolCallUnitTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[CreateToolCallUnitTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/create_tool_call_unit_test_request_dynamic_variables_value.py b/src/elevenlabs/types/create_tool_call_unit_test_request_dynamic_variables_value.py
deleted file mode 100644
index 63a08cd9..00000000
--- a/src/elevenlabs/types/create_tool_call_unit_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-CreateToolCallUnitTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/currency.py b/src/elevenlabs/types/currency.py
new file mode 100644
index 00000000..a78023dc
--- /dev/null
+++ b/src/elevenlabs/types/currency.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+Currency = typing.Union[typing.Literal["usd", "eur", "inr"], typing.Any]
diff --git a/src/elevenlabs/types/dialogue_text_alignment.py b/src/elevenlabs/types/dialogue_text_alignment.py
new file mode 100644
index 00000000..b6032971
--- /dev/null
+++ b/src/elevenlabs/types/dialogue_text_alignment.py
@@ -0,0 +1,26 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class DialogueTextAlignment(UncheckedBaseModel):
+ """
+ Character-level alignment data (field names use snake_case in JSON).
+ """
+
+ chars: typing.Optional[typing.List[str]] = None
+ char_start_times_ms: typing.Optional[typing.List[int]] = None
+ char_durations_ms: typing.Optional[typing.List[int]] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/dynamic_variable_container_value_type_input.py b/src/elevenlabs/types/dynamic_variable_value_type_input.py
similarity index 59%
rename from src/elevenlabs/types/dynamic_variable_container_value_type_input.py
rename to src/elevenlabs/types/dynamic_variable_value_type_input.py
index d446eb7f..bcd8edbe 100644
--- a/src/elevenlabs/types/dynamic_variable_container_value_type_input.py
+++ b/src/elevenlabs/types/dynamic_variable_value_type_input.py
@@ -4,4 +4,4 @@
from .dynamic_variable_nested_value_type_input import DynamicVariableNestedValueTypeInput
-DynamicVariableContainerValueTypeInput = typing.List[DynamicVariableNestedValueTypeInput]
+DynamicVariableValueTypeInput = typing.Union[str, float, int, bool, typing.List[DynamicVariableNestedValueTypeInput]]
diff --git a/src/elevenlabs/types/dynamic_variable_container_value_type_output.py b/src/elevenlabs/types/dynamic_variable_value_type_output.py
similarity index 59%
rename from src/elevenlabs/types/dynamic_variable_container_value_type_output.py
rename to src/elevenlabs/types/dynamic_variable_value_type_output.py
index 23f0c6ba..7bebc2fb 100644
--- a/src/elevenlabs/types/dynamic_variable_container_value_type_output.py
+++ b/src/elevenlabs/types/dynamic_variable_value_type_output.py
@@ -4,4 +4,4 @@
from .dynamic_variable_nested_value_type_output import DynamicVariableNestedValueTypeOutput
-DynamicVariableContainerValueTypeOutput = typing.List[DynamicVariableNestedValueTypeOutput]
+DynamicVariableValueTypeOutput = typing.Union[str, float, int, bool, typing.List[DynamicVariableNestedValueTypeOutput]]
diff --git a/src/elevenlabs/types/dynamic_variables_config_input.py b/src/elevenlabs/types/dynamic_variables_config_input.py
index 91b71b94..135e9566 100644
--- a/src/elevenlabs/types/dynamic_variables_config_input.py
+++ b/src/elevenlabs/types/dynamic_variables_config_input.py
@@ -5,15 +5,13 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
-from .dynamic_variables_config_input_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigInputDynamicVariablePlaceholdersValue,
-)
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
class DynamicVariablesConfigInput(UncheckedBaseModel):
- dynamic_variable_placeholders: typing.Optional[
- typing.Dict[str, DynamicVariablesConfigInputDynamicVariablePlaceholdersValue]
- ] = pydantic.Field(default=None)
+ dynamic_variable_placeholders: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
A dictionary of dynamic variable placeholders and their values
"""
diff --git a/src/elevenlabs/types/dynamic_variables_config_input_dynamic_variable_placeholders_value.py b/src/elevenlabs/types/dynamic_variables_config_input_dynamic_variable_placeholders_value.py
deleted file mode 100644
index 4b0a25f2..00000000
--- a/src/elevenlabs/types/dynamic_variables_config_input_dynamic_variable_placeholders_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-DynamicVariablesConfigInputDynamicVariablePlaceholdersValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/dynamic_variables_config_output.py b/src/elevenlabs/types/dynamic_variables_config_output.py
index 3fe2bff6..2b9f3d6e 100644
--- a/src/elevenlabs/types/dynamic_variables_config_output.py
+++ b/src/elevenlabs/types/dynamic_variables_config_output.py
@@ -5,14 +5,12 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
-from .dynamic_variables_config_output_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue,
-)
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
class DynamicVariablesConfigOutput(UncheckedBaseModel):
dynamic_variable_placeholders: typing.Optional[
- typing.Dict[str, DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue]
+ typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]
] = pydantic.Field(default=None)
"""
A dictionary of dynamic variable placeholders and their values
diff --git a/src/elevenlabs/types/dynamic_variables_config_output_dynamic_variable_placeholders_value.py b/src/elevenlabs/types/dynamic_variables_config_output_dynamic_variable_placeholders_value.py
deleted file mode 100644
index 4d41c431..00000000
--- a/src/elevenlabs/types/dynamic_variables_config_output_dynamic_variable_placeholders_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-DynamicVariablesConfigOutputDynamicVariablePlaceholdersValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/dynamic_variables_config_workflow_override_input.py b/src/elevenlabs/types/dynamic_variables_config_workflow_override_input.py
index f1657459..12ebace7 100644
--- a/src/elevenlabs/types/dynamic_variables_config_workflow_override_input.py
+++ b/src/elevenlabs/types/dynamic_variables_config_workflow_override_input.py
@@ -5,15 +5,13 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
-from .dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue,
-)
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
class DynamicVariablesConfigWorkflowOverrideInput(UncheckedBaseModel):
- dynamic_variable_placeholders: typing.Optional[
- typing.Dict[str, typing.Optional[DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variable_placeholders: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
A dictionary of dynamic variable placeholders and their values
"""
diff --git a/src/elevenlabs/types/dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value.py b/src/elevenlabs/types/dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value.py
deleted file mode 100644
index 3a48f450..00000000
--- a/src/elevenlabs/types/dynamic_variables_config_workflow_override_input_dynamic_variable_placeholders_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-DynamicVariablesConfigWorkflowOverrideInputDynamicVariablePlaceholdersValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/dynamic_variables_config_workflow_override_output.py b/src/elevenlabs/types/dynamic_variables_config_workflow_override_output.py
index 2aa3f8d1..27065f58 100644
--- a/src/elevenlabs/types/dynamic_variables_config_workflow_override_output.py
+++ b/src/elevenlabs/types/dynamic_variables_config_workflow_override_output.py
@@ -5,14 +5,12 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
-from .dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value import (
- DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue,
-)
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
class DynamicVariablesConfigWorkflowOverrideOutput(UncheckedBaseModel):
dynamic_variable_placeholders: typing.Optional[
- typing.Dict[str, typing.Optional[DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue]]
+ typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]
] = pydantic.Field(default=None)
"""
A dictionary of dynamic variable placeholders and their values
diff --git a/src/elevenlabs/types/dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value.py b/src/elevenlabs/types/dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value.py
deleted file mode 100644
index 2fc54a78..00000000
--- a/src/elevenlabs/types/dynamic_variables_config_workflow_override_output_dynamic_variable_placeholders_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-DynamicVariablesConfigWorkflowOverrideOutputDynamicVariablePlaceholdersValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/extended_subscription_response_model_currency.py b/src/elevenlabs/types/extended_subscription_response_model_currency.py
deleted file mode 100644
index 54d3b077..00000000
--- a/src/elevenlabs/types/extended_subscription_response_model_currency.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-ExtendedSubscriptionResponseModelCurrency = typing.Union[typing.Literal["usd", "eur", "inr"], typing.Any]
diff --git a/src/elevenlabs/types/get_appointment_by_confirmation_number_params.py b/src/elevenlabs/types/get_appointment_by_confirmation_number_params.py
new file mode 100644
index 00000000..d890e3d6
--- /dev/null
+++ b/src/elevenlabs/types/get_appointment_by_confirmation_number_params.py
@@ -0,0 +1,29 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class GetAppointmentByConfirmationNumberParams(UncheckedBaseModel):
+ """
+ Look up an appointment by the booking confirmation number the caller quotes.
+
+ The confirmation number is the 8-character code shown on the booking
+ confirmation page (e.g. ``#01ABCDEF``). Callers may read it back with or
+ without the leading ``#`` and with varied spacing; the tool normalizes
+ the input and does a prefix match on the stored calendar item id.
+ """
+
+ smb_tool_type: typing.Optional[typing.Literal["get_appointment_by_confirmation_number"]] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/get_audio_isolation_history_response_model.py b/src/elevenlabs/types/get_audio_isolation_history_response_model.py
new file mode 100644
index 00000000..dc0939c9
--- /dev/null
+++ b/src/elevenlabs/types/get_audio_isolation_history_response_model.py
@@ -0,0 +1,22 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .audio_isolation_history_item_response_model import AudioIsolationHistoryItemResponseModel
+
+
+class GetAudioIsolationHistoryResponseModel(UncheckedBaseModel):
+ items: typing.List[AudioIsolationHistoryItemResponseModel]
+ has_more: bool
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/get_response_unit_test_response_model.py b/src/elevenlabs/types/get_response_unit_test_response_model.py
index 8b970c5d..efe16596 100644
--- a/src/elevenlabs/types/get_response_unit_test_response_model.py
+++ b/src/elevenlabs/types/get_response_unit_test_response_model.py
@@ -10,9 +10,7 @@
from .agent_failure_response_example import AgentFailureResponseExample
from .agent_successful_response_example import AgentSuccessfulResponseExample
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .get_response_unit_test_response_model_dynamic_variables_value import (
- GetResponseUnitTestResponseModelDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
@@ -22,9 +20,9 @@ class GetResponseUnitTestResponseModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetResponseUnitTestResponseModelDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/get_response_unit_test_response_model_dynamic_variables_value.py b/src/elevenlabs/types/get_response_unit_test_response_model_dynamic_variables_value.py
deleted file mode 100644
index a75aea27..00000000
--- a/src/elevenlabs/types/get_response_unit_test_response_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-GetResponseUnitTestResponseModelDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/get_simulation_test_response_model.py b/src/elevenlabs/types/get_simulation_test_response_model.py
index 5148aaa4..9558b007 100644
--- a/src/elevenlabs/types/get_simulation_test_response_model.py
+++ b/src/elevenlabs/types/get_simulation_test_response_model.py
@@ -8,9 +8,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .get_simulation_test_response_model_dynamic_variables_value import (
- GetSimulationTestResponseModelDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
@@ -21,9 +19,9 @@ class GetSimulationTestResponseModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetSimulationTestResponseModelDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/get_simulation_test_response_model_dynamic_variables_value.py b/src/elevenlabs/types/get_simulation_test_response_model_dynamic_variables_value.py
deleted file mode 100644
index ea6640e2..00000000
--- a/src/elevenlabs/types/get_simulation_test_response_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-GetSimulationTestResponseModelDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/get_tool_call_unit_test_response_model.py b/src/elevenlabs/types/get_tool_call_unit_test_response_model.py
index 99a3bb5a..c4313faf 100644
--- a/src/elevenlabs/types/get_tool_call_unit_test_response_model.py
+++ b/src/elevenlabs/types/get_tool_call_unit_test_response_model.py
@@ -8,9 +8,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .get_tool_call_unit_test_response_model_dynamic_variables_value import (
- GetToolCallUnitTestResponseModelDynamicVariablesValue,
-)
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
from .unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput
@@ -21,9 +19,9 @@ class GetToolCallUnitTestResponseModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[GetToolCallUnitTestResponseModelDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/get_tool_call_unit_test_response_model_dynamic_variables_value.py b/src/elevenlabs/types/get_tool_call_unit_test_response_model_dynamic_variables_value.py
deleted file mode 100644
index 6df32d0c..00000000
--- a/src/elevenlabs/types/get_tool_call_unit_test_response_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-GetToolCallUnitTestResponseModelDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/icon.py b/src/elevenlabs/types/icon.py
new file mode 100644
index 00000000..45f0fb5a
--- /dev/null
+++ b/src/elevenlabs/types/icon.py
@@ -0,0 +1,28 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+import typing_extensions
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.serialization import FieldMetadata
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class Icon(UncheckedBaseModel):
+ """
+ An icon for display in user interfaces.
+ """
+
+ src: str
+ mime_type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="mimeType")] = None
+ sizes: typing.Optional[typing.List[str]] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/list_rental_services_params.py b/src/elevenlabs/types/list_rental_services_params.py
deleted file mode 100644
index 6f34d315..00000000
--- a/src/elevenlabs/types/list_rental_services_params.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-from ..core.unchecked_base_model import UncheckedBaseModel
-
-
-class ListRentalServicesParams(UncheckedBaseModel):
- list_kwargs: typing.Optional[typing.Dict[str, typing.Any]] = None
- smb_tool_type: typing.Optional[typing.Literal["list_rental_services"]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/llm.py b/src/elevenlabs/types/llm.py
index 71e37db0..dacefb22 100644
--- a/src/elevenlabs/types/llm.py
+++ b/src/elevenlabs/types/llm.py
@@ -15,7 +15,6 @@
"gpt-5.1",
"gpt-5.2",
"gpt-5.2-chat-latest",
- "gpt-5.4",
"gpt-5-mini",
"gpt-5-nano",
"gpt-3.5-turbo",
@@ -65,7 +64,6 @@
"gpt-5-2025-08-07",
"gpt-5.1-2025-11-13",
"gpt-5.2-2025-12-11",
- "gpt-5.4-2026-03-05",
"gpt-5-mini-2025-08-07",
"gpt-5-nano-2025-08-07",
"gpt-4.1-2025-04-14",
diff --git a/src/elevenlabs/types/create_rental_service_params.py b/src/elevenlabs/types/manual_source.py
similarity index 75%
rename from src/elevenlabs/types/create_rental_service_params.py
rename to src/elevenlabs/types/manual_source.py
index 578ea2aa..af11d1ae 100644
--- a/src/elevenlabs/types/create_rental_service_params.py
+++ b/src/elevenlabs/types/manual_source.py
@@ -7,8 +7,10 @@
from ..core.unchecked_base_model import UncheckedBaseModel
-class CreateRentalServiceParams(UncheckedBaseModel):
- smb_tool_type: typing.Optional[typing.Literal["create_rental_service"]] = None
+class ManualSource(UncheckedBaseModel):
+ type: typing.Optional[typing.Literal["manual"]] = None
+ created_by_user_id: str
+ notes: typing.Optional[str] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/mcp_server_config_input.py b/src/elevenlabs/types/mcp_server_config_input.py
index 186da0a9..a75c1362 100644
--- a/src/elevenlabs/types/mcp_server_config_input.py
+++ b/src/elevenlabs/types/mcp_server_config_input.py
@@ -13,6 +13,7 @@
from .mcp_server_transport import McpServerTransport
from .mcp_tool_approval_hash import McpToolApprovalHash
from .mcp_tool_config_override_input import McpToolConfigOverrideInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_execution_mode import ToolExecutionMode
@@ -56,7 +57,12 @@ class McpServerConfigInput(UncheckedBaseModel):
description: typing.Optional[str] = None
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, all tools from this MCP server will require pre-tool execution speech
+ DEPRECATED: use `pre_tool_speech` instead. If true, all tools from this MCP server will require pre-tool execution speech.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency. Applies to every tool from this MCP server unless overridden per tool.
"""
disable_interruptions: typing.Optional[bool] = pydantic.Field(default=None)
@@ -79,6 +85,11 @@ class McpServerConfigInput(UncheckedBaseModel):
Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations.
"""
+ response_timeout_secs: typing.Optional[int] = pydantic.Field(default=None)
+ """
+ The maximum time in seconds to wait for each MCP tool call to complete. Must be between 5 and 120 seconds (inclusive).
+ """
+
tool_config_overrides: typing.Optional[typing.List[McpToolConfigOverrideInput]] = pydantic.Field(default=None)
"""
List of per-tool configuration overrides that override the server-level defaults for specific tools
diff --git a/src/elevenlabs/types/mcp_server_config_output.py b/src/elevenlabs/types/mcp_server_config_output.py
index 95e60aac..dff2a3c3 100644
--- a/src/elevenlabs/types/mcp_server_config_output.py
+++ b/src/elevenlabs/types/mcp_server_config_output.py
@@ -13,6 +13,7 @@
from .mcp_server_transport import McpServerTransport
from .mcp_tool_approval_hash import McpToolApprovalHash
from .mcp_tool_config_override_output import McpToolConfigOverrideOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_execution_mode import ToolExecutionMode
@@ -56,7 +57,12 @@ class McpServerConfigOutput(UncheckedBaseModel):
description: typing.Optional[str] = None
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, all tools from this MCP server will require pre-tool execution speech
+ DEPRECATED: use `pre_tool_speech` instead. If true, all tools from this MCP server will require pre-tool execution speech.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency. Applies to every tool from this MCP server unless overridden per tool.
"""
disable_interruptions: typing.Optional[bool] = pydantic.Field(default=None)
@@ -79,6 +85,11 @@ class McpServerConfigOutput(UncheckedBaseModel):
Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations.
"""
+ response_timeout_secs: typing.Optional[int] = pydantic.Field(default=None)
+ """
+ The maximum time in seconds to wait for each MCP tool call to complete. Must be between 5 and 120 seconds (inclusive).
+ """
+
tool_config_overrides: typing.Optional[typing.List[McpToolConfigOverrideOutput]] = pydantic.Field(default=None)
"""
List of per-tool configuration overrides that override the server-level defaults for specific tools
diff --git a/src/elevenlabs/types/mcp_tool_config_override_input.py b/src/elevenlabs/types/mcp_tool_config_override_input.py
index 5acb7e06..3ed1e30e 100644
--- a/src/elevenlabs/types/mcp_tool_config_override_input.py
+++ b/src/elevenlabs/types/mcp_tool_config_override_input.py
@@ -7,6 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .mcp_tool_config_override_input_input_overrides_value import McpToolConfigOverrideInputInputOverridesValue
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_execution_mode import ToolExecutionMode
@@ -21,7 +22,12 @@ class McpToolConfigOverrideInput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ If set, overrides the server's pre_tool_speech setting for this tool.
"""
disable_interruptions: typing.Optional[bool] = pydantic.Field(default=None)
@@ -44,6 +50,11 @@ class McpToolConfigOverrideInput(UncheckedBaseModel):
If set, overrides the server's execution_mode setting for this tool
"""
+ response_timeout_secs: typing.Optional[int] = pydantic.Field(default=None)
+ """
+ If set, overrides the server's response timeout for this MCP tool (seconds).
+ """
+
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
"""
Dynamic variable assignments for this MCP tool
diff --git a/src/elevenlabs/types/mcp_tool_config_override_output.py b/src/elevenlabs/types/mcp_tool_config_override_output.py
index 5f384726..4aa2ded5 100644
--- a/src/elevenlabs/types/mcp_tool_config_override_output.py
+++ b/src/elevenlabs/types/mcp_tool_config_override_output.py
@@ -7,6 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .mcp_tool_config_override_output_input_overrides_value import McpToolConfigOverrideOutputInputOverridesValue
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_execution_mode import ToolExecutionMode
@@ -21,7 +22,12 @@ class McpToolConfigOverrideOutput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If set, overrides the server's force_pre_tool_speech setting for this tool
+ DEPRECATED: use `pre_tool_speech` instead. If set, overrides the server's force_pre_tool_speech setting for this tool.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ If set, overrides the server's pre_tool_speech setting for this tool.
"""
disable_interruptions: typing.Optional[bool] = pydantic.Field(default=None)
@@ -44,6 +50,11 @@ class McpToolConfigOverrideOutput(UncheckedBaseModel):
If set, overrides the server's execution_mode setting for this tool
"""
+ response_timeout_secs: typing.Optional[int] = pydantic.Field(default=None)
+ """
+ If set, overrides the server's response timeout for this MCP tool (seconds).
+ """
+
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
"""
Dynamic variable assignments for this MCP tool
diff --git a/src/elevenlabs/types/memory_entry_search_result.py b/src/elevenlabs/types/memory_entry_search_result.py
new file mode 100644
index 00000000..c6e16180
--- /dev/null
+++ b/src/elevenlabs/types/memory_entry_search_result.py
@@ -0,0 +1,25 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .memory_entry_search_result_source import MemoryEntrySearchResultSource
+
+
+class MemoryEntrySearchResult(UncheckedBaseModel):
+ entry_id: str
+ version: int
+ summary: typing.Optional[str] = None
+ text: typing.Optional[str] = None
+ source: typing.Optional[MemoryEntrySearchResultSource] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/memory_entry_search_result_source.py b/src/elevenlabs/types/memory_entry_search_result_source.py
new file mode 100644
index 00000000..d8ed7319
--- /dev/null
+++ b/src/elevenlabs/types/memory_entry_search_result_source.py
@@ -0,0 +1,8 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+from .conversation_source import ConversationSource
+from .manual_source import ManualSource
+
+MemoryEntrySearchResultSource = typing.Union[ConversationSource, ManualSource]
diff --git a/src/elevenlabs/types/merging_strategy.py b/src/elevenlabs/types/merging_strategy.py
deleted file mode 100644
index 66334325..00000000
--- a/src/elevenlabs/types/merging_strategy.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-MergingStrategy = typing.Union[typing.Literal["rank_fusion", "top_k_per_source", "weighted_interleave"], typing.Any]
diff --git a/src/elevenlabs/types/multi_source_config_json.py b/src/elevenlabs/types/multi_source_config_json.py
deleted file mode 100644
index c18ad16f..00000000
--- a/src/elevenlabs/types/multi_source_config_json.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-from ..core.unchecked_base_model import UncheckedBaseModel
-from .merging_strategy import MergingStrategy
-from .source_config_json import SourceConfigJson
-
-
-class MultiSourceConfigJson(UncheckedBaseModel):
- """
- JSON-serializable multi-source retrieval configuration.
-
- This can be passed as JSON in tool configurations for full control.
- """
-
- source_names: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
- """
- List of source names to use (e.g., ['chunks', 'products'])
- """
-
- source_overrides: typing.Optional[typing.List[SourceConfigJson]] = pydantic.Field(default=None)
- """
- Per-source parameter overrides
- """
-
- merging_strategy: typing.Optional[MergingStrategy] = pydantic.Field(default=None)
- """
- How to merge results from multiple sources
- """
-
- final_top_k: typing.Optional[int] = pydantic.Field(default=None)
- """
- Final number of chunks after merging
- """
-
- use_decomposition: typing.Optional[bool] = pydantic.Field(default=None)
- """
- Decompose complex queries
- """
-
- use_reformulation: typing.Optional[bool] = pydantic.Field(default=None)
- """
- LLM reformulates query
- """
-
- synthesize_response: typing.Optional[bool] = pydantic.Field(default=None)
- """
- LLM generates answer vs raw chunks
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/create_rental_booking_params.py b/src/elevenlabs/types/pending_blocks_metadata_model.py
similarity index 77%
rename from src/elevenlabs/types/create_rental_booking_params.py
rename to src/elevenlabs/types/pending_blocks_metadata_model.py
index 0ae2b9aa..456bb04b 100644
--- a/src/elevenlabs/types/create_rental_booking_params.py
+++ b/src/elevenlabs/types/pending_blocks_metadata_model.py
@@ -7,8 +7,9 @@
from ..core.unchecked_base_model import UncheckedBaseModel
-class CreateRentalBookingParams(UncheckedBaseModel):
- smb_tool_type: typing.Optional[typing.Literal["create_rental_booking"]] = None
+class PendingBlocksMetadataModel(UncheckedBaseModel):
+ target_global_offset_ms: typing.Optional[int] = None
+ block_ids: typing.List[str]
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/check_rental_availability_params.py b/src/elevenlabs/types/pending_external_audios_metadata_model.py
similarity index 75%
rename from src/elevenlabs/types/check_rental_availability_params.py
rename to src/elevenlabs/types/pending_external_audios_metadata_model.py
index 0c8bf766..3e119abe 100644
--- a/src/elevenlabs/types/check_rental_availability_params.py
+++ b/src/elevenlabs/types/pending_external_audios_metadata_model.py
@@ -7,8 +7,9 @@
from ..core.unchecked_base_model import UncheckedBaseModel
-class CheckRentalAvailabilityParams(UncheckedBaseModel):
- smb_tool_type: typing.Optional[typing.Literal["check_rental_availability"]] = None
+class PendingExternalAudiosMetadataModel(UncheckedBaseModel):
+ target_global_offset_ms: typing.Optional[int] = None
+ external_audio_ids: typing.List[str]
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/play_dtmf_tool_config.py b/src/elevenlabs/types/play_dtmf_tool_config.py
index e2846790..34e61a13 100644
--- a/src/elevenlabs/types/play_dtmf_tool_config.py
+++ b/src/elevenlabs/types/play_dtmf_tool_config.py
@@ -17,7 +17,7 @@ class PlayDtmfToolConfig(UncheckedBaseModel):
use_out_of_band_dtmf: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, send DTMF tones out-of-band using RFC 4733 (useful for SIP calls only). If false, send DTMF as in-band audio tones (works for all call types).
+ Send DTMF tones as out-of-band RTP events (RFC 4733) instead of in-band audio. Only effective for SIP trunk imported numbers.
"""
suppress_turn_after_dtmf: typing.Optional[bool] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/pre_tool_speech_mode.py b/src/elevenlabs/types/pre_tool_speech_mode.py
new file mode 100644
index 00000000..1af93ca8
--- /dev/null
+++ b/src/elevenlabs/types/pre_tool_speech_mode.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+PreToolSpeechMode = typing.Union[typing.Literal["auto", "force", "off"], typing.Any]
diff --git a/src/elevenlabs/types/procedure_compiler_mode.py b/src/elevenlabs/types/procedure_compiler_mode.py
index 7de409af..ca029e7a 100644
--- a/src/elevenlabs/types/procedure_compiler_mode.py
+++ b/src/elevenlabs/types/procedure_compiler_mode.py
@@ -2,4 +2,4 @@
import typing
-ProcedureCompilerMode = typing.Union[typing.Literal["llm", "deterministic", "append"], typing.Any]
+ProcedureCompilerMode = typing.Union[typing.Literal["deterministic", "append"], typing.Any]
diff --git a/src/elevenlabs/types/project_extended_response_model_assets_item.py b/src/elevenlabs/types/project_extended_response_model_assets_item.py
index 866028cd..42dbaace 100644
--- a/src/elevenlabs/types/project_extended_response_model_assets_item.py
+++ b/src/elevenlabs/types/project_extended_response_model_assets_item.py
@@ -8,11 +8,14 @@
import typing_extensions
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
+from .asset_transcription import AssetTranscription
from .audio_analysis import AudioAnalysis
from .canvas_placement import CanvasPlacement
from .clip_animation import ClipAnimation
from .generation_source_context import GenerationSourceContext
+from .pending_blocks_metadata_model import PendingBlocksMetadataModel
from .pending_clip_task import PendingClipTask
+from .pending_external_audios_metadata_model import PendingExternalAudiosMetadataModel
from .project_external_audio_response_model_source_context import ProjectExternalAudioResponseModelSourceContext
from .project_video_thumbnail_sheet_response_model import ProjectVideoThumbnailSheetResponseModel
from .video_analysis import VideoAnalysis
@@ -45,6 +48,8 @@ class ProjectExtendedResponseModelAssetsItem_Video(UncheckedBaseModel):
asset_preview_signed_url: typing.Optional[str] = None
source_video_id: typing.Optional[str] = None
source_asset_id: typing.Optional[str] = None
+ pending_blocks_metadata: typing.Optional[PendingBlocksMetadataModel] = None
+ pending_external_audios_metadata: typing.Optional[PendingExternalAudiosMetadataModel] = None
pending_block_ids: typing.List[str]
pending_external_audio_ids: typing.List[str]
speech_imported: typing.Optional[bool] = None
@@ -54,6 +59,7 @@ class ProjectExtendedResponseModelAssetsItem_Video(UncheckedBaseModel):
current_snapshot_id: typing.Optional[str] = None
source_context: typing.Optional[GenerationSourceContext] = None
analysis: typing.Optional[VideoAnalysis] = None
+ transcription: typing.Optional[AssetTranscription] = None
canvas_placement: typing.Optional[CanvasPlacement] = None
animation: typing.Optional[ClipAnimation] = None
playback_speed: typing.Optional[float] = None
@@ -93,12 +99,15 @@ class ProjectExtendedResponseModelAssetsItem_Audio(UncheckedBaseModel):
source_asset_id: typing.Optional[str] = None
pending_block_ids: typing.List[str]
pending_external_audio_ids: typing.List[str]
+ pending_blocks_metadata: typing.Optional[PendingBlocksMetadataModel] = None
+ pending_external_audios_metadata: typing.Optional[PendingExternalAudiosMetadataModel] = None
speech_imported: typing.Optional[bool] = None
pending_task: typing.Optional[PendingClipTask] = None
error: typing.Optional[str] = None
current_snapshot_id: typing.Optional[str] = None
source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None
analysis: typing.Optional[AudioAnalysis] = None
+ transcription: typing.Optional[AssetTranscription] = None
import_speech_progress: typing.Optional[float] = None
if IS_PYDANTIC_V2:
diff --git a/src/elevenlabs/types/project_external_audio_response_model.py b/src/elevenlabs/types/project_external_audio_response_model.py
index 0f21391b..c9bb69ad 100644
--- a/src/elevenlabs/types/project_external_audio_response_model.py
+++ b/src/elevenlabs/types/project_external_audio_response_model.py
@@ -5,8 +5,11 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
+from .asset_transcription import AssetTranscription
from .audio_analysis import AudioAnalysis
+from .pending_blocks_metadata_model import PendingBlocksMetadataModel
from .pending_clip_task import PendingClipTask
+from .pending_external_audios_metadata_model import PendingExternalAudiosMetadataModel
from .project_external_audio_response_model_source_context import ProjectExternalAudioResponseModelSourceContext
@@ -30,12 +33,15 @@ class ProjectExternalAudioResponseModel(UncheckedBaseModel):
source_asset_id: typing.Optional[str] = None
pending_block_ids: typing.List[str]
pending_external_audio_ids: typing.List[str]
+ pending_blocks_metadata: typing.Optional[PendingBlocksMetadataModel] = None
+ pending_external_audios_metadata: typing.Optional[PendingExternalAudiosMetadataModel] = None
speech_imported: typing.Optional[bool] = None
pending_task: typing.Optional[PendingClipTask] = None
error: typing.Optional[str] = None
current_snapshot_id: typing.Optional[str] = None
source_context: typing.Optional[ProjectExternalAudioResponseModelSourceContext] = None
analysis: typing.Optional[AudioAnalysis] = None
+ transcription: typing.Optional[AssetTranscription] = None
import_speech_progress: typing.Optional[float] = None
if IS_PYDANTIC_V2:
diff --git a/src/elevenlabs/types/project_video_response_model.py b/src/elevenlabs/types/project_video_response_model.py
index f62f9104..94f9f546 100644
--- a/src/elevenlabs/types/project_video_response_model.py
+++ b/src/elevenlabs/types/project_video_response_model.py
@@ -5,10 +5,13 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
+from .asset_transcription import AssetTranscription
from .canvas_placement import CanvasPlacement
from .clip_animation import ClipAnimation
from .generation_source_context import GenerationSourceContext
+from .pending_blocks_metadata_model import PendingBlocksMetadataModel
from .pending_clip_task import PendingClipTask
+from .pending_external_audios_metadata_model import PendingExternalAudiosMetadataModel
from .project_video_thumbnail_sheet_response_model import ProjectVideoThumbnailSheetResponseModel
from .video_analysis import VideoAnalysis
@@ -39,6 +42,8 @@ class ProjectVideoResponseModel(UncheckedBaseModel):
asset_preview_signed_url: typing.Optional[str] = None
source_video_id: typing.Optional[str] = None
source_asset_id: typing.Optional[str] = None
+ pending_blocks_metadata: typing.Optional[PendingBlocksMetadataModel] = None
+ pending_external_audios_metadata: typing.Optional[PendingExternalAudiosMetadataModel] = None
pending_block_ids: typing.List[str]
pending_external_audio_ids: typing.List[str]
speech_imported: typing.Optional[bool] = None
@@ -48,6 +53,7 @@ class ProjectVideoResponseModel(UncheckedBaseModel):
current_snapshot_id: typing.Optional[str] = None
source_context: typing.Optional[GenerationSourceContext] = None
analysis: typing.Optional[VideoAnalysis] = None
+ transcription: typing.Optional[AssetTranscription] = None
canvas_placement: typing.Optional[CanvasPlacement] = None
animation: typing.Optional[ClipAnimation] = None
playback_speed: typing.Optional[float] = None
diff --git a/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py
index aa9fc643..4416b419 100644
--- a/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py
+++ b/src/elevenlabs/types/prompt_agent_api_model_input_tools_item.py
@@ -11,6 +11,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_input_params import SystemToolConfigInputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -30,6 +31,7 @@ class PromptAgentApiModelInputToolsItem_ApiIntegrationWebhook(UncheckedBaseModel
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -62,6 +64,7 @@ class PromptAgentApiModelInputToolsItem_Client(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -118,6 +121,7 @@ class PromptAgentApiModelInputToolsItem_System(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -145,6 +149,7 @@ class PromptAgentApiModelInputToolsItem_Webhook(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py
index b184c32a..832871f7 100644
--- a/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py
+++ b/src/elevenlabs/types/prompt_agent_api_model_output_tools_item.py
@@ -11,6 +11,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_output_params import SystemToolConfigOutputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -30,6 +31,7 @@ class PromptAgentApiModelOutputToolsItem_ApiIntegrationWebhook(UncheckedBaseMode
response_timeout_secs: int
disable_interruptions: bool
force_pre_tool_speech: bool
+ pre_tool_speech: PreToolSpeechMode
assignments: typing.List[DynamicVariableAssignment]
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: ToolCallSoundBehavior
@@ -62,6 +64,7 @@ class PromptAgentApiModelOutputToolsItem_Client(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -118,6 +121,7 @@ class PromptAgentApiModelOutputToolsItem_System(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -145,6 +149,7 @@ class PromptAgentApiModelOutputToolsItem_Webhook(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py
index 36b27edb..e1137730 100644
--- a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py
+++ b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_input_tools_item.py
@@ -11,6 +11,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_input_params import SystemToolConfigInputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -30,6 +31,7 @@ class PromptAgentApiModelWorkflowOverrideInputToolsItem_ApiIntegrationWebhook(Un
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -62,6 +64,7 @@ class PromptAgentApiModelWorkflowOverrideInputToolsItem_Client(UncheckedBaseMode
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -118,6 +121,7 @@ class PromptAgentApiModelWorkflowOverrideInputToolsItem_System(UncheckedBaseMode
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -145,6 +149,7 @@ class PromptAgentApiModelWorkflowOverrideInputToolsItem_Webhook(UncheckedBaseMod
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py
index 58992059..0e974b12 100644
--- a/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py
+++ b/src/elevenlabs/types/prompt_agent_api_model_workflow_override_output_tools_item.py
@@ -11,6 +11,7 @@
from .api_integration_webhook_overrides import ApiIntegrationWebhookOverrides
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_output_params import SystemToolConfigOutputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -30,6 +31,7 @@ class PromptAgentApiModelWorkflowOverrideOutputToolsItem_ApiIntegrationWebhook(U
response_timeout_secs: int
disable_interruptions: bool
force_pre_tool_speech: bool
+ pre_tool_speech: PreToolSpeechMode
assignments: typing.List[DynamicVariableAssignment]
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: ToolCallSoundBehavior
@@ -62,6 +64,7 @@ class PromptAgentApiModelWorkflowOverrideOutputToolsItem_Client(UncheckedBaseMod
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -118,6 +121,7 @@ class PromptAgentApiModelWorkflowOverrideOutputToolsItem_System(UncheckedBaseMod
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -145,6 +149,7 @@ class PromptAgentApiModelWorkflowOverrideOutputToolsItem_Webhook(UncheckedBaseMo
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/rag_retrieval_info.py b/src/elevenlabs/types/rag_retrieval_info.py
index e58db453..ec1cdbd2 100644
--- a/src/elevenlabs/types/rag_retrieval_info.py
+++ b/src/elevenlabs/types/rag_retrieval_info.py
@@ -14,6 +14,7 @@ class RagRetrievalInfo(UncheckedBaseModel):
embedding_model: EmbeddingModelEnum
retrieval_query: str
rag_latency_secs: float
+ used_chunk_ids: typing.Optional[typing.List[str]] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/response_unit_test_model.py b/src/elevenlabs/types/response_unit_test_model.py
index 758e9932..3990639c 100644
--- a/src/elevenlabs/types/response_unit_test_model.py
+++ b/src/elevenlabs/types/response_unit_test_model.py
@@ -10,7 +10,7 @@
from .agent_failure_response_example import AgentFailureResponseExample
from .agent_successful_response_example import AgentSuccessfulResponseExample
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .response_unit_test_model_dynamic_variables_value import ResponseUnitTestModelDynamicVariablesValue
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
@@ -20,9 +20,9 @@ class ResponseUnitTestModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ResponseUnitTestModelDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/response_unit_test_model_dynamic_variables_value.py b/src/elevenlabs/types/response_unit_test_model_dynamic_variables_value.py
deleted file mode 100644
index ee42d5ab..00000000
--- a/src/elevenlabs/types/response_unit_test_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-ResponseUnitTestModelDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/session_started_payload_config.py b/src/elevenlabs/types/session_started_payload_config.py
index 4a69cbaf..38524cb8 100644
--- a/src/elevenlabs/types/session_started_payload_config.py
+++ b/src/elevenlabs/types/session_started_payload_config.py
@@ -70,6 +70,16 @@ class SessionStartedPayloadConfig(UncheckedBaseModel):
Whether the session will include language detection in the committed transcript.
"""
+ keyterms: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
+ """
+ List of keyterms the model is biased towards.
+ """
+
+ no_verbatim: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Whether filler words and disfluencies are removed from the transcript.
+ """
+
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:
diff --git a/src/elevenlabs/types/simulation_test_model.py b/src/elevenlabs/types/simulation_test_model.py
index 64c4ffd6..b43edb69 100644
--- a/src/elevenlabs/types/simulation_test_model.py
+++ b/src/elevenlabs/types/simulation_test_model.py
@@ -8,7 +8,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
@@ -19,7 +19,7 @@ class SimulationTestModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[SimulationTestModelDynamicVariablesValue]]] = (
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
pydantic.Field(default=None)
)
"""
diff --git a/src/elevenlabs/types/simulation_test_model_dynamic_variables_value.py b/src/elevenlabs/types/simulation_test_model_dynamic_variables_value.py
deleted file mode 100644
index 009738a4..00000000
--- a/src/elevenlabs/types/simulation_test_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-SimulationTestModelDynamicVariablesValue = typing.Union[str, float, int, bool, DynamicVariableContainerValueTypeOutput]
diff --git a/src/elevenlabs/types/source_config_json.py b/src/elevenlabs/types/source_config_json.py
deleted file mode 100644
index 2c477c3d..00000000
--- a/src/elevenlabs/types/source_config_json.py
+++ /dev/null
@@ -1,85 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-from ..core.unchecked_base_model import UncheckedBaseModel
-
-
-class SourceConfigJson(UncheckedBaseModel):
- """
- JSON-serializable source configuration for tool configs.
-
- This can override existing sources or define entirely new ones.
- For new sources, collection_name is required.
- """
-
- name: str = pydantic.Field()
- """
- Source name (can be existing or new)
- """
-
- db_name: typing.Optional[str] = pydantic.Field(default=None)
- """
- MongoDB database name. Default: eleven_customer_support
- """
-
- collection_name: typing.Optional[str] = pydantic.Field(default=None)
- """
- MongoDB collection name. Required for new sources.
- """
-
- k_dense: typing.Optional[int] = pydantic.Field(default=None)
- """
- Number of chunks from vector search
- """
-
- k_keyword: typing.Optional[int] = pydantic.Field(default=None)
- """
- Number of chunks from BM25 search
- """
-
- dense_weight: typing.Optional[float] = pydantic.Field(default=None)
- """
- Weight for vector results
- """
-
- keyword_weight: typing.Optional[float] = pydantic.Field(default=None)
- """
- Weight for BM25 results
- """
-
- source_weight: typing.Optional[float] = pydantic.Field(default=None)
- """
- Weight for cross-source merging
- """
-
- vector_index_name: typing.Optional[str] = pydantic.Field(default=None)
- """
- Vector search index name. Default: 'default'
- """
-
- embedding_field: typing.Optional[str] = pydantic.Field(default=None)
- """
- Field containing embeddings. Default: 'embedding'
- """
-
- content_field: typing.Optional[str] = pydantic.Field(default=None)
- """
- Field containing text content. Default: 'content'
- """
-
- enabled: typing.Optional[bool] = pydantic.Field(default=None)
- """
- Whether this source is active
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/source_retrieval_config.py b/src/elevenlabs/types/source_retrieval_config.py
deleted file mode 100644
index fb74b1c6..00000000
--- a/src/elevenlabs/types/source_retrieval_config.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-from ..core.unchecked_base_model import UncheckedBaseModel
-
-
-class SourceRetrievalConfig(UncheckedBaseModel):
- name: str
- collection_name: str
- db_name: typing.Optional[str] = None
- enabled: typing.Optional[bool] = None
- k_dense: typing.Optional[int] = None
- k_keyword: typing.Optional[int] = None
- dense_weight: typing.Optional[float] = None
- keyword_weight: typing.Optional[float] = None
- source_weight: typing.Optional[float] = None
- vector_index_name: typing.Optional[str] = None
- embedding_field: typing.Optional[str] = None
- content_field: typing.Optional[str] = None
- filter_field: typing.Optional[str] = None
- num_candidates_multiplier: typing.Optional[int] = None
- result_fields: typing.Optional[typing.Dict[str, typing.List[typing.Any]]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/speech_history_item_response_model_source.py b/src/elevenlabs/types/speech_history_item_response_model_source.py
index 6bbf0908..1d7a81cd 100644
--- a/src/elevenlabs/types/speech_history_item_response_model_source.py
+++ b/src/elevenlabs/types/speech_history_item_response_model_source.py
@@ -3,5 +3,6 @@
import typing
SpeechHistoryItemResponseModelSource = typing.Union[
- typing.Literal["TTS", "STS", "Projects", "PD", "AN", "Dubbing", "PlayAPI", "ConvAI", "VoiceGeneration"], typing.Any
+ typing.Literal["TTS", "STS", "Projects", "PD", "AN", "Dubbing", "PlayAPI", "ConvAI", "VoiceGeneration", "InVPC"],
+ typing.Any,
]
diff --git a/src/elevenlabs/types/subscription.py b/src/elevenlabs/types/subscription.py
index 9530dcc6..61eae19d 100644
--- a/src/elevenlabs/types/subscription.py
+++ b/src/elevenlabs/types/subscription.py
@@ -7,7 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .billing_period import BillingPeriod
from .character_refresh_period import CharacterRefreshPeriod
-from .extended_subscription_response_model_currency import ExtendedSubscriptionResponseModelCurrency
+from .currency import Currency
from .extended_subscription_response_model_max_credit_limit_extension import (
ExtendedSubscriptionResponseModelMaxCreditLimitExtension,
)
@@ -102,7 +102,7 @@ class Subscription(UncheckedBaseModel):
Whether the user can use professional voice cloning.
"""
- currency: typing.Optional[ExtendedSubscriptionResponseModelCurrency] = pydantic.Field(default=None)
+ currency: typing.Optional[Currency] = pydantic.Field(default=None)
"""
The currency of the user's subscription.
"""
diff --git a/src/elevenlabs/types/subscription_response.py b/src/elevenlabs/types/subscription_response.py
index 66dcfaad..19ef2312 100644
--- a/src/elevenlabs/types/subscription_response.py
+++ b/src/elevenlabs/types/subscription_response.py
@@ -7,7 +7,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .billing_period import BillingPeriod
from .character_refresh_period import CharacterRefreshPeriod
-from .subscription_response_model_currency import SubscriptionResponseModelCurrency
+from .currency import Currency
from .subscription_response_model_max_credit_limit_extension import SubscriptionResponseModelMaxCreditLimitExtension
from .subscription_status_type import SubscriptionStatusType
@@ -98,7 +98,7 @@ class SubscriptionResponse(UncheckedBaseModel):
Whether the user can use professional voice cloning.
"""
- currency: typing.Optional[SubscriptionResponseModelCurrency] = pydantic.Field(default=None)
+ currency: typing.Optional[Currency] = pydantic.Field(default=None)
"""
The currency of the user's subscription.
"""
diff --git a/src/elevenlabs/types/subscription_response_model_currency.py b/src/elevenlabs/types/subscription_response_model_currency.py
deleted file mode 100644
index 8968ce43..00000000
--- a/src/elevenlabs/types/subscription_response_model_currency.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SubscriptionResponseModelCurrency = typing.Union[typing.Literal["usd", "eur", "inr"], typing.Any]
diff --git a/src/elevenlabs/types/system_tool_config_input.py b/src/elevenlabs/types/system_tool_config_input.py
index 3bc57403..88b75153 100644
--- a/src/elevenlabs/types/system_tool_config_input.py
+++ b/src/elevenlabs/types/system_tool_config_input.py
@@ -6,6 +6,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_input_params import SystemToolConfigInputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -40,7 +41,12 @@ class SystemToolConfigInput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/system_tool_config_output.py b/src/elevenlabs/types/system_tool_config_output.py
index c6fea96b..75ea4caf 100644
--- a/src/elevenlabs/types/system_tool_config_output.py
+++ b/src/elevenlabs/types/system_tool_config_output.py
@@ -6,6 +6,7 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_output_params import SystemToolConfigOutputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -40,7 +41,12 @@ class SystemToolConfigOutput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_apply_text_normalization_enum.py b/src/elevenlabs/types/text_to_dialogue_websocket_apply_text_normalization_enum.py
new file mode 100644
index 00000000..6a686ed6
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_apply_text_normalization_enum.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+TextToDialogueWebsocketApplyTextNormalizationEnum = typing.Union[typing.Literal["on", "off"], typing.Any]
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_audio_chunk.py b/src/elevenlabs/types/text_to_dialogue_websocket_audio_chunk.py
new file mode 100644
index 00000000..ad5d7937
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_audio_chunk.py
@@ -0,0 +1,38 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .dialogue_text_alignment import DialogueTextAlignment
+
+
+class TextToDialogueWebsocketAudioChunk(UncheckedBaseModel):
+ """
+ Server chunk containing encoded audio and optional alignment metadata.
+ """
+
+ audio: typing.Optional[str] = pydantic.Field(default=None)
+ """
+ Base64-encoded audio bytes for the selected `output_format`.
+ """
+
+ alignment: typing.Optional[DialogueTextAlignment] = pydantic.Field(default=None)
+ """
+ Present when `sync_alignment` query parameter is `true` and the model returned timing data for the chunk.
+ """
+
+ normalized_alignment: typing.Optional[DialogueTextAlignment] = pydantic.Field(default=None)
+ """
+ Reserved for future use; currently unused by the server.
+ """
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_client_message.py b/src/elevenlabs/types/text_to_dialogue_websocket_client_message.py
new file mode 100644
index 00000000..adc6831c
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_client_message.py
@@ -0,0 +1,83 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .pronunciation_dictionary_locator import PronunciationDictionaryLocator
+from .text_to_dialogue_websocket_voice_input import TextToDialogueWebsocketVoiceInput
+
+
+class TextToDialogueWebsocketClientMessage(UncheckedBaseModel):
+ """
+ All fields are optional unless noted for the **first** message.
+
+ **First message requirements**
+ - `voices`: non-empty array of voice IDs (maximum 10 for `eleven_v3`; exactly 1 for `eleven_v3_conversational`).
+ - Credentials if not supplied via `xi-api-key` / `Authorization` headers or `single_use_token` query parameter.
+
+ **Subsequent messages**
+ - Do not resend `voices`, `pronunciation_dictionary_locators`, or credential fields.
+ """
+
+ inputs: typing.Optional[typing.List[TextToDialogueWebsocketVoiceInput]] = pydantic.Field(default=None)
+ """
+ Dialogue lines to append for synthesis.
+ """
+
+ flush: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Force generation of buffered text without closing the connection.
+ """
+
+ close_socket: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Flush buffers, emit remaining audio, send `is_final`, and close the WebSocket.
+ """
+
+ keep_alive: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Resets the 20s inactivity timer; performs no synthesis.
+ """
+
+ xi_api_key: typing.Optional[str] = pydantic.Field(default=None)
+ """
+ API key for the first message if not provided via the `xi-api-key` header.
+ """
+
+ authorization: typing.Optional[str] = pydantic.Field(default=None)
+ """
+ Bearer token for the first message if not provided via the `Authorization` header.
+ """
+
+ single_use_token: typing.Optional[str] = pydantic.Field(default=None)
+ """
+ Single-use token for the first message if not provided via the `single_use_token` query parameter.
+ """
+
+ voices: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
+ """
+ Voice IDs to load for the session (first message only, required on first message).
+ """
+
+ voice_settings: typing.Optional[typing.Dict[str, typing.Any]] = pydantic.Field(default=None)
+ """
+ Optional voice settings object; same shape as `voice_settings` on [Create dialogue](/docs/api-reference/text-to-dialogue/convert).
+ """
+
+ pronunciation_dictionary_locators: typing.Optional[typing.List[PronunciationDictionaryLocator]] = pydantic.Field(
+ default=None
+ )
+ """
+ Optional pronunciation dictionaries (first message only).
+ """
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_error.py b/src/elevenlabs/types/text_to_dialogue_websocket_error.py
new file mode 100644
index 00000000..8aaeca85
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_error.py
@@ -0,0 +1,38 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class TextToDialogueWebsocketError(UncheckedBaseModel):
+ message: str = pydantic.Field()
+ """
+ Human-readable error description.
+ """
+
+ error: str = pydantic.Field()
+ """
+ Machine-readable error identifier (for example `authentication_required`).
+ """
+
+ code: int = pydantic.Field()
+ """
+ WebSocket close code that will follow this payload.
+ """
+
+ param: typing.Optional[str] = pydantic.Field(default=None)
+ """
+ Field name related to the error, when applicable.
+ """
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/delete_rental_service_params.py b/src/elevenlabs/types/text_to_dialogue_websocket_final.py
similarity index 72%
rename from src/elevenlabs/types/delete_rental_service_params.py
rename to src/elevenlabs/types/text_to_dialogue_websocket_final.py
index 8185409f..e1a6796e 100644
--- a/src/elevenlabs/types/delete_rental_service_params.py
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_final.py
@@ -7,8 +7,11 @@
from ..core.unchecked_base_model import UncheckedBaseModel
-class DeleteRentalServiceParams(UncheckedBaseModel):
- smb_tool_type: typing.Optional[typing.Literal["delete_rental_service"]] = None
+class TextToDialogueWebsocketFinal(UncheckedBaseModel):
+ is_final: typing.Literal[True] = pydantic.Field(default=True)
+ """
+ Marks the end of the closing flush sequence.
+ """
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_output_format_enum.py b/src/elevenlabs/types/text_to_dialogue_websocket_output_format_enum.py
new file mode 100644
index 00000000..adf81b09
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_output_format_enum.py
@@ -0,0 +1,30 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+TextToDialogueWebsocketOutputFormatEnum = typing.Union[
+ typing.Literal[
+ "mp3_22050_32",
+ "mp3_24000_48",
+ "mp3_44100_32",
+ "mp3_44100_64",
+ "mp3_44100_96",
+ "mp3_44100_128",
+ "mp3_44100_192",
+ "pcm_8000",
+ "pcm_16000",
+ "pcm_22050",
+ "pcm_24000",
+ "pcm_32000",
+ "pcm_44100",
+ "pcm_48000",
+ "ulaw_8000",
+ "alaw_8000",
+ "opus_48000_32",
+ "opus_48000_64",
+ "opus_48000_96",
+ "opus_48000_128",
+ "opus_48000_192",
+ ],
+ typing.Any,
+]
diff --git a/src/elevenlabs/types/text_to_dialogue_websocket_voice_input.py b/src/elevenlabs/types/text_to_dialogue_websocket_voice_input.py
new file mode 100644
index 00000000..9c4a11e3
--- /dev/null
+++ b/src/elevenlabs/types/text_to_dialogue_websocket_voice_input.py
@@ -0,0 +1,33 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.unchecked_base_model import UncheckedBaseModel
+
+
+class TextToDialogueWebsocketVoiceInput(UncheckedBaseModel):
+ text: str = pydantic.Field()
+ """
+ Text appended for this voice. Buffered with prior text until the server triggers generation.
+ """
+
+ voice_id: str = pydantic.Field()
+ """
+ Must be one of the IDs from the initial `voices` array.
+ """
+
+ new_turn: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ When `true`, the server finalizes the current pending segment (as if the speaker finished their turn) before applying this input.
+ """
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/tool.py b/src/elevenlabs/types/tool.py
index ade9928e..b2c4bc94 100644
--- a/src/elevenlabs/types/tool.py
+++ b/src/elevenlabs/types/tool.py
@@ -7,7 +7,9 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.serialization import FieldMetadata
from ..core.unchecked_base_model import UncheckedBaseModel
+from .icon import Icon
from .tool_annotations import ToolAnnotations
+from .tool_execution import ToolExecution
class Tool(UncheckedBaseModel):
@@ -22,10 +24,12 @@ class Tool(UncheckedBaseModel):
output_schema: typing_extensions.Annotated[
typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="outputSchema")
] = None
+ icons: typing.Optional[typing.List[Icon]] = None
annotations: typing.Optional[ToolAnnotations] = None
meta: typing_extensions.Annotated[typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="_meta")] = (
None
)
+ execution: typing.Optional[ToolExecution] = None
if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
diff --git a/src/elevenlabs/types/tool_call_unit_test_model.py b/src/elevenlabs/types/tool_call_unit_test_model.py
index bf8bd9a6..a91b2346 100644
--- a/src/elevenlabs/types/tool_call_unit_test_model.py
+++ b/src/elevenlabs/types/tool_call_unit_test_model.py
@@ -8,8 +8,8 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
-from .tool_call_unit_test_model_dynamic_variables_value import ToolCallUnitTestModelDynamicVariablesValue
from .unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput
@@ -19,9 +19,9 @@ class ToolCallUnitTestModel(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ToolCallUnitTestModelDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/tool_call_unit_test_model_dynamic_variables_value.py b/src/elevenlabs/types/tool_call_unit_test_model_dynamic_variables_value.py
deleted file mode 100644
index 0cc2ff93..00000000
--- a/src/elevenlabs/types/tool_call_unit_test_model_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_output import DynamicVariableContainerValueTypeOutput
-
-ToolCallUnitTestModelDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeOutput
-]
diff --git a/src/elevenlabs/types/tool_execution.py b/src/elevenlabs/types/tool_execution.py
new file mode 100644
index 00000000..edb775bf
--- /dev/null
+++ b/src/elevenlabs/types/tool_execution.py
@@ -0,0 +1,29 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+import typing_extensions
+from ..core.pydantic_utilities import IS_PYDANTIC_V2
+from ..core.serialization import FieldMetadata
+from ..core.unchecked_base_model import UncheckedBaseModel
+from .tool_execution_task_support import ToolExecutionTaskSupport
+
+
+class ToolExecution(UncheckedBaseModel):
+ """
+ Execution-related properties for a tool.
+ """
+
+ task_support: typing_extensions.Annotated[
+ typing.Optional[ToolExecutionTaskSupport], FieldMetadata(alias="taskSupport")
+ ] = None
+
+ if IS_PYDANTIC_V2:
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
+ else:
+
+ class Config:
+ frozen = True
+ smart_union = True
+ extra = pydantic.Extra.allow
diff --git a/src/elevenlabs/types/tool_execution_task_support.py b/src/elevenlabs/types/tool_execution_task_support.py
new file mode 100644
index 00000000..0ad535b7
--- /dev/null
+++ b/src/elevenlabs/types/tool_execution_task_support.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+ToolExecutionTaskSupport = typing.Union[typing.Literal["forbidden", "optional", "required"], typing.Any]
diff --git a/src/elevenlabs/types/tool_request_model_tool_config.py b/src/elevenlabs/types/tool_request_model_tool_config.py
index 51bfd43a..5d2c3225 100644
--- a/src/elevenlabs/types/tool_request_model_tool_config.py
+++ b/src/elevenlabs/types/tool_request_model_tool_config.py
@@ -10,6 +10,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_input_params import SystemToolConfigInputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -29,6 +30,7 @@ class ToolRequestModelToolConfig_Client(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -72,6 +74,7 @@ class ToolRequestModelToolConfig_System(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -99,6 +102,7 @@ class ToolRequestModelToolConfig_Webhook(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/tool_response_model_tool_config.py b/src/elevenlabs/types/tool_response_model_tool_config.py
index 6e9d03b1..ee044c67 100644
--- a/src/elevenlabs/types/tool_response_model_tool_config.py
+++ b/src/elevenlabs/types/tool_response_model_tool_config.py
@@ -10,6 +10,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel, UnionMetadata
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .system_tool_config_output_params import SystemToolConfigOutputParams
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
@@ -29,6 +30,7 @@ class ToolResponseModelToolConfig_Client(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -72,6 +74,7 @@ class ToolResponseModelToolConfig_System(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
@@ -99,6 +102,7 @@ class ToolResponseModelToolConfig_Webhook(UncheckedBaseModel):
response_timeout_secs: typing.Optional[int] = None
disable_interruptions: typing.Optional[bool] = None
force_pre_tool_speech: typing.Optional[bool] = None
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = None
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = None
tool_call_sound: typing.Optional[ToolCallSoundType] = None
tool_call_sound_behavior: typing.Optional[ToolCallSoundBehavior] = None
diff --git a/src/elevenlabs/types/unit_test_run_response_model_test_info.py b/src/elevenlabs/types/unit_test_run_response_model_test_info.py
index f1683a71..01694977 100644
--- a/src/elevenlabs/types/unit_test_run_response_model_test_info.py
+++ b/src/elevenlabs/types/unit_test_run_response_model_test_info.py
@@ -11,20 +11,16 @@
from .agent_failure_response_example import AgentFailureResponseExample
from .agent_successful_response_example import AgentSuccessfulResponseExample
from .conversation_history_transcript_common_model_output import ConversationHistoryTranscriptCommonModelOutput
-from .response_unit_test_model_dynamic_variables_value import ResponseUnitTestModelDynamicVariablesValue
-from .simulation_test_model_dynamic_variables_value import SimulationTestModelDynamicVariablesValue
+from .dynamic_variable_value_type_output import DynamicVariableValueTypeOutput
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .test_from_conversation_metadata_output import TestFromConversationMetadataOutput
-from .tool_call_unit_test_model_dynamic_variables_value import ToolCallUnitTestModelDynamicVariablesValue
from .unit_test_tool_call_evaluation_model_output import UnitTestToolCallEvaluationModelOutput
class UnitTestRunResponseModelTestInfo_Llm(UncheckedBaseModel):
type: typing.Literal["llm"] = "llm"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ResponseUnitTestModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
success_examples: typing.Optional[typing.List[AgentSuccessfulResponseExample]] = None
@@ -43,9 +39,7 @@ class Config:
class UnitTestRunResponseModelTestInfo_Simulation(UncheckedBaseModel):
type: typing.Literal["simulation"] = "simulation"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[SimulationTestModelDynamicVariablesValue]]] = (
- None
- )
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
success_condition: typing.Optional[str] = None
simulation_scenario: typing.Optional[str] = None
@@ -66,9 +60,7 @@ class Config:
class UnitTestRunResponseModelTestInfo_Tool(UncheckedBaseModel):
type: typing.Literal["tool"] = "tool"
from_conversation_metadata: typing.Optional[TestFromConversationMetadataOutput] = None
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[ToolCallUnitTestModelDynamicVariablesValue]]
- ] = None
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeOutput]]] = None
chat_history: typing.Optional[typing.List[ConversationHistoryTranscriptCommonModelOutput]] = None
tool_call_parameters: typing.Optional[UnitTestToolCallEvaluationModelOutput] = None
check_any_tool_matches: typing.Optional[bool] = None
diff --git a/src/elevenlabs/types/update_response_unit_test_request.py b/src/elevenlabs/types/update_response_unit_test_request.py
index fb7e2af9..013cebfe 100644
--- a/src/elevenlabs/types/update_response_unit_test_request.py
+++ b/src/elevenlabs/types/update_response_unit_test_request.py
@@ -10,10 +10,8 @@
from .agent_failure_response_example import AgentFailureResponseExample
from .agent_successful_response_example import AgentSuccessfulResponseExample
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
-from .update_response_unit_test_request_dynamic_variables_value import (
- UpdateResponseUnitTestRequestDynamicVariablesValue,
-)
class UpdateResponseUnitTestRequest(UncheckedBaseModel):
@@ -22,9 +20,9 @@ class UpdateResponseUnitTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateResponseUnitTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/update_response_unit_test_request_dynamic_variables_value.py b/src/elevenlabs/types/update_response_unit_test_request_dynamic_variables_value.py
deleted file mode 100644
index 23143289..00000000
--- a/src/elevenlabs/types/update_response_unit_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-UpdateResponseUnitTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/update_simulation_test_request.py b/src/elevenlabs/types/update_simulation_test_request.py
index b7be15b4..fd1bd2ad 100644
--- a/src/elevenlabs/types/update_simulation_test_request.py
+++ b/src/elevenlabs/types/update_simulation_test_request.py
@@ -8,9 +8,9 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .simulation_tool_mock_behavior_config import SimulationToolMockBehaviorConfig
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
-from .update_simulation_test_request_dynamic_variables_value import UpdateSimulationTestRequestDynamicVariablesValue
class UpdateSimulationTestRequest(UncheckedBaseModel):
@@ -19,9 +19,9 @@ class UpdateSimulationTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateSimulationTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/update_simulation_test_request_dynamic_variables_value.py b/src/elevenlabs/types/update_simulation_test_request_dynamic_variables_value.py
deleted file mode 100644
index 65c03b12..00000000
--- a/src/elevenlabs/types/update_simulation_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-UpdateSimulationTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/update_tool_call_unit_test_request.py b/src/elevenlabs/types/update_tool_call_unit_test_request.py
index 7f62b004..276473a6 100644
--- a/src/elevenlabs/types/update_tool_call_unit_test_request.py
+++ b/src/elevenlabs/types/update_tool_call_unit_test_request.py
@@ -8,11 +8,9 @@
from ..core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs
from ..core.unchecked_base_model import UncheckedBaseModel
from .conversation_history_transcript_common_model_input import ConversationHistoryTranscriptCommonModelInput
+from .dynamic_variable_value_type_input import DynamicVariableValueTypeInput
from .test_from_conversation_metadata_input import TestFromConversationMetadataInput
from .unit_test_tool_call_evaluation_model_input import UnitTestToolCallEvaluationModelInput
-from .update_tool_call_unit_test_request_dynamic_variables_value import (
- UpdateToolCallUnitTestRequestDynamicVariablesValue,
-)
class UpdateToolCallUnitTestRequest(UncheckedBaseModel):
@@ -21,9 +19,9 @@ class UpdateToolCallUnitTestRequest(UncheckedBaseModel):
Metadata of a conversation this test was created from (if applicable).
"""
- dynamic_variables: typing.Optional[
- typing.Dict[str, typing.Optional[UpdateToolCallUnitTestRequestDynamicVariablesValue]]
- ] = pydantic.Field(default=None)
+ dynamic_variables: typing.Optional[typing.Dict[str, typing.Optional[DynamicVariableValueTypeInput]]] = (
+ pydantic.Field(default=None)
+ )
"""
Dynamic variables to replace in the agent config during testing
"""
diff --git a/src/elevenlabs/types/update_tool_call_unit_test_request_dynamic_variables_value.py b/src/elevenlabs/types/update_tool_call_unit_test_request_dynamic_variables_value.py
deleted file mode 100644
index c62d1f52..00000000
--- a/src/elevenlabs/types/update_tool_call_unit_test_request_dynamic_variables_value.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from .dynamic_variable_container_value_type_input import DynamicVariableContainerValueTypeInput
-
-UpdateToolCallUnitTestRequestDynamicVariablesValue = typing.Union[
- str, float, int, bool, DynamicVariableContainerValueTypeInput
-]
diff --git a/src/elevenlabs/types/webhook_tool_api_schema_config_input.py b/src/elevenlabs/types/webhook_tool_api_schema_config_input.py
index 2326123b..a8348dcf 100644
--- a/src/elevenlabs/types/webhook_tool_api_schema_config_input.py
+++ b/src/elevenlabs/types/webhook_tool_api_schema_config_input.py
@@ -50,6 +50,11 @@ class WebhookToolApiSchemaConfigInput(UncheckedBaseModel):
Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body
"""
+ response_body_schema: typing.Optional["ObjectJsonSchemaPropertyInput"] = pydantic.Field(default=None)
+ """
+ Schema describing the expected response body structure. For documentation only; not surfaced to the LLM.
+ """
+
content_type: typing.Optional[WebhookToolApiSchemaConfigInputContentType] = pydantic.Field(default=None)
"""
Content type for the request body. Only applies to POST/PUT/PATCH requests.
diff --git a/src/elevenlabs/types/webhook_tool_api_schema_config_output.py b/src/elevenlabs/types/webhook_tool_api_schema_config_output.py
index 55a956f2..8b17f427 100644
--- a/src/elevenlabs/types/webhook_tool_api_schema_config_output.py
+++ b/src/elevenlabs/types/webhook_tool_api_schema_config_output.py
@@ -50,6 +50,11 @@ class WebhookToolApiSchemaConfigOutput(UncheckedBaseModel):
Schema for the body parameters, if any. Used for POST/PATCH/PUT requests. The schema should be an object which will be sent as the json body
"""
+ response_body_schema: typing.Optional["ObjectJsonSchemaPropertyOutput"] = pydantic.Field(default=None)
+ """
+ Schema describing the expected response body structure. For documentation only; not surfaced to the LLM.
+ """
+
content_type: typing.Optional[WebhookToolApiSchemaConfigOutputContentType] = pydantic.Field(default=None)
"""
Content type for the request body. Only applies to POST/PUT/PATCH requests.
diff --git a/src/elevenlabs/types/webhook_tool_config_input.py b/src/elevenlabs/types/webhook_tool_config_input.py
index 228b4639..75fbffd7 100644
--- a/src/elevenlabs/types/webhook_tool_config_input.py
+++ b/src/elevenlabs/types/webhook_tool_config_input.py
@@ -9,6 +9,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_input import DynamicVariablesConfigInput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -39,7 +40,12 @@ class WebhookToolConfigInput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/types/webhook_tool_config_output.py b/src/elevenlabs/types/webhook_tool_config_output.py
index 28c17c29..86c2d1b5 100644
--- a/src/elevenlabs/types/webhook_tool_config_output.py
+++ b/src/elevenlabs/types/webhook_tool_config_output.py
@@ -9,6 +9,7 @@
from ..core.unchecked_base_model import UncheckedBaseModel
from .dynamic_variable_assignment import DynamicVariableAssignment
from .dynamic_variables_config_output import DynamicVariablesConfigOutput
+from .pre_tool_speech_mode import PreToolSpeechMode
from .tool_call_sound_behavior import ToolCallSoundBehavior
from .tool_call_sound_type import ToolCallSoundType
from .tool_error_handling_mode import ToolErrorHandlingMode
@@ -39,7 +40,12 @@ class WebhookToolConfigOutput(UncheckedBaseModel):
force_pre_tool_speech: typing.Optional[bool] = pydantic.Field(default=None)
"""
- If true, the agent will speak before the tool call.
+ DEPRECATED: use `pre_tool_speech` instead. If true, the agent will speak before the tool call.
+ """
+
+ pre_tool_speech: typing.Optional[PreToolSpeechMode] = pydantic.Field(default=None)
+ """
+ Controls whether the agent speaks before this tool is called. 'auto' (default) decides based on recent tool latency, 'force' always asks the agent to speak, 'off' fully opts out regardless of latency.
"""
assignments: typing.Optional[typing.List[DynamicVariableAssignment]] = pydantic.Field(default=None)
diff --git a/src/elevenlabs/v_1_text_to_dialogue_stream_input/__init__.py b/src/elevenlabs/v_1_text_to_dialogue_stream_input/__init__.py
new file mode 100644
index 00000000..65c8c416
--- /dev/null
+++ b/src/elevenlabs/v_1_text_to_dialogue_stream_input/__init__.py
@@ -0,0 +1,34 @@
+# This file was auto-generated by Fern from our API Definition.
+
+# isort: skip_file
+
+import typing
+from importlib import import_module
+
+if typing.TYPE_CHECKING:
+ from .types import ReceiveTextToDialogueWebsocketMessage
+_dynamic_imports: typing.Dict[str, str] = {"ReceiveTextToDialogueWebsocketMessage": ".types"}
+
+
+def __getattr__(attr_name: str) -> typing.Any:
+ module_name = _dynamic_imports.get(attr_name)
+ if module_name is None:
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
+ try:
+ module = import_module(module_name, __package__)
+ if module_name == f".{attr_name}":
+ return module
+ else:
+ return getattr(module, attr_name)
+ except ImportError as e:
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
+ except AttributeError as e:
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
+
+
+def __dir__():
+ lazy_attrs = list(_dynamic_imports.keys())
+ return sorted(lazy_attrs)
+
+
+__all__ = ["ReceiveTextToDialogueWebsocketMessage"]
diff --git a/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/__init__.py b/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/__init__.py
new file mode 100644
index 00000000..9ba5b068
--- /dev/null
+++ b/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/__init__.py
@@ -0,0 +1,36 @@
+# This file was auto-generated by Fern from our API Definition.
+
+# isort: skip_file
+
+import typing
+from importlib import import_module
+
+if typing.TYPE_CHECKING:
+ from .receive_text_to_dialogue_websocket_message import ReceiveTextToDialogueWebsocketMessage
+_dynamic_imports: typing.Dict[str, str] = {
+ "ReceiveTextToDialogueWebsocketMessage": ".receive_text_to_dialogue_websocket_message"
+}
+
+
+def __getattr__(attr_name: str) -> typing.Any:
+ module_name = _dynamic_imports.get(attr_name)
+ if module_name is None:
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
+ try:
+ module = import_module(module_name, __package__)
+ if module_name == f".{attr_name}":
+ return module
+ else:
+ return getattr(module, attr_name)
+ except ImportError as e:
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
+ except AttributeError as e:
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
+
+
+def __dir__():
+ lazy_attrs = list(_dynamic_imports.keys())
+ return sorted(lazy_attrs)
+
+
+__all__ = ["ReceiveTextToDialogueWebsocketMessage"]
diff --git a/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/receive_text_to_dialogue_websocket_message.py b/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/receive_text_to_dialogue_websocket_message.py
new file mode 100644
index 00000000..2f5a1315
--- /dev/null
+++ b/src/elevenlabs/v_1_text_to_dialogue_stream_input/types/receive_text_to_dialogue_websocket_message.py
@@ -0,0 +1,11 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+from ...types.text_to_dialogue_websocket_audio_chunk import TextToDialogueWebsocketAudioChunk
+from ...types.text_to_dialogue_websocket_error import TextToDialogueWebsocketError
+from ...types.text_to_dialogue_websocket_final import TextToDialogueWebsocketFinal
+
+ReceiveTextToDialogueWebsocketMessage = typing.Union[
+ TextToDialogueWebsocketAudioChunk, TextToDialogueWebsocketFinal, TextToDialogueWebsocketError
+]
diff --git a/src/elevenlabs/workspace/usage/client.py b/src/elevenlabs/workspace/usage/client.py
index 6d48a20e..c5bbc00c 100644
--- a/src/elevenlabs/workspace/usage/client.py
+++ b/src/elevenlabs/workspace/usage/client.py
@@ -43,13 +43,15 @@ def get_usage_by_product_over_time(
request_options: typing.Optional[RequestOptions] = None,
) -> WorkspaceAnalyticsQueryResponseModel:
"""
- Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.
+ Returns credit usage broken down by product type over time. The response is a tabular structure with columns, column_types, column_units, and rows.
Parameters
----------
start_time : int
+ Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
end_time : int
+ End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
interval_seconds : typing.Optional[int]
@@ -116,13 +118,15 @@ async def get_usage_by_product_over_time(
request_options: typing.Optional[RequestOptions] = None,
) -> WorkspaceAnalyticsQueryResponseModel:
"""
- Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.
+ Returns credit usage broken down by product type over time. The response is a tabular structure with columns, column_types, column_units, and rows.
Parameters
----------
start_time : int
+ Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
end_time : int
+ End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
interval_seconds : typing.Optional[int]
diff --git a/src/elevenlabs/workspace/usage/raw_client.py b/src/elevenlabs/workspace/usage/raw_client.py
index 25fa936a..37c68866 100644
--- a/src/elevenlabs/workspace/usage/raw_client.py
+++ b/src/elevenlabs/workspace/usage/raw_client.py
@@ -37,13 +37,15 @@ def get_usage_by_product_over_time(
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[WorkspaceAnalyticsQueryResponseModel]:
"""
- Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.
+ Returns credit usage broken down by product type over time. The response is a tabular structure with columns, column_types, column_units, and rows.
Parameters
----------
start_time : int
+ Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
end_time : int
+ End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
interval_seconds : typing.Optional[int]
@@ -121,13 +123,15 @@ async def get_usage_by_product_over_time(
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[WorkspaceAnalyticsQueryResponseModel]:
"""
- Returns credit usage broken down by product type over time. Timestamps are Unix milliseconds. The response is a tabular structure with columns, column_types, column_units, and rows.
+ Returns credit usage broken down by product type over time. The response is a tabular structure with columns, column_types, column_units, and rows.
Parameters
----------
start_time : int
+ Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
end_time : int
+ End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
interval_seconds : typing.Optional[int]