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,5 +1,5 @@
{
"cliVersion": "5.149.0",
"cliVersion": "5.230.4",
"generatorName": "fernapi/fern-typescript-sdk",
"generatorVersion": "3.63.0",
"generatorConfig": {
Expand All @@ -11,10 +11,10 @@
"omitUndefined": true,
"enableInlineTypes": false
},
"originGitCommit": "d60758e7438e5ed4f06365c77535f6aedb9f0eb6",
"originGitCommit": "b5d721e0e7f41673c45bfef24eb8652121387167",
"originGitCommitIsDirty": true,
"invokedBy": "ci",
"requestedVersion": "AUTO",
"ciProvider": "unknown",
"sdkVersion": "3.0.0"
"sdkVersion": "4.0.0"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

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

16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [4.0.0] - 2026-11-26
### Breaking Changes
- **`VapiModel.version`** — the `version` field (type `VapiModelVersion`) has been removed from `VapiModel`; replace any reads or writes of `VapiModel.version` with the `model` field (`"sapien"` or `"sapien-lite"`).

### Added
- **`AssistantSaveResponse`** — new interface returned by assistant create, update, and replace endpoints, including read-only `fallbackWarnings` and `modelDeprecations` fields; accompanied by new discriminated-union types `AssistantSaveResponseTranscriber`, `AssistantSaveResponseModel`, `AssistantSaveResponseCredentialsItem`, and related enum types.
- **`Reson8Transcriber`** — new `reson8` transcription provider added across all assistant, workflow, and credential union types, with corresponding `CallEndedReason` values for auth, rate-limit, config, and connection errors.
- **Call Health Dashboard types** — 30+ new `CallHealthDashboard*` interfaces and enums for tracking assistant goal success rates, call classifications, issue management, triage requests, and coverage metrics.
- **`TransientAssistantDto*` type family** — new discriminated-union types for configuring transient (non-persisted) assistants on calls, covering model, transcriber, voice, hooks, and voicemail-detection options.
- See full changelog for all changes

### Changed
- **`{{messagesWithConfidence}}` template variable** — all Workflow model types now document a new LiquidJS variable for text extraction that includes transcription-confidence data; `{{messages}}` in structured outputs omits those confidence fields.
- **New enum values across several types** — `WhiteNoise`, `City`, `Crowd`, and `Farm` added to all `BackgroundSoundZero` enums; `Sonic36`/`Sonic3620260827` added to `CartesiaVoiceModel`; `Gpt6Luna`, `Gpt55`, `ClaudeHaiku55`, `Gemini38Flash`, and `Gpt61Terra` added to various model enums; `AzureOpenAiDeployment` support added to Azure credential DTOs.
- **`WorkflowOpenAiModel.reasoningEffort`** — new optional field (`WorkflowOpenAiModelReasoningEffort`) to control reasoning effort for structured output extraction with OpenAI reasoning models.

## [3.0.0] - 2026-10-08
### Breaking Changes
- **`ToolPinnedConflictResponseDtoError`** and the standalone **`ToolPinnedConflictResponseDto.error`** field have been removed from the SDK. The API still returns `error: "tool_pinned"` in pinned-tool HTTP 409 responses. After validating or narrowing the error body, use **`Vapi.ConflictErrorBody`** or **`Vapi.ConflictErrorBody.ToolPinned`** to read its `error` discriminator. Replace the removed constant with the literal `"tool_pinned"`. The `message` field contains the human-readable reason and does not replace the discriminator.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vapi-ai/server-sdk",
"version": "3.0.0",
"version": "4.0.0",
"private": false,
"repository": {
"type": "git",
Expand Down
34 changes: 17 additions & 17 deletions pnpm-lock.yaml

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

Loading
Loading