diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 0fc92d0bb..5e002b93e 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -17189,58 +17189,24 @@ }, "serverMessages": { "type": "array", - "enum": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", - "speech-update", - "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", - "tool-calls", - "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ], - "example": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "speech-update", - "status-update", - "tool-calls", - "transfer-destination-request", - "user-interrupted" - ], - "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.", "items": { - "type": "string", - "enum": [ + "required": false, + "example": [ "conversation-update", "end-of-call-report", "function-call", "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", "speech-update", "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", "tool-calls", "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ] + "user-interrupted" + ], + "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.", + "type": "array", + "items": { + "type": "object" + } } }, "silenceTimeoutSeconds": { @@ -17669,7 +17635,10 @@ "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" } - } + }, + "required": [ + "serverMessages" + ] }, "AssistantOverrides": { "type": "object", @@ -17950,58 +17919,24 @@ }, "serverMessages": { "type": "array", - "enum": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", - "speech-update", - "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", - "tool-calls", - "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ], - "example": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "speech-update", - "status-update", - "tool-calls", - "transfer-destination-request", - "user-interrupted" - ], - "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.", "items": { - "type": "string", - "enum": [ + "required": false, + "example": [ "conversation-update", "end-of-call-report", "function-call", "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", "speech-update", "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", "tool-calls", "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ] + "user-interrupted" + ], + "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.", + "type": "array", + "items": { + "type": "object" + } } }, "silenceTimeoutSeconds": { @@ -18434,7 +18369,10 @@ "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" } - } + }, + "required": [ + "serverMessages" + ] }, "SquadMemberDTO": { "type": "object", @@ -20586,58 +20524,24 @@ }, "serverMessages": { "type": "array", - "enum": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", - "speech-update", - "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", - "tool-calls", - "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ], - "example": [ - "conversation-update", - "end-of-call-report", - "function-call", - "hang", - "speech-update", - "status-update", - "tool-calls", - "transfer-destination-request", - "user-interrupted" - ], - "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.", "items": { - "type": "string", - "enum": [ + "required": false, + "example": [ "conversation-update", "end-of-call-report", "function-call", "hang", - "language-changed", - "language-change-detected", - "model-output", - "phone-call-control", "speech-update", "status-update", - "transcript", - "transcript[transcriptType=\"final\"]", "tool-calls", "transfer-destination-request", - "transfer-update", - "user-interrupted", - "voice-input" - ] + "user-interrupted" + ], + "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.", + "type": "array", + "items": { + "type": "object" + } } }, "silenceTimeoutSeconds": { @@ -21066,7 +20970,10 @@ "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" } - } + }, + "required": [ + "serverMessages" + ] }, "ByoPhoneNumber": { "type": "object",