Skip to content

Commit d8257d5

Browse files
feat!: rename CartesiaExperimentalControlsSpeedZero and FallbackAzureVoiceVoiceIdZero modules
Rename two internal enum modules to better reflect their purpose and align with updated naming conventions. These modules are part of the public type system and any code referencing them by name will break. Key changes: - Rename `Vapi::Types::CartesiaExperimentalControlsSpeedZero` → `Vapi::Types::CartesiaSpeedControlZero` - Rename `Vapi::Types::FallbackAzureVoiceVoiceIdZero` → `Vapi::Types::FallbackAzureVoiceIdZero` - Update `CartesiaSpeedControl` and `FallbackAzureVoiceId` union members to reference the new module names 🌿 Generated with Fern
1 parent c9c04d1 commit d8257d5

10 files changed

Lines changed: 19 additions & 14 deletions

.fern/metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"cliVersion": "4.86.2",
2+
"cliVersion": "5.51.2",
33
"generatorName": "fernapi/fern-ruby-sdk",
44
"generatorVersion": "1.1.13",
55
"generatorConfig": {
66
"clientClassName": "Vapi",
77
"rubocopVariableNumberStyle": "disabled"
88
},
9-
"originGitCommit": "7dc5137b61f1c65ebff4ce5d2fb11de2d945a1cf",
10-
"sdkVersion": "1.1.0"
9+
"originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5",
10+
"sdkVersion": "2.0.0"
1111
}

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ GEM
1616
rexml
1717
hashdiff (1.2.1)
1818
io-console (0.8.2)
19-
json (2.19.4)
19+
json (2.20.0)
2020
language_server-protocol (3.17.0.5)
2121
lint_roller (1.1.0)
2222
method_source (1.1.0)
2323
minitest (5.27.0)
2424
minitest-rg (5.4.0)
2525
minitest (>= 5.0, < 7)
26-
parallel (2.0.1)
26+
parallel (2.1.0)
2727
parser (3.3.11.1)
2828
ast (~> 2.4.1)
2929
racc
@@ -40,7 +40,7 @@ GEM
4040
reline (0.6.3)
4141
io-console (~> 0.5)
4242
rexml (3.4.4)
43-
rubocop (1.86.1)
43+
rubocop (1.88.0)
4444
json (~> 2.3)
4545
language_server-protocol (~> 3.17.0.2)
4646
lint_roller (~> 1.1.0)

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+
* **`Vapi::Types::CartesiaExperimentalControlsSpeedZero`** has been renamed to **`Vapi::Types::CartesiaSpeedControlZero`**. Update any references to use the new name.
4+
* **`Vapi::Types::FallbackAzureVoiceVoiceIdZero`** has been renamed to **`Vapi::Types::FallbackAzureVoiceIdZero`**. Update any references to use the new name.
5+
16
## 1.1.0 - 2026-04-22
27
### Added
38
* **`Call#subscription_limits`** — new optional field exposing `SubscriptionLimits` data directly on `Call` objects.

lib/vapi.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
require_relative "vapi/types/format_plan"
313313
require_relative "vapi/types/punctuation_boundary"
314314
require_relative "vapi/types/chunk_plan"
315-
require_relative "vapi/types/cartesia_experimental_controls_speed_zero"
315+
require_relative "vapi/types/cartesia_speed_control_zero"
316316
require_relative "vapi/types/cartesia_speed_control"
317317
require_relative "vapi/types/cartesia_experimental_controls_emotion"
318318
require_relative "vapi/types/cartesia_experimental_controls"
@@ -323,7 +323,7 @@
323323
require_relative "vapi/types/vapi_pronunciation_dictionary_locator"
324324
require_relative "vapi/types/fallback_well_said_voice_model"
325325
require_relative "vapi/types/fallback_well_said_voice"
326-
require_relative "vapi/types/fallback_azure_voice_voice_id_zero"
326+
require_relative "vapi/types/fallback_azure_voice_id_zero"
327327
require_relative "vapi/types/fallback_azure_voice_id"
328328
require_relative "vapi/types/fallback_azure_voice"
329329
require_relative "vapi/types/fallback_cartesia_voice_model"

lib/vapi/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(token:, base_url: nil)
1010
@raw_client = Vapi::Internal::Http::RawClient.new(
1111
base_url: base_url || Vapi::Environment::DEFAULT,
1212
headers: {
13-
"User-Agent" => "vapi_server_sdk/1.1.0",
13+
"User-Agent" => "vapi_server_sdk/2.0.0",
1414
"X-Fern-Language" => "Ruby",
1515
Authorization: "Bearer #{token}"
1616
}

lib/vapi/types/cartesia_speed_control.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Types
55
class CartesiaSpeedControl < Internal::Types::Model
66
extend Vapi::Internal::Types::Union
77

8-
member -> { Vapi::Types::CartesiaExperimentalControlsSpeedZero }
8+
member -> { Vapi::Types::CartesiaSpeedControlZero }
99
member -> { Integer }
1010
end
1111
end

lib/vapi/types/cartesia_experimental_controls_speed_zero.rb renamed to lib/vapi/types/cartesia_speed_control_zero.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module Vapi
44
module Types
5-
module CartesiaExperimentalControlsSpeedZero
5+
module CartesiaSpeedControlZero
66
extend Vapi::Internal::Types::Enum
77

88
SLOWEST = "slowest"

lib/vapi/types/fallback_azure_voice_id.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Types
66
class FallbackAzureVoiceId < Internal::Types::Model
77
extend Vapi::Internal::Types::Union
88

9-
member -> { Vapi::Types::FallbackAzureVoiceVoiceIdZero }
9+
member -> { Vapi::Types::FallbackAzureVoiceIdZero }
1010
member -> { String }
1111
end
1212
end

lib/vapi/types/fallback_azure_voice_voice_id_zero.rb renamed to lib/vapi/types/fallback_azure_voice_id_zero.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module Vapi
44
module Types
5-
module FallbackAzureVoiceVoiceIdZero
5+
module FallbackAzureVoiceIdZero
66
extend Vapi::Internal::Types::Enum
77

88
ANDREW = "andrew"

lib/vapi/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Vapi
4-
VERSION = "1.1.0"
4+
VERSION = "2.0.0"
55
end

0 commit comments

Comments
 (0)