Skip to content

Commit

Permalink
bump for update openapi spec (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 authored Oct 5, 2023
1 parent ef0edf7 commit 116de1d
Showing 1 changed file with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"responses": {
"200": {
"description": "Successful Response",
"content": { "application/json": { "schema": {} } }
"content": { "audio/mpeg": {} }
},
"422": {
"description": "Validation Error",
Expand Down Expand Up @@ -1792,10 +1792,10 @@
"default": false
},
"transcript": { "type": "string", "title": "Transcript" },
"machine_detection_result": {
"human_detection_result": {
"type": "string",
"enum": ["human", "machine"],
"title": "Machine Detection Result"
"enum": ["human", "no_human"],
"title": "Human Detection Result"
},
"to_number": { "type": "string", "title": "To Number" },
"from_number": { "type": "string", "title": "From Number" },
Expand All @@ -1818,6 +1818,11 @@
"type": "boolean",
"title": "Hipaa Compliant",
"default": false
},
"on_no_human_answer": {
"type": "string",
"enum": ["continue", "hangup"],
"title": "On No Human Answer"
}
},
"type": "object",
Expand Down Expand Up @@ -1971,10 +1976,10 @@
],
"title": "Agent"
},
"on_machine_answer": {
"on_no_human_answer": {
"type": "string",
"enum": ["continue", "hangup"],
"title": "On Machine Answer",
"title": "On No Human Answer",
"default": "continue"
},
"hipaa_compliant": {
Expand Down Expand Up @@ -2174,7 +2179,7 @@
"event_phone_call_ended",
"event_transcript",
"event_recording",
"event_machine_detection"
"event_human_detection"
],
"title": "EventType",
"description": "An enumeration."
Expand Down Expand Up @@ -2285,10 +2290,10 @@
"default": false
},
"transcript": { "type": "string", "title": "Transcript" },
"machine_detection_result": {
"human_detection_result": {
"type": "string",
"enum": ["human", "machine"],
"title": "Machine Detection Result"
"enum": ["human", "no_human"],
"title": "Human Detection Result"
},
"to_number": { "type": "string", "title": "To Number" },
"from_number": { "type": "string", "title": "From Number" },
Expand All @@ -2311,6 +2316,11 @@
"type": "boolean",
"title": "Hipaa Compliant",
"default": false
},
"on_no_human_answer": {
"type": "string",
"enum": ["continue", "hangup"],
"title": "On No Human Answer"
}
},
"type": "object",
Expand All @@ -2335,6 +2345,11 @@
"format": "uuid",
"title": "Inbound Agent"
},
"outbound_only": {
"type": "boolean",
"title": "Outbound Only",
"default": false
},
"number": { "type": "string", "title": "Number" }
},
"type": "object",
Expand Down Expand Up @@ -2369,6 +2384,11 @@
"active": { "type": "boolean", "title": "Active", "default": true },
"label": { "type": "string", "title": "Label", "default": "" },
"inbound_agent": { "$ref": "#/components/schemas/Agent" },
"outbound_only": {
"type": "boolean",
"title": "Outbound Only",
"default": false
},
"number": { "type": "string", "title": "Number" }
},
"type": "object",
Expand Down

0 comments on commit 116de1d

Please sign in to comment.