Skip to content

Commit d4819ef

Browse files
feat!: rename CartesiaExperimentalControlsSpeedZero and FallbackAzureVoiceVoiceIdZero
Rename two public type aliases to better reflect their purpose and location in the type hierarchy. The old names are removed from all public exports and replaced with the new names. Key changes: - Remove `CartesiaExperimentalControlsSpeedZero` and replace with `CartesiaSpeedControlZero` (same underlying type) - Remove `FallbackAzureVoiceVoiceIdZero` and replace with `FallbackAzureVoiceIdZero` (same underlying type) - Update `CartesiaSpeedControl` and `FallbackAzureVoiceId` union types to reference the new names 🌿 Generated with Fern
1 parent 8a89f96 commit d4819ef

13 files changed

Lines changed: 174 additions & 171 deletions

.fern/metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cliVersion": "5.34.0",
2+
"cliVersion": "5.51.2",
33
"generatorName": "fernapi/fern-python-sdk",
44
"generatorVersion": "5.3.3",
55
"generatorConfig": {
@@ -8,6 +8,6 @@
88
},
99
"client_class_name": "Vapi"
1010
},
11-
"originGitCommit": "606828954cea5da28472fd0601dd9c502f40aea9",
12-
"sdkVersion": "1.11.1"
11+
"originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5",
12+
"sdkVersion": "2.0.0"
1313
}

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.0.0 - 2026-06-24
2+
### Breaking Changes
3+
* **`CartesiaExperimentalControlsSpeedZero`** has been removed and replaced by **`CartesiaSpeedControlZero`**. Update any imports or type annotations referencing `CartesiaExperimentalControlsSpeedZero` to use `CartesiaSpeedControlZero` instead.
4+
* **`FallbackAzureVoiceVoiceIdZero`** has been removed and replaced by **`FallbackAzureVoiceIdZero`**. Update any imports or type annotations referencing `FallbackAzureVoiceVoiceIdZero` to use `FallbackAzureVoiceIdZero` instead.
5+
16
## 1.11.1 - 2026-05-20
27
* chore: remove redundant content-type headers from raw clients
38
* Remove explicitly set `"content-type": "application/json"` headers from

poetry.lock

Lines changed: 137 additions & 137 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 = "vapi_server_sdk"
7-
version = "1.11.1"
7+
version = "2.0.0"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/vapi/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,12 +531,12 @@
531531
CartesiaCredentialProvider,
532532
CartesiaExperimentalControls,
533533
CartesiaExperimentalControlsEmotion,
534-
CartesiaExperimentalControlsSpeedZero,
535534
CartesiaGenerationConfig,
536535
CartesiaGenerationConfigExperimental,
537536
CartesiaPronunciationDictItem,
538537
CartesiaPronunciationDictionary,
539538
CartesiaSpeedControl,
539+
CartesiaSpeedControlZero,
540540
CartesiaTranscriber,
541541
CartesiaTranscriberLanguage,
542542
CartesiaTranscriberModel,
@@ -1736,7 +1736,7 @@
17361736
FallbackAzureSpeechTranscriberSegmentationStrategy,
17371737
FallbackAzureVoice,
17381738
FallbackAzureVoiceId,
1739-
FallbackAzureVoiceVoiceIdZero,
1739+
FallbackAzureVoiceIdZero,
17401740
FallbackCartesiaTranscriber,
17411741
FallbackCartesiaTranscriberLanguage,
17421742
FallbackCartesiaTranscriberModel,
@@ -5168,12 +5168,12 @@
51685168
"CartesiaCredentialProvider": ".types",
51695169
"CartesiaExperimentalControls": ".types",
51705170
"CartesiaExperimentalControlsEmotion": ".types",
5171-
"CartesiaExperimentalControlsSpeedZero": ".types",
51725171
"CartesiaGenerationConfig": ".types",
51735172
"CartesiaGenerationConfigExperimental": ".types",
51745173
"CartesiaPronunciationDictItem": ".types",
51755174
"CartesiaPronunciationDictionary": ".types",
51765175
"CartesiaSpeedControl": ".types",
5176+
"CartesiaSpeedControlZero": ".types",
51775177
"CartesiaTranscriber": ".types",
51785178
"CartesiaTranscriberLanguage": ".types",
51795179
"CartesiaTranscriberModel": ".types",
@@ -6477,7 +6477,7 @@
64776477
"FallbackAzureSpeechTranscriberSegmentationStrategy": ".types",
64786478
"FallbackAzureVoice": ".types",
64796479
"FallbackAzureVoiceId": ".types",
6480-
"FallbackAzureVoiceVoiceIdZero": ".types",
6480+
"FallbackAzureVoiceIdZero": ".types",
64816481
"FallbackCartesiaTranscriber": ".types",
64826482
"FallbackCartesiaTranscriberLanguage": ".types",
64836483
"FallbackCartesiaTranscriberModel": ".types",
@@ -9805,12 +9805,12 @@ def __dir__():
98059805
"CartesiaCredentialProvider",
98069806
"CartesiaExperimentalControls",
98079807
"CartesiaExperimentalControlsEmotion",
9808-
"CartesiaExperimentalControlsSpeedZero",
98099808
"CartesiaGenerationConfig",
98109809
"CartesiaGenerationConfigExperimental",
98119810
"CartesiaPronunciationDictItem",
98129811
"CartesiaPronunciationDictionary",
98139812
"CartesiaSpeedControl",
9813+
"CartesiaSpeedControlZero",
98149814
"CartesiaTranscriber",
98159815
"CartesiaTranscriberLanguage",
98169816
"CartesiaTranscriberModel",
@@ -11114,7 +11114,7 @@ def __dir__():
1111411114
"FallbackAzureSpeechTranscriberSegmentationStrategy",
1111511115
"FallbackAzureVoice",
1111611116
"FallbackAzureVoiceId",
11117-
"FallbackAzureVoiceVoiceIdZero",
11117+
"FallbackAzureVoiceIdZero",
1111811118
"FallbackCartesiaTranscriber",
1111911119
"FallbackCartesiaTranscriberLanguage",
1112011120
"FallbackCartesiaTranscriberModel",

