Skip to content

Commit cc80e68

Browse files
[fern-autoversion] feat!: remove Tavus voice provider and multiple exported types
Remove the Tavus voice provider variant from all voice union types across the SDK, drop the `simulationGenerateControllerGenerate` method from `SimulationsClient`, and delete numerous exported types that are no longer part of the public API surface. Key changes: - Remove `Tavus` variant (and nested `Tavus` interface) from all voice union types: `AssistantVoice`, `AssistantDraftVoice`, `AssistantOverridesVoice`, `AssistantVersionVoice`, `UpdateAssistantDtoVoice`, `CreateAssistantDtoVoice`, `CreateAssistantDraftDtoVoice`, `UpdateAssistantDraftDtoVoice`, `FallbackPlanVoicesItem`, `ConversationNodeVoice`, `CreateWorkflowDtoVoice`, `UpdateWorkflowDtoVoice`, `WorkflowVoice`, `WorkflowUserEditableVoice`, `TransferAssistantVoice`, `RecordingConsentPlanStayOnLineVoice`, `RecordingConsentPlanVerbalVoice` - Remove `simulationGenerateControllerGenerate` public method and `GenerateScenariosDto` request type from `SimulationsClient` - Remove exported types: `TavusVoiceVoiceId`, `TavusVoiceVoiceIdZero`, `FallbackTavusVoiceVoiceId`, `FallbackTavusVoiceVoiceIdZero`, `AssistantPinnedConflictResponseDtoError`, `TrafficAllocationStaleConflictResponseDtoError`, `UpdateCodeToolDtoType`, `GhlToolType`, `User`, `NeetsVoice`, `FallbackNeetsVoice`, `FallbackDeepgramTranscriberLanguage`, `FallbackDeepgramTranscriberModel`, `AssistantUserEditable`, `CreateTrieveCredentialDto`, `CreateTrieveKnowledgeBaseDto`, `UpdateTrieveKnowledgeBaseDto`, `TrieveKnowledgeBase`, `TrieveKnowledgeBaseImport`, `SbcConfiguration`, `FailedEdgeCondition`, `LogicEdgeCondition`, `AssistantHookAssistantSpeechInterrupted`, `AssistantHookCallEnding`, `AssistantHookCustomerSpeechInterrupted`, `FunctionCallAssistantHookAction`, `SayAssistantHookAction`, `TransferAssistantHookAction`, `ValidateBackgroundSoundUrlDto` (moved to types) - Remove `error` field from `AssistantPinnedConflictResponseDto` and `TrafficAllocationStaleConflictResponseDto` - Remove `type` field from `UpdateCodeToolDto` 🌿 Generated with Fern
1 parent 0549cf3 commit cc80e68

5 files changed

Lines changed: 16 additions & 5 deletions

File tree

‎.fern/metadata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"invokedBy": "ci",
1717
"requestedVersion": "AUTO",
1818
"ciProvider": "unknown",
19-
"sdkVersion": "0.0.0-fern-placeholder"
19+
"sdkVersion": "4.0.0"
2020
}

‎changelog.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## [4.0.0] - 2026-11-10
2+
### Breaking Changes
3+
- **`SquadMemberDto.assistant`** and **`TesterPlan.assistant`** — type changed from `CreateAssistantDto` to `TransientAssistantDto`; update any code constructing or reading these fields to use `TransientAssistantDto`.
4+
5+
### Added
6+
- **`TransientAssistantDto`** — new interface for configuring a full transient (non-persisted) assistant inline, covering transcriber, model, voice, hooks, credentials, and all standard assistant settings.
7+
- **`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.
8+
- **`CallHealthDashboard*` type family** — 40+ new interfaces and enums for monitoring assistant goal performance, issue tracking, call availability, coverage reporting, and triage actions.
9+
- **`SimulationOnboarding*`** and **`TrafficTab*` type families** — new types supporting AI-assisted simulation suite generation/onboarding workflows and per-version traffic analytics dashboards.
10+
- **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.
11+
112
## [3.0.0] - 2026-10-08
213
### Breaking Changes
314
- **`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.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vapi-ai/server-sdk",
3-
"version": "0.0.0-fern-placeholder",
3+
"version": "4.0.0",
44
"private": false,
55
"repository": {
66
"type": "git",

‎src/BaseClient.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
5252
{
5353
"X-Fern-Language": "JavaScript",
5454
"X-Fern-SDK-Name": "@vapi-ai/server-sdk",
55-
"X-Fern-SDK-Version": "0.0.0-fern-placeholder",
56-
"User-Agent": "@vapi-ai/server-sdk/0.0.0-fern-placeholder",
55+
"X-Fern-SDK-Version": "4.0.0",
56+
"User-Agent": "@vapi-ai/server-sdk/4.0.0",
5757
"X-Fern-Runtime": core.RUNTIME.type,
5858
"X-Fern-Runtime-Version": core.RUNTIME.version,
5959
},

‎src/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "0.0.0-fern-placeholder";
1+
export const SDK_VERSION = "4.0.0";

0 commit comments

Comments
 (0)