Skip to content

Commit

Permalink
feat(openapi.json): Add Oauth2AuthenticationSession and update XAiCre…
Browse files Browse the repository at this point in the history
…dential

This commit introduces a new object, Oauth2AuthenticationSession, which includes properties for the OAuth2 access token and its expiration. It also updates the XAiCredential schema to include an "authenticationSession" field, providing details about the authentication plan.
  • Loading branch information
fern-api[bot] committed Dec 7, 2024
1 parent 652d4b4 commit e13f1c0
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -15580,6 +15580,20 @@
"clientSecret"
]
},
"Oauth2AuthenticationSession": {
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"description": "This is the OAuth2 access token."
},
"expiresAt": {
"format": "date-time",
"type": "string",
"description": "This is the OAuth2 access token expiration."
}
}
},
"CustomLLMCredential": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -15620,6 +15634,14 @@
"type": "string",
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
},
"authenticationSession": {
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
"allOf": [
{
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
}
]
},
"name": {
"type": "string",
"description": "This is the name of credential. This is just for your reference.",
Expand Down Expand Up @@ -16928,6 +16950,14 @@
"type": "string",
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
},
"authenticationSession": {
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
"allOf": [
{
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
}
]
},
"name": {
"type": "string",
"description": "This is the name of credential. This is just for your reference.",
Expand All @@ -16941,7 +16971,8 @@
"id",
"orgId",
"createdAt",
"updatedAt"
"updatedAt",
"authenticationSession"
]
},
"XAiCredential": {
Expand Down

0 comments on commit e13f1c0

Please sign in to comment.