Skip to content

Commit fb17949

Browse files
authored
Merge pull request #33 from VapiAI/fern-bot/2025-12-16T19-25Z
🌿 Fern Regeneration -- December 16, 2025
2 parents b318be4 + d6663fc commit fb17949

File tree

188 files changed

+3086
-436
lines changed

Some content is hidden

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

188 files changed

+3086
-436
lines changed

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.11.0",
3+
"version": "0.12.0",
44
"private": false,
55
"repository": "github:VapiAI/server-sdk-typescript",
66
"type": "commonjs",

reference.md

Lines changed: 156 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,10 @@ await client.calls.create();
618618
<dd>
619619

620620
```typescript
621-
await client.calls.callControllerFindAllPaginated();
621+
await client.calls.callControllerFindAllPaginated({
622+
assistantIdAny: "assistant-1,assistant-2,assistant-3",
623+
customerNumberAny: "+1234567890,+0987654321"
624+
});
622625

623626
```
624627
</dd>
@@ -821,7 +824,9 @@ await client.calls.update({
821824
<dd>
822825

823826
```typescript
824-
await client.chats.list();
827+
await client.chats.list({
828+
assistantIdAny: "assistant-1,assistant-2,assistant-3"
829+
});
825830

826831
```
827832
</dd>
@@ -918,6 +923,57 @@ await client.chats.create({
918923
</dl>
919924

920925

926+
</dd>
927+
</dl>
928+
</details>
929+
930+
<details><summary><code>client.chats.<a href="/src/api/resources/chats/client/Client.ts">chatControllerChatsExport</a>({ ...params }) -> void</code></summary>
931+
<dl>
932+
<dd>
933+
934+
#### 🔌 Usage
935+
936+
<dl>
937+
<dd>
938+
939+
<dl>
940+
<dd>
941+
942+
```typescript
943+
await client.chats.chatControllerChatsExport({
944+
assistantIdAny: "assistant-1,assistant-2,assistant-3"
945+
});
946+
947+
```
948+
</dd>
949+
</dl>
950+
</dd>
951+
</dl>
952+
953+
#### ⚙️ Parameters
954+
955+
<dl>
956+
<dd>
957+
958+
<dl>
959+
<dd>
960+
961+
**request:** `Vapi.ChatControllerChatsExportRequest`
962+
963+
</dd>
964+
</dl>
965+
966+
<dl>
967+
<dd>
968+
969+
**requestOptions:** `ChatsClient.RequestOptions`
970+
971+
</dd>
972+
</dl>
973+
</dd>
974+
</dl>
975+
976+
921977
</dd>
922978
</dl>
923979
</details>
@@ -1139,9 +1195,7 @@ await client.campaigns.campaignControllerFindAll();
11391195

11401196
```typescript
11411197
await client.campaigns.campaignControllerCreate({
1142-
name: "Q2 Sales Campaign",
1143-
phoneNumberId: "phoneNumberId",
1144-
customers: [{}]
1198+
name: "Q2 Sales Campaign"
11451199
});
11461200

11471201
```
@@ -1345,7 +1399,10 @@ await client.campaigns.campaignControllerUpdate({
13451399
<dd>
13461400

13471401
```typescript
1348-
await client.sessions.list();
1402+
await client.sessions.list({
1403+
assistantIdAny: "assistant-1,assistant-2,assistant-3",
1404+
customerNumberAny: "+1234567890,+0987654321"
1405+
});
13491406

13501407
```
13511408
</dd>
@@ -1426,6 +1483,58 @@ await client.sessions.create();
14261483
</dl>
14271484

14281485

1486+
</dd>
1487+
</dl>
1488+
</details>
1489+
1490+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">sessionControllerSessionsExport</a>({ ...params }) -> void</code></summary>
1491+
<dl>
1492+
<dd>
1493+
1494+
#### 🔌 Usage
1495+
1496+
<dl>
1497+
<dd>
1498+
1499+
<dl>
1500+
<dd>
1501+
1502+
```typescript
1503+
await client.sessions.sessionControllerSessionsExport({
1504+
assistantIdAny: "assistant-1,assistant-2,assistant-3",
1505+
customerNumberAny: "+1234567890,+0987654321"
1506+
});
1507+
1508+
```
1509+
</dd>
1510+
</dl>
1511+
</dd>
1512+
</dl>
1513+
1514+
#### ⚙️ Parameters
1515+
1516+
<dl>
1517+
<dd>
1518+
1519+
<dl>
1520+
<dd>
1521+
1522+
**request:** `Vapi.SessionControllerSessionsExportRequest`
1523+
1524+
</dd>
1525+
</dl>
1526+
1527+
<dl>
1528+
<dd>
1529+
1530+
**requestOptions:** `SessionsClient.RequestOptions`
1531+
1532+
</dd>
1533+
</dl>
1534+
</dd>
1535+
</dl>
1536+
1537+
14291538
</dd>
14301539
</dl>
14311540
</details>
@@ -2141,6 +2250,47 @@ await client.tools.update({
21412250
</dl>
21422251

21432252

2253+
</dd>
2254+
</dl>
2255+
</details>
2256+
2257+
<details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">toolControllerTestCodeExecution</a>() -> Vapi.ToolControllerTestCodeExecutionResponse</code></summary>
2258+
<dl>
2259+
<dd>
2260+
2261+
#### 🔌 Usage
2262+
2263+
<dl>
2264+
<dd>
2265+
2266+
<dl>
2267+
<dd>
2268+
2269+
```typescript
2270+
await client.tools.toolControllerTestCodeExecution();
2271+
2272+
```
2273+
</dd>
2274+
</dl>
2275+
</dd>
2276+
</dl>
2277+
2278+
#### ⚙️ Parameters
2279+
2280+
<dl>
2281+
<dd>
2282+
2283+
<dl>
2284+
<dd>
2285+
2286+
**requestOptions:** `ToolsClient.RequestOptions`
2287+
2288+
</dd>
2289+
</dl>
2290+
</dd>
2291+
</dl>
2292+
2293+
21442294
</dd>
21452295
</dl>
21462296
</details>
@@ -2696,71 +2846,6 @@ await client.structuredOutputs.structuredOutputControllerRun({
26962846
</dl>
26972847

26982848

2699-
</dd>
2700-
</dl>
2701-
</details>
2702-
2703-
<details><summary><code>client.structuredOutputs.<a href="/src/api/resources/structuredOutputs/client/Client.ts">structuredOutputControllerSuggest</a>({ ...params }) -> Record<string, unknown>[]</code></summary>
2704-
<dl>
2705-
<dd>
2706-
2707-
#### 📝 Description
2708-
2709-
<dl>
2710-
<dd>
2711-
2712-
<dl>
2713-
<dd>
2714-
2715-
Analyzes assistant configuration and generates contextual structured output recommendations
2716-
</dd>
2717-
</dl>
2718-
</dd>
2719-
</dl>
2720-
2721-
#### 🔌 Usage
2722-
2723-
<dl>
2724-
<dd>
2725-
2726-
<dl>
2727-
<dd>
2728-
2729-
```typescript
2730-
await client.structuredOutputs.structuredOutputControllerSuggest({
2731-
assistantId: "550e8400-e29b-41d4-a716-446655440000"
2732-
});
2733-
2734-
```
2735-
</dd>
2736-
</dl>
2737-
</dd>
2738-
</dl>
2739-
2740-
#### ⚙️ Parameters
2741-
2742-
<dl>
2743-
<dd>
2744-
2745-
<dl>
2746-
<dd>
2747-
2748-
**request:** `Vapi.GenerateStructuredOutputSuggestionsDto`
2749-
2750-
</dd>
2751-
</dl>
2752-
2753-
<dl>
2754-
<dd>
2755-
2756-
**requestOptions:** `StructuredOutputsClient.RequestOptions`
2757-
2758-
</dd>
2759-
</dl>
2760-
</dd>
2761-
</dl>
2762-
2763-
27642849
</dd>
27652850
</dl>
27662851
</details>

src/BaseClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export function normalizeClientOptions<T extends BaseClientOptions>(options: T):
4040
{
4141
"X-Fern-Language": "JavaScript",
4242
"X-Fern-SDK-Name": "@vapi-ai/server-sdk",
43-
"X-Fern-SDK-Version": "0.11.0",
44-
"User-Agent": "@vapi-ai/server-sdk/0.11.0",
43+
"X-Fern-SDK-Version": "0.12.0",
44+
"User-Agent": "@vapi-ai/server-sdk/0.12.0",
4545
"X-Fern-Runtime": core.RUNTIME.type,
4646
"X-Fern-Runtime-Version": core.RUNTIME.version,
4747
},

src/api/resources/assistants/types/UpdateAssistantDtoCredentialsItem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ export type UpdateAssistantDtoCredentialsItem =
5353
| Vapi.CreateSlackOAuth2AuthorizationCredentialDto
5454
| Vapi.CreateGoHighLevelMcpCredentialDto
5555
| Vapi.CreateInworldCredentialDto
56-
| Vapi.CreateMinimaxCredentialDto;
56+
| Vapi.CreateMinimaxCredentialDto
57+
| Vapi.CreateWellSaidCredentialDto;

src/api/resources/assistants/types/UpdateAssistantDtoVoice.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export type UpdateAssistantDtoVoice =
1616
| Vapi.NeuphonicVoice
1717
| Vapi.OpenAiVoice
1818
| Vapi.PlayHtVoice
19+
| Vapi.WellSaidVoice
1920
| Vapi.RimeAiVoice
2021
| Vapi.SmallestAiVoice
2122
| Vapi.TavusVoice

src/api/resources/calls/client/Client.ts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,10 @@ export class CallsClient {
229229
* @param {CallsClient.RequestOptions} requestOptions - Request-specific configuration.
230230
*
231231
* @example
232-
* await client.calls.callControllerFindAllPaginated()
232+
* await client.calls.callControllerFindAllPaginated({
233+
* assistantIdAny: "assistant-1,assistant-2,assistant-3",
234+
* customerNumberAny: "+1234567890,+0987654321"
235+
* })
233236
*/
234237
public callControllerFindAllPaginated(
235238
request: Vapi.CallControllerFindAllPaginatedRequest = {},
@@ -243,8 +246,10 @@ export class CallsClient {
243246
requestOptions?: CallsClient.RequestOptions,
244247
): Promise<core.WithRawResponse<Vapi.CallPaginatedResponse>> {
245248
const {
249+
assistantIdAny,
246250
assistantOverrides,
247251
customer,
252+
customerNumberAny,
248253
assistantId,
249254
assistantName,
250255
squadId,
@@ -257,6 +262,7 @@ export class CallsClient {
257262
successEvaluation,
258263
endedReason,
259264
phoneNumberId,
265+
phoneNumberIdAny,
260266
structuredOutputs,
261267
score,
262268
page,
@@ -272,6 +278,10 @@ export class CallsClient {
272278
updatedAtLe,
273279
} = request;
274280
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
281+
if (assistantIdAny != null) {
282+
_queryParams.assistantIdAny = assistantIdAny;
283+
}
284+
275285
if (assistantOverrides != null) {
276286
_queryParams.assistantOverrides = toJson(assistantOverrides);
277287
}
@@ -280,6 +290,10 @@ export class CallsClient {
280290
_queryParams.customer = toJson(customer);
281291
}
282292

293+
if (customerNumberAny != null) {
294+
_queryParams.customerNumberAny = customerNumberAny;
295+
}
296+
283297
if (assistantId != null) {
284298
_queryParams.assistantId = assistantId;
285299
}
@@ -332,6 +346,14 @@ export class CallsClient {
332346
_queryParams.phoneNumberId = phoneNumberId;
333347
}
334348

349+
if (phoneNumberIdAny != null) {
350+
if (Array.isArray(phoneNumberIdAny)) {
351+
_queryParams.phoneNumberIdAny = phoneNumberIdAny.map((item) => item);
352+
} else {
353+
_queryParams.phoneNumberIdAny = phoneNumberIdAny;
354+
}
355+
}
356+
335357
if (structuredOutputs != null) {
336358
_queryParams.structuredOutputs = toJson(structuredOutputs);
337359
}

0 commit comments

Comments
 (0)