Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump for update openapi spec #409

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading