From 5df00e227571d3834d112945ccc83766b96416bd Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:53:56 +0000 Subject: [PATCH 1/3] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.63.0 --- .fern/metadata.json | 6 +++--- package.json | 2 +- src/BaseClient.ts | 4 ++-- .../requests/UpdateStructuredOutputDto.ts | 9 ++++++++ src/api/types/AnthropicBedrockModel.ts | 2 ++ ...AnthropicBedrockModelFallbackModelsItem.ts | 21 +++++++++++++++++++ src/api/types/CreateStructuredOutputDto.ts | 9 ++++++++ src/api/types/EvalRun.ts | 9 +++----- src/api/types/InviteUserDtoRoleZero.ts | 1 + src/api/types/JsonQueryOnEventsTableOn.ts | 1 + src/api/types/StructuredOutput.ts | 9 ++++++++ src/api/types/UpdateUserRoleDtoRoleZero.ts | 1 + src/api/types/index.ts | 1 + src/version.ts | 2 +- 14 files changed, 64 insertions(+), 13 deletions(-) create mode 100644 src/api/types/AnthropicBedrockModelFallbackModelsItem.ts diff --git a/.fern/metadata.json b/.fern/metadata.json index 9d704c2e..e54cdbb2 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,5 +1,5 @@ { - "cliVersion": "5.119.2", + "cliVersion": "5.121.0", "generatorName": "fernapi/fern-typescript-sdk", "generatorVersion": "3.63.0", "generatorConfig": { @@ -11,10 +11,10 @@ "omitUndefined": true, "enableInlineTypes": false }, - "originGitCommit": "ca6a646c295c707d5b6dff2fceab26c86c9137d5", + "originGitCommit": "2e7e68f7e2ee286584e391ad7f156a1d38260be8", "originGitCommitIsDirty": true, "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "2.0.1" + "sdkVersion": "0.0.0-fern-placeholder" } diff --git a/package.json b/package.json index 5ebe74c5..fa9425b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-ai/server-sdk", - "version": "2.0.1", + "version": "0.0.0-fern-placeholder", "private": false, "repository": { "type": "git", diff --git a/src/BaseClient.ts b/src/BaseClient.ts index 57a9cccf..0cbc606c 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -52,8 +52,8 @@ export function normalizeClientOptions[]; /** * This is the type of the run. diff --git a/src/api/types/InviteUserDtoRoleZero.ts b/src/api/types/InviteUserDtoRoleZero.ts index 0276a9ec..29746339 100644 --- a/src/api/types/InviteUserDtoRoleZero.ts +++ b/src/api/types/InviteUserDtoRoleZero.ts @@ -4,5 +4,6 @@ export const InviteUserDtoRoleZero = { Admin: "admin", Editor: "editor", Viewer: "viewer", + HipaaSpecial: "hipaa-special", } as const; export type InviteUserDtoRoleZero = (typeof InviteUserDtoRoleZero)[keyof typeof InviteUserDtoRoleZero]; diff --git a/src/api/types/JsonQueryOnEventsTableOn.ts b/src/api/types/JsonQueryOnEventsTableOn.ts index a6ec0f47..6952e21b 100644 --- a/src/api/types/JsonQueryOnEventsTableOn.ts +++ b/src/api/types/JsonQueryOnEventsTableOn.ts @@ -57,6 +57,7 @@ export const JsonQueryOnEventsTableOn = { AssistantModelRequestAttemptStarted: "assistant.model.requestAttemptStarted", AssistantModelRequestAttemptSucceeded: "assistant.model.requestAttemptSucceeded", AssistantModelRequestAttemptFailed: "assistant.model.requestAttemptFailed", + AssistantKnowledgeBaseRequestSucceeded: "assistant.knowledgeBase.requestSucceeded", AssistantModelConnectionOpened: "assistant.model.connectionOpened", AssistantModelConnectionClosed: "assistant.model.connectionClosed", AssistantModelFirstTokenReceived: "assistant.model.firstTokenReceived", diff --git a/src/api/types/StructuredOutput.ts b/src/api/types/StructuredOutput.ts index 70465476..0b29d45e 100644 --- a/src/api/types/StructuredOutput.ts +++ b/src/api/types/StructuredOutput.ts @@ -16,6 +16,15 @@ export interface StructuredOutput { /** * This is the regex pattern to match against the transcript. * + * Simulation evaluations use a canonical transcript built from recorded messages: + * User: and AI: dialogue, AI: tool_calls: JSON name/arguments records, and + * AI: tool_call_results: JSON results. System messages are excluded. These + * fixed labels apply even when custom artifact transcript labels are configured. + * Tool payloads participate in first-match and all-match extraction in event order. + * An empty message array falls back to the supplied transcript verbatim. + * Production-call extraction and call preview use their existing transcripts, + * so previewing the same output on a simulation's call can return a different result. + * * Only used when type is 'regex'. Supports both raw patterns (e.g. '\d+') and * regex literal format (e.g. '/\d+/gi'). Uses RE2 syntax for safety. * diff --git a/src/api/types/UpdateUserRoleDtoRoleZero.ts b/src/api/types/UpdateUserRoleDtoRoleZero.ts index d92a69f4..e0fb3f90 100644 --- a/src/api/types/UpdateUserRoleDtoRoleZero.ts +++ b/src/api/types/UpdateUserRoleDtoRoleZero.ts @@ -4,5 +4,6 @@ export const UpdateUserRoleDtoRoleZero = { Admin: "admin", Editor: "editor", Viewer: "viewer", + HipaaSpecial: "hipaa-special", } as const; export type UpdateUserRoleDtoRoleZero = (typeof UpdateUserRoleDtoRoleZero)[keyof typeof UpdateUserRoleDtoRoleZero]; diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 4c95df43..fcdf1669 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -18,6 +18,7 @@ export * from "./AnthropicBedrockCredentialAuthenticationPlan.js"; export * from "./AnthropicBedrockCredentialProvider.js"; export * from "./AnthropicBedrockCredentialRegion.js"; export * from "./AnthropicBedrockModel.js"; +export * from "./AnthropicBedrockModelFallbackModelsItem.js"; export * from "./AnthropicBedrockModelModel.js"; export * from "./AnthropicBedrockModelToolsItem.js"; export * from "./AnthropicCredential.js"; diff --git a/src/version.ts b/src/version.ts index 85cbd4ff..02d1eb13 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "2.0.1"; +export const SDK_VERSION = "0.0.0-fern-placeholder"; From 09e9fe3f734d997848875c20f371950341f9d37a Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:53:57 +0000 Subject: [PATCH 2/3] [fern-autoversion] feat: add Bedrock fallback models, HIPAA role, and knowledge base event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Expand the SDK with several new capabilities: Anthropic Bedrock models now support an optional `fallbackModels` field for same-provider failover, user role enums gain a `hipaa-special` value, and the events table gains an `assistant.knowledgeBase.requestSucceeded` event type. Documentation for `StructuredOutput` regex fields is also enriched with simulation evaluation transcript semantics. Key changes: - Add `AnthropicBedrockModelFallbackModelsItem` enum and export it from the types index - Add optional `fallbackModels` field to `AnthropicBedrockModel` - Add `HipaaSpecial` value to `InviteUserDtoRoleZero` and `UpdateUserRoleDtoRoleZero` - Add `AssistantKnowledgeBaseRequestSucceeded` to `JsonQueryOnEventsTableOn` - Enrich JSDoc on `StructuredOutput`, `CreateStructuredOutputDto`, and `UpdateStructuredOutputDto` with simulation transcript semantics - Update `EvalRun` field descriptions to clarify individual-eval semantics 🌿 Generated with Fern --- .fern/metadata.json | 2 +- changelog.md | 11 +++++++++++ package.json | 2 +- src/BaseClient.ts | 4 ++-- src/version.ts | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index e54cdbb2..d3ccbb2f 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -16,5 +16,5 @@ "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "0.0.0-fern-placeholder" + "sdkVersion": "2.1.0" } diff --git a/changelog.md b/changelog.md index e0a673b4..4334a2d1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ +## [2.1.0] - 2026-09-11 +### Added +- **`AnthropicBedrockModelFallbackModelsItem`** — new enum listing all supported Claude models that can be used as a same-provider Bedrock fallback. +- **`AnthropicBedrockModel.fallbackModels`** — new optional field accepting up to one `AnthropicBedrockModelFallbackModelsItem` fallback model, tried automatically if the primary model fails. +- **`HipaaSpecial`** — new `"hipaa-special"` value added to `InviteUserDtoRoleZero` and `UpdateUserRoleDtoRoleZero` role enums. +- **`JsonQueryOnEventsTableOn.AssistantKnowledgeBaseRequestSucceeded`** — new `"assistant.knowledgeBase.requestSucceeded"` event type available for event-table queries. + +### Changed +- **`StructuredOutput`**, **`CreateStructuredOutputDto`**, and **`UpdateStructuredOutputDto`** — `regexPattern` field documentation expanded to describe how simulation evaluations build their canonical transcript, including tool call/result handling and fallback behavior. +- **`EvalRun`** — `results`, `cost`, and `costs` field descriptions updated to clarify they apply to individual Eval runs rather than suites. + ## [2.0.1] - 2026-08-26 ## 2.0.0 - 2026-06-24 diff --git a/package.json b/package.json index fa9425b9..51069fc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vapi-ai/server-sdk", - "version": "0.0.0-fern-placeholder", + "version": "2.1.0", "private": false, "repository": { "type": "git", diff --git a/src/BaseClient.ts b/src/BaseClient.ts index 0cbc606c..2aa0cfa5 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -52,8 +52,8 @@ export function normalizeClientOptions Date: Fri, 11 Sep 2026 19:53:57 +0000 Subject: [PATCH 3/3] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index 3a8062c8..9e58e9d0 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -18,5 +18,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-typescript-sdk: 3.63.0 -current_generation: 5037338ca89fe36163c30364fd68c07e99299a5b + - commit_sha: b2c07ad9814f5ef7e66b76ab6f3e89ee09d42dfa + tree_hash: 659edcf08c14ddb20ec93b0b3656c875b6e63e73 + timestamp: 2026-09-11T19:53:37.475Z + cli_version: unknown + generator_versions: + fernapi/fern-typescript-sdk: 3.63.0 +current_generation: b2c07ad9814f5ef7e66b76ab6f3e89ee09d42dfa patches: []