Skip to content

Commit a58bcb9

Browse files
committed
feat(openapi): add enterprise endpoints and schemas, azure transcriber support
1 parent 5129ab9 commit a58bcb9

File tree

1 file changed

+165
-0
lines changed

1 file changed

+165
-0
lines changed

fern/apis/api/openapi.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3075,6 +3075,45 @@
30753075
}
30763076
]
30773077
}
3078+
},
3079+
"/enterprise": {
3080+
"post": {
3081+
"operationId": "EnterpriseInfoController_createEnterprise",
3082+
"summary": "Create Enterprise",
3083+
"parameters": [],
3084+
"requestBody": {
3085+
"required": true,
3086+
"content": {
3087+
"application/json": {
3088+
"schema": {
3089+
"$ref": "#/components/schemas/CreateEnterpriseInfoDTO"
3090+
}
3091+
}
3092+
}
3093+
},
3094+
"responses": {
3095+
"200": {
3096+
"description": "",
3097+
"content": {
3098+
"application/json": {
3099+
"schema": {
3100+
"$ref": "#/components/schemas/EnterpriseInfo"
3101+
}
3102+
}
3103+
}
3104+
},
3105+
"201": {
3106+
"description": "",
3107+
"content": {
3108+
"application/json": {
3109+
"schema": {
3110+
"$ref": "#/components/schemas/EnterpriseInfo"
3111+
}
3112+
}
3113+
}
3114+
}
3115+
}
3116+
}
30783117
}
30793118
},
30803119
"info": {
@@ -8938,6 +8977,10 @@
89388977
"$ref": "#/components/schemas/AssemblyAITranscriber",
89398978
"title": "AssemblyAI"
89408979
},
8980+
{
8981+
"$ref": "#/components/schemas/AzureSpeechTranscriber",
8982+
"title": "Azure"
8983+
},
89418984
{
89428985
"$ref": "#/components/schemas/CustomTranscriber",
89438986
"title": "CustomTranscriber"
@@ -9350,6 +9393,10 @@
93509393
"$ref": "#/components/schemas/AssemblyAITranscriber",
93519394
"title": "AssemblyAI"
93529395
},
9396+
{
9397+
"$ref": "#/components/schemas/AzureSpeechTranscriber",
9398+
"title": "Azure"
9399+
},
93539400
{
93549401
"$ref": "#/components/schemas/CustomTranscriber",
93559402
"title": "CustomTranscriber"
@@ -10793,6 +10840,10 @@
1079310840
"$ref": "#/components/schemas/AssemblyAITranscriber",
1079410841
"title": "AssemblyAI"
1079510842
},
10843+
{
10844+
"$ref": "#/components/schemas/AzureSpeechTranscriber",
10845+
"title": "Azure"
10846+
},
1079610847
{
1079710848
"$ref": "#/components/schemas/CustomTranscriber",
1079810849
"title": "CustomTranscriber"
@@ -11229,6 +11280,10 @@
1122911280
"$ref": "#/components/schemas/AssemblyAITranscriber",
1123011281
"title": "AssemblyAI"
1123111282
},
11283+
{
11284+
"$ref": "#/components/schemas/AzureSpeechTranscriber",
11285+
"title": "Azure"
11286+
},
1123211287
{
1123311288
"$ref": "#/components/schemas/CustomTranscriber",
1123411289
"title": "CustomTranscriber"
@@ -15667,6 +15722,29 @@
1566715722
"metadata"
1566815723
]
1566915724
},
15725+
"ChatDTO": {
15726+
"type": "object",
15727+
"properties": {
15728+
"messages": {
15729+
"type": "array",
15730+
"items": {
15731+
"$ref": "#/components/schemas/OpenAIMessage"
15732+
}
15733+
},
15734+
"assistantId": {
15735+
"type": "string"
15736+
},
15737+
"assistant": {
15738+
"$ref": "#/components/schemas/CreateAssistantDTO"
15739+
},
15740+
"assistantOverrides": {
15741+
"$ref": "#/components/schemas/AssistantOverrides"
15742+
}
15743+
},
15744+
"required": [
15745+
"messages"
15746+
]
15747+
},
1567015748
"AnthropicCredential": {
1567115749
"type": "object",
1567215750
"properties": {
@@ -20882,6 +20960,93 @@
2088220960
}
2088320961
}
2088420962
},
20963+
"CreateEnterpriseInfoDTO": {
20964+
"type": "object",
20965+
"properties": {
20966+
"companySize": {
20967+
"type": "string",
20968+
"description": "The size of the company."
20969+
},
20970+
"country": {
20971+
"type": "string",
20972+
"description": "The location of the company."
20973+
},
20974+
"companyType": {
20975+
"type": "string",
20976+
"description": "The type of the company."
20977+
},
20978+
"callVolume": {
20979+
"type": "string",
20980+
"description": "The call volume of the company."
20981+
},
20982+
"orgId": {
20983+
"type": "string",
20984+
"description": "The optional ID of the organization."
20985+
},
20986+
"email": {
20987+
"type": "string",
20988+
"description": "The optional email of the company."
20989+
}
20990+
},
20991+
"required": [
20992+
"companySize",
20993+
"country",
20994+
"companyType",
20995+
"callVolume"
20996+
]
20997+
},
20998+
"EnterpriseInfo": {
20999+
"type": "object",
21000+
"properties": {
21001+
"id": {
21002+
"type": "string",
21003+
"description": "The unique identifier for the enterprise info."
21004+
},
21005+
"companySize": {
21006+
"type": "string",
21007+
"description": "The size of the company."
21008+
},
21009+
"country": {
21010+
"type": "string",
21011+
"description": "The location of the company."
21012+
},
21013+
"companyType": {
21014+
"type": "string",
21015+
"description": "The type of the company."
21016+
},
21017+
"callVolume": {
21018+
"type": "string",
21019+
"description": "The call volume of the company."
21020+
},
21021+
"orgId": {
21022+
"type": "string",
21023+
"description": "The optional ID of the organization."
21024+
},
21025+
"email": {
21026+
"type": "string",
21027+
"description": "The optional email of the company."
21028+
},
21029+
"createdAt": {
21030+
"format": "date-time",
21031+
"type": "string",
21032+
"description": "The ISO 8601 date-time string of when the enterprise info was created."
21033+
},
21034+
"updatedAt": {
21035+
"format": "date-time",
21036+
"type": "string",
21037+
"description": "The ISO 8601 date-time string of when the enterprise info was last updated."
21038+
}
21039+
},
21040+
"required": [
21041+
"id",
21042+
"companySize",
21043+
"country",
21044+
"companyType",
21045+
"callVolume",
21046+
"createdAt",
21047+
"updatedAt"
21048+
]
21049+
},
2088521050
"ClientMessageConversationUpdate": {
2088621051
"type": "object",
2088721052
"properties": {

0 commit comments

Comments
 (0)