Skip to content

Commit

Permalink
feat(openapi): add enterprise endpoints and schemas, azure transcribe…
Browse files Browse the repository at this point in the history
…r support
  • Loading branch information
fern-api[bot] committed Dec 13, 2024
1 parent 5129ab9 commit a58bcb9
Showing 1 changed file with 165 additions and 0 deletions.
165 changes: 165 additions & 0 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3075,6 +3075,45 @@
}
]
}
},
"/enterprise": {
"post": {
"operationId": "EnterpriseInfoController_createEnterprise",
"summary": "Create Enterprise",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateEnterpriseInfoDTO"
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EnterpriseInfo"
}
}
}
},
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EnterpriseInfo"
}
}
}
}
}
}
}
},
"info": {
Expand Down Expand Up @@ -8938,6 +8977,10 @@
"$ref": "#/components/schemas/AssemblyAITranscriber",
"title": "AssemblyAI"
},
{
"$ref": "#/components/schemas/AzureSpeechTranscriber",
"title": "Azure"
},
{
"$ref": "#/components/schemas/CustomTranscriber",
"title": "CustomTranscriber"
Expand Down Expand Up @@ -9350,6 +9393,10 @@
"$ref": "#/components/schemas/AssemblyAITranscriber",
"title": "AssemblyAI"
},
{
"$ref": "#/components/schemas/AzureSpeechTranscriber",
"title": "Azure"
},
{
"$ref": "#/components/schemas/CustomTranscriber",
"title": "CustomTranscriber"
Expand Down Expand Up @@ -10793,6 +10840,10 @@
"$ref": "#/components/schemas/AssemblyAITranscriber",
"title": "AssemblyAI"
},
{
"$ref": "#/components/schemas/AzureSpeechTranscriber",
"title": "Azure"
},
{
"$ref": "#/components/schemas/CustomTranscriber",
"title": "CustomTranscriber"
Expand Down Expand Up @@ -11229,6 +11280,10 @@
"$ref": "#/components/schemas/AssemblyAITranscriber",
"title": "AssemblyAI"
},
{
"$ref": "#/components/schemas/AzureSpeechTranscriber",
"title": "Azure"
},
{
"$ref": "#/components/schemas/CustomTranscriber",
"title": "CustomTranscriber"
Expand Down Expand Up @@ -15667,6 +15722,29 @@
"metadata"
]
},
"ChatDTO": {
"type": "object",
"properties": {
"messages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OpenAIMessage"
}
},
"assistantId": {
"type": "string"
},
"assistant": {
"$ref": "#/components/schemas/CreateAssistantDTO"
},
"assistantOverrides": {
"$ref": "#/components/schemas/AssistantOverrides"
}
},
"required": [
"messages"
]
},
"AnthropicCredential": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -20882,6 +20960,93 @@
}
}
},
"CreateEnterpriseInfoDTO": {
"type": "object",
"properties": {
"companySize": {
"type": "string",
"description": "The size of the company."
},
"country": {
"type": "string",
"description": "The location of the company."
},
"companyType": {
"type": "string",
"description": "The type of the company."
},
"callVolume": {
"type": "string",
"description": "The call volume of the company."
},
"orgId": {
"type": "string",
"description": "The optional ID of the organization."
},
"email": {
"type": "string",
"description": "The optional email of the company."
}
},
"required": [
"companySize",
"country",
"companyType",
"callVolume"
]
},
"EnterpriseInfo": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the enterprise info."
},
"companySize": {
"type": "string",
"description": "The size of the company."
},
"country": {
"type": "string",
"description": "The location of the company."
},
"companyType": {
"type": "string",
"description": "The type of the company."
},
"callVolume": {
"type": "string",
"description": "The call volume of the company."
},
"orgId": {
"type": "string",
"description": "The optional ID of the organization."
},
"email": {
"type": "string",
"description": "The optional email of the company."
},
"createdAt": {
"format": "date-time",
"type": "string",
"description": "The ISO 8601 date-time string of when the enterprise info was created."
},
"updatedAt": {
"format": "date-time",
"type": "string",
"description": "The ISO 8601 date-time string of when the enterprise info was last updated."
}
},
"required": [
"id",
"companySize",
"country",
"companyType",
"callVolume",
"createdAt",
"updatedAt"
]
},
"ClientMessageConversationUpdate": {
"type": "object",
"properties": {
Expand Down

0 comments on commit a58bcb9

Please sign in to comment.