Skip to content

Commit f3ba614

Browse files
SDK regeneration (#794)
* [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 4.42.0 * [fern-replay] Applied customizations Patches with unresolved conflicts (1): - patch-2143cac9: [Speech Engine] Add full response to Speech Engine API calls (#793) Run `fern-replay resolve` to apply these customizations. --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 2143cac commit f3ba614

94 files changed

Lines changed: 1686 additions & 178 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@
5555
}
5656
]
5757
},
58-
"originGitCommit": "d70d58e8e6cdede07532d2bc772e5363b0647f48"
58+
"originGitCommit": "60fa8eefe250d1a82d5dbd9bde036d864d4da60b"
5959
}

.fern/replay.lock

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "elevenlabs"
7-
version = "2.49.1"
7+
version = "2.50.0"
88
description = ""
99
readme = "README.md"
1010
authors = []

reference.md

Lines changed: 133 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9354,6 +9354,111 @@ client.conversational_ai.twilio.register_call(
93549354
</dl>
93559355

93569356

9357+
</dd>
9358+
</dl>
9359+
</details>
9360+
9361+
## ConversationalAi Exotel
9362+
<details><summary><code>client.conversational_ai.exotel.<a href="src/elevenlabs/conversational_ai/exotel/client.py">outbound_call</a>(...)</code></summary>
9363+
<dl>
9364+
<dd>
9365+
9366+
#### 📝 Description
9367+
9368+
<dl>
9369+
<dd>
9370+
9371+
<dl>
9372+
<dd>
9373+
9374+
Handle an outbound call via Exotel Connect API
9375+
</dd>
9376+
</dl>
9377+
</dd>
9378+
</dl>
9379+
9380+
#### 🔌 Usage
9381+
9382+
<dl>
9383+
<dd>
9384+
9385+
<dl>
9386+
<dd>
9387+
9388+
```python
9389+
from elevenlabs import ElevenLabs
9390+
9391+
client = ElevenLabs(
9392+
api_key="YOUR_API_KEY",
9393+
)
9394+
client.conversational_ai.exotel.outbound_call(
9395+
agent_id="agent_id",
9396+
agent_phone_number_id="agent_phone_number_id",
9397+
to_number="to_number",
9398+
)
9399+
9400+
```
9401+
</dd>
9402+
</dl>
9403+
</dd>
9404+
</dl>
9405+
9406+
#### ⚙️ Parameters
9407+
9408+
<dl>
9409+
<dd>
9410+
9411+
<dl>
9412+
<dd>
9413+
9414+
**agent_id:** `str`
9415+
9416+
</dd>
9417+
</dl>
9418+
9419+
<dl>
9420+
<dd>
9421+
9422+
**agent_phone_number_id:** `str`
9423+
9424+
</dd>
9425+
</dl>
9426+
9427+
<dl>
9428+
<dd>
9429+
9430+
**to_number:** `str`
9431+
9432+
</dd>
9433+
</dl>
9434+
9435+
<dl>
9436+
<dd>
9437+
9438+
**conversation_initiation_client_data:** `typing.Optional[ConversationInitiationClientDataRequestInput]`
9439+
9440+
</dd>
9441+
</dl>
9442+
9443+
<dl>
9444+
<dd>
9445+
9446+
**telephony_call_config:** `typing.Optional[TelephonyCallConfig]`
9447+
9448+
</dd>
9449+
</dl>
9450+
9451+
<dl>
9452+
<dd>
9453+
9454+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
9455+
9456+
</dd>
9457+
</dl>
9458+
</dd>
9459+
</dl>
9460+
9461+
93579462
</dd>
93589463
</dl>
93599464
</details>
@@ -9669,7 +9774,7 @@ client.conversational_ai.agents.create(
96699774
<dl>
96709775
<dd>
96719776

9672-
**enable_versioning:** `typing.Optional[bool]` — Enable versioning for the agent
9777+
**enable_versioning:** `typing.Optional[bool]` — Deprecated: all agents are versioned. This parameter is ignored.
96739778

96749779
</dd>
96759780
</dl>
@@ -9939,7 +10044,7 @@ client.conversational_ai.agents.update(
993910044
<dl>
994010045
<dd>
994110046

9942-
**enable_versioning_if_not_enabled:** `typing.Optional[bool]` — Enable versioning for the agent, if not already enabled
10047+
**enable_versioning_if_not_enabled:** `typing.Optional[bool]` — Deprecated: all agents are versioned. This parameter is ignored.
994310048

994410049
</dd>
994510050
</dl>
@@ -10523,6 +10628,14 @@ client.conversational_ai.agents.run_tests(
1052310628
<dl>
1052410629
<dd>
1052510630

10631+
**repeat_count:** `typing.Optional[int]` — Number of times to run each test. When greater than 1, results are grouped and summarized.
10632+
10633+
</dd>
10634+
</dl>
10635+
10636+
<dl>
10637+
<dd>
10638+
1052610639
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1052710640

1052810641
</dd>
@@ -11319,7 +11432,7 @@ client.conversational_ai.phone_numbers.list()
1131911432
<dl>
1132011433
<dd>
1132111434

11322-
Import Phone Number from provider configuration (Twilio or SIP trunk)
11435+
Import Phone Number from provider configuration (Twilio, Exotel, or SIP trunk)
1132311436
</dd>
1132411437
</dl>
1132511438
</dd>
@@ -22509,7 +22622,7 @@ client.productions.orders.list(
2250922622
</dl>
2251022623
</details>
2251122624

22512-
<details><summary><code>client.productions.orders.<a href="src/elevenlabs/productions/orders/client.py">create</a>()</code></summary>
22625+
<details><summary><code>client.productions.orders.<a href="src/elevenlabs/productions/orders/client.py">create</a>(...)</code></summary>
2251322626
<dl>
2251422627
<dd>
2251522628

@@ -22536,12 +22649,16 @@ Creates a new Productions order in the workspace. The order starts in the open s
2253622649
<dd>
2253722650

2253822651
```python
22539-
from elevenlabs import ElevenLabs
22652+
from elevenlabs import CreateOrderRequest, ElevenLabs
2254022653

2254122654
client = ElevenLabs(
2254222655
api_key="YOUR_API_KEY",
2254322656
)
22544-
client.productions.orders.create()
22657+
client.productions.orders.create(
22658+
request=CreateOrderRequest(
22659+
sandbox=False,
22660+
),
22661+
)
2254522662

2254622663
```
2254722664
</dd>
@@ -22557,6 +22674,14 @@ client.productions.orders.create()
2255722674
<dl>
2255822675
<dd>
2255922676

22677+
**request:** `typing.Optional[CreateOrderRequest]`
22678+
22679+
</dd>
22680+
</dl>
22681+
22682+
<dl>
22683+
<dd>
22684+
2256022685
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2256122686

2256222687
</dd>
@@ -23017,7 +23142,7 @@ Adds or updates an order item on an open order. Returns the item ID and the quot
2301723142
```python
2301823143
from elevenlabs import (
2301923144
ElevenLabs,
23020-
RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput_Dub,
23145+
OrderItemRequestInput_Dub,
2302123146
UpsertOrderItemRequest,
2302223147
)
2302323148

@@ -23027,7 +23152,7 @@ client = ElevenLabs(
2302723152
client.productions.orders.items.upsert(
2302823153
order_id="order_id",
2302923154
request=UpsertOrderItemRequest(
23030-
item=RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput_Dub(
23155+
item=OrderItemRequestInput_Dub(
2303123156
media_id="prodmedia_01jgatk6h0fwxrtbjade61yqhx",
2303223157
source_language="en",
2303323158
destination_languages=["hi", "fr-FR", "de"],

0 commit comments

Comments
 (0)