changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "caller_id_status": {
- "description": "Caller ID verification state.",
- "enum": [
- "verified",
- "unverified"
- ],
- "type": "string"
- },
- "phone_number": {
- "description": "Authenticated account caller ID in E.164 format.",
- "type": "string"
- }
- },
- "required": [
- "phone_number",
- "caller_id_status"
- ],
- "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"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "caller_id_status": {
+ "enum": [
+ "verified",
+ "unverified"
+ ],
+ "type": "string"
+ },
+ "inbound_configured": {
+ "type": "boolean"
+ },
+ "inbound_enabled": {
+ "type": "boolean"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "kind": {
+ "enum": [
+ "caller",
+ "owned"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "number_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "outbound_configured": {
+ "type": "boolean"
+ },
+ "outbound_enabled": {
+ "type": "boolean"
+ },
+ "phone_number": {
+ "type": "string"
+ },
+ "settings": {
+ "additionalProperties": false,
+ "description": "Number-management settings, included only with numbers:read permission.",
+ "properties": {
+ "country": {
+ "type": "string"
+ },
+ "release_at": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retained": {
+ "type": "boolean"
+ },
+ "revision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "country",
+ "revision",
+ "retained",
+ "release_at"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "provisioning",
+ "requirements",
+ "active",
+ "suspended",
+ "release_pending",
+ "released",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "workspace_revision": {
+ "description": "Included only with numbers:read; use when changing the default number.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "number_id",
+ "phone_number",
+ "label",
+ "kind",
+ "state",
+ "caller_id_status",
+ "inbound_enabled",
+ "outbound_enabled",
+ "inbound_configured",
+ "outbound_configured",
+ "is_default"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "next_action": {
+ "type": "string"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation_id",
+ "status"
+ ],
+ "type": "object"
+ }
+]