Skip to content

Commit

Permalink
bump openapi spec (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliothsu authored Oct 25, 2023
1 parent c16fe3a commit 9b413bb
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,10 @@
"enum": ["human", "no_human"],
"title": "Human Detection Result"
},
"do_not_call_result": {
"type": "boolean",
"title": "Do Not Call Result"
},
"to_number": { "type": "string", "title": "To Number" },
"from_number": { "type": "string", "title": "From Number" },
"agent": { "$ref": "#/components/schemas/Agent" },
Expand All @@ -1823,6 +1827,15 @@
"type": "string",
"enum": ["continue", "hangup"],
"title": "On No Human Answer"
},
"context": {
"additionalProperties": { "type": "string" },
"type": "object",
"title": "Context"
},
"run_do_not_call_detection": {
"type": "boolean",
"title": "Run Do Not Call Detection"
}
},
"type": "object",
Expand Down Expand Up @@ -1982,6 +1995,11 @@
"title": "On No Human Answer",
"default": "continue"
},
"run_do_not_call_detection": {
"type": "boolean",
"title": "Run Do Not Call Detection",
"default": false
},
"hipaa_compliant": {
"type": "boolean",
"title": "Hipaa Compliant",
Expand Down Expand Up @@ -2295,6 +2313,10 @@
"enum": ["human", "no_human"],
"title": "Human Detection Result"
},
"do_not_call_result": {
"type": "boolean",
"title": "Do Not Call Result"
},
"to_number": { "type": "string", "title": "To Number" },
"from_number": { "type": "string", "title": "From Number" },
"agent": { "type": "string", "format": "uuid", "title": "Agent" },
Expand All @@ -2321,6 +2343,15 @@
"type": "string",
"enum": ["continue", "hangup"],
"title": "On No Human Answer"
},
"context": {
"additionalProperties": { "type": "string" },
"type": "object",
"title": "Context"
},
"run_do_not_call_detection": {
"type": "boolean",
"title": "Run Do Not Call Detection"
}
},
"type": "object",
Expand Down Expand Up @@ -2520,7 +2551,8 @@
"enum": ["1", "2"],
"title": "Version",
"default": "2"
}
},
"speed": { "type": "number", "title": "Speed" }
},
"type": "object",
"required": ["id", "user_id", "type", "voice_id"],
Expand All @@ -2541,7 +2573,8 @@
"enum": ["1", "2"],
"title": "Version",
"default": "2"
}
},
"speed": { "type": "number", "title": "Speed" }
},
"type": "object",
"required": ["type", "voice_id"],
Expand Down Expand Up @@ -2581,6 +2614,13 @@
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Version"
},
"speed": {
"anyOf": [
{ "type": "number" },
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Speed"
}
},
"type": "object",
Expand Down

0 comments on commit 9b413bb

Please sign in to comment.