Skip to content

Commit ddd8b4d

Browse files
SDK regeneration
Unable to analyze changes with AI, incrementing PATCH version.
1 parent 5c237da commit ddd8b4d

25 files changed

Lines changed: 205 additions & 49 deletions

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ assets/
1919

2020
# Ignore custom tests
2121
tests/
22+
changelog.md

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## v2.30.1 - 2026-01-14
2+
* SDK regeneration
3+
* Unable to analyze changes with AI, incrementing PATCH version.
4+

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 = "v2.30.0"
7+
version = "v2.30.1"
88
description = ""
99
readme = "README.md"
1010
authors = []

reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3502,7 +3502,7 @@ typing.Optional[typing.List[core.File]]` — See core.File for more documentatio
35023502
<dl>
35033503
<dd>
35043504

3505-
**labels:** `typing.Optional[str]` — Serialized labels dictionary for the voice.
3505+
**labels:** `typing.Optional[VoicesUpdateRequestLabels]` — Labels for the voice. Keys can be language, accent, gender, or age.
35063506

35073507
</dd>
35083508
</dl>
@@ -19855,7 +19855,7 @@ typing.List[core.File]` — See core.File for more documentation
1985519855
<dl>
1985619856
<dd>
1985719857

19858-
**labels:** `typing.Optional[str]` — Serialized labels dictionary for the voice.
19858+
**labels:** `typing.Optional[IvcCreateRequestLabels]` — Labels for the voice. Keys can be language, accent, gender, or age.
1985919859

1986019860
</dd>
1986119861
</dl>
@@ -19951,7 +19951,7 @@ client.voices.pvc.create(
1995119951
<dl>
1995219952
<dd>
1995319953

19954-
**labels:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]` — Serialized labels dictionary for the voice.
19954+
**labels:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]` — Labels for the voice. Keys can be language, accent, gender, or age.
1995519955

1995619956
</dd>
1995719957
</dl>
@@ -20053,7 +20053,7 @@ client.voices.pvc.update(
2005320053
<dl>
2005420054
<dd>
2005520055

20056-
**labels:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]` — Serialized labels dictionary for the voice.
20056+
**labels:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]` — Labels for the voice. Keys can be language, accent, gender, or age.
2005720057

2005820058
</dd>
2005920059
</dl>

