changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "call_id": {
- "description": "Call identifier used with get_call, end_call and set_call_visibility.",
- "type": "string"
- },
- "ended": {
- "description": "Whether an end request was applied; false if already terminal.",
- "type": "boolean"
- },
- "message": {
- "description": "Wrap-up or already-ended explanation.",
- "type": "string"
- },
- "status": {
- "description": "Current call lifecycle state.",
- "enum": [
- "queued",
- "ringing",
- "in_progress",
- "completed",
- "answered_silently",
- "no_answer",
- "busy",
- "voicemail",
- "failed",
- "rejected",
- "canceled",
- "declined_recording",
- "opted_out"
- ],
- "type": "string"
- }
- },
- "required": [
- "call_id",
- "status",
- "ended",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "error": {
- "description": "Machine-readable failure code.",
- "type": "string"
- },
- "message": {
- "description": "Explanation or recovery guidance.",
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "call_id": {
+ "description": "Call identifier used with get_call, end_call and set_call_visibility.",
+ "type": "string"
+ },
+ "ended": {
+ "description": "Whether an end request was applied; false if already terminal.",
+ "type": "boolean"
+ },
+ "message": {
+ "description": "Wrap-up or already-ended explanation.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Current call lifecycle state.",
+ "enum": [
+ "queued",
+ "ringing",
+ "in_progress",
+ "completed",
+ "answered_silently",
+ "no_answer",
+ "busy",
+ "voicemail",
+ "failed",
+ "rejected",
+ "canceled",
+ "declined_recording",
+ "opted_out"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "call_id",
+ "status",
+ "ended",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "description": "Machine-readable failure code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Explanation or recovery guidance.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "next_action": {
+ "type": "string"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation_id",
+ "status"
+ ],
+ "type": "object"
+ }
+]