diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7eda09f..3c8ce97 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -135,18 +135,6 @@ pyproject.toml requirements.txt test-requirements.txt test/__init__.py -test/test_account_base.py -test/test_category_base.py -test/test_money_movement_base.py -test/test_month_detail_base.py -test/test_month_summary_base.py -test/test_post_payee.py -test/test_post_payee_wrapper.py -test/test_save_account_type.py -test/test_scheduled_sub_transaction_base.py -test/test_scheduled_transaction_summary_base.py -test/test_sub_transaction_base.py -test/test_transaction_summary_base.py tox.ini ynab/__init__.py ynab/api/__init__.py diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index a29ba3d..14d6b5d 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.21.0 +7.23.0 diff --git a/docs/Category.md b/docs/Category.md index 1ac1475..34bf38b 100644 --- a/docs/Category.md +++ b/docs/Category.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **category_group_name** | **str** | | [optional] **name** | **str** | | **hidden** | **bool** | Whether or not the category is hidden | +**internal** | **bool** | Whether or not the category is internal | **original_category_group_id** | **UUID** | DEPRECATED: No longer used. Value will always be null. | [optional] **note** | **str** | | [optional] **budgeted** | **int** | Assigned (budgeted) amount in milliunits format | diff --git a/docs/CategoryBase.md b/docs/CategoryBase.md index 0611faf..bf35d55 100644 --- a/docs/CategoryBase.md +++ b/docs/CategoryBase.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **category_group_name** | **str** | | [optional] **name** | **str** | | **hidden** | **bool** | Whether or not the category is hidden | +**internal** | **bool** | Whether or not the category is internal | **original_category_group_id** | **UUID** | DEPRECATED: No longer used. Value will always be null. | [optional] **note** | **str** | | [optional] **budgeted** | **int** | Assigned (budgeted) amount in milliunits format | diff --git a/docs/CategoryGroup.md b/docs/CategoryGroup.md index 43f86cf..a14b63a 100644 --- a/docs/CategoryGroup.md +++ b/docs/CategoryGroup.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **id** | **UUID** | | **name** | **str** | | **hidden** | **bool** | Whether or not the category group is hidden | +**internal** | **bool** | Whether or not the category group is internal | **deleted** | **bool** | Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests. | ## Example diff --git a/docs/CategoryGroupWithCategories.md b/docs/CategoryGroupWithCategories.md index 0efffea..496faad 100644 --- a/docs/CategoryGroupWithCategories.md +++ b/docs/CategoryGroupWithCategories.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **id** | **UUID** | | **name** | **str** | | **hidden** | **bool** | Whether or not the category group is hidden | +**internal** | **bool** | Whether or not the category group is internal | **deleted** | **bool** | Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests. | **categories** | [**List[Category]**](Category.md) | Category group categories. Amounts (assigned, activity, available, etc.) are specific to the current plan month (UTC). | diff --git a/docs/ExistingCategory.md b/docs/ExistingCategory.md index f189dd6..b0b20f5 100644 --- a/docs/ExistingCategory.md +++ b/docs/ExistingCategory.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | | [optional] **note** | **str** | | [optional] -**category_group_id** | **UUID** | | [optional] +**category_group_id** | **UUID** | The id of the category group to which this category belongs. An internal category group may not be specified. | [optional] **goal_target** | **int** | The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories. | [optional] **goal_target_date** | **date** | The goal target date in ISO format (e.g. 2016-12-01). | [optional] **goal_needs_whole_amount** | **bool** | Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'. | [optional] diff --git a/docs/NewCategory.md b/docs/NewCategory.md index a0c2922..25866f3 100644 --- a/docs/NewCategory.md +++ b/docs/NewCategory.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | | [optional] **note** | **str** | | [optional] -**category_group_id** | **UUID** | | [optional] +**category_group_id** | **UUID** | The id of the category group to which this category belongs. An internal category group may not be specified. | [optional] **goal_target** | **int** | The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories. | [optional] **goal_target_date** | **date** | The goal target date in ISO format (e.g. 2016-12-01). | [optional] **goal_needs_whole_amount** | **bool** | Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'. | [optional] diff --git a/docs/SaveCategory.md b/docs/SaveCategory.md index ea0eca3..428be64 100644 --- a/docs/SaveCategory.md +++ b/docs/SaveCategory.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | | [optional] **note** | **str** | | [optional] -**category_group_id** | **UUID** | | [optional] +**category_group_id** | **UUID** | The id of the category group to which this category belongs. An internal category group may not be specified. | [optional] **goal_target** | **int** | The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories. | [optional] **goal_target_date** | **date** | The goal target date in ISO format (e.g. 2016-12-01). | [optional] **goal_needs_whole_amount** | **bool** | Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'. | [optional] diff --git a/docs/TransactionsApi.md b/docs/TransactionsApi.md index 4e2f23b..30603f1 100644 --- a/docs/TransactionsApi.md +++ b/docs/TransactionsApi.md @@ -7,11 +7,11 @@ Method | HTTP request | Description [**create_transaction**](TransactionsApi.md#create_transaction) | **POST** /plans/{plan_id}/transactions | Create a single transaction or multiple transactions [**delete_transaction**](TransactionsApi.md#delete_transaction) | **DELETE** /plans/{plan_id}/transactions/{transaction_id} | Delete a transaction [**get_transaction_by_id**](TransactionsApi.md#get_transaction_by_id) | **GET** /plans/{plan_id}/transactions/{transaction_id} | Get a transaction -[**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /plans/{plan_id}/transactions | Get all transactions -[**get_transactions_by_account**](TransactionsApi.md#get_transactions_by_account) | **GET** /plans/{plan_id}/accounts/{account_id}/transactions | Get all account transactions -[**get_transactions_by_category**](TransactionsApi.md#get_transactions_by_category) | **GET** /plans/{plan_id}/categories/{category_id}/transactions | Get all category transactions -[**get_transactions_by_month**](TransactionsApi.md#get_transactions_by_month) | **GET** /plans/{plan_id}/months/{month}/transactions | Get all plan month transactions -[**get_transactions_by_payee**](TransactionsApi.md#get_transactions_by_payee) | **GET** /plans/{plan_id}/payees/{payee_id}/transactions | Get all payee transactions +[**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /plans/{plan_id}/transactions | Get transactions +[**get_transactions_by_account**](TransactionsApi.md#get_transactions_by_account) | **GET** /plans/{plan_id}/accounts/{account_id}/transactions | Get account transactions +[**get_transactions_by_category**](TransactionsApi.md#get_transactions_by_category) | **GET** /plans/{plan_id}/categories/{category_id}/transactions | Get category transactions +[**get_transactions_by_month**](TransactionsApi.md#get_transactions_by_month) | **GET** /plans/{plan_id}/months/{month}/transactions | Get plan month transactions +[**get_transactions_by_payee**](TransactionsApi.md#get_transactions_by_payee) | **GET** /plans/{plan_id}/payees/{payee_id}/transactions | Get payee transactions [**import_transactions**](TransactionsApi.md#import_transactions) | **POST** /plans/{plan_id}/transactions/import | Import transactions [**update_transaction**](TransactionsApi.md#update_transaction) | **PUT** /plans/{plan_id}/transactions/{transaction_id} | Update a transaction [**update_transactions**](TransactionsApi.md#update_transactions) | **PATCH** /plans/{plan_id}/transactions | Update multiple transactions @@ -263,9 +263,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions** -> TransactionsResponse get_transactions(plan_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) +> TransactionsResponse get_transactions(plan_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) -Get all transactions +Get transactions Returns plan transactions, excluding any pending transactions @@ -300,13 +300,14 @@ with ynab.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = ynab.TransactionsApi(api_client) plan_id = 'plan_id_example' # str | The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). - since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) + since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. (optional) + until_date = '2013-10-20' # date | If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) type = 'type_example' # str | If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. (optional) last_knowledge_of_server = 56 # int | The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. (optional) try: - # Get all transactions - api_response = api_instance.get_transactions(plan_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) + # Get transactions + api_response = api_instance.get_transactions(plan_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) print("The response of TransactionsApi->get_transactions:\n") pprint(api_response) except Exception as e: @@ -321,7 +322,8 @@ with ynab.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **plan_id** | **str**| The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | - **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] + **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. | [optional] + **until_date** | **date**| If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] **type** | **str**| If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. | [optional] **last_knowledge_of_server** | **int**| The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. | [optional] @@ -349,9 +351,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_by_account** -> TransactionsResponse get_transactions_by_account(plan_id, account_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) +> TransactionsResponse get_transactions_by_account(plan_id, account_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) -Get all account transactions +Get account transactions Returns all transactions for a specified account, excluding any pending transactions @@ -387,13 +389,14 @@ with ynab.ApiClient(configuration) as api_client: api_instance = ynab.TransactionsApi(api_client) plan_id = 'plan_id_example' # str | The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). account_id = 'account_id_example' # str | The id of the account - since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) + since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. (optional) + until_date = '2013-10-20' # date | If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) type = 'type_example' # str | If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. (optional) last_knowledge_of_server = 56 # int | The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. (optional) try: - # Get all account transactions - api_response = api_instance.get_transactions_by_account(plan_id, account_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) + # Get account transactions + api_response = api_instance.get_transactions_by_account(plan_id, account_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) print("The response of TransactionsApi->get_transactions_by_account:\n") pprint(api_response) except Exception as e: @@ -409,7 +412,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **plan_id** | **str**| The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | **account_id** | **str**| The id of the account | - **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] + **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. | [optional] + **until_date** | **date**| If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] **type** | **str**| If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. | [optional] **last_knowledge_of_server** | **int**| The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. | [optional] @@ -436,9 +440,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_by_category** -> HybridTransactionsResponse get_transactions_by_category(plan_id, category_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) +> HybridTransactionsResponse get_transactions_by_category(plan_id, category_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) -Get all category transactions +Get category transactions Returns all transactions for a specified category, excluding any pending transactions @@ -474,13 +478,14 @@ with ynab.ApiClient(configuration) as api_client: api_instance = ynab.TransactionsApi(api_client) plan_id = 'plan_id_example' # str | The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). category_id = 'category_id_example' # str | The id of the category - since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) + since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. (optional) + until_date = '2013-10-20' # date | If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) type = 'type_example' # str | If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. (optional) last_knowledge_of_server = 56 # int | The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. (optional) try: - # Get all category transactions - api_response = api_instance.get_transactions_by_category(plan_id, category_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) + # Get category transactions + api_response = api_instance.get_transactions_by_category(plan_id, category_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) print("The response of TransactionsApi->get_transactions_by_category:\n") pprint(api_response) except Exception as e: @@ -496,7 +501,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **plan_id** | **str**| The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | **category_id** | **str**| The id of the category | - **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] + **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. | [optional] + **until_date** | **date**| If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] **type** | **str**| If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. | [optional] **last_knowledge_of_server** | **int**| The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. | [optional] @@ -523,9 +529,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_by_month** -> TransactionsResponse get_transactions_by_month(plan_id, month, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) +> TransactionsResponse get_transactions_by_month(plan_id, month, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) -Get all plan month transactions +Get plan month transactions Returns all transactions for a specified month, excluding any pending transactions @@ -562,12 +568,13 @@ with ynab.ApiClient(configuration) as api_client: plan_id = 'plan_id_example' # str | The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). month = 'month_example' # str | The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) + until_date = '2013-10-20' # date | If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) type = 'type_example' # str | If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. (optional) last_knowledge_of_server = 56 # int | The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. (optional) try: - # Get all plan month transactions - api_response = api_instance.get_transactions_by_month(plan_id, month, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) + # Get plan month transactions + api_response = api_instance.get_transactions_by_month(plan_id, month, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) print("The response of TransactionsApi->get_transactions_by_month:\n") pprint(api_response) except Exception as e: @@ -584,6 +591,7 @@ Name | Type | Description | Notes **plan_id** | **str**| The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | **month** | **str**| The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) | **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] + **until_date** | **date**| If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] **type** | **str**| If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. | [optional] **last_knowledge_of_server** | **int**| The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. | [optional] @@ -610,9 +618,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_transactions_by_payee** -> HybridTransactionsResponse get_transactions_by_payee(plan_id, payee_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) +> HybridTransactionsResponse get_transactions_by_payee(plan_id, payee_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) -Get all payee transactions +Get payee transactions Returns all transactions for a specified payee, excluding any pending transactions @@ -648,13 +656,14 @@ with ynab.ApiClient(configuration) as api_client: api_instance = ynab.TransactionsApi(api_client) plan_id = 'plan_id_example' # str | The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). payee_id = 'payee_id_example' # str | The id of the payee - since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) + since_date = '2013-10-20' # date | If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. (optional) + until_date = '2013-10-20' # date | If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). (optional) type = 'type_example' # str | If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. (optional) last_knowledge_of_server = 56 # int | The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. (optional) try: - # Get all payee transactions - api_response = api_instance.get_transactions_by_payee(plan_id, payee_id, since_date=since_date, type=type, last_knowledge_of_server=last_knowledge_of_server) + # Get payee transactions + api_response = api_instance.get_transactions_by_payee(plan_id, payee_id, since_date=since_date, until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server) print("The response of TransactionsApi->get_transactions_by_payee:\n") pprint(api_response) except Exception as e: @@ -670,7 +679,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **plan_id** | **str**| The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | **payee_id** | **str**| The id of the payee | - **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] + **since_date** | **date**| If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. | [optional] + **until_date** | **date**| If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). | [optional] **type** | **str**| If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. | [optional] **last_knowledge_of_server** | **int**| The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. | [optional] diff --git a/open_api_spec.yaml b/open_api_spec.yaml index c054223..ad3951b 100644 --- a/open_api_spec.yaml +++ b/open_api_spec.yaml @@ -5,7 +5,7 @@ info: and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - version: 1.83.0 + version: 1.85.0 servers: - url: https://api.ynab.com/v1 security: @@ -1045,7 +1045,7 @@ paths: get: tags: - Transactions - summary: Get all transactions + summary: Get transactions description: Returns plan transactions, excluding any pending transactions operationId: getTransactions parameters: @@ -1061,6 +1061,14 @@ paths: in: query description: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + Defaults to one year ago when not specified. + schema: + type: string + format: date + - name: until_date + in: query + description: If specified, only transactions on or before this date will be + included. The date should be ISO formatted (e.g. 2016-12-30). schema: type: string format: date @@ -1353,7 +1361,7 @@ paths: get: tags: - Transactions - summary: Get all account transactions + summary: Get account transactions description: Returns all transactions for a specified account, excluding any pending transactions operationId: getTransactionsByAccount @@ -1376,6 +1384,14 @@ paths: in: query description: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + Defaults to one year ago when not specified. + schema: + type: string + format: date + - name: until_date + in: query + description: If specified, only transactions on or before this date will be + included. The date should be ISO formatted (e.g. 2016-12-30). schema: type: string format: date @@ -1412,7 +1428,7 @@ paths: get: tags: - Transactions - summary: Get all category transactions + summary: Get category transactions description: Returns all transactions for a specified category, excluding any pending transactions operationId: getTransactionsByCategory @@ -1435,6 +1451,14 @@ paths: in: query description: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + Defaults to one year ago when not specified. + schema: + type: string + format: date + - name: until_date + in: query + description: If specified, only transactions on or before this date will be + included. The date should be ISO formatted (e.g. 2016-12-30). schema: type: string format: date @@ -1471,7 +1495,7 @@ paths: get: tags: - Transactions - summary: Get all payee transactions + summary: Get payee transactions description: Returns all transactions for a specified payee, excluding any pending transactions operationId: getTransactionsByPayee @@ -1494,6 +1518,14 @@ paths: in: query description: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + Defaults to one year ago when not specified. + schema: + type: string + format: date + - name: until_date + in: query + description: If specified, only transactions on or before this date will be + included. The date should be ISO formatted (e.g. 2016-12-30). schema: type: string format: date @@ -1530,7 +1562,7 @@ paths: get: tags: - Transactions - summary: Get all plan month transactions + summary: Get plan month transactions description: Returns all transactions for a specified month, excluding any pending transactions operationId: getTransactionsByMonth @@ -1557,6 +1589,13 @@ paths: schema: type: string format: date + - name: until_date + in: query + description: If specified, only transactions on or before this date will be + included. The date should be ISO formatted (e.g. 2016-12-30). + schema: + type: string + format: date - name: type in: query description: If specified, only transactions of the specified type will be @@ -2235,6 +2274,7 @@ components: required: - deleted - hidden + - internal - id - name type: object @@ -2247,6 +2287,9 @@ components: hidden: type: boolean description: Whether or not the category group is hidden + internal: + type: boolean + description: Whether or not the category group is internal deleted: type: boolean description: Whether or not the category group has been deleted. Deleted @@ -2259,6 +2302,7 @@ components: - category_group_id - deleted - hidden + - internal - id - name type: object @@ -2276,6 +2320,9 @@ components: hidden: type: boolean description: Whether or not the category is hidden + internal: + type: boolean + description: Whether or not the category is internal original_category_group_id: type: - string @@ -3191,6 +3238,7 @@ components: category_group_id: type: string format: uuid + description: The id of the category group to which this category belongs. An internal category group may not be specified. goal_target: type: - integer diff --git a/pyproject.toml b/pyproject.toml index 4cf7379..c74487a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "ynab" version = "4.1.0" -description = "Official Python client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.83.0" +description = "Official Python client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.85.0" authors = ["YNAB"] license = "Apache-2.0" readme = "README.md" diff --git a/ynab/__init__.py b/ynab/__init__.py index af03f3b..4387350 100644 --- a/ynab/__init__.py +++ b/ynab/__init__.py @@ -7,14 +7,14 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 -__version__ = "4.0.0" +__version__ = "4.1.0" # Define package exports __all__ = [ diff --git a/ynab/api/accounts_api.py b/ynab/api/accounts_api.py index a16ba40..f0ffcd2 100644 --- a/ynab/api/accounts_api.py +++ b/ynab/api/accounts_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/categories_api.py b/ynab/api/categories_api.py index 55e50d8..c8268e5 100644 --- a/ynab/api/categories_api.py +++ b/ynab/api/categories_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/money_movements_api.py b/ynab/api/money_movements_api.py index 4c70671..554c8a5 100644 --- a/ynab/api/money_movements_api.py +++ b/ynab/api/money_movements_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/months_api.py b/ynab/api/months_api.py index fe888a2..0e2c3d4 100644 --- a/ynab/api/months_api.py +++ b/ynab/api/months_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/payee_locations_api.py b/ynab/api/payee_locations_api.py index 19e3d95..e09c7aa 100644 --- a/ynab/api/payee_locations_api.py +++ b/ynab/api/payee_locations_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/payees_api.py b/ynab/api/payees_api.py index a73eac0..6a8a51f 100644 --- a/ynab/api/payees_api.py +++ b/ynab/api/payees_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/plans_api.py b/ynab/api/plans_api.py index c5bbf83..4ae2bea 100644 --- a/ynab/api/plans_api.py +++ b/ynab/api/plans_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/scheduled_transactions_api.py b/ynab/api/scheduled_transactions_api.py index 9587451..c635326 100644 --- a/ynab/api/scheduled_transactions_api.py +++ b/ynab/api/scheduled_transactions_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api/transactions_api.py b/ynab/api/transactions_api.py index 9f2ea3d..8b055ca 100644 --- a/ynab/api/transactions_api.py +++ b/ynab/api/transactions_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -903,7 +903,8 @@ def _get_transaction_by_id_serialize( def get_transactions( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -919,14 +920,16 @@ def get_transactions( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> TransactionsResponse: - """Get all transactions + """Get transactions Returns plan transactions, excluding any pending transactions :param plan_id: The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required) :type plan_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -956,6 +959,7 @@ def get_transactions( _param = self._get_transactions_serialize( plan_id=plan_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -984,7 +988,8 @@ def get_transactions( def get_transactions_with_http_info( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1000,14 +1005,16 @@ def get_transactions_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[TransactionsResponse]: - """Get all transactions + """Get transactions Returns plan transactions, excluding any pending transactions :param plan_id: The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required) :type plan_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1037,6 +1044,7 @@ def get_transactions_with_http_info( _param = self._get_transactions_serialize( plan_id=plan_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1065,7 +1073,8 @@ def get_transactions_with_http_info( def get_transactions_without_preload_content( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1081,14 +1090,16 @@ def get_transactions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all transactions + """Get transactions Returns plan transactions, excluding any pending transactions :param plan_id: The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required) :type plan_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1118,6 +1129,7 @@ def get_transactions_without_preload_content( _param = self._get_transactions_serialize( plan_id=plan_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1142,6 +1154,7 @@ def _get_transactions_serialize( self, plan_id, since_date, + until_date, type, last_knowledge_of_server, _request_auth, @@ -1181,6 +1194,19 @@ def _get_transactions_serialize( else: _query_params.append(('since_date', since_date)) + if until_date is not None: + if isinstance(until_date, date): + _query_params.append( + ( + 'until_date', + until_date.strftime( + self.api_client.configuration.date_format + ) + ) + ) + else: + _query_params.append(('until_date', until_date)) + if type is not None: _query_params.append(('type', type)) @@ -1231,7 +1257,8 @@ def get_transactions_by_account( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], account_id: Annotated[StrictStr, Field(description="The id of the account")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1247,7 +1274,7 @@ def get_transactions_by_account( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> TransactionsResponse: - """Get all account transactions + """Get account transactions Returns all transactions for a specified account, excluding any pending transactions @@ -1255,8 +1282,10 @@ def get_transactions_by_account( :type plan_id: str :param account_id: The id of the account (required) :type account_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1287,6 +1316,7 @@ def get_transactions_by_account( plan_id=plan_id, account_id=account_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1315,7 +1345,8 @@ def get_transactions_by_account_with_http_info( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], account_id: Annotated[StrictStr, Field(description="The id of the account")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1331,7 +1362,7 @@ def get_transactions_by_account_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[TransactionsResponse]: - """Get all account transactions + """Get account transactions Returns all transactions for a specified account, excluding any pending transactions @@ -1339,8 +1370,10 @@ def get_transactions_by_account_with_http_info( :type plan_id: str :param account_id: The id of the account (required) :type account_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1371,6 +1404,7 @@ def get_transactions_by_account_with_http_info( plan_id=plan_id, account_id=account_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1399,7 +1433,8 @@ def get_transactions_by_account_without_preload_content( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], account_id: Annotated[StrictStr, Field(description="The id of the account")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1415,7 +1450,7 @@ def get_transactions_by_account_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all account transactions + """Get account transactions Returns all transactions for a specified account, excluding any pending transactions @@ -1423,8 +1458,10 @@ def get_transactions_by_account_without_preload_content( :type plan_id: str :param account_id: The id of the account (required) :type account_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1455,6 +1492,7 @@ def get_transactions_by_account_without_preload_content( plan_id=plan_id, account_id=account_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1479,6 +1517,7 @@ def _get_transactions_by_account_serialize( plan_id, account_id, since_date, + until_date, type, last_knowledge_of_server, _request_auth, @@ -1520,6 +1559,19 @@ def _get_transactions_by_account_serialize( else: _query_params.append(('since_date', since_date)) + if until_date is not None: + if isinstance(until_date, date): + _query_params.append( + ( + 'until_date', + until_date.strftime( + self.api_client.configuration.date_format + ) + ) + ) + else: + _query_params.append(('until_date', until_date)) + if type is not None: _query_params.append(('type', type)) @@ -1570,7 +1622,8 @@ def get_transactions_by_category( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], category_id: Annotated[StrictStr, Field(description="The id of the category")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1586,7 +1639,7 @@ def get_transactions_by_category( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> HybridTransactionsResponse: - """Get all category transactions + """Get category transactions Returns all transactions for a specified category, excluding any pending transactions @@ -1594,8 +1647,10 @@ def get_transactions_by_category( :type plan_id: str :param category_id: The id of the category (required) :type category_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1626,6 +1681,7 @@ def get_transactions_by_category( plan_id=plan_id, category_id=category_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1654,7 +1710,8 @@ def get_transactions_by_category_with_http_info( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], category_id: Annotated[StrictStr, Field(description="The id of the category")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1670,7 +1727,7 @@ def get_transactions_by_category_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[HybridTransactionsResponse]: - """Get all category transactions + """Get category transactions Returns all transactions for a specified category, excluding any pending transactions @@ -1678,8 +1735,10 @@ def get_transactions_by_category_with_http_info( :type plan_id: str :param category_id: The id of the category (required) :type category_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1710,6 +1769,7 @@ def get_transactions_by_category_with_http_info( plan_id=plan_id, category_id=category_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1738,7 +1798,8 @@ def get_transactions_by_category_without_preload_content( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], category_id: Annotated[StrictStr, Field(description="The id of the category")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1754,7 +1815,7 @@ def get_transactions_by_category_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all category transactions + """Get category transactions Returns all transactions for a specified category, excluding any pending transactions @@ -1762,8 +1823,10 @@ def get_transactions_by_category_without_preload_content( :type plan_id: str :param category_id: The id of the category (required) :type category_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1794,6 +1857,7 @@ def get_transactions_by_category_without_preload_content( plan_id=plan_id, category_id=category_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1818,6 +1882,7 @@ def _get_transactions_by_category_serialize( plan_id, category_id, since_date, + until_date, type, last_knowledge_of_server, _request_auth, @@ -1859,6 +1924,19 @@ def _get_transactions_by_category_serialize( else: _query_params.append(('since_date', since_date)) + if until_date is not None: + if isinstance(until_date, date): + _query_params.append( + ( + 'until_date', + until_date.strftime( + self.api_client.configuration.date_format + ) + ) + ) + else: + _query_params.append(('until_date', until_date)) + if type is not None: _query_params.append(('type', type)) @@ -1910,6 +1988,7 @@ def get_transactions_by_month( plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], month: Annotated[StrictStr, Field(description="The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC))")], since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -1925,7 +2004,7 @@ def get_transactions_by_month( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> TransactionsResponse: - """Get all plan month transactions + """Get plan month transactions Returns all transactions for a specified month, excluding any pending transactions @@ -1935,6 +2014,8 @@ def get_transactions_by_month( :type month: str :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -1965,6 +2046,7 @@ def get_transactions_by_month( plan_id=plan_id, month=month, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -1994,6 +2076,7 @@ def get_transactions_by_month_with_http_info( plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], month: Annotated[StrictStr, Field(description="The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC))")], since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -2009,7 +2092,7 @@ def get_transactions_by_month_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[TransactionsResponse]: - """Get all plan month transactions + """Get plan month transactions Returns all transactions for a specified month, excluding any pending transactions @@ -2019,6 +2102,8 @@ def get_transactions_by_month_with_http_info( :type month: str :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -2049,6 +2134,7 @@ def get_transactions_by_month_with_http_info( plan_id=plan_id, month=month, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -2078,6 +2164,7 @@ def get_transactions_by_month_without_preload_content( plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], month: Annotated[StrictStr, Field(description="The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC))")], since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -2093,7 +2180,7 @@ def get_transactions_by_month_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all plan month transactions + """Get plan month transactions Returns all transactions for a specified month, excluding any pending transactions @@ -2103,6 +2190,8 @@ def get_transactions_by_month_without_preload_content( :type month: str :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -2133,6 +2222,7 @@ def get_transactions_by_month_without_preload_content( plan_id=plan_id, month=month, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -2157,6 +2247,7 @@ def _get_transactions_by_month_serialize( plan_id, month, since_date, + until_date, type, last_knowledge_of_server, _request_auth, @@ -2198,6 +2289,19 @@ def _get_transactions_by_month_serialize( else: _query_params.append(('since_date', since_date)) + if until_date is not None: + if isinstance(until_date, date): + _query_params.append( + ( + 'until_date', + until_date.strftime( + self.api_client.configuration.date_format + ) + ) + ) + else: + _query_params.append(('until_date', until_date)) + if type is not None: _query_params.append(('type', type)) @@ -2248,7 +2352,8 @@ def get_transactions_by_payee( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], payee_id: Annotated[StrictStr, Field(description="The id of the payee")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -2264,7 +2369,7 @@ def get_transactions_by_payee( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> HybridTransactionsResponse: - """Get all payee transactions + """Get payee transactions Returns all transactions for a specified payee, excluding any pending transactions @@ -2272,8 +2377,10 @@ def get_transactions_by_payee( :type plan_id: str :param payee_id: The id of the payee (required) :type payee_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -2304,6 +2411,7 @@ def get_transactions_by_payee( plan_id=plan_id, payee_id=payee_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -2332,7 +2440,8 @@ def get_transactions_by_payee_with_http_info( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], payee_id: Annotated[StrictStr, Field(description="The id of the payee")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -2348,7 +2457,7 @@ def get_transactions_by_payee_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[HybridTransactionsResponse]: - """Get all payee transactions + """Get payee transactions Returns all transactions for a specified payee, excluding any pending transactions @@ -2356,8 +2465,10 @@ def get_transactions_by_payee_with_http_info( :type plan_id: str :param payee_id: The id of the payee (required) :type payee_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -2388,6 +2499,7 @@ def get_transactions_by_payee_with_http_info( plan_id=plan_id, payee_id=payee_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -2416,7 +2528,8 @@ def get_transactions_by_payee_without_preload_content( self, plan_id: Annotated[StrictStr, Field(description="The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan).")], payee_id: Annotated[StrictStr, Field(description="The id of the payee")], - since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, + since_date: Annotated[Optional[date], Field(description="If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified.")] = None, + until_date: Annotated[Optional[date], Field(description="If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30).")] = None, type: Annotated[Optional[StrictStr], Field(description="If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported.")] = None, last_knowledge_of_server: Annotated[Optional[StrictInt], Field(description="The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included.")] = None, _request_timeout: Union[ @@ -2432,7 +2545,7 @@ def get_transactions_by_payee_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get all payee transactions + """Get payee transactions Returns all transactions for a specified payee, excluding any pending transactions @@ -2440,8 +2553,10 @@ def get_transactions_by_payee_without_preload_content( :type plan_id: str :param payee_id: The id of the payee (required) :type payee_id: str - :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :param since_date: If specified, only transactions on or after this date will be included. The date should be ISO formatted (e.g. 2016-12-30). Defaults to one year ago when not specified. :type since_date: date + :param until_date: If specified, only transactions on or before this date will be included. The date should be ISO formatted (e.g. 2016-12-30). + :type until_date: date :param type: If specified, only transactions of the specified type will be included. \"uncategorized\" and \"unapproved\" are currently supported. :type type: str :param last_knowledge_of_server: The starting server knowledge. If provided, only entities that have changed since `last_knowledge_of_server` will be included. @@ -2472,6 +2587,7 @@ def get_transactions_by_payee_without_preload_content( plan_id=plan_id, payee_id=payee_id, since_date=since_date, + until_date=until_date, type=type, last_knowledge_of_server=last_knowledge_of_server, _request_auth=_request_auth, @@ -2496,6 +2612,7 @@ def _get_transactions_by_payee_serialize( plan_id, payee_id, since_date, + until_date, type, last_knowledge_of_server, _request_auth, @@ -2537,6 +2654,19 @@ def _get_transactions_by_payee_serialize( else: _query_params.append(('since_date', since_date)) + if until_date is not None: + if isinstance(until_date, date): + _query_params.append( + ( + 'until_date', + until_date.strftime( + self.api_client.configuration.date_format + ) + ) + ) + else: + _query_params.append(('until_date', until_date)) + if type is not None: _query_params.append(('type', type)) diff --git a/ynab/api/user_api.py b/ynab/api/user_api.py index 9ae6f59..a8da17d 100644 --- a/ynab/api/user_api.py +++ b/ynab/api/user_api.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/api_client.py b/ynab/api_client.py index 755afd5..06e3e93 100644 --- a/ynab/api_client.py +++ b/ynab/api_client.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/4.0.0/python' + self.user_agent = 'OpenAPI-Generator/4.1.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -371,28 +371,24 @@ def sanitize_for_serialization(self, obj): return obj.isoformat() elif isinstance(obj, decimal.Decimal): return str(obj) - elif isinstance(obj, dict): - obj_dict = obj + return { + key: self.sanitize_for_serialization(val) + for key, val in obj.items() + } + + # Convert model obj to dict except + # attributes `openapi_types`, `attribute_map` + # and attributes which value is not None. + # Convert attribute name to json key in + # model definition for request. + if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): + obj_dict = obj.to_dict() else: - # Convert model obj to dict except - # attributes `openapi_types`, `attribute_map` - # and attributes which value is not None. - # Convert attribute name to json key in - # model definition for request. - if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): - obj_dict = obj.to_dict() - else: - obj_dict = obj.__dict__ + obj_dict = obj.__dict__ - if isinstance(obj_dict, list): - # here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() - return self.sanitize_for_serialization(obj_dict) + return self.sanitize_for_serialization(obj_dict) - return { - key: self.sanitize_for_serialization(val) - for key, val in obj_dict.items() - } def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): """Deserializes response into an object. diff --git a/ynab/configuration.py b/ynab/configuration.py index b8ab8c2..637bec7 100644 --- a/ynab/configuration.py +++ b/ynab/configuration.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -504,8 +504,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.83.0\n"\ - "SDK Package Version: 4.0.0".\ + "Version of the API: 1.85.0\n"\ + "SDK Package Version: 4.1.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/ynab/exceptions.py b/ynab/exceptions.py index 2e88a0e..84afb65 100644 --- a/ynab/exceptions.py +++ b/ynab/exceptions.py @@ -3,7 +3,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/__init__.py b/ynab/models/__init__.py index 3046342..42666a6 100644 --- a/ynab/models/__init__.py +++ b/ynab/models/__init__.py @@ -6,7 +6,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/account.py b/ynab/models/account.py index a6639ad..7319ab4 100644 --- a/ynab/models/account.py +++ b/ynab/models/account.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/account_base.py b/ynab/models/account_base.py index 00b8a8c..463f2ac 100644 --- a/ynab/models/account_base.py +++ b/ynab/models/account_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/account_response.py b/ynab/models/account_response.py index a5d4377..dcb5f7f 100644 --- a/ynab/models/account_response.py +++ b/ynab/models/account_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/account_response_data.py b/ynab/models/account_response_data.py index 7a22ddc..fefbf35 100644 --- a/ynab/models/account_response_data.py +++ b/ynab/models/account_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/account_type.py b/ynab/models/account_type.py index 172f863..b8e8e95 100644 --- a/ynab/models/account_type.py +++ b/ynab/models/account_type.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/accounts_response.py b/ynab/models/accounts_response.py index 95f03c3..e378be5 100644 --- a/ynab/models/accounts_response.py +++ b/ynab/models/accounts_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/accounts_response_data.py b/ynab/models/accounts_response_data.py index 23fbd59..169982e 100644 --- a/ynab/models/accounts_response_data.py +++ b/ynab/models/accounts_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/bulk_response.py b/ynab/models/bulk_response.py index 5bd8c7c..5cf7a33 100644 --- a/ynab/models/bulk_response.py +++ b/ynab/models/bulk_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/bulk_response_data.py b/ynab/models/bulk_response_data.py index 34b75cc..7b214bc 100644 --- a/ynab/models/bulk_response_data.py +++ b/ynab/models/bulk_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/bulk_response_data_bulk.py b/ynab/models/bulk_response_data_bulk.py index 66a6163..650e63b 100644 --- a/ynab/models/bulk_response_data_bulk.py +++ b/ynab/models/bulk_response_data_bulk.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/bulk_transactions.py b/ynab/models/bulk_transactions.py index 26cac35..e6334cb 100644 --- a/ynab/models/bulk_transactions.py +++ b/ynab/models/bulk_transactions.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/categories_response.py b/ynab/models/categories_response.py index f3cf430..0f6f85e 100644 --- a/ynab/models/categories_response.py +++ b/ynab/models/categories_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/categories_response_data.py b/ynab/models/categories_response_data.py index 3072436..916d9b5 100644 --- a/ynab/models/categories_response_data.py +++ b/ynab/models/categories_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/category.py b/ynab/models/category.py index f95d36d..08cf231 100644 --- a/ynab/models/category.py +++ b/ynab/models/category.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,6 +34,7 @@ class Category(BaseModel): category_group_name: Optional[StrictStr] = None name: StrictStr hidden: StrictBool = Field(description="Whether or not the category is hidden") + internal: StrictBool = Field(description="Whether or not the category is internal") original_category_group_id: Optional[UUID] = Field(default=None, description="DEPRECATED: No longer used. Value will always be null.") note: Optional[StrictStr] = None budgeted: StrictInt = Field(description="Assigned (budgeted) amount in milliunits format") @@ -69,7 +70,7 @@ class Category(BaseModel): goal_overall_funded_currency: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The total amount funded towards the goal as a decimal currency amount") goal_overall_left_formatted: Optional[StrictStr] = Field(default=None, description="The amount of funding still needed to complete the goal formatted in the plan's currency format") goal_overall_left_currency: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The amount of funding still needed to complete the goal as a decimal currency amount") - __properties: ClassVar[List[str]] = ["id", "category_group_id", "category_group_name", "name", "hidden", "original_category_group_id", "note", "budgeted", "activity", "balance", "goal_type", "goal_needs_whole_amount", "goal_day", "goal_cadence", "goal_cadence_frequency", "goal_creation_month", "goal_target", "goal_target_month", "goal_target_date", "goal_percentage_complete", "goal_months_to_budget", "goal_under_funded", "goal_overall_funded", "goal_overall_left", "goal_snoozed_at", "deleted", "balance_formatted", "balance_currency", "activity_formatted", "activity_currency", "budgeted_formatted", "budgeted_currency", "goal_target_formatted", "goal_target_currency", "goal_under_funded_formatted", "goal_under_funded_currency", "goal_overall_funded_formatted", "goal_overall_funded_currency", "goal_overall_left_formatted", "goal_overall_left_currency"] + __properties: ClassVar[List[str]] = ["id", "category_group_id", "category_group_name", "name", "hidden", "internal", "original_category_group_id", "note", "budgeted", "activity", "balance", "goal_type", "goal_needs_whole_amount", "goal_day", "goal_cadence", "goal_cadence_frequency", "goal_creation_month", "goal_target", "goal_target_month", "goal_target_date", "goal_percentage_complete", "goal_months_to_budget", "goal_under_funded", "goal_overall_funded", "goal_overall_left", "goal_snoozed_at", "deleted", "balance_formatted", "balance_currency", "activity_formatted", "activity_currency", "budgeted_formatted", "budgeted_currency", "goal_target_formatted", "goal_target_currency", "goal_under_funded_formatted", "goal_under_funded_currency", "goal_overall_funded_formatted", "goal_overall_funded_currency", "goal_overall_left_formatted", "goal_overall_left_currency"] @field_validator('goal_type') def goal_type_validate_enum(cls, value): @@ -182,6 +183,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "category_group_name": obj.get("category_group_name"), "name": obj.get("name"), "hidden": obj.get("hidden"), + "internal": obj.get("internal"), "original_category_group_id": obj.get("original_category_group_id"), "note": obj.get("note"), "budgeted": obj.get("budgeted"), diff --git a/ynab/models/category_base.py b/ynab/models/category_base.py index 26e5029..797d04b 100644 --- a/ynab/models/category_base.py +++ b/ynab/models/category_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,6 +34,7 @@ class CategoryBase(BaseModel): category_group_name: Optional[StrictStr] = None name: StrictStr hidden: StrictBool = Field(description="Whether or not the category is hidden") + internal: StrictBool = Field(description="Whether or not the category is internal") original_category_group_id: Optional[UUID] = Field(default=None, description="DEPRECATED: No longer used. Value will always be null.") note: Optional[StrictStr] = None budgeted: StrictInt = Field(description="Assigned (budgeted) amount in milliunits format") @@ -55,7 +56,7 @@ class CategoryBase(BaseModel): goal_overall_left: Optional[StrictInt] = Field(default=None, description="The amount of funding still needed to complete the goal within the current goal period.") goal_snoozed_at: Optional[datetime] = Field(default=None, description="The date/time the goal was snoozed. If the goal is not snoozed, this will be null.") deleted: StrictBool = Field(description="Whether or not the category has been deleted. Deleted categories will only be included in delta requests.") - __properties: ClassVar[List[str]] = ["id", "category_group_id", "category_group_name", "name", "hidden", "original_category_group_id", "note", "budgeted", "activity", "balance", "goal_type", "goal_needs_whole_amount", "goal_day", "goal_cadence", "goal_cadence_frequency", "goal_creation_month", "goal_target", "goal_target_month", "goal_target_date", "goal_percentage_complete", "goal_months_to_budget", "goal_under_funded", "goal_overall_funded", "goal_overall_left", "goal_snoozed_at", "deleted"] + __properties: ClassVar[List[str]] = ["id", "category_group_id", "category_group_name", "name", "hidden", "internal", "original_category_group_id", "note", "budgeted", "activity", "balance", "goal_type", "goal_needs_whole_amount", "goal_day", "goal_cadence", "goal_cadence_frequency", "goal_creation_month", "goal_target", "goal_target_month", "goal_target_date", "goal_percentage_complete", "goal_months_to_budget", "goal_under_funded", "goal_overall_funded", "goal_overall_left", "goal_snoozed_at", "deleted"] @field_validator('goal_type') def goal_type_validate_enum(cls, value): @@ -208,6 +209,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "category_group_name": obj.get("category_group_name"), "name": obj.get("name"), "hidden": obj.get("hidden"), + "internal": obj.get("internal"), "original_category_group_id": obj.get("original_category_group_id"), "note": obj.get("note"), "budgeted": obj.get("budgeted"), diff --git a/ynab/models/category_group.py b/ynab/models/category_group.py index 1bb4c35..c7e43fd 100644 --- a/ynab/models/category_group.py +++ b/ynab/models/category_group.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,8 +31,9 @@ class CategoryGroup(BaseModel): id: UUID name: StrictStr hidden: StrictBool = Field(description="Whether or not the category group is hidden") + internal: StrictBool = Field(description="Whether or not the category group is internal") deleted: StrictBool = Field(description="Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests.") - __properties: ClassVar[List[str]] = ["id", "name", "hidden", "deleted"] + __properties: ClassVar[List[str]] = ["id", "name", "hidden", "internal", "deleted"] model_config = ConfigDict( validate_by_name=True, @@ -88,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "name": obj.get("name"), "hidden": obj.get("hidden"), + "internal": obj.get("internal"), "deleted": obj.get("deleted") }) return _obj diff --git a/ynab/models/category_group_with_categories.py b/ynab/models/category_group_with_categories.py index 9a8b417..171bc6e 100644 --- a/ynab/models/category_group_with_categories.py +++ b/ynab/models/category_group_with_categories.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,9 +32,10 @@ class CategoryGroupWithCategories(BaseModel): id: UUID name: StrictStr hidden: StrictBool = Field(description="Whether or not the category group is hidden") + internal: StrictBool = Field(description="Whether or not the category group is internal") deleted: StrictBool = Field(description="Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests.") categories: List[Category] = Field(description="Category group categories. Amounts (assigned, activity, available, etc.) are specific to the current plan month (UTC).") - __properties: ClassVar[List[str]] = ["id", "name", "hidden", "deleted", "categories"] + __properties: ClassVar[List[str]] = ["id", "name", "hidden", "internal", "deleted", "categories"] model_config = ConfigDict( validate_by_name=True, @@ -97,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "name": obj.get("name"), "hidden": obj.get("hidden"), + "internal": obj.get("internal"), "deleted": obj.get("deleted"), "categories": [Category.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None }) diff --git a/ynab/models/category_response.py b/ynab/models/category_response.py index c42da80..c40e72b 100644 --- a/ynab/models/category_response.py +++ b/ynab/models/category_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/category_response_data.py b/ynab/models/category_response_data.py index f689cd7..b581a12 100644 --- a/ynab/models/category_response_data.py +++ b/ynab/models/category_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/currency_format.py b/ynab/models/currency_format.py index 139c5f4..892377b 100644 --- a/ynab/models/currency_format.py +++ b/ynab/models/currency_format.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/date_format.py b/ynab/models/date_format.py index 16d1aae..6e6492e 100644 --- a/ynab/models/date_format.py +++ b/ynab/models/date_format.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/error_detail.py b/ynab/models/error_detail.py index 994eeab..d3f09e9 100644 --- a/ynab/models/error_detail.py +++ b/ynab/models/error_detail.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/error_response.py b/ynab/models/error_response.py index 776266d..e83f5ac 100644 --- a/ynab/models/error_response.py +++ b/ynab/models/error_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/existing_category.py b/ynab/models/existing_category.py index 3692e1d..04bdd41 100644 --- a/ynab/models/existing_category.py +++ b/ynab/models/existing_category.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,7 +31,7 @@ class ExistingCategory(BaseModel): """ # noqa: E501 name: Optional[StrictStr] = None note: Optional[StrictStr] = None - category_group_id: Optional[UUID] = None + category_group_id: Optional[UUID] = Field(default=None, description="The id of the category group to which this category belongs. An internal category group may not be specified.") goal_target: Optional[StrictInt] = Field(default=None, description="The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories.") goal_target_date: Optional[date] = Field(default=None, description="The goal target date in ISO format (e.g. 2016-12-01).") goal_needs_whole_amount: Optional[StrictBool] = Field(default=None, description="Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'.") diff --git a/ynab/models/existing_transaction.py b/ynab/models/existing_transaction.py index 39d6b27..03b89ad 100644 --- a/ynab/models/existing_transaction.py +++ b/ynab/models/existing_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/hybrid_transaction.py b/ynab/models/hybrid_transaction.py index 68381fc..86d74cf 100644 --- a/ynab/models/hybrid_transaction.py +++ b/ynab/models/hybrid_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/hybrid_transactions_response.py b/ynab/models/hybrid_transactions_response.py index 33fafcf..b27023c 100644 --- a/ynab/models/hybrid_transactions_response.py +++ b/ynab/models/hybrid_transactions_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/hybrid_transactions_response_data.py b/ynab/models/hybrid_transactions_response_data.py index 4bc2357..99c090c 100644 --- a/ynab/models/hybrid_transactions_response_data.py +++ b/ynab/models/hybrid_transactions_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movement.py b/ynab/models/money_movement.py index eadee34..688aaa0 100644 --- a/ynab/models/money_movement.py +++ b/ynab/models/money_movement.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movement_base.py b/ynab/models/money_movement_base.py index dfd8f17..789adaa 100644 --- a/ynab/models/money_movement_base.py +++ b/ynab/models/money_movement_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movement_group.py b/ynab/models/money_movement_group.py index 303f146..f3c5ba4 100644 --- a/ynab/models/money_movement_group.py +++ b/ynab/models/money_movement_group.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movement_groups_response.py b/ynab/models/money_movement_groups_response.py index d27c867..62a0ea9 100644 --- a/ynab/models/money_movement_groups_response.py +++ b/ynab/models/money_movement_groups_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movement_groups_response_data.py b/ynab/models/money_movement_groups_response_data.py index 0e230e9..54e4faa 100644 --- a/ynab/models/money_movement_groups_response_data.py +++ b/ynab/models/money_movement_groups_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movements_response.py b/ynab/models/money_movements_response.py index 3f5a15e..33bdf88 100644 --- a/ynab/models/money_movements_response.py +++ b/ynab/models/money_movements_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/money_movements_response_data.py b/ynab/models/money_movements_response_data.py index a142fb1..e5b9bcb 100644 --- a/ynab/models/money_movements_response_data.py +++ b/ynab/models/money_movements_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_detail.py b/ynab/models/month_detail.py index 944a0bd..0652c87 100644 --- a/ynab/models/month_detail.py +++ b/ynab/models/month_detail.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_detail_base.py b/ynab/models/month_detail_base.py index 5e729d7..56477e8 100644 --- a/ynab/models/month_detail_base.py +++ b/ynab/models/month_detail_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_detail_response.py b/ynab/models/month_detail_response.py index dd4bea3..8a40e01 100644 --- a/ynab/models/month_detail_response.py +++ b/ynab/models/month_detail_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_detail_response_data.py b/ynab/models/month_detail_response_data.py index 9ec1c04..59d70be 100644 --- a/ynab/models/month_detail_response_data.py +++ b/ynab/models/month_detail_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_summaries_response.py b/ynab/models/month_summaries_response.py index 0a6472c..d31b3d8 100644 --- a/ynab/models/month_summaries_response.py +++ b/ynab/models/month_summaries_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_summaries_response_data.py b/ynab/models/month_summaries_response_data.py index 0b6bc2c..c3a714a 100644 --- a/ynab/models/month_summaries_response_data.py +++ b/ynab/models/month_summaries_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_summary.py b/ynab/models/month_summary.py index 05d66bc..b0130dc 100644 --- a/ynab/models/month_summary.py +++ b/ynab/models/month_summary.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/month_summary_base.py b/ynab/models/month_summary_base.py index 8fe2d4b..2c1d40a 100644 --- a/ynab/models/month_summary_base.py +++ b/ynab/models/month_summary_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/new_category.py b/ynab/models/new_category.py index dd74a9c..50398f8 100644 --- a/ynab/models/new_category.py +++ b/ynab/models/new_category.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,7 +31,7 @@ class NewCategory(BaseModel): """ # noqa: E501 name: Optional[StrictStr] = None note: Optional[StrictStr] = None - category_group_id: Optional[UUID] = None + category_group_id: Optional[UUID] = Field(default=None, description="The id of the category group to which this category belongs. An internal category group may not be specified.") goal_target: Optional[StrictInt] = Field(default=None, description="The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories.") goal_target_date: Optional[date] = Field(default=None, description="The goal target date in ISO format (e.g. 2016-12-01).") goal_needs_whole_amount: Optional[StrictBool] = Field(default=None, description="Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'.") diff --git a/ynab/models/new_transaction.py b/ynab/models/new_transaction.py index 9579faa..92adb20 100644 --- a/ynab/models/new_transaction.py +++ b/ynab/models/new_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/patch_category_group_wrapper.py b/ynab/models/patch_category_group_wrapper.py index ea0ec91..49e0948 100644 --- a/ynab/models/patch_category_group_wrapper.py +++ b/ynab/models/patch_category_group_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/patch_category_wrapper.py b/ynab/models/patch_category_wrapper.py index 4aa9a95..afdd345 100644 --- a/ynab/models/patch_category_wrapper.py +++ b/ynab/models/patch_category_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/patch_month_category_wrapper.py b/ynab/models/patch_month_category_wrapper.py index 79c80d8..2f64979 100644 --- a/ynab/models/patch_month_category_wrapper.py +++ b/ynab/models/patch_month_category_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/patch_payee_wrapper.py b/ynab/models/patch_payee_wrapper.py index e7b85e8..8fe09e4 100644 --- a/ynab/models/patch_payee_wrapper.py +++ b/ynab/models/patch_payee_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/patch_transactions_wrapper.py b/ynab/models/patch_transactions_wrapper.py index c1effd7..e889afc 100644 --- a/ynab/models/patch_transactions_wrapper.py +++ b/ynab/models/patch_transactions_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee.py b/ynab/models/payee.py index c7a9bb1..b695144 100644 --- a/ynab/models/payee.py +++ b/ynab/models/payee.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_location.py b/ynab/models/payee_location.py index 17e2c53..044a68f 100644 --- a/ynab/models/payee_location.py +++ b/ynab/models/payee_location.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_location_response.py b/ynab/models/payee_location_response.py index ab09a0c..417c456 100644 --- a/ynab/models/payee_location_response.py +++ b/ynab/models/payee_location_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_location_response_data.py b/ynab/models/payee_location_response_data.py index 4306825..91a1851 100644 --- a/ynab/models/payee_location_response_data.py +++ b/ynab/models/payee_location_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_locations_response.py b/ynab/models/payee_locations_response.py index b1689a1..4bc93bf 100644 --- a/ynab/models/payee_locations_response.py +++ b/ynab/models/payee_locations_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_locations_response_data.py b/ynab/models/payee_locations_response_data.py index 1ebd46b..142eaa0 100644 --- a/ynab/models/payee_locations_response_data.py +++ b/ynab/models/payee_locations_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_response.py b/ynab/models/payee_response.py index 552a87b..cacc47f 100644 --- a/ynab/models/payee_response.py +++ b/ynab/models/payee_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payee_response_data.py b/ynab/models/payee_response_data.py index 89347b6..85a080a 100644 --- a/ynab/models/payee_response_data.py +++ b/ynab/models/payee_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payees_response.py b/ynab/models/payees_response.py index f30bcc9..714559c 100644 --- a/ynab/models/payees_response.py +++ b/ynab/models/payees_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/payees_response_data.py b/ynab/models/payees_response_data.py index e39b9be..da396f5 100644 --- a/ynab/models/payees_response_data.py +++ b/ynab/models/payees_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_detail.py b/ynab/models/plan_detail.py index befdce0..88541cc 100644 --- a/ynab/models/plan_detail.py +++ b/ynab/models/plan_detail.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_detail_response.py b/ynab/models/plan_detail_response.py index 207a210..65763b6 100644 --- a/ynab/models/plan_detail_response.py +++ b/ynab/models/plan_detail_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_detail_response_data.py b/ynab/models/plan_detail_response_data.py index c95873e..4edce76 100644 --- a/ynab/models/plan_detail_response_data.py +++ b/ynab/models/plan_detail_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_settings.py b/ynab/models/plan_settings.py index 09f3fbb..bdf6df4 100644 --- a/ynab/models/plan_settings.py +++ b/ynab/models/plan_settings.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_settings_response.py b/ynab/models/plan_settings_response.py index 7fd45a0..c38158c 100644 --- a/ynab/models/plan_settings_response.py +++ b/ynab/models/plan_settings_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_settings_response_data.py b/ynab/models/plan_settings_response_data.py index d1e5f4c..5e3d120 100644 --- a/ynab/models/plan_settings_response_data.py +++ b/ynab/models/plan_settings_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_summary.py b/ynab/models/plan_summary.py index 09ac39c..0fb6355 100644 --- a/ynab/models/plan_summary.py +++ b/ynab/models/plan_summary.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_summary_response.py b/ynab/models/plan_summary_response.py index fefb7ce..9557813 100644 --- a/ynab/models/plan_summary_response.py +++ b/ynab/models/plan_summary_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/plan_summary_response_data.py b/ynab/models/plan_summary_response_data.py index b88a190..6fc45fc 100644 --- a/ynab/models/plan_summary_response_data.py +++ b/ynab/models/plan_summary_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_account_wrapper.py b/ynab/models/post_account_wrapper.py index cc0b047..b88554e 100644 --- a/ynab/models/post_account_wrapper.py +++ b/ynab/models/post_account_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_category_group_wrapper.py b/ynab/models/post_category_group_wrapper.py index 21ac68d..c160971 100644 --- a/ynab/models/post_category_group_wrapper.py +++ b/ynab/models/post_category_group_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_category_wrapper.py b/ynab/models/post_category_wrapper.py index edad5f9..579a1ef 100644 --- a/ynab/models/post_category_wrapper.py +++ b/ynab/models/post_category_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_payee.py b/ynab/models/post_payee.py index 3ed14eb..75a7716 100644 --- a/ynab/models/post_payee.py +++ b/ynab/models/post_payee.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_payee_wrapper.py b/ynab/models/post_payee_wrapper.py index 875daa3..69a6d93 100644 --- a/ynab/models/post_payee_wrapper.py +++ b/ynab/models/post_payee_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_scheduled_transaction_wrapper.py b/ynab/models/post_scheduled_transaction_wrapper.py index 09afad8..e704e2a 100644 --- a/ynab/models/post_scheduled_transaction_wrapper.py +++ b/ynab/models/post_scheduled_transaction_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/post_transactions_wrapper.py b/ynab/models/post_transactions_wrapper.py index e22e969..3e6cf7f 100644 --- a/ynab/models/post_transactions_wrapper.py +++ b/ynab/models/post_transactions_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/put_scheduled_transaction_wrapper.py b/ynab/models/put_scheduled_transaction_wrapper.py index ed940d3..b4be344 100644 --- a/ynab/models/put_scheduled_transaction_wrapper.py +++ b/ynab/models/put_scheduled_transaction_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/put_transaction_wrapper.py b/ynab/models/put_transaction_wrapper.py index 77df7f7..b416b72 100644 --- a/ynab/models/put_transaction_wrapper.py +++ b/ynab/models/put_transaction_wrapper.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_account.py b/ynab/models/save_account.py index ab27604..b2efbc7 100644 --- a/ynab/models/save_account.py +++ b/ynab/models/save_account.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_account_type.py b/ynab/models/save_account_type.py index 2726981..3cfed86 100644 --- a/ynab/models/save_account_type.py +++ b/ynab/models/save_account_type.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_category.py b/ynab/models/save_category.py index e46b503..c116a99 100644 --- a/ynab/models/save_category.py +++ b/ynab/models/save_category.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,7 +31,7 @@ class SaveCategory(BaseModel): """ # noqa: E501 name: Optional[StrictStr] = None note: Optional[StrictStr] = None - category_group_id: Optional[UUID] = None + category_group_id: Optional[UUID] = Field(default=None, description="The id of the category group to which this category belongs. An internal category group may not be specified.") goal_target: Optional[StrictInt] = Field(default=None, description="The goal target amount in milliunits format. If value is specified and goal has not already been configured for category, a monthly goal will be created for the category with this target amount. If goal_type is not specified, it will default to 'NEED' or 'MF' for Credit Card Payment categories.") goal_target_date: Optional[date] = Field(default=None, description="The goal target date in ISO format (e.g. 2016-12-01).") goal_needs_whole_amount: Optional[StrictBool] = Field(default=None, description="Whether the goal requires the full target amount each period. Only supported for 'NEED' goals. When true, the goal is configured as 'Set aside another...'. When false, the goal is configured as 'Refill up to...'.") diff --git a/ynab/models/save_category_group.py b/ynab/models/save_category_group.py index 1205002..f23e5ca 100644 --- a/ynab/models/save_category_group.py +++ b/ynab/models/save_category_group.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_category_group_response.py b/ynab/models/save_category_group_response.py index c1480c3..7327548 100644 --- a/ynab/models/save_category_group_response.py +++ b/ynab/models/save_category_group_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_category_group_response_data.py b/ynab/models/save_category_group_response_data.py index 7f5072b..c05dd11 100644 --- a/ynab/models/save_category_group_response_data.py +++ b/ynab/models/save_category_group_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_category_response.py b/ynab/models/save_category_response.py index 103849e..18adb16 100644 --- a/ynab/models/save_category_response.py +++ b/ynab/models/save_category_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_category_response_data.py b/ynab/models/save_category_response_data.py index 249bb70..2f1bcc1 100644 --- a/ynab/models/save_category_response_data.py +++ b/ynab/models/save_category_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_month_category.py b/ynab/models/save_month_category.py index 0448660..e90ca57 100644 --- a/ynab/models/save_month_category.py +++ b/ynab/models/save_month_category.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_payee.py b/ynab/models/save_payee.py index 391e8e0..e7a05a7 100644 --- a/ynab/models/save_payee.py +++ b/ynab/models/save_payee.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_payee_response.py b/ynab/models/save_payee_response.py index 6168737..ea57948 100644 --- a/ynab/models/save_payee_response.py +++ b/ynab/models/save_payee_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_payee_response_data.py b/ynab/models/save_payee_response_data.py index 9363c15..4b63572 100644 --- a/ynab/models/save_payee_response_data.py +++ b/ynab/models/save_payee_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_scheduled_transaction.py b/ynab/models/save_scheduled_transaction.py index f7da27d..fa55c53 100644 --- a/ynab/models/save_scheduled_transaction.py +++ b/ynab/models/save_scheduled_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_sub_transaction.py b/ynab/models/save_sub_transaction.py index 97be599..18c0962 100644 --- a/ynab/models/save_sub_transaction.py +++ b/ynab/models/save_sub_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_transaction_with_id_or_import_id.py b/ynab/models/save_transaction_with_id_or_import_id.py index 9aa2ea7..4dadd83 100644 --- a/ynab/models/save_transaction_with_id_or_import_id.py +++ b/ynab/models/save_transaction_with_id_or_import_id.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_transaction_with_optional_fields.py b/ynab/models/save_transaction_with_optional_fields.py index 3e53064..5a8d959 100644 --- a/ynab/models/save_transaction_with_optional_fields.py +++ b/ynab/models/save_transaction_with_optional_fields.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_transactions_response.py b/ynab/models/save_transactions_response.py index 6af934a..d228d5c 100644 --- a/ynab/models/save_transactions_response.py +++ b/ynab/models/save_transactions_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/save_transactions_response_data.py b/ynab/models/save_transactions_response_data.py index 077192b..48e1889 100644 --- a/ynab/models/save_transactions_response_data.py +++ b/ynab/models/save_transactions_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_sub_transaction.py b/ynab/models/scheduled_sub_transaction.py index 0c44892..7077bb1 100644 --- a/ynab/models/scheduled_sub_transaction.py +++ b/ynab/models/scheduled_sub_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_sub_transaction_base.py b/ynab/models/scheduled_sub_transaction_base.py index ebc8c0c..3b088bd 100644 --- a/ynab/models/scheduled_sub_transaction_base.py +++ b/ynab/models/scheduled_sub_transaction_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_detail.py b/ynab/models/scheduled_transaction_detail.py index 740d6e5..c662aa7 100644 --- a/ynab/models/scheduled_transaction_detail.py +++ b/ynab/models/scheduled_transaction_detail.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_frequency.py b/ynab/models/scheduled_transaction_frequency.py index a03bafc..af630df 100644 --- a/ynab/models/scheduled_transaction_frequency.py +++ b/ynab/models/scheduled_transaction_frequency.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_response.py b/ynab/models/scheduled_transaction_response.py index 0e819ee..b73bf07 100644 --- a/ynab/models/scheduled_transaction_response.py +++ b/ynab/models/scheduled_transaction_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_response_data.py b/ynab/models/scheduled_transaction_response_data.py index e604527..ced047b 100644 --- a/ynab/models/scheduled_transaction_response_data.py +++ b/ynab/models/scheduled_transaction_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_summary.py b/ynab/models/scheduled_transaction_summary.py index 8705970..156c498 100644 --- a/ynab/models/scheduled_transaction_summary.py +++ b/ynab/models/scheduled_transaction_summary.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transaction_summary_base.py b/ynab/models/scheduled_transaction_summary_base.py index 6b325ba..f2c0f54 100644 --- a/ynab/models/scheduled_transaction_summary_base.py +++ b/ynab/models/scheduled_transaction_summary_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transactions_response.py b/ynab/models/scheduled_transactions_response.py index 2531111..bb9f12c 100644 --- a/ynab/models/scheduled_transactions_response.py +++ b/ynab/models/scheduled_transactions_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/scheduled_transactions_response_data.py b/ynab/models/scheduled_transactions_response_data.py index bd6bfc9..001821e 100644 --- a/ynab/models/scheduled_transactions_response_data.py +++ b/ynab/models/scheduled_transactions_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/sub_transaction.py b/ynab/models/sub_transaction.py index f18f9f5..177d532 100644 --- a/ynab/models/sub_transaction.py +++ b/ynab/models/sub_transaction.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/sub_transaction_base.py b/ynab/models/sub_transaction_base.py index 0185800..1c996d4 100644 --- a/ynab/models/sub_transaction_base.py +++ b/ynab/models/sub_transaction_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_cleared_status.py b/ynab/models/transaction_cleared_status.py index 9a2d34c..298439a 100644 --- a/ynab/models/transaction_cleared_status.py +++ b/ynab/models/transaction_cleared_status.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_detail.py b/ynab/models/transaction_detail.py index fbde1e5..1aca1af 100644 --- a/ynab/models/transaction_detail.py +++ b/ynab/models/transaction_detail.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_flag_color.py b/ynab/models/transaction_flag_color.py index 1f80974..cb7ea74 100644 --- a/ynab/models/transaction_flag_color.py +++ b/ynab/models/transaction_flag_color.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_response.py b/ynab/models/transaction_response.py index bac5d33..5a55638 100644 --- a/ynab/models/transaction_response.py +++ b/ynab/models/transaction_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_response_data.py b/ynab/models/transaction_response_data.py index 8072aa5..8140b4b 100644 --- a/ynab/models/transaction_response_data.py +++ b/ynab/models/transaction_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_summary.py b/ynab/models/transaction_summary.py index e4ccbc7..83ec9c3 100644 --- a/ynab/models/transaction_summary.py +++ b/ynab/models/transaction_summary.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transaction_summary_base.py b/ynab/models/transaction_summary_base.py index 5d87992..c6db058 100644 --- a/ynab/models/transaction_summary_base.py +++ b/ynab/models/transaction_summary_base.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transactions_import_response.py b/ynab/models/transactions_import_response.py index e0773da..4e59c2e 100644 --- a/ynab/models/transactions_import_response.py +++ b/ynab/models/transactions_import_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transactions_import_response_data.py b/ynab/models/transactions_import_response_data.py index 6c5b0b0..767a13b 100644 --- a/ynab/models/transactions_import_response_data.py +++ b/ynab/models/transactions_import_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transactions_response.py b/ynab/models/transactions_response.py index 5812211..6872485 100644 --- a/ynab/models/transactions_response.py +++ b/ynab/models/transactions_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/transactions_response_data.py b/ynab/models/transactions_response_data.py index 3b31c19..f7770dd 100644 --- a/ynab/models/transactions_response_data.py +++ b/ynab/models/transactions_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/user.py b/ynab/models/user.py index 1fa309b..3624e4b 100644 --- a/ynab/models/user.py +++ b/ynab/models/user.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/user_response.py b/ynab/models/user_response.py index 4461de9..5882370 100644 --- a/ynab/models/user_response.py +++ b/ynab/models/user_response.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/models/user_response_data.py b/ynab/models/user_response_data.py index 08669ac..c2249cc 100644 --- a/ynab/models/user_response_data.py +++ b/ynab/models/user_response_data.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/ynab/rest.py b/ynab/rest.py index e2855eb..6220b30 100644 --- a/ynab/rest.py +++ b/ynab/rest.py @@ -5,7 +5,7 @@ Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com - The version of the OpenAPI document: 1.83.0 + The version of the OpenAPI document: 1.85.0 Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually.