changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "ynab_delete_transaction",
- "type": "string"
- },
- "dry_run": {
- "const": true,
- "type": "boolean"
- },
- "request": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "dry_run",
- "action",
- "request"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "message": {
- "type": "string"
- },
- "transaction": {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "type": "string"
- },
- "account_name": {
- "type": "string"
- },
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "approved": {
- "type": "boolean"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "cleared": {
- "type": "string"
- },
- "date": {
- "type": "string"
- },
- "debt_transaction_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "deleted": {
- "type": "boolean"
- },
- "flag_color": {
- "type": [
- "string",
- "null"
- ]
- },
- "flag_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "import_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name_original": {
- "type": [
- "string",
- "null"
- ]
- },
- "matched_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "parent_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "subtransactions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "deleted": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "enum": [
- "transaction",
- "subtransaction"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "deleted"
- ],
- "type": "object"
- },
- "updated_balance": {
- "type": "number"
- },
- "updated_cleared_balance": {
- "type": "number"
- }
- },
- "required": [
- "message",
- "transaction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "ynab_delete_transaction",
+ "type": "string"
+ },
+ "confirmation_expires_at": {
+ "description": "Preview only: when confirmation_token expires (ISO 8601).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "confirmation_token": {
+ "description": "Preview only: single-use token that executes this exact request when passed back as confirmation_token.",
+ "type": "string"
+ },
+ "dry_run": {
+ "const": true,
+ "type": "boolean"
+ },
+ "request": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "dry_run",
+ "action",
+ "request"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confirmation_expires_at": {
+ "description": "Preview only: when confirmation_token expires (ISO 8601).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "confirmation_token": {
+ "description": "Preview only: single-use token that executes this exact request when passed back as confirmation_token.",
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "transaction": {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "type": "string"
+ },
+ "account_name": {
+ "type": "string"
+ },
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "approved": {
+ "type": "boolean"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cleared": {
+ "type": "string"
+ },
+ "date": {
+ "type": "string"
+ },
+ "debt_transaction_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "flag_color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "flag_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "import_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name_original": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "matched_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "parent_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "subtransactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "transaction",
+ "subtransaction"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "deleted"
+ ],
+ "type": "object"
+ },
+ "updated_balance": {
+ "type": "number"
+ },
+ "updated_cleared_balance": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "message",
+ "transaction"
+ ],
+ "type": "object"
+ }
+]