changedOutput schema / properties / result / properties / deliveries / items / properties / event_type / enum
Previous value: -[
- "inbound.received",
- "inbound.action.requested",
- "inbound.action.completed",
- "inbound.pages_ready",
- "inbound.keywords_matched",
- "webhook.test"
-]New value: +[
+ "inbound.received",
+ "inbound.action.requested",
+ "inbound.action.completed",
+ "inbound.pages_ready",
+ "inbound.keywords_matched",
+ "mail.pending_approval",
+ "mail.submitted",
+ "mail.ready",
+ "mail.mailed",
+ "mail.delivered",
+ "mail.failed",
+ "mail.cancelled",
+ "batch.submitted",
+ "batch.completed",
+ "batch.partially_completed",
+ "batch.failed",
+ "batch.cancelled",
+ "webhook.test"
+]
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / api_url / pattern
Previous value: -"^https:\\/\\/mailbox\\.bot\\/api\\/v1\\/inbound-items\\/[a-f0-9-]{36}$"New value: +"^https:\\/\\/mailbox\\.bot\\/api\\/v1\\/(inbound-items|mail|batch-mail)\\/[a-f0-9-]{36}$"
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / batch
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "agent_id": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "completed_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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "error_message": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
+ "type": "string"
+ },
+ "job_name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mail_type": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mailing_class": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "pieces": {
+ "additionalProperties": false,
+ "properties": {
+ "failed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "mailed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "mailed",
+ "failed"
+ ],
+ "type": "object"
+ },
+ "refunded_cents": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "total_cents": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "agent_id",
+ "job_name",
+ "status",
+ "mail_type",
+ "mailing_class",
+ "pieces",
+ "total_cents",
+ "refunded_cents",
+ "created_at",
+ "completed_at",
+ "error_message"
+ ],
+ "type": "object"
+}
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / event_type / enum
Previous value: -[
- "inbound.received",
- "inbound.action.requested",
- "inbound.action.completed",
- "inbound.pages_ready",
- "inbound.keywords_matched",
- "webhook.test"
-]New value: +[
+ "inbound.received",
+ "inbound.action.requested",
+ "inbound.action.completed",
+ "inbound.pages_ready",
+ "inbound.keywords_matched",
+ "mail.pending_approval",
+ "mail.submitted",
+ "mail.ready",
+ "mail.mailed",
+ "mail.delivered",
+ "mail.failed",
+ "mail.cancelled",
+ "batch.submitted",
+ "batch.completed",
+ "batch.partially_completed",
+ "batch.failed",
+ "batch.cancelled",
+ "webhook.test"
+]
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / mail
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "agent_id": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "carrier": {
+ "anyOf": [
+ {
+ "maxLength": 40,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cost_cents": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "delivered_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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error_message": {
+ "anyOf": [
+ {
+ "maxLength": 500,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
+ "type": "string"
+ },
+ "mail_class": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mailed_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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "metadata": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recipient": {
+ "additionalProperties": false,
+ "properties": {
+ "city": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "company": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "zip": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "company",
+ "city",
+ "state",
+ "zip"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "tracking_number": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "agent_id",
+ "status",
+ "mail_class",
+ "recipient",
+ "carrier",
+ "tracking_number",
+ "cost_cents",
+ "created_at",
+ "mailed_at",
+ "delivered_at",
+ "error_message",
+ "metadata"
+ ],
+ "type": "object"
+}
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / required
Previous value: -[
- "schema_version",
- "event_id",
- "event_type",
- "created_at",
- "environment",
- "sample",
- "item",
- "keywords"
-]New value: +[
+ "schema_version",
+ "event_id",
+ "event_type",
+ "created_at",
+ "environment",
+ "sample"
+]