Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"cliVersion": "5.51.2",
"cliVersion": "5.89.0",
"generatorName": "fernapi/fern-ruby-sdk",
"generatorVersion": "1.1.13",
"generatorConfig": {
"clientClassName": "Vapi",
"rubocopVariableNumberStyle": "disabled"
},
"originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5",
"sdkVersion": "2.0.0"
"originGitCommit": "6814779f49cf598b695b50b865d00e771aa38afb",
"sdkVersion": "2.0.1"
}
16 changes: 16 additions & 0 deletions .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
.github/workflows/sdk-release-pr-notification.yml
README.md
changelog.md
.fern/replay.lock
.fern/replay.yml
.gitattributes
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.fern/replay.lock linguist-generated=true
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ GEM
rexml
hashdiff (1.2.1)
io-console (0.8.2)
json (2.20.0)
language_server-protocol (3.17.0.5)
json (2.21.1)
language_server-protocol (3.17.0.6)
lint_roller (1.1.0)
method_source (1.1.0)
minitest (5.27.0)
minitest-rg (5.4.0)
minitest (>= 5.0, < 7)
parallel (2.1.0)
parser (3.3.11.1)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
prism (1.9.0)
Expand All @@ -40,7 +40,7 @@ GEM
reline (0.6.3)
io-console (~> 0.5)
rexml (3.4.4)
rubocop (1.88.0)
rubocop (1.88.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -51,10 +51,10 @@ GEM
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.49.1)
rubocop-ast (1.50.0)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-minitest (0.39.1)
rubocop-minitest (0.40.0)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.38.0, < 2.0)
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [2.0.1] - 2026-07-31

## 2.0.0 - 2026-06-24
### Breaking Changes
* **`Vapi::Types::CartesiaExperimentalControlsSpeedZero`** has been renamed to **`Vapi::Types::CartesiaSpeedControlZero`**. Update any references to use the new name.
Expand Down
536 changes: 423 additions & 113 deletions lib/vapi.rb

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/vapi/analytics/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ def initialize(client:)
@client = client
end

# Runs one or more metric queries against call or subscription data using the requested time range, groupings, and
# aggregate operations.
#
# @param request_options [Hash]
# @param params [Vapi::Analytics::Types::AnalyticsQueryDto]
# @option request_options [String] :base_url
Expand Down
12 changes: 12 additions & 0 deletions lib/vapi/assistants/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ def initialize(client:)
@client = client
end

# Returns assistants for the authenticated organization. Filter results by creation or update timestamps and limit
# the number returned.
#
# @param request_options [Hash]
# @param params [Hash]
# @option request_options [String] :base_url
Expand Down Expand Up @@ -62,6 +65,9 @@ def list(request_options: {}, **params)
raise error_class.new(response.body, code: code)
end

# Creates a reusable assistant configuration containing the model, voice, transcriber, tools, prompts, and call
# behavior.
#
# @param request_options [Hash]
# @param params [Vapi::Types::CreateAssistantDto]
# @option request_options [String] :base_url
Expand Down Expand Up @@ -94,6 +100,8 @@ def create(request_options: {}, **params)
end
end

# Returns the assistant identified by its ID.
#
# @param request_options [Hash]
# @param params [Hash]
# @option request_options [String] :base_url
Expand Down Expand Up @@ -126,6 +134,8 @@ def get(request_options: {}, **params)
end
end

# Deletes the assistant identified by its ID.
#
# @param request_options [Hash]
# @param params [Hash]
# @option request_options [String] :base_url
Expand Down Expand Up @@ -158,6 +168,8 @@ def delete(request_options: {}, **params)
end
end