src/elevenlabs/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@
874874
IntegrationType,
875875
InvoiceResponse,
876876
InvoiceResponseModelPaymentIntentStatus,
877+
InvoiceResponseModelPaymentIntentStatussesItem,
877878
KnowledgeBaseDependentType,
878879
KnowledgeBaseDocumentChunkResponseModel,
879880
KnowledgeBaseDocumentMetadataResponseModel,
@@ -1158,6 +1159,7 @@
11581159
SpeechToTextWebhookResponseModel,
11591160
SpeechToTextWordResponseModel,
11601161
SpeechToTextWordResponseModelType,
1162+
SpellingPatience,
11611163
SrtExportOptions,
11621164
StartPvcVoiceTrainingResponseModel,
11631165
StartSpeakerSeparationResponseModel,
@@ -1566,7 +1568,7 @@
15661568
)
15671569
from .text_to_voice import VoiceDesignRequestModelModelId
15681570
from .version import __version__
1569-
from .voices import VoicesGetSharedRequestCategory
1571+
from .voices import VoicesGetSharedRequestCategory, VoicesUpdateRequestLabels
15701572
_dynamic_imports: typing.Dict[str, str] = {
15711573
"AddChapterResponseModel": ".types",
15721574
"AddKnowledgeBaseResponseModel": ".types",
@@ -2471,6 +2473,7 @@
24712473
"IntegrationType": ".types",
24722474
"InvoiceResponse": ".types",
24732475
"InvoiceResponseModelPaymentIntentStatus": ".types",
2476+
"InvoiceResponseModelPaymentIntentStatussesItem": ".types",
24742477
"KnowledgeBaseDependentType": ".types",
24752478
"KnowledgeBaseDocumentChunkResponseModel": ".types",
24762479
"KnowledgeBaseDocumentMetadataResponseModel": ".types",
@@ -2772,6 +2775,7 @@
27722775
"SpeechToTextWebhookResponseModel": ".types",
27732776
"SpeechToTextWordResponseModel": ".types",
27742777
"SpeechToTextWordResponseModelType": ".types",
2778+
"SpellingPatience": ".types",
27752779
"SrtExportOptions": ".types",
27762780
"StartPvcVoiceTrainingResponseModel": ".types",
27772781
"StartSpeakerSeparationResponseModel": ".types",
@@ -2928,6 +2932,7 @@
29282932
"VoiceVerificationResponse": ".types",
29292933
"VoicemailDetectionToolConfig": ".types",
29302934
"VoicesGetSharedRequestCategory": ".voices",
2935+
"VoicesUpdateRequestLabels": ".voices",
29312936
"WebhookAuthMethodType": ".types",
29322937
"WebhookEventType": ".types",
29332938
"WebhookHmacSettings": ".types",
@@ -4037,6 +4042,7 @@ def __dir__():
40374042
"IntegrationType",
40384043
"InvoiceResponse",
40394044
"InvoiceResponseModelPaymentIntentStatus",
4045+
"InvoiceResponseModelPaymentIntentStatussesItem",
40404046
"KnowledgeBaseDependentType",
40414047
"KnowledgeBaseDocumentChunkResponseModel",
40424048
"KnowledgeBaseDocumentMetadataResponseModel",
@@ -4338,6 +4344,7 @@ def __dir__():
43384344
"SpeechToTextWebhookResponseModel",
43394345
"SpeechToTextWordResponseModel",
43404346
"SpeechToTextWordResponseModelType",
4347+
"SpellingPatience",
43414348
"SrtExportOptions",
43424349
"StartPvcVoiceTrainingResponseModel",
43434350
"StartSpeakerSeparationResponseModel",
@@ -4494,6 +4501,7 @@ def __dir__():
44944501
"VoiceVerificationResponse",
44954502
"VoicemailDetectionToolConfig",
44964503
"VoicesGetSharedRequestCategory",
4504+
"VoicesUpdateRequestLabels",
44974505
"WebhookAuthMethodType",
44984506
"WebhookEventType",
44994507
"WebhookHmacSettings",

src/elevenlabs/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "elevenlabs/v2.30.0",
25+
"User-Agent": "elevenlabs/v2.30.1",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "elevenlabs",
28-
"X-Fern-SDK-Version": "v2.30.0",
28+
"X-Fern-SDK-Version": "v2.30.1",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
if self._api_key is not None:

src/elevenlabs/types/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,6 +1040,7 @@
10401040
from .integration_type import IntegrationType
10411041
from .invoice_response import InvoiceResponse
10421042
from .invoice_response_model_payment_intent_status import InvoiceResponseModelPaymentIntentStatus
1043+
from .invoice_response_model_payment_intent_statusses_item import InvoiceResponseModelPaymentIntentStatussesItem
10431044
from .knowledge_base_dependent_type import KnowledgeBaseDependentType
10441045
from .knowledge_base_document_chunk_response_model import KnowledgeBaseDocumentChunkResponseModel
10451046
from .knowledge_base_document_metadata_response_model import KnowledgeBaseDocumentMetadataResponseModel
@@ -1356,6 +1357,7 @@
13561357
from .speech_to_text_webhook_response_model import SpeechToTextWebhookResponseModel
13571358
from .speech_to_text_word_response_model import SpeechToTextWordResponseModel
13581359
from .speech_to_text_word_response_model_type import SpeechToTextWordResponseModelType
1360+
from .spelling_patience import SpellingPatience
13591361
from .srt_export_options import SrtExportOptions
13601362
from .start_pvc_voice_training_response_model import StartPvcVoiceTrainingResponseModel
13611363
from .start_speaker_separation_response_model import StartSpeakerSeparationResponseModel
@@ -2567,6 +2569,7 @@
25672569
"IntegrationType": ".integration_type",
25682570
"InvoiceResponse": ".invoice_response",
25692571
"InvoiceResponseModelPaymentIntentStatus": ".invoice_response_model_payment_intent_status",
2572+
"InvoiceResponseModelPaymentIntentStatussesItem": ".invoice_response_model_payment_intent_statusses_item",
25702573
"KnowledgeBaseDependentType": ".knowledge_base_dependent_type",
25712574
"KnowledgeBaseDocumentChunkResponseModel": ".knowledge_base_document_chunk_response_model",
25722575
"KnowledgeBaseDocumentMetadataResponseModel": ".knowledge_base_document_metadata_response_model",
@@ -2851,6 +2854,7 @@
28512854
"SpeechToTextWebhookResponseModel": ".speech_to_text_webhook_response_model",
28522855
"SpeechToTextWordResponseModel": ".speech_to_text_word_response_model",
28532856
"SpeechToTextWordResponseModelType": ".speech_to_text_word_response_model_type",
2857+
"SpellingPatience": ".spelling_patience",
28542858
"SrtExportOptions": ".srt_export_options",
28552859
"StartPvcVoiceTrainingResponseModel": ".start_pvc_voice_training_response_model",
28562860
"StartSpeakerSeparationResponseModel": ".start_speaker_separation_response_model",
@@ -4040,6 +4044,7 @@ def __dir__():
40404044
"IntegrationType",
40414045
"InvoiceResponse",
40424046
"InvoiceResponseModelPaymentIntentStatus",
4047+
"InvoiceResponseModelPaymentIntentStatussesItem",
40434048
"KnowledgeBaseDependentType",
40444049
"KnowledgeBaseDocumentChunkResponseModel",
40454050
"KnowledgeBaseDocumentMetadataResponseModel",
@@ -4324,6 +4329,7 @@ def __dir__():
43244329
"SpeechToTextWebhookResponseModel",
43254330
"SpeechToTextWordResponseModel",
43264331
"SpeechToTextWordResponseModelType",
4332+
"SpellingPatience",
43274333
"SrtExportOptions",
43284334
"StartPvcVoiceTrainingResponseModel",
43294335
"StartSpeakerSeparationResponseModel",

src/elevenlabs/types/dubbing_metadata_response.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ class DubbingMetadataResponse(UncheckedBaseModel):
2222

2323
status: str = pydantic.Field()
2424
"""
25-
The status of the dubbing project. Either 'dubbed', 'dubbing', 'failed', or 'cloning'.
25+
The state this dub is in.
26+
"""
27+
28+
source_language: typing.Optional[str] = pydantic.Field(default=None)
29+
"""
30+
Once dubbing has completed, the ISO-639-1 code of the original media's source language.
2631
"""
2732

2833
target_languages: typing.List[str] = pydantic.Field()
2934
"""
30-
The target languages of the dubbing project.
35+
The ISO-639-1 code of the languages this media has been dubbed into.
3136
"""
3237

3338
editable: typing.Optional[bool] = pydantic.Field(default=None)
@@ -42,12 +47,12 @@ class DubbingMetadataResponse(UncheckedBaseModel):
4247

4348
media_metadata: typing.Optional[DubbingMediaMetadata] = pydantic.Field(default=None)
4449
"""
45-
The media metadata of the dubbing project.
50+
Metadata, such as the length in seconds and content type, of the dubbed content.
4651
"""
4752

4853
error: typing.Optional[str] = pydantic.Field(default=None)
4954
"""
50-
Optional error message if the dubbing project failed.
55+
Error message indicate, if this dub has failed, what happened.
5156
"""
5257

5358
if IS_PYDANTIC_V2:

src/elevenlabs/types/invoice_response.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from ..core.unchecked_base_model import UncheckedBaseModel
88
from .discount_response_model import DiscountResponseModel
99
from .invoice_response_model_payment_intent_status import InvoiceResponseModelPaymentIntentStatus
10+
from .invoice_response_model_payment_intent_statusses_item import InvoiceResponseModelPaymentIntentStatussesItem
1011

1112

1213
class InvoiceResponse(UncheckedBaseModel):
@@ -47,7 +48,12 @@ class InvoiceResponse(UncheckedBaseModel):
4748

4849
payment_intent_status: typing.Optional[InvoiceResponseModelPaymentIntentStatus] = pydantic.Field(default=None)
4950
"""
50-
The status of this invoice's payment intent. None when there is no payment intent.
51+
Deprecated. Use [payment_intent_statusses] instead. The status of this invoice's first payment intent. None when there is no payment intent.
52+
"""
53+
54+
payment_intent_statusses: typing.List[InvoiceResponseModelPaymentIntentStatussesItem] = pydantic.Field()
55+
"""
56+
The statuses of this invoice's payment intents. Empty list when there are no payment intents.
5157
"""
5258

5359
if IS_PYDANTIC_V2:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
5+
InvoiceResponseModelPaymentIntentStatussesItem = typing.Union[
6+
typing.Literal[
7+
"canceled",
8+
"processing",
9+
"requires_action",
10+
"requires_capture",
11+
"requires_confirmation",
12+
"requires_payment_method",
13+
"succeeded",
14+
],
15+
typing.Any,
16+
]

0 commit comments

Comments
 (0)