From 057912a0bac78d57e6c95ccecd865f27476e5006 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 9 Aug 2019 03:55:27 -0400 Subject: fix the provided openapi spec a lot of things marked required actually aren't --- ynab-api/docs/TransactionSummary.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ynab-api/docs/TransactionSummary.md') diff --git a/ynab-api/docs/TransactionSummary.md b/ynab-api/docs/TransactionSummary.md index bad149c..fd93b15 100644 --- a/ynab-api/docs/TransactionSummary.md +++ b/ynab-api/docs/TransactionSummary.md @@ -7,17 +7,17 @@ Name | Type | Description | Notes **id** | **String** | | **date** | [***String**](string.md) | The transaction date in ISO format (e.g. 2016-12-01) | **amount** | **i64** | The transaction amount in milliunits format | -**memo** | **String** | | +**memo** | **String** | | [optional] **cleared** | **String** | The cleared status of the transaction | **approved** | **bool** | Whether or not the transaction is approved | -**flag_color** | **String** | The transaction flag | +**flag_color** | **String** | The transaction flag | [optional] **account_id** | **String** | | -**payee_id** | **String** | | -**category_id** | **String** | | -**transfer_account_id** | **String** | If a transfer transaction, the account to which it transfers | -**transfer_transaction_id** | **String** | If a transfer transaction, the id of transaction on the other side of the transfer | -**matched_transaction_id** | **String** | If transaction is matched, the id of the matched transaction | -**import_id** | **String** | If the Transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'. | +**payee_id** | **String** | | [optional] +**category_id** | **String** | | [optional] +**transfer_account_id** | **String** | If a transfer transaction, the account to which it transfers | [optional] +**transfer_transaction_id** | **String** | If a transfer transaction, the id of transaction on the other side of the transfer | [optional] +**matched_transaction_id** | **String** | If transaction is matched, the id of the matched transaction | [optional] +**import_id** | **String** | If the Transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'. | [optional] **deleted** | **bool** | Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) -- cgit v1.2.3-54-g00ecf