changedOutput schema / anyOf
Previous value: -[
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "const": "outbound",
- "type": "string"
- },
- "enabled": {
- "type": "boolean"
- },
- "number_id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "settings": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "fallback": {
- "default": "Take a message",
- "enum": [
- "Take a message",
- "Decline call"
- ],
- "type": "string"
- },
- "gptLiveVoice": {
- "enum": [
- "marin",
- "cedar",
- "beacon",
- "cinder",
- "stone",
- "vesper",
- "quartz",
- "ripple",
- "willow",
- "gleam",
- "meridian",
- "delta",
- "bossa",
- "tempo",
- "nuri",
- "juni",
- "flitz",
- "brise",
- "sillage",
- "nira",
- "harema",
- "shida",
- "noeul"
- ],
- "type": "string"
- },
- "hours": {
- "default": "Always available",
- "enum": [
- "Always available",
- "Weekdays, 9am–5pm"
- ],
- "type": "string"
- },
- "language": {
- "maxLength": 20,
- "type": "string"
- },
- "mcpConnectorIds": {
- "default": [],
- "items": {
- "pattern": "^mc_[a-f0-9]{32}$",
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "name": {
- "maxLength": 60,
- "type": "string"
- },
- "speed": {
- "default": 1.05,
- "maximum": 1.5,
- "minimum": 0.7,
- "type": "number"
- },
- "timezone": {
- "default": "America/Chicago",
- "type": "string"
- },
- "voice": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "voicesByLocale": {
- "additionalProperties": {
- "maxLength": 100,
- "type": "string"
- },
- "default": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "name",
- "voice",
- "speed",
- "language",
- "mcpConnectorIds",
- "voicesByLocale",
- "hours",
- "fallback",
- "timezone"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "number_id",
- "enabled",
- "revision",
- "direction",
- "settings"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "const": "inbound",
- "type": "string"
- },
- "enabled": {
- "type": "boolean"
- },
- "number_id": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "settings": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "fallback": {
- "default": "Take a message",
- "enum": [
- "Take a message",
- "Decline call"
- ],
- "type": "string"
- },
- "gptLiveVoice": {
- "enum": [
- "marin",
- "cedar",
- "beacon",
- "cinder",
- "stone",
- "vesper",
- "quartz",
- "ripple",
- "willow",
- "gleam",
- "meridian",
- "delta",
- "bossa",
- "tempo",
- "nuri",
- "juni",
- "flitz",
- "brise",
- "sillage",
- "nira",
- "harema",
- "shida",
- "noeul"
- ],
- "type": "string"
- },
- "greeting": {
- "maxLength": 4000,
- "type": "string"
- },
- "hours": {
- "default": "Always available",
- "enum": [
- "Always available",
- "Weekdays, 9am–5pm"
- ],
- "type": "string"
- },
- "instructions": {
- "maxLength": 40000,
- "type": "string"
- },
- "language": {
- "maxLength": 20,
- "type": "string"
- },
- "mcpConnectorIds": {
- "default": [],
- "items": {
- "pattern": "^mc_[a-f0-9]{32}$",
- "type": "string"
- },
- "maxItems": 10,
- "type": "array"
- },
- "name": {
- "maxLength": 60,
- "type": "string"
- },
- "speed": {
- "default": 1.05,
- "maximum": 1.5,
- "minimum": 0.7,
- "type": "number"
- },
- "timezone": {
- "default": "America/Chicago",
- "type": "string"
- },
- "voice": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "voicesByLocale": {
- "additionalProperties": {
- "maxLength": 100,
- "type": "string"
- },
- "default": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "name",
- "voice",
- "speed",
- "language",
- "mcpConnectorIds",
- "voicesByLocale",
- "hours",
- "fallback",
- "timezone",
- "greeting",
- "instructions"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "number_id",
- "enabled",
- "revision",
- "direction",
- "settings"
- ],
- "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: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "const": "outbound",
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "number_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "revision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "settings": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "backgroundSound": {
+ "default": "none",
+ "enum": [
+ "none",
+ "office",
+ "crowd",
+ "city",
+ "forest"
+ ],
+ "type": "string"
+ },
+ "backgroundVolume": {
+ "default": 1,
+ "maximum": 2,
+ "minimum": 0.25,
+ "type": "number"
+ },
+ "fallback": {
+ "default": "Take a message",
+ "enum": [
+ "Take a message",
+ "Decline call"
+ ],
+ "type": "string"
+ },
+ "gptLiveVoice": {
+ "enum": [
+ "marin",
+ "cedar",
+ "beacon",
+ "cinder",
+ "stone",
+ "vesper",
+ "quartz",
+ "ripple",
+ "willow",
+ "gleam",
+ "meridian",
+ "delta",
+ "bossa",
+ "tempo",
+ "nuri",
+ "juni",
+ "flitz",
+ "brise",
+ "sillage",
+ "nira",
+ "harema",
+ "shida",
+ "noeul",
+ "alloy",
+ "ash",
+ "ballad",
+ "coral",
+ "echo",
+ "sage",
+ "shimmer",
+ "verse",
+ "calandria",
+ "compas",
+ "destello",
+ "hornero",
+ "luciernaga",
+ "halo",
+ "pearl"
+ ],
+ "type": "string"
+ },
+ "hours": {
+ "default": "Always available",
+ "enum": [
+ "Always available",
+ "Weekdays, 9am–5pm"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "mcpConnectorIds": {
+ "default": [],
+ "items": {
+ "pattern": "^mc_[a-f0-9]{32}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 60,
+ "type": "string"
+ },
+ "speed": {
+ "default": 1.05,
+ "maximum": 1.5,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "timezone": {
+ "default": "America/Chicago",
+ "type": "string"
+ },
+ "voice": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "voicesByLocale": {
+ "additionalProperties": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "default": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "name",
+ "voice",
+ "speed",
+ "backgroundSound",
+ "backgroundVolume",
+ "language",
+ "mcpConnectorIds",
+ "voicesByLocale",
+ "hours",
+ "fallback",
+ "timezone"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "number_id",
+ "enabled",
+ "revision",
+ "direction",
+ "settings"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "const": "inbound",
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "number_id": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "revision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "settings": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "additionalGreetings": {
+ "items": {
+ "maxLength": 600,
+ "type": "string"
+ },
+ "maxItems": 9,
+ "type": "array"
+ },
+ "backgroundSound": {
+ "default": "none",
+ "enum": [
+ "none",
+ "office",
+ "crowd",
+ "city",
+ "forest"
+ ],
+ "type": "string"
+ },
+ "backgroundVolume": {
+ "default": 1,
+ "maximum": 2,
+ "minimum": 0.25,
+ "type": "number"
+ },
+ "fallback": {
+ "default": "Take a message",
+ "enum": [
+ "Take a message",
+ "Decline call"
+ ],
+ "type": "string"
+ },
+ "gptLiveVoice": {
+ "enum": [
+ "marin",
+ "cedar",
+ "beacon",
+ "cinder",
+ "stone",
+ "vesper",
+ "quartz",
+ "ripple",
+ "willow",
+ "gleam",
+ "meridian",
+ "delta",
+ "bossa",
+ "tempo",
+ "nuri",
+ "juni",
+ "flitz",
+ "brise",
+ "sillage",
+ "nira",
+ "harema",
+ "shida",
+ "noeul",
+ "alloy",
+ "ash",
+ "ballad",
+ "coral",
+ "echo",
+ "sage",
+ "shimmer",
+ "verse",
+ "calandria",
+ "compas",
+ "destello",
+ "hornero",
+ "luciernaga",
+ "halo",
+ "pearl"
+ ],
+ "type": "string"
+ },
+ "greeting": {
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "hours": {
+ "default": "Always available",
+ "enum": [
+ "Always available",
+ "Weekdays, 9am–5pm"
+ ],
+ "type": "string"
+ },
+ "instructions": {
+ "maxLength": 40000,
+ "type": "string"
+ },
+ "language": {
+ "maxLength": 20,
+ "type": "string"
+ },
+ "mcpConnectorIds": {
+ "default": [],
+ "items": {
+ "pattern": "^mc_[a-f0-9]{32}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "name": {
+ "maxLength": 60,
+ "type": "string"
+ },
+ "speed": {
+ "default": 1.05,
+ "maximum": 1.5,
+ "minimum": 0.7,
+ "type": "number"
+ },
+ "timezone": {
+ "default": "America/Chicago",
+ "type": "string"
+ },
+ "voice": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "voicesByLocale": {
+ "additionalProperties": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "default": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "name",
+ "voice",
+ "speed",
+ "backgroundSound",
+ "backgroundVolume",
+ "language",
+ "mcpConnectorIds",
+ "voicesByLocale",
+ "hours",
+ "fallback",
+ "timezone",
+ "greeting",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "number_id",
+ "enabled",
+ "revision",
+ "direction",
+ "settings"
+ ],
+ "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"
+ }
+]