Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/Category.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Name | Type | Description | Notes
**goal_under_funded** | **int** | The amount of funding still needed in the current month to stay on track towards completing the goal within the current goal period. This amount will generally correspond to the 'Underfunded' amount in the web and mobile clients except when viewing a category with a Needed for Spending Goal in a future month. The web and mobile clients will ignore any funding from a prior goal period when viewing category with a Needed for Spending Goal in a future month. | [optional]
**goal_overall_funded** | **int** | The total amount funded towards the goal within the current goal period. | [optional]
**goal_overall_left** | **int** | The amount of funding still needed to complete the goal within the current goal period. | [optional]
**goal_snoozed_at** | **datetime** | The date/time the goal was snoozed. If the goal is not snoozed, this will be null. | [optional]
**deleted** | **bool** | Whether or not the category has been deleted. Deleted categories will only be included in delta requests. |

## Example
Expand Down
9 changes: 8 additions & 1 deletion open_api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
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.75.0
version: 1.76.0
servers:
- url: https://api.ynab.com/v1
security:
Expand Down Expand Up @@ -2304,6 +2304,13 @@ components:
current goal period.
format: int64
nullable: true
goal_snoozed_at:
type: string
description: >-
The date/time the goal was snoozed. If the goal is not snoozed, this
will be null.
format: date-time
nullable: true
deleted:
type: boolean
description: >-
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
packageName: ynab
packageVersion: 1.6.0
packageVersion: 1.7.0
packageDescription: Official Python client for the YNAB API. API documentation available at https://api.ynab.com.
licenseInfo:
name: Apache-2.0
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "ynab"
version = "1.6.0"
description = "Official Python client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.75.0"
version = "1.7.0"
description = "Official Python client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.76.0"
authors = ["YNAB"]
license = "Apache-2.0"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions ynab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


__version__ = "1.5.0"
__version__ = "1.7.0"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/budgets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/categories_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/months_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/payee_locations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/payees_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/scheduled_transactions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/transactions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/api/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions ynab/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
self.user_agent = 'OpenAPI-Generator/1.7.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions ynab/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down Expand Up @@ -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.75.0\n"\
"SDK Package Version: 1.5.0".\
"Version of the API: 1.76.0\n"\
"SDK Package Version: 1.7.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
2 changes: 1 addition & 1 deletion ynab/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/account_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/account_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/account_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/accounts_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/accounts_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_detail_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_detail_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_settings_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_settings_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_summary_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/budget_summary_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/bulk_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/bulk_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/bulk_response_data_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion ynab/models/bulk_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.0
The version of the OpenAPI document: 1.76.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading