Skip to content

Commit de4283c

Browse files
[fern-generated] Update SDK
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.63.0
1 parent ce0b348 commit de4283c

79 files changed

Lines changed: 286 additions & 132 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.fern/metadata.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cliVersion": "5.149.0",
2+
"cliVersion": "5.156.0",
33
"generatorName": "fernapi/fern-typescript-sdk",
44
"generatorVersion": "3.63.0",
55
"generatorConfig": {
@@ -11,10 +11,10 @@
1111
"omitUndefined": true,
1212
"enableInlineTypes": false
1313
},
14-
"originGitCommit": "d60758e7438e5ed4f06365c77535f6aedb9f0eb6",
14+
"originGitCommit": "71de44e421e210ccfbedeb86ac82e318728430c0",
1515
"originGitCommitIsDirty": true,
1616
"invokedBy": "ci",
1717
"requestedVersion": "AUTO",
1818
"ciProvider": "unknown",
19-
"sdkVersion": "3.0.0"
19+
"sdkVersion": "0.0.0-fern-placeholder"
2020
}

‎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": "3.0.0",
3+
"version": "0.0.0-fern-placeholder",
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": "3.0.0",
56-
"User-Agent": "@vapi-ai/server-sdk/3.0.0",
55+
"X-Fern-SDK-Version": "0.0.0-fern-placeholder",
56+
"User-Agent": "@vapi-ai/server-sdk/0.0.0-fern-placeholder",
5757
"X-Fern-Runtime": core.RUNTIME.type,
5858
"X-Fern-Runtime-Version": core.RUNTIME.version,
5959
},