# Updates the specified fields of the assistant identified by its ID.
#
# @param request_options [Hash]
# @param params [Vapi::Assistants::Types::UpdateAssistantDto]
# @option request_options [String] :base_url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class UpdateAssistantDtoCredentialsItem < Internal::Types::Model
member -> { Vapi::Types::CreateRimeAiCredentialDto }, key: "RIME_AI"
member -> { Vapi::Types::CreateRunpodCredentialDto }, key: "RUNPOD"
member -> { Vapi::Types::CreateS3CredentialDto }, key: "S_3"
member -> { Vapi::Types::CreateS3CompatibleCredentialDto }, key: "S_3_COMPATIBLE"
member -> { Vapi::Types::CreateSupabaseCredentialDto }, key: "SUPABASE"
member -> { Vapi::Types::CreateSmallestAiCredentialDto }, key: "SMALLEST_AI"
member -> { Vapi::Types::CreateTavusCredentialDto }, key: "TAVUS"
Expand All @@ -48,12 +49,12 @@ class UpdateAssistantDtoCredentialsItem < Internal::Types::Model
member -> { Vapi::Types::CreateWebhookCredentialDto }, key: "WEBHOOK"
member -> { Vapi::Types::CreateCustomCredentialDto }, key: "CUSTOM_CREDENTIAL"
member -> { Vapi::Types::CreateXAiCredentialDto }, key: "XAI"
member -> { Vapi::Types::CreateMicrosoftCredentialDto }, key: "MICROSOFT"
member -> { Vapi::Types::CreateNeuphonicCredentialDto }, key: "NEUPHONIC"
member -> { Vapi::Types::CreateHumeCredentialDto }, key: "HUME"
member -> { Vapi::Types::CreateMistralCredentialDto }, key: "MISTRAL"
member -> { Vapi::Types::CreateSpeechmaticsCredentialDto }, key: "SPEECHMATICS"
member -> { Vapi::Types::CreateSonioxCredentialDto }, key: "SONIOX"
member -> { Vapi::Types::CreateTrieveCredentialDto }, key: "TRIEVE"
member -> { Vapi::Types::CreateGoogleCalendarOAuth2ClientCredentialDto }, key: "GOOGLE_CALENDAR_OAUTH_2_CLIENT"
member -> { Vapi::Types::CreateGoogleCalendarOAuth2AuthorizationCredentialDto }, key: "GOOGLE_CALENDAR_OAUTH_2_AUTHORIZATION"
member -> { Vapi::Types::CreateGoogleSheetsOAuth2AuthorizationCredentialDto }, key: "GOOGLE_SHEETS_OAUTH_2_AUTHORIZATION"
Expand Down
1 change: 1 addition & 0 deletions lib/vapi/assistants/types/update_assistant_dto_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class UpdateAssistantDtoModel < Internal::Types::Model
member -> { Vapi::Types::PerplexityAiModel }, key: "PERPLEXITY_AI"
member -> { Vapi::Types::TogetherAiModel }, key: "TOGETHER_AI"
member -> { Vapi::Types::XaiModel }, key: "XAI"
member -> { Vapi::Types::VapiModel }, key: "VAPI"
end
end
end
Expand Down
2 changes: 2 additions & 0 deletions lib/vapi/assistants/types/update_assistant_dto_transcriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class UpdateAssistantDtoTranscriber < Internal::Types::Model
member -> { Vapi::Types::OpenAiTranscriber }, key: "OPENAI"
member -> { Vapi::Types::CartesiaTranscriber }, key: "CARTESIA"
member -> { Vapi::Types::SonioxTranscriber }, key: "SONIOX"
member -> { Vapi::Types::XaiTranscriber }, key: "XAI"
member -> { Vapi::Types::VapiTranscriber }, key: "VAPI"
end
end
end
Expand Down
2 changes: 2 additions & 0 deletions lib/vapi/assistants/types/update_assistant_dto_voice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class UpdateAssistantDtoVoice < Internal::Types::Model
member -> { Vapi::Types::SesameVoice }, key: "SESAME"
member -> { Vapi::Types::InworldVoice }, key: "INWORLD"
member -> { Vapi::Types::MinimaxVoice }, key: "MINIMAX"
member -> { Vapi::Types::XaiVoice }, key: "XAI"
member -> { Vapi::Types::MicrosoftVoice }, key: "MICROSOFT"
end
end
end
Expand Down
Loading