changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "default_number_id": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "operation_id": {
- "type": "string"
- },
- "phone_numbers": {
- "items": {
- "additionalProperties": false,
- "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"
- },
- "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"
- }
- },
- "required": [
- "number_id",
- "phone_number",
- "label",
- "kind",
- "state",
- "caller_id_status",
- "inbound_enabled",
- "outbound_enabled",
- "inbound_configured",
- "outbound_configured",
- "is_default"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "verify_number_url": {
- "format": "uri",
- "type": "string"
- },
- "workspace_revision": {
- "description": "Included only with numbers:read; use when changing the default number.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "verify_number_url",
- "default_number_id",
- "phone_numbers"
- ],
- "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"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "default_number_id": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "phone_numbers": {
+ "items": {
+ "additionalProperties": false,
+ "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"
+ },
+ "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"
+ },
+ "voice_system": {
+ "description": "cascade, or full_duplex (GPT Live with Patch's custom voices). Change it with update_phone_number.",
+ "enum": [
+ "cascade",
+ "full_duplex"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "country",
+ "revision",
+ "retained",
+ "voice_system",
+ "release_at"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "provisioning",
+ "requirements",
+ "active",
+ "suspended",
+ "release_pending",
+ "released",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "number_id",
+ "phone_number",
+ "label",
+ "kind",
+ "state",
+ "caller_id_status",
+ "inbound_enabled",
+ "outbound_enabled",
+ "inbound_configured",
+ "outbound_configured",
+ "is_default"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "verify_number_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "workspace_revision": {
+ "description": "Included only with numbers:read; use when changing the default number.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "verify_number_url",
+ "default_number_id",
+ "phone_numbers"
+ ],
+ "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"
+ }
+]