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.202.0",
"generatorName": "fernapi/fern-typescript-sdk",
"generatorVersion": "3.63.0",
"generatorConfig": {
Expand All @@ -11,10 +11,10 @@
"omitUndefined": true,
"enableInlineTypes": false
},
"originGitCommit": "d60758e7438e5ed4f06365c77535f6aedb9f0eb6",
"originGitCommit": "c0931aa144ea8cf8a17cdaa0552effed63c3c9c2",
"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.

11 changes: 11 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [4.0.0] - 2026-11-10
### Breaking Changes
- **`SquadMemberDto.assistant`** and **`TesterPlan.assistant`** — type changed from `CreateAssistantDto` to `TransientAssistantDto`; update any code constructing or reading these fields to use `TransientAssistantDto`.

### Added
- **`TransientAssistantDto`** — new interface for configuring a full transient (non-persisted) assistant inline, covering transcriber, model, voice, hooks, credentials, and all standard assistant settings.
- **`client.guardrailPacks`** and **`client.guardrailRules`** — new `GuardrailPacksClient` and `GuardrailRulesClient` for browsing guardrail packs and rules, with list, paginated, and single-fetch methods; supporting sort enums also added.
- **`CallHealthDashboard*` type family** — 40+ new interfaces and enums for monitoring assistant goal performance, issue tracking, call availability, coverage reporting, and triage actions.
- **`SimulationOnboarding*`** and **`TrafficTab*` type families** — new types supporting AI-assisted simulation suite generation/onboarding workflows and per-version traffic analytics dashboards.
- **New enum values and fields across several types** — including `SonioxTranscriber.agentTextInputEnabled`, `WorkflowOpenAiModel.reasoningEffort`, `TurnLatency.unmeasured`, `CartesiaVoiceModel` Sonic 3.6 variants, Odia/Urdu language codes, Reson8 transcriber/credential variants, and new `CallEndedReason`/`ServerMessageStatusUpdateEndedReason` values covering guardrail, Reson8, ElevenLabs, and Cartesia failure modes.

## [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
24 changes: 23 additions & 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 Expand Up @@ -253,6 +253,28 @@
},
"default": "./dist/cjs/api/resources/observabilityScorecard/exports.js"
},
"./guardrailRules": {
"import": {
"types": "./dist/esm/api/resources/guardrailRules/exports.d.mts",
"default": "./dist/esm/api/resources/guardrailRules/exports.mjs"
},
"require": {
"types": "./dist/cjs/api/resources/guardrailRules/exports.d.ts",
"default": "./dist/cjs/api/resources/guardrailRules/exports.js"
},
"default": "./dist/cjs/api/resources/guardrailRules/exports.js"
},
"./guardrailPacks": {
"import": {
"types": "./dist/esm/api/resources/guardrailPacks/exports.d.mts",
"default": "./dist/esm/api/resources/guardrailPacks/exports.mjs"
},
"require": {
"types": "./dist/cjs/api/resources/guardrailPacks/exports.d.ts",
"default": "./dist/cjs/api/resources/guardrailPacks/exports.js"
},
"default": "./dist/cjs/api/resources/guardrailPacks/exports.js"
},
"./providerResources": {
"import": {
"types": "./dist/esm/api/resources/providerResources/exports.d.mts",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

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

Loading
Loading