Skip to content

Commit 745cb3a

Browse files
[fern-autoversion] feat!: remove ToolPinnedConflictResponseDtoError and enum values from sort types
This release removes several exported symbols and enum values, adds a large set of new types and capabilities, and refines error handling across the eval and simulations clients. Key changes: - Remove `ToolPinnedConflictResponseDtoError` exported type and the `error` field from `ToolPinnedConflictResponseDto` - Remove `Duration` and `Cost` enum values from `EvalControllerGetRunsPaginatedRequestSortBy` and `GetEvalRunPaginatedDtoSortBy` - Add `simulationControllerGetConcurrency()` method to `SimulationsClient` returning `SimulationConcurrencyResponse` - Add typed `ForbiddenError` (403) handling across all `EvalClient` methods - Export dozens of new types including `OpenAiReasoner`, `TrafficAllocation*`, `SquadVersion*`, `LatencyEvaluationResult*`, and more 🌿 Generated with Fern
1 parent d6b08ff commit 745cb3a

5 files changed

Lines changed: 51 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": "3.0.0"
2020
}

‎changelog.md‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
## [3.0.0] - 2026-10-08
2+
### Breaking Changes
3+
- **`ToolPinnedConflictResponseDtoError`** has been removed entirely; update any imports or references to this type. The `error` field has also been removed from **`ToolPinnedConflictResponseDto`** — callers reading `dto.error` must be updated to use `dto.message` instead.
4+
- **`EvalControllerGetRunsPaginatedRequestSortBy`** and **`GetEvalRunPaginatedDtoSortBy`** no longer include `"duration"` or `"cost"` values; update any code passing those sort values to use `"createdAt"` instead.
5+
6+
### Added
7+
- **`simulationControllerGetConcurrency()`** on `SimulationsClient` — returns the organization's simulation concurrency limit, active simulation count, and remaining capacity as `SimulationConcurrencyResponse`.
8+
- **`OpenAiReasoner`**, **`OpenAiSpeaker`**, **`TrafficAllocation`** family, **`SquadVersion`** family, **`LatencyEvaluationResult`** / **`LatencyExpectation`** family, **`OrgLimitsResponseDto`**, **`FilePaginatedResponse`**, **`TranscriptWordConfidence`**, **`TransientTwilioPhoneNumber`**, and many more new exported types.
9+
- **`ForbiddenError` (403)** is now thrown as a typed `Vapi.ForbiddenError` by all `EvalClient` methods instead of a generic `VapiError`.
10+
11+
### Changed
12+
- **`EvalControllerGetRunsPaginatedRequest`** gains a new optional `search` field for case-insensitive name filtering; field ordering has also been adjusted (no functional impact for named-property callers).
13+
14+
### Breaking Changes
15+
- **`Call.phoneNumber`** — type changed from `ImportTwilioPhoneNumberDto` to `TransientTwilioPhoneNumber`; update any code that constructs or reads this field to use `TransientTwilioPhoneNumber`.
16+
- **`AudioFormat.format`** — type changed from `Record<string, unknown>` to `AudioFormatFormat`; replace raw object literals with the new typed enum value.
17+
- **`ListFilesRequest.purpose`** — changed from a required `string` to an optional `ListFilesRequestPurpose` enum; callers that passed a plain string must switch to the enum, and the parameter may now be omitted entirely.
18+
19+
### Added
20+
- **`AssemblyAiTranscriberSpeechModel.Universal36Pro`** — new `universal-3-6-pro` speech model for AssemblyAI, now the most accurate voice-agent model; `agentContextAutoUpdateEnabled` field added to `AssemblyAiTranscriber` to auto-send assistant speech as context each turn.
21+
- **`DeepgramVoiceModel.Flux`** — new Flux model for Deepgram voices, with new `speed` and `expressivity` fields on `DeepgramVoice`.
22+
- **`AnthropicBedrockModel.fallbackModels`** — optional same-provider Bedrock fallback model list tried when the primary model fails.
23+
- **`Call.squadVersion`** and **`AssistantActivation.squadVersion`** — new optional fields for pinning or recording the squad version governing a call.
24+
- **`ToolsClient.update`** — now throws a typed `ConflictError` on HTTP 409 responses instead of a generic `VapiError`.
25+
26+
### Added
27+
- **`client.trafficAllocations`** — new `TrafficAllocationsClient` (beta) for managing assistant traffic splits, with methods to list allocations paginated, create a new allocation, retrieve the latest allocation, and fetch a single allocation by id.
28+
- **`ForbiddenError`** — new error class thrown (HTTP 403) when a traffic allocation endpoint is called by an organization without beta access.
29+
- **`modelDeprecations`** — new optional read-only field on `Assistant`, `AssistantDraft`, and `AssistantVersion` surfaces model deprecation notices with replacement recommendations.
30+
- **`CreateCallDto.squadVersion`** — new optional field for pinning a specific squad version when creating a call via a direct `squadId`.
31+
- **New enum types and values** — `ListFilesRequestPurpose`, `AnthropicBedrockModelFallbackModelsItem`, `AudioFormatFormat`, `CreateTrafficAllocationDtoAllocationIntent`, and additional language codes on `AssemblyAiTranscriberLanguageCodesItem`.
32+
33+
### Added
34+
- **`LatencyExpectation`** and related types (`LatencyExpectationMetric`, `LatencyExpectationAggregation`) — define per-turn latency SLA ceilings for voice simulations; attach via the new `latencyExpectations` field on `CreateScenarioDto`.
35+
- **`ClientInboundMessageAppendContext`** and `AppendContext` variant on `ClientInboundMessageMessage` — inject commentary, thinking, or instructions into a live call in real time.
36+
- **Traffic allocation types** (`CreateTrafficAllocationTargetDto`, `GetTrafficAllocationLatestDto`, `GetTrafficAllocationPaginatedDto`) — support assistant-version A/B traffic splitting.
37+
- **`OpenAiReasoner`** and **`OpenAiModelServiceTier`** — configure GPT-Live delegated reasoning and fast/auto/default service tiers; new model values `gpt-6-luna` and `gpt-live-1` added to `OpenAiModelModel`.
38+
- **New voice and model enum values** across `DeepgramVoiceId`, `FallbackDeepgramVoiceId` (36 voices each), `FallbackOpenAiVoiceIdEnum` (17 voices), `ElevenLabsVoiceModel`/`FallbackElevenLabsVoiceModel` (`eleven_v4_turbo`), `RimeAiVoiceModel` (`coda`, `mistv3`), and `DeepSeekModelModel` (`deepseek-flash`, `deepseek-flash-thinking`).
39+
- See full changelog for all changes
40+
41+
### Added
42+
- **`TranscriptWordConfidence`** — new interface exposing per-word timing, confidence score, punctuation, language, and speaker attribution from the transcriber.
43+
- **`UserMessageMetadata`** and **`UserMessageConfidenceSource`** — new types that attach word-level confidence metadata and confidence source (`"provider"` or `"derived"`) to user messages.
44+
- **`TransientTwilioPhoneNumber`** — new interface (plus `TransientTwilioPhoneNumberFallbackDestination` and `TransientTwilioPhoneNumberHooksItem`) for configuring a Twilio phone number transiently without persisting it in Vapi.
45+
- **New enum values** added: `HipaaSpecial` on `UpdateUserRoleDtoRoleZero`, `SquadVersion` on `VersionPinReferenceSourceType`, and `Gpt6Luna` on `WorkflowOpenAiModelModel`.
46+
147
## [2.0.1] - 2026-08-26
248

349
## 2.0.0 - 2026-06-24

‎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": "3.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": "3.0.0",
56+
"User-Agent": "@vapi-ai/server-sdk/3.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 = "3.0.0";

0 commit comments

Comments
 (0)