src/vapi/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ def get_headers(self) -> typing.Dict[str, str]:
2727
import platform
2828

2929
headers: typing.Dict[str, str] = {
30-
"User-Agent": "vapi_server_sdk/1.11.1",
30+
"User-Agent": "vapi_server_sdk/2.0.0",
3131
"X-Fern-Language": "Python",
3232
"X-Fern-Runtime": f"python/{platform.python_version()}",
3333
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
3434
"X-Fern-SDK-Name": "vapi_server_sdk",
35-
"X-Fern-SDK-Version": "1.11.1",
35+
"X-Fern-SDK-Version": "2.0.0",
3636
**(self.get_custom_headers() or {}),
3737
}
3838
headers["Authorization"] = f"Bearer {self._get_token()}"

src/vapi/types/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -580,12 +580,12 @@
580580
from .cartesia_credential_provider import CartesiaCredentialProvider
581581
from .cartesia_experimental_controls import CartesiaExperimentalControls
582582
from .cartesia_experimental_controls_emotion import CartesiaExperimentalControlsEmotion
583-
from .cartesia_experimental_controls_speed_zero import CartesiaExperimentalControlsSpeedZero
584583
from .cartesia_generation_config import CartesiaGenerationConfig
585584
from .cartesia_generation_config_experimental import CartesiaGenerationConfigExperimental
586585
from .cartesia_pronunciation_dict_item import CartesiaPronunciationDictItem
587586
from .cartesia_pronunciation_dictionary import CartesiaPronunciationDictionary
588587
from .cartesia_speed_control import CartesiaSpeedControl
588+
from .cartesia_speed_control_zero import CartesiaSpeedControlZero
589589
from .cartesia_transcriber import CartesiaTranscriber
590590
from .cartesia_transcriber_language import CartesiaTranscriberLanguage
591591
from .cartesia_transcriber_model import CartesiaTranscriberModel
@@ -1997,7 +1997,7 @@
19971997
)
19981998
from .fallback_azure_voice import FallbackAzureVoice
19991999
from .fallback_azure_voice_id import FallbackAzureVoiceId
2000-
from .fallback_azure_voice_voice_id_zero import FallbackAzureVoiceVoiceIdZero
2000+
from .fallback_azure_voice_id_zero import FallbackAzureVoiceIdZero
20012001
from .fallback_cartesia_transcriber import FallbackCartesiaTranscriber
20022002
from .fallback_cartesia_transcriber_language import FallbackCartesiaTranscriberLanguage
20032003
from .fallback_cartesia_transcriber_model import FallbackCartesiaTranscriberModel
@@ -5381,12 +5381,12 @@
53815381
"CartesiaCredentialProvider": ".cartesia_credential_provider",
53825382
"CartesiaExperimentalControls": ".cartesia_experimental_controls",
53835383
"CartesiaExperimentalControlsEmotion": ".cartesia_experimental_controls_emotion",
5384-
"CartesiaExperimentalControlsSpeedZero": ".cartesia_experimental_controls_speed_zero",
53855384
"CartesiaGenerationConfig": ".cartesia_generation_config",
53865385
"CartesiaGenerationConfigExperimental": ".cartesia_generation_config_experimental",
53875386
"CartesiaPronunciationDictItem": ".cartesia_pronunciation_dict_item",
53885387
"CartesiaPronunciationDictionary": ".cartesia_pronunciation_dictionary",
53895388
"CartesiaSpeedControl": ".cartesia_speed_control",
5389+
"CartesiaSpeedControlZero": ".cartesia_speed_control_zero",
53905390
"CartesiaTranscriber": ".cartesia_transcriber",
53915391
"CartesiaTranscriberLanguage": ".cartesia_transcriber_language",
53925392
"CartesiaTranscriberModel": ".cartesia_transcriber_model",
@@ -6586,7 +6586,7 @@
65866586
"FallbackAzureSpeechTranscriberSegmentationStrategy": ".fallback_azure_speech_transcriber_segmentation_strategy",
65876587
"FallbackAzureVoice": ".fallback_azure_voice",
65886588
"FallbackAzureVoiceId": ".fallback_azure_voice_id",
6589-
"FallbackAzureVoiceVoiceIdZero": ".fallback_azure_voice_voice_id_zero",
6589+
"FallbackAzureVoiceIdZero": ".fallback_azure_voice_id_zero",
65906590
"FallbackCartesiaTranscriber": ".fallback_cartesia_transcriber",
65916591
"FallbackCartesiaTranscriberLanguage": ".fallback_cartesia_transcriber_language",
65926592
"FallbackCartesiaTranscriberModel": ".fallback_cartesia_transcriber_model",
@@ -9592,12 +9592,12 @@ def __dir__():
95929592
"CartesiaCredentialProvider",
95939593
"CartesiaExperimentalControls",
95949594
"CartesiaExperimentalControlsEmotion",
9595-
"CartesiaExperimentalControlsSpeedZero",
95969595
"CartesiaGenerationConfig",
95979596
"CartesiaGenerationConfigExperimental",
95989597
"CartesiaPronunciationDictItem",
95999598
"CartesiaPronunciationDictionary",
96009599
"CartesiaSpeedControl",
9600+
"CartesiaSpeedControlZero",
96019601
"CartesiaTranscriber",
96029602
"CartesiaTranscriberLanguage",
96039603
"CartesiaTranscriberModel",
@@ -10797,7 +10797,7 @@ def __dir__():
1079710797
"FallbackAzureSpeechTranscriberSegmentationStrategy",
1079810798
"FallbackAzureVoice",
1079910799
"FallbackAzureVoiceId",
10800-
"FallbackAzureVoiceVoiceIdZero",
10800+
"FallbackAzureVoiceIdZero",
1080110801
"FallbackCartesiaTranscriber",
1080210802
"FallbackCartesiaTranscriberLanguage",
1080310803
"FallbackCartesiaTranscriberModel",

src/vapi/types/cartesia_experimental_controls_speed_zero.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/vapi/types/cartesia_speed_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
import typing
44

5-
from .cartesia_experimental_controls_speed_zero import CartesiaExperimentalControlsSpeedZero
5+
from .cartesia_speed_control_zero import CartesiaSpeedControlZero
66

7-
CartesiaSpeedControl = typing.Union[CartesiaExperimentalControlsSpeedZero, float]
7+
CartesiaSpeedControl = typing.Union[CartesiaSpeedControlZero, float]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
5+
CartesiaSpeedControlZero = typing.Union[typing.Literal["slowest", "slow", "normal", "fast", "fastest"], typing.Any]

0 commit comments

Comments
 (0)