‎src/api/resources/structuredOutputs/client/requests/UpdateStructuredOutputDto.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export interface UpdateStructuredOutputDto {
5151
* This is the model that will be used to extract the structured output.
5252
*
5353
* To provide your own custom system and user prompts for structured output extraction, populate the messages array with your system and user messages. You can specify liquid templating in your system and user messages.
54-
* Between the system or user messages, you must reference either 'transcript' or 'messages' with the `{{}}` syntax to access the conversation history.
54+
* For text extraction, you must reference 'transcript', 'messages', or 'messagesWithConfidence' with the `{{}}` syntax to access the conversation history.
55+
* In structured outputs, `{{messages}}` includes conversation text and tool calls/results but omits caller transcription-confidence fields. Text extraction can use `{{messagesWithConfidence}}` when the output needs the original message history with transcription confidence. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data.
5556
* Between the system or user messages, you must reference a variation of the structured output with the `{{}}` syntax to access the structured output definition.
5657
* i.e.:
5758
* `{{structuredOutput}}`

‎src/api/resources/structuredOutputs/types/StructuredOutputControllerRunResponse.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
import type * as Vapi from "../../../index.js";
44

55
export type StructuredOutputControllerRunResponse =
6-
| Vapi.StructuredOutputControllerRunResponseZero
7-
| Vapi.StructuredOutputRerunResponse;
6+
| Vapi.StructuredOutputRerunResponse
7+
| Vapi.StructuredOutputControllerRunResponseOne;

src/api/resources/structuredOutputs/types/StructuredOutputControllerRunResponseZero.ts renamed to src/api/resources/structuredOutputs/types/StructuredOutputControllerRunResponseOne.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import type * as Vapi from "../../../index.js";
44

5-
export interface StructuredOutputControllerRunResponseZero {
5+
export interface StructuredOutputControllerRunResponseOne {
66
/**
77
* These are the structured outputs whose conditions gated them, keyed by
88
* structured output id. Absent when nothing was skipped. An entry here means

‎src/api/resources/structuredOutputs/types/UpdateStructuredOutputDtoModel.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import type * as Vapi from "../../../index.js";
66
* This is the model that will be used to extract the structured output.
77
*
88
* To provide your own custom system and user prompts for structured output extraction, populate the messages array with your system and user messages. You can specify liquid templating in your system and user messages.
9-
* Between the system or user messages, you must reference either 'transcript' or 'messages' with the `{{}}` syntax to access the conversation history.
9+
* For text extraction, you must reference 'transcript', 'messages', or 'messagesWithConfidence' with the `{{}}` syntax to access the conversation history.
10+
* In structured outputs, `{{messages}}` includes conversation text and tool calls/results but omits caller transcription-confidence fields. Text extraction can use `{{messagesWithConfidence}}` when the output needs the original message history with transcription confidence. These variables also apply in structured-output schema descriptions. Audio-targeted (`messages-with-audio`) extraction ignores custom messages. Stored call artifacts and API messages retain their confidence data.
1011
* Between the system or user messages, you must reference a variation of the structured output with the `{{}}` syntax to access the structured output definition.
1112
* i.e.:
1213
* `{{structuredOutput}}`
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export * from "./StructuredOutputControllerFindAllRequestSortBy.js";
22
export * from "./StructuredOutputControllerFindAllRequestSortOrder.js";
33
export * from "./StructuredOutputControllerRunResponse.js";
4-
export * from "./StructuredOutputControllerRunResponseZero.js";
4+
export * from "./StructuredOutputControllerRunResponseOne.js";
55
export * from "./UpdateStructuredOutputDtoConditionsItem.js";
66
export * from "./UpdateStructuredOutputDtoModel.js";
77
export * from "./UpdateStructuredOutputDtoType.js";

‎src/api/resources/tools/types/CreateToolsRequest.ts‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export type CreateToolsRequest =
2424
| Vapi.CreateToolsRequest.GohighlevelContactCreate
2525
| Vapi.CreateToolsRequest.GohighlevelContactGet
2626
| Vapi.CreateToolsRequest.SipRequest
27-
| Vapi.CreateToolsRequest.Voicemail;
27+
| Vapi.CreateToolsRequest.Voicemail
28+
| Vapi.CreateToolsRequest.Code;
2829

2930
export namespace CreateToolsRequest {
3031
export interface ApiRequest extends Vapi.CreateApiRequestToolDto {
@@ -115,6 +116,10 @@ export namespace CreateToolsRequest {
115116
type: "voicemail";
116117
}
117118

119+
export interface Code extends Vapi.CreateCodeToolDto {
120+
type: "code";
121+
}
122+
118123
export type Response =
119124
| Vapi.CreateToolsRequest.ApiRequest
120125
| Vapi.CreateToolsRequest.Dtmf
@@ -137,5 +142,6 @@ export namespace CreateToolsRequest {
137142
| Vapi.CreateToolsRequest.GohighlevelContactCreate
138143
| Vapi.CreateToolsRequest.GohighlevelContactGet
139144
| Vapi.CreateToolsRequest.SipRequest
140-
| Vapi.CreateToolsRequest.Voicemail;
145+
| Vapi.CreateToolsRequest.Voicemail
146+
| Vapi.CreateToolsRequest.Code;
141147
}

‎src/api/resources/tools/types/CreateToolsResponse.ts‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export type CreateToolsResponse =
2626
| Vapi.CreateToolsResponse.GohighlevelContactCreate
2727
| Vapi.CreateToolsResponse.GohighlevelContactGet
2828
| Vapi.CreateToolsResponse.SipRequest
29-
| Vapi.CreateToolsResponse.Voicemail;
29+
| Vapi.CreateToolsResponse.Voicemail
30+
| Vapi.CreateToolsResponse.Ghl;
3031

3132
export namespace CreateToolsResponse {
3233
export interface ApiRequest extends Vapi.ApiRequestTool {
@@ -125,6 +126,10 @@ export namespace CreateToolsResponse {
125126
type: "voicemail";
126127
}
127128

129+
export interface Ghl extends Vapi.GhlTool {
130+
type: "ghl";
131+
}
132+
128133
export type Response =
129134
| Vapi.CreateToolsResponse.ApiRequest
130135
| Vapi.CreateToolsResponse.Code
@@ -149,5 +154,6 @@ export namespace CreateToolsResponse {
149154
| Vapi.CreateToolsResponse.GohighlevelContactCreate
150155
| Vapi.CreateToolsResponse.GohighlevelContactGet
151156
| Vapi.CreateToolsResponse.SipRequest
152-
| Vapi.CreateToolsResponse.Voicemail;
157+
| Vapi.CreateToolsResponse.Voicemail
158+
| Vapi.CreateToolsResponse.Ghl;
153159
}

0 commit comments

Comments
 (0)