Skip to content

Commit 8cbf8c5

Browse files
Merge remote-tracking branch 'origin/main' into bryant/billing-faq
2 parents fbf9d2b + 3c22533 commit 8cbf8c5

File tree

10 files changed

+124
-6
lines changed

10 files changed

+124
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
**/.preview/**
1+
**/.definition
2+
**/.preview/**

fern/apis/api/generators.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ groups:
1111
generators:
1212
- name: fernapi/fern-python-sdk
1313
version: 4.3.8
14+
disable-examples: true
1415
api:
1516
settings:
1617
unions: v1
@@ -25,7 +26,8 @@ groups:
2526
ts-sdk:
2627
generators:
2728
- name: fernapi/fern-typescript-node-sdk
28-
version: 0.40.5
29+
version: 0.42.7
30+
disable-examples: true
2931
api:
3032
settings:
3133
unions: v1

fern/apis/api/openapi-overrides.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ paths:
183183
x-fern-sdk-group-name:
184184
- analytics
185185
x-fern-sdk-method-name: get
186+
get:
187+
x-fern-ignore: true
186188
/logs:
187189
get:
188190
x-fern-pagination: true
@@ -191,6 +193,56 @@ paths:
191193
x-fern-sdk-method-name: get
192194
components:
193195
schemas:
196+
FallbackAzureVoice:
197+
properties:
198+
voiceId:
199+
x-fern-type-name: FallbackAzureVoiceId
200+
oneOf:
201+
- x-fern-type-name: FallbackAzureVoiceIdEnum
202+
FallbackDeepgramVoice:
203+
properties:
204+
voiceId:
205+
x-fern-type-name: FallbackDeepgramVoiceId
206+
oneOf:
207+
- x-fern-type-name: FallbackDeepgramVoiceIdEnum
208+
FallbackElevenLabsVoice:
209+
properties:
210+
voiceId:
211+
x-fern-type-name: FallbackElevenLabsVoiceId
212+
oneOf:
213+
- x-fern-type-name: FallbackElevenLabsVoiceIdEnum
214+
provider:
215+
x-fern-type: literal<"11labs">
216+
FallbackOpenAIVoice:
217+
properties:
218+
voiceId:
219+
x-fern-type-name: FallbackOpenAIVoiceId
220+
oneOf:
221+
- x-fern-type-name: FallbackOpenAIVoiceIdEnum
222+
FallbackRimeAIVoice:
223+
properties:
224+
voiceId:
225+
x-fern-type-name: FallbackRimeAIVoiceId
226+
oneOf:
227+
- x-fern-type-name: FallbackRimeAIVoiceIdEnum
228+
FallbackPlayHTVoice:
229+
properties:
230+
voiceId:
231+
x-fern-type-name: FallbackPlayHTVoiceId
232+
oneOf:
233+
- x-fern-type-name: FallbackPlayHTVoiceIdEnum
234+
FallbackLMNTVoice:
235+
properties:
236+
voiceId:
237+
x-fern-type-name: FallbackLMNTVoiceId
238+
oneOf:
239+
- x-fern-type-name: FallbackLMNTVoiceIdEnum
240+
FallbackNeetsVoice:
241+
properties:
242+
voiceId:
243+
x-fern-type-name: FallbackNeetsVoiceId
244+
oneOf:
245+
- x-fern-type-name: FallbackNeetsVoiceIdEnum
194246
AzureVoice:
195247
properties:
196248
voiceId:

fern/apis/api/openapi.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15580,6 +15580,20 @@
1558015580
"clientSecret"
1558115581
]
1558215582
},
15583+
"Oauth2AuthenticationSession": {
15584+
"type": "object",
15585+
"properties": {
15586+
"accessToken": {
15587+
"type": "string",
15588+
"description": "This is the OAuth2 access token."
15589+
},
15590+
"expiresAt": {
15591+
"format": "date-time",
15592+
"type": "string",
15593+
"description": "This is the OAuth2 access token expiration."
15594+
}
15595+
}
15596+
},
1558315597
"CustomLLMCredential": {
1558415598
"type": "object",
1558515599
"properties": {
@@ -15620,6 +15634,14 @@
1562015634
"type": "string",
1562115635
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
1562215636
},
15637+
"authenticationSession": {
15638+
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
15639+
"allOf": [
15640+
{
15641+
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
15642+
}
15643+
]
15644+
},
1562315645
"name": {
1562415646
"type": "string",
1562515647
"description": "This is the name of credential. This is just for your reference.",
@@ -16928,6 +16950,14 @@
1692816950
"type": "string",
1692916951
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
1693016952
},
16953+
"authenticationSession": {
16954+
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
16955+
"allOf": [
16956+
{
16957+
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
16958+
}
16959+
]
16960+
},
1693116961
"name": {
1693216962
"type": "string",
1693316963
"description": "This is the name of credential. This is just for your reference.",
@@ -16941,7 +16971,8 @@
1694116971
"id",
1694216972
"orgId",
1694316973
"createdAt",
16944-
"updatedAt"
16974+
"updatedAt",
16975+
"authenticationSession"
1694516976
]
1694616977
},
1694716978
"XAiCredential": {

changelog/2024-12-05.mdx renamed to fern/changelog/2024-12-05.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1. **OAuth2 Support for Custom LLM Credentials and Webhooks**: You can now secure access to your [custom LLMs](https://docs.vapi.ai/customization/custom-llm/using-your-server#step-2-configuring-vapi-with-custom-llm) and [server urls (aka webhooks)](https://docs.vapi.ai/server-url) using OAuth2 (RFC 6749). Create a webhook credential with `CreateWebhookCredentialDTO` and specify the following information.
1+
1. **OAuth2 Support for Custom LLM Credentials and Webhooks**: You can now authorize access to your [custom LLMs](https://docs.vapi.ai/customization/custom-llm/using-your-server#step-2-configuring-vapi-with-custom-llm) and [server urls (aka webhooks)](https://docs.vapi.ai/server-url) using OAuth2 (RFC 6749).
2+
3+
For example, create a webhook credential with `CreateWebhookCredentialDTO` with the following payload:
24

35
```json
46
{
@@ -13,4 +15,10 @@
1315
}
1416
```
1517

18+
This returns a [`WebhookCredential`](https://api.vapi.ai/api) object as follows:
19+
20+
<Frame caption="Refer to the `WebhookCredential` schema for more information">
21+
<img src="../static/images/changelog/webhook-credential.png" />
22+
</Frame>
23+
1624
3. **Removal of Canonical Knowledge Base**: The ability to create, update, and use canoncial knowledge bases in your assistant has been removed from the API(as custom knowledge bases and the Trieve integration supports as superset of this functionality). Please update your implementations as endpoints and models referencing canoncial knowledge base schemas are no longer available.

fern/changelog/2024-12-06.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
1. **OAuth 2 Authentication for Custom LLM Models and Webhooks**: In addition to (AuthZ)[https://www.okta.com/identity-101/authentication-vs-authorization/], you can now now authenticate users accessing your [custom LLMs](https://docs.vapi.ai/customization/custom-llm/using-your-server#step-2-configuring-vapi-with-custom-llm) and [server urls (aka webhooks)](https://docs.vapi.ai/server-url) using OAuth2 (RFC 6749). Use the `authenticationSession` dictionary which contains an `accessToken` and `expiresAt` datetime to authenticate further requests to your custom LLM or server URL.
2+
3+
For example, create a webhook credential with `CreateCustomLLMCredentialDTO` with the following payload:
4+
```json
5+
{
6+
"provider": "custom-llm",
7+
"apiKey": "your-api-key-max-10000-characters",
8+
"authenticationPlan": {
9+
"type": "oauth2",
10+
"url": "https://your-url.com/your/path/token",
11+
"clientId": "your-client-id",
12+
"clientSecret": "your-client-secret"
13+
},
14+
"name": "your-credential-name-between-1-and-40-characters"
15+
}
16+
```
17+
18+
This returns a [`CustomLLMCredential`](https://api.vapi.ai/api) object as follows:
19+
20+
<Frame caption="Refer to the `CustomLLMCredential` schema for more information">
21+
<img src="../static/images/changelog/custom-llm-credential.png" />
22+
</Frame>
23+
24+
This can be used to authenticate successive requests to your custom LLM or server URL.

fern/customization/custom-voices/tavus.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ slug: customization/custom-voices/tavus
77

88
This guide outlines the procedure for integrating your custom replica with Tavus through the VAPI platform.
99

10-
<Note>An API subscription is required for this process to work.</Note>
10+
<Note>An API subscription is required for this process to work. This process is only required if you would like to use your **custom Tavus replicas**. This process is not required to use stock replicas on the Vapi platform.</Note>
1111

1212
To integrate your custom replica with [Tavus](https://platform.tavus.io/) using the VAPI platform, follow these steps.
1313

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "vapi",
3-
"version": "0.45.1"
3+
"version": "0.45.3"
44
}
286 KB
Loading
289 KB
Loading

0 commit comments

Comments
 (0)