changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "properties": {
- "attachments": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "attempts": {
- "type": "integer"
- },
- "bcc": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "cc": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "created_at": {
- "type": "string"
- },
- "delivered_at": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "executor": {
- "type": "string"
- },
- "graph_draft_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "identity": {
- "type": "string"
- },
- "last_error": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "message_id": {
- "type": "string"
- },
- "next_attempt_at": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "ok": {
- "const": true
- },
- "send_at": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "to": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "ok",
- "id",
- "send_at",
- "created_at",
- "to",
- "cc",
- "bcc",
- "subject",
- "attachments",
- "message_id",
- "status",
- "attempts",
- "next_attempt_at",
- "last_error",
- "delivered_at",
- "identity",
- "executor",
- "graph_draft_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": true,
- "properties": {
- "code": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "fix": {
- "type": "string"
- },
- "ok": {
- "const": false
- },
- "operation_id": {
- "type": "string"
- }
- },
- "required": [
- "ok",
- "code",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "properties": {
+ "accepted": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "attachments": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "attempts": {
+ "type": "integer"
+ },
+ "bcc": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "cc": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "claimed_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "delivered_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "executor": {
+ "type": "string"
+ },
+ "graph_draft_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "identity": {
+ "type": "string"
+ },
+ "last_error": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "next_attempt_at": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ok": {
+ "const": true
+ },
+ "refused": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "send_at": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "ok",
+ "id",
+ "send_at",
+ "created_at",
+ "to",
+ "cc",
+ "bcc",
+ "subject",
+ "attachments",
+ "message_id",
+ "status",
+ "attempts",
+ "next_attempt_at",
+ "last_error",
+ "delivered_at",
+ "identity",
+ "executor",
+ "graph_draft_id",
+ "accepted",
+ "refused",
+ "code",
+ "claimed_at"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "fix": {
+ "type": "string"
+ },
+ "ok": {
+ "const": false
+ },
+ "operation_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "code",
+ "error"
+ ],
+ "type": "object"
+ }
+]