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
Jump to file
Failed to load files.
Loading
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.119.2",
"cliVersion": "5.120.1",
"generatorName": "fernapi/fern-typescript-sdk",
"generatorVersion": "3.63.0",
"generatorConfig": {
Expand All @@ -11,10 +11,10 @@
"omitUndefined": true,
"enableInlineTypes": false
},
"originGitCommit": "ca6a646c295c707d5b6dff2fceab26c86c9137d5",
"originGitCommit": "c562c5d40be88eebdeffe5d726ed5dbe04ec5b12",
"originGitCommitIsDirty": true,
"invokedBy": "ci",
"requestedVersion": "AUTO",
"ciProvider": "unknown",
"sdkVersion": "2.0.1"
"sdkVersion": "2.0.2"
}
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.

2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [2.0.2] - 2026-09-10

## [2.0.1] - 2026-08-26

## 2.0.0 - 2026-06-24
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": "2.0.1",
"version": "2.0.2",
"private": false,
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
{
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@vapi-ai/server-sdk",
"X-Fern-SDK-Version": "2.0.1",
"User-Agent": "@vapi-ai/server-sdk/2.0.1",
"X-Fern-SDK-Version": "2.0.2",
"User-Agent": "@vapi-ai/server-sdk/2.0.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ export interface UpdateStructuredOutputDto {
/**
* 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.
*
Expand Down
9 changes: 9 additions & 0 deletions src/api/types/CreateStructuredOutputDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ export interface CreateStructuredOutputDto {
/**
* 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.
*
Expand Down
9 changes: 3 additions & 6 deletions src/api/types/EvalRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ export interface EvalRun {
endedAt: string;
/** This is the ended message when the eval run ended for any reason apart from mockConversation.done */
endedMessage?: string | undefined;
/**
* This is the results of the eval or suite run.
* The array will have a single item for an eval run, and multiple items each corresponding to the an eval in a suite run in the same order as the evals in the suite.
*/
/** Results for this individual Eval. Check them after status is ended. An Eval that finishes normally contains one result; it passes only when all judged checkpoints pass. Grouping multiple Evals requires your own orchestration, not an Eval suite. */
results: Vapi.EvalRunResult[];
/** This is the cost of the eval or suite run in USD. */
/** The cost of this Eval run in USD. */
cost: number;
/** This is the break up of costs of the eval or suite run. */
/** The cost breakdown for this Eval run. */
costs: Record<string, unknown>[];
/**
* This is the type of the run.
Expand Down
9 changes: 9 additions & 0 deletions src/api/types/StructuredOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = "2.0.1";
export const SDK_VERSION = "2.0.2";