changedOutput schema / properties / result / properties / deliveries / items / properties / event_type / enum
Previous value: -[
- "inbound.received",
- "inbound.scan_available",
- "inbound.context_ready",
- "inbound.rule_matched",
- "inbound.action_completed",
- "inbound.action_failed",
- "mail.submitted",
- "mail.ready",
- "mail.mailed",
- "mail.delivered",
- "mail.failed",
- "mail.cancelled",
- "mail.pending_approval",
- "webhook.endpoint_verification",
- "webhook.test"
-]New value: +[
+ "inbound.received",
+ "inbound.action.requested",
+ "inbound.action.completed",
+ "inbound.pages_ready",
+ "inbound.keywords_matched",
+ "webhook.test"
+]
addedOutput schema / properties / result / properties / deliveries / items / properties / item_id
Added value: +{
+ "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"
+ }
+ ]
+}
changedOutput schema / properties / result / properties / deliveries / items / properties / last_error / anyOf
Previous value: -[
- {
- "enum": [
- "http_error",
- "timeout",
- "network_error",
- "url_blocked",
- "dns_failed",
- "dns_timeout",
- "verification_failed",
- "invalid_response",
- "worker_failed",
- "lease_expired",
- "endpoint_changed",
- "endpoint_paused",
- "agent_unavailable"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "enum": [
+ "http_error",
+ "timeout",
+ "network_error",
+ "url_blocked",
+ "dns_failed",
+ "dns_timeout",
+ "invalid_response",
+ "worker_failed",
+ "lease_expired",
+ "endpoint_changed",
+ "endpoint_paused",
+ "agent_unavailable"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / action
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "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"
+ },
+ "state": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "scan",
+ "forward",
+ "discard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type",
+ "state"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / api_url
Added value: +{
+ "pattern": "^https:\\/\\/mailbox\\.bot\\/api\\/v1\\/inbound-items\\/[a-f0-9-]{36}$",
+ "type": "string"
+}
removedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / data
Removed 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"
- }
- ]
- },
- "assignment_revision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "bundle_id": {
- "description": "Immutable captured scan bundle. Must occur with request_id; verify it equals the authorized captured-scan response's scan.bundle_id.",
- "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"
- },
- "challenge": {
- "pattern": "^[A-Za-z0-9_-]{32,128}$",
- "type": "string"
- },
- "context_version": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "item_id": {
- "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"
- },
- "matched_rule_ids": {
- "items": {
- "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"
- },
- "maxItems": 10,
- "type": "array"
- },
- "ocr_status": {
- "enum": [
- "pending",
- "processing",
- "ready",
- "needs_review",
- "failed"
- ],
- "type": "string"
- },
- "reference_code": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "request_id": {
- "description": "Captured sample handling request. Must occur with bundle_id and item_id, only for member_sample/test scan_available, context_ready or rule_matched; never with context_version.",
- "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"
- },
- "resource_url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- },
- "source_domain": {
- "enum": [
- "managed_inbound",
- "internal_team",
- "member_sample",
- "sandbox",
- "outbound",
- "control"
- ],
- "type": "string"
- }
- },
- "type": "object"
-}
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / event_type / enum
Previous value: -[
- "inbound.received",
- "inbound.scan_available",
- "inbound.context_ready",
- "inbound.rule_matched",
- "inbound.action_completed",
- "inbound.action_failed",
- "mail.submitted",
- "mail.ready",
- "mail.mailed",
- "mail.delivered",
- "mail.failed",
- "mail.cancelled",
- "mail.pending_approval",
- "webhook.endpoint_verification",
- "webhook.test"
-]New value: +[
+ "inbound.received",
+ "inbound.action.requested",
+ "inbound.action.completed",
+ "inbound.pages_ready",
+ "inbound.keywords_matched",
+ "webhook.test"
+]
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / item
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "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"
+ },
+ "kind": {
+ "enum": [
+ "letter",
+ "package"
+ ],
+ "type": "string"
+ },
+ "pages": {
+ "additionalProperties": false,
+ "properties": {
+ "contents": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "envelope": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "envelope",
+ "contents"
+ ],
+ "type": "object"
+ },
+ "received_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"
+ },
+ "reference": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "scanned_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"
+ }
+ ]
+ },
+ "sender": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "reference",
+ "kind",
+ "sender",
+ "received_at",
+ "scanned_at",
+ "status",
+ "pages"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / keywords
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "matched_terms": {
+ "items": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "page_numbers": {
+ "items": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "rule": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "rule_id": {
+ "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"
+ },
+ "where": {
+ "enum": [
+ "envelope",
+ "contents"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule_id",
+ "rule",
+ "matched_terms",
+ "where",
+ "page_numbers"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / pages_url
Added value: +{
+ "pattern": "^https:\\/\\/mailbox\\.bot\\/api\\/v1\\/inbound-items\\/[a-f0-9-]{36}\\/pages$",
+ "type": "string"
+}
addedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / sample
Added value: +{
+ "type": "boolean"
+}
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / properties / schema_version / const
Previous value: -1New value: +2
changedOutput schema / properties / result / properties / deliveries / items / properties / payload / required
Previous value: -[
- "schema_version",
- "event_id",
- "event_type",
- "created_at",
- "environment",
- "data"
-]New value: +[
+ "schema_version",
+ "event_id",
+ "event_type",
+ "created_at",
+ "environment",
+ "sample",
+ "item",
+ "keywords"
+]
changedOutput schema / properties / result / properties / deliveries / items / required
Previous value: -[
- "id",
- "endpoint_id",
- "endpoint_revision",
- "event_id",
- "event_type",
- "environment",
- "status",
- "attempts",
- "payload",
- "created_at",
- "next_attempt_at",
- "completed_at",
- "last_http_status",
- "last_error"
-]New value: +[
+ "id",
+ "endpoint_id",
+ "endpoint_revision",
+ "event_id",
+ "event_type",
+ "environment",
+ "item_id",
+ "status",
+ "attempts",
+ "payload",
+ "created_at",
+ "next_attempt_at",
+ "completed_at",
+ "last_http_status",
+ "last_error"
+]