Skip to content

Commit 06b763e

Browse files
chore: update OpenAPI specification (#379)
Co-authored-by: GitHub Actions <[email protected]>
1 parent 21ffb0c commit 06b763e

File tree

1 file changed

+39
-132
lines changed

1 file changed

+39
-132
lines changed

fern/apis/api/openapi.json

Lines changed: 39 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -17189,58 +17189,24 @@
1718917189
},
1719017190
"serverMessages": {
1719117191
"type": "array",
17192-
"enum": [
17193-
"conversation-update",
17194-
"end-of-call-report",
17195-
"function-call",
17196-
"hang",
17197-
"language-changed",
17198-
"language-change-detected",
17199-
"model-output",
17200-
"phone-call-control",
17201-
"speech-update",
17202-
"status-update",
17203-
"transcript",
17204-
"transcript[transcriptType=\"final\"]",
17205-
"tool-calls",
17206-
"transfer-destination-request",
17207-
"transfer-update",
17208-
"user-interrupted",
17209-
"voice-input"
17210-
],
17211-
"example": [
17212-
"conversation-update",
17213-
"end-of-call-report",
17214-
"function-call",
17215-
"hang",
17216-
"speech-update",
17217-
"status-update",
17218-
"tool-calls",
17219-
"transfer-destination-request",
17220-
"user-interrupted"
17221-
],
17222-
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
1722317192
"items": {
17224-
"type": "string",
17225-
"enum": [
17193+
"required": false,
17194+
"example": [
1722617195
"conversation-update",
1722717196
"end-of-call-report",
1722817197
"function-call",
1722917198
"hang",
17230-
"language-changed",
17231-
"language-change-detected",
17232-
"model-output",
17233-
"phone-call-control",
1723417199
"speech-update",
1723517200
"status-update",
17236-
"transcript",
17237-
"transcript[transcriptType=\"final\"]",
1723817201
"tool-calls",
1723917202
"transfer-destination-request",
17240-
"transfer-update",
17241-
"user-interrupted",
17242-
"voice-input"
17243-
]
17203+
"user-interrupted"
17204+
],
17205+
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
17206+
"type": "array",
17207+
"items": {
17208+
"type": "object"
17209+
}
1724417210
}
1724517211
},
1724617212
"silenceTimeoutSeconds": {
@@ -17669,7 +17635,10 @@
1766917635
"keypadInputPlan": {
1767017636
"$ref": "#/components/schemas/KeypadInputPlan"
1767117637
}
17672-
}
17638+
},
17639+
"required": [
17640+
"serverMessages"
17641+
]
1767317642
},
1767417643
"AssistantOverrides": {
1767517644
"type": "object",
@@ -17950,58 +17919,24 @@
1795017919
},
1795117920
"serverMessages": {
1795217921
"type": "array",
17953-
"enum": [
17954-
"conversation-update",
17955-
"end-of-call-report",
17956-
"function-call",
17957-
"hang",
17958-
"language-changed",
17959-
"language-change-detected",
17960-
"model-output",
17961-
"phone-call-control",
17962-
"speech-update",
17963-
"status-update",
17964-
"transcript",
17965-
"transcript[transcriptType=\"final\"]",
17966-
"tool-calls",
17967-
"transfer-destination-request",
17968-
"transfer-update",
17969-
"user-interrupted",
17970-
"voice-input"
17971-
],
17972-
"example": [
17973-
"conversation-update",
17974-
"end-of-call-report",
17975-
"function-call",
17976-
"hang",
17977-
"speech-update",
17978-
"status-update",
17979-
"tool-calls",
17980-
"transfer-destination-request",
17981-
"user-interrupted"
17982-
],
17983-
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
1798417922
"items": {
17985-
"type": "string",
17986-
"enum": [
17923+
"required": false,
17924+
"example": [
1798717925
"conversation-update",
1798817926
"end-of-call-report",
1798917927
"function-call",
1799017928
"hang",
17991-
"language-changed",
17992-
"language-change-detected",
17993-
"model-output",
17994-
"phone-call-control",
1799517929
"speech-update",
1799617930
"status-update",
17997-
"transcript",
17998-
"transcript[transcriptType=\"final\"]",
1799917931
"tool-calls",
1800017932
"transfer-destination-request",
18001-
"transfer-update",
18002-
"user-interrupted",
18003-
"voice-input"
18004-
]
17933+
"user-interrupted"
17934+
],
17935+
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
17936+
"type": "array",
17937+
"items": {
17938+
"type": "object"
17939+
}
1800517940
}
1800617941
},
1800717942
"silenceTimeoutSeconds": {
@@ -18434,7 +18369,10 @@
1843418369
"keypadInputPlan": {
1843518370
"$ref": "#/components/schemas/KeypadInputPlan"
1843618371
}
18437-
}
18372+
},
18373+
"required": [
18374+
"serverMessages"
18375+
]
1843818376
},
1843918377
"SquadMemberDTO": {
1844018378
"type": "object",
@@ -20586,58 +20524,24 @@
2058620524
},
2058720525
"serverMessages": {
2058820526
"type": "array",
20589-
"enum": [
20590-
"conversation-update",
20591-
"end-of-call-report",
20592-
"function-call",
20593-
"hang",
20594-
"language-changed",
20595-
"language-change-detected",
20596-
"model-output",
20597-
"phone-call-control",
20598-
"speech-update",
20599-
"status-update",
20600-
"transcript",
20601-
"transcript[transcriptType=\"final\"]",
20602-
"tool-calls",
20603-
"transfer-destination-request",
20604-
"transfer-update",
20605-
"user-interrupted",
20606-
"voice-input"
20607-
],
20608-
"example": [
20609-
"conversation-update",
20610-
"end-of-call-report",
20611-
"function-call",
20612-
"hang",
20613-
"speech-update",
20614-
"status-update",
20615-
"tool-calls",
20616-
"transfer-destination-request",
20617-
"user-interrupted"
20618-
],
20619-
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
2062020527
"items": {
20621-
"type": "string",
20622-
"enum": [
20528+
"required": false,
20529+
"example": [
2062320530
"conversation-update",
2062420531
"end-of-call-report",
2062520532
"function-call",
2062620533
"hang",
20627-
"language-changed",
20628-
"language-change-detected",
20629-
"model-output",
20630-
"phone-call-control",
2063120534
"speech-update",
2063220535
"status-update",
20633-
"transcript",
20634-
"transcript[transcriptType=\"final\"]",
2063520536
"tool-calls",
2063620537
"transfer-destination-request",
20637-
"transfer-update",
20638-
"user-interrupted",
20639-
"voice-input"
20640-
]
20538+
"user-interrupted"
20539+
],
20540+
"description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,user-interrupted. You can check the shape of the messages in ServerMessage schema.",
20541+
"type": "array",
20542+
"items": {
20543+
"type": "object"
20544+
}
2064120545
}
2064220546
},
2064320547
"silenceTimeoutSeconds": {
@@ -21066,7 +20970,10 @@
2106620970
"keypadInputPlan": {
2106720971
"$ref": "#/components/schemas/KeypadInputPlan"
2106820972
}
21069-
}
20973+
},
20974+
"required": [
20975+
"serverMessages"
20976+
]
2107020977
},
2107120978
"ByoPhoneNumber": {
2107220979
"type": "object",

0 commit comments

Comments
 (0)