├── .gitignore ├── .gitlab-ci.yml ├── .openapi-generator-ignore ├── .openapi-generator ├── FILES └── VERSION ├── .travis.yml ├── README.md ├── docs ├── Account.md ├── AccountResponse.md ├── AccountResponseData.md ├── AccountsApi.md ├── AccountsResponse.md ├── AccountsResponseData.md ├── BudgetDetail.md ├── BudgetDetailAllOf.md ├── BudgetDetailResponse.md ├── BudgetDetailResponseData.md ├── BudgetSettings.md ├── BudgetSettingsResponse.md ├── BudgetSettingsResponseData.md ├── BudgetSummary.md ├── BudgetSummaryResponse.md ├── BudgetSummaryResponseData.md ├── BudgetsApi.md ├── BulkResponse.md ├── BulkResponseData.md ├── BulkResponseDataBulk.md ├── BulkTransactions.md ├── CategoriesApi.md ├── CategoriesResponse.md ├── CategoriesResponseData.md ├── Category.md ├── CategoryGroup.md ├── CategoryGroupWithCategories.md ├── CategoryGroupWithCategoriesAllOf.md ├── CategoryResponse.md ├── CategoryResponseData.md ├── CurrencyFormat.md ├── DateFormat.md ├── DeprecatedApi.md ├── ErrorDetail.md ├── ErrorResponse.md ├── HybridTransaction.md ├── HybridTransactionAllOf.md ├── HybridTransactionsResponse.md ├── HybridTransactionsResponseData.md ├── MonthDetail.md ├── MonthDetailAllOf.md ├── MonthDetailResponse.md ├── MonthDetailResponseData.md ├── MonthSummariesResponse.md ├── MonthSummariesResponseData.md ├── MonthSummary.md ├── MonthsApi.md ├── Payee.md ├── PayeeLocation.md ├── PayeeLocationResponse.md ├── PayeeLocationResponseData.md ├── PayeeLocationsApi.md ├── PayeeLocationsResponse.md ├── PayeeLocationsResponseData.md ├── PayeeResponse.md ├── PayeeResponseData.md ├── PayeesApi.md ├── PayeesResponse.md ├── PayeesResponseData.md ├── SaveAccount.md ├── SaveAccountWrapper.md ├── SaveCategoryResponse.md ├── SaveCategoryResponseData.md ├── SaveMonthCategory.md ├── SaveMonthCategoryWrapper.md ├── SaveSubTransaction.md ├── SaveTransaction.md ├── SaveTransactionWrapper.md ├── SaveTransactionsResponse.md ├── SaveTransactionsResponseData.md ├── SaveTransactionsWrapper.md ├── ScheduledSubTransaction.md ├── ScheduledTransactionDetail.md ├── ScheduledTransactionDetailAllOf.md ├── ScheduledTransactionResponse.md ├── ScheduledTransactionResponseData.md ├── ScheduledTransactionSummary.md ├── ScheduledTransactionsApi.md ├── ScheduledTransactionsResponse.md ├── ScheduledTransactionsResponseData.md ├── SubTransaction.md ├── TransactionDetail.md ├── TransactionDetailAllOf.md ├── TransactionResponse.md ├── TransactionResponseData.md ├── TransactionSummary.md ├── TransactionsApi.md ├── TransactionsImportResponse.md ├── TransactionsImportResponseData.md ├── TransactionsResponse.md ├── TransactionsResponseData.md ├── UpdateTransaction.md ├── UpdateTransactionAllOf.md ├── UpdateTransactionsWrapper.md ├── User.md ├── UserApi.md ├── UserResponse.md └── UserResponseData.md ├── git_push.sh ├── openapi-generator-cli.jar ├── openapi.json ├── regeneration-instructions.md ├── requirements.txt ├── setup.cfg ├── setup.py ├── swagger-codegen-cli-3.0.29.jar ├── test-requirements.txt ├── test ├── __init__.py ├── test_account.py ├── test_account_response.py ├── test_account_response_data.py ├── test_accounts_api.py ├── test_accounts_response.py ├── test_accounts_response_data.py ├── test_budget_detail.py ├── test_budget_detail_all_of.py ├── test_budget_detail_response.py ├── test_budget_detail_response_data.py ├── test_budget_settings.py ├── test_budget_settings_response.py ├── test_budget_settings_response_data.py ├── test_budget_summary.py ├── test_budget_summary_response.py ├── test_budget_summary_response_data.py ├── test_budgets_api.py ├── test_bulk_response.py ├── test_bulk_response_data.py ├── test_bulk_response_data_bulk.py ├── test_bulk_transactions.py ├── test_categories_api.py ├── test_categories_response.py ├── test_categories_response_data.py ├── test_category.py ├── test_category_group.py ├── test_category_group_with_categories.py ├── test_category_group_with_categories_all_of.py ├── test_category_response.py ├── test_category_response_data.py ├── test_currency_format.py ├── test_date_format.py ├── test_deprecated_api.py ├── test_error_detail.py ├── test_error_response.py ├── test_hybrid_transaction.py ├── test_hybrid_transaction_all_of.py ├── test_hybrid_transactions_response.py ├── test_hybrid_transactions_response_data.py ├── test_month_detail.py ├── test_month_detail_all_of.py ├── test_month_detail_response.py ├── test_month_detail_response_data.py ├── test_month_summaries_response.py ├── test_month_summaries_response_data.py ├── test_month_summary.py ├── test_months_api.py ├── test_payee.py ├── test_payee_location.py ├── test_payee_location_response.py ├── test_payee_location_response_data.py ├── test_payee_locations_api.py ├── test_payee_locations_response.py ├── test_payee_locations_response_data.py ├── test_payee_response.py ├── test_payee_response_data.py ├── test_payees_api.py ├── test_payees_response.py ├── test_payees_response_data.py ├── test_save_account.py ├── test_save_account_wrapper.py ├── test_save_category_response.py ├── test_save_category_response_data.py ├── test_save_month_category.py ├── test_save_month_category_wrapper.py ├── test_save_sub_transaction.py ├── test_save_transaction.py ├── test_save_transaction_wrapper.py ├── test_save_transactions_response.py ├── test_save_transactions_response_data.py ├── test_save_transactions_wrapper.py ├── test_scheduled_sub_transaction.py ├── test_scheduled_transaction_detail.py ├── test_scheduled_transaction_detail_all_of.py ├── test_scheduled_transaction_response.py ├── test_scheduled_transaction_response_data.py ├── test_scheduled_transaction_summary.py ├── test_scheduled_transactions_api.py ├── test_scheduled_transactions_response.py ├── test_scheduled_transactions_response_data.py ├── test_sub_transaction.py ├── test_transaction_detail.py ├── test_transaction_detail_all_of.py ├── test_transaction_response.py ├── test_transaction_response_data.py ├── test_transaction_summary.py ├── test_transactions_api.py ├── test_transactions_import_response.py ├── test_transactions_import_response_data.py ├── test_transactions_response.py ├── test_transactions_response_data.py ├── test_update_transaction.py ├── test_update_transaction_all_of.py ├── test_update_transactions_wrapper.py ├── test_user.py ├── test_user_api.py ├── test_user_response.py └── test_user_response_data.py ├── tox.ini ├── ynab_api ├── __init__.py ├── api │ ├── __init__.py │ ├── accounts_api.py │ ├── budgets_api.py │ ├── categories_api.py │ ├── deprecated_api.py │ ├── months_api.py │ ├── payee_locations_api.py │ ├── payees_api.py │ ├── scheduled_transactions_api.py │ ├── transactions_api.py │ └── user_api.py ├── api_client.py ├── apis │ └── __init__.py ├── configuration.py ├── exceptions.py ├── model │ ├── __init__.py │ ├── account.py │ ├── account_response.py │ ├── account_response_data.py │ ├── accounts_response.py │ ├── accounts_response_data.py │ ├── budget_detail.py │ ├── budget_detail_all_of.py │ ├── budget_detail_response.py │ ├── budget_detail_response_data.py │ ├── budget_settings.py │ ├── budget_settings_response.py │ ├── budget_settings_response_data.py │ ├── budget_summary.py │ ├── budget_summary_response.py │ ├── budget_summary_response_data.py │ ├── bulk_response.py │ ├── bulk_response_data.py │ ├── bulk_response_data_bulk.py │ ├── bulk_transactions.py │ ├── categories_response.py │ ├── categories_response_data.py │ ├── category.py │ ├── category_group.py │ ├── category_group_with_categories.py │ ├── category_group_with_categories_all_of.py │ ├── category_response.py │ ├── category_response_data.py │ ├── currency_format.py │ ├── date_format.py │ ├── error_detail.py │ ├── error_response.py │ ├── hybrid_transaction.py │ ├── hybrid_transaction_all_of.py │ ├── hybrid_transactions_response.py │ ├── hybrid_transactions_response_data.py │ ├── month_detail.py │ ├── month_detail_all_of.py │ ├── month_detail_response.py │ ├── month_detail_response_data.py │ ├── month_summaries_response.py │ ├── month_summaries_response_data.py │ ├── month_summary.py │ ├── payee.py │ ├── payee_location.py │ ├── payee_location_response.py │ ├── payee_location_response_data.py │ ├── payee_locations_response.py │ ├── payee_locations_response_data.py │ ├── payee_response.py │ ├── payee_response_data.py │ ├── payees_response.py │ ├── payees_response_data.py │ ├── save_account.py │ ├── save_account_wrapper.py │ ├── save_category_response.py │ ├── save_category_response_data.py │ ├── save_month_category.py │ ├── save_month_category_wrapper.py │ ├── save_sub_transaction.py │ ├── save_transaction.py │ ├── save_transaction_wrapper.py │ ├── save_transactions_response.py │ ├── save_transactions_response_data.py │ ├── save_transactions_wrapper.py │ ├── scheduled_sub_transaction.py │ ├── scheduled_transaction_detail.py │ ├── scheduled_transaction_detail_all_of.py │ ├── scheduled_transaction_response.py │ ├── scheduled_transaction_response_data.py │ ├── scheduled_transaction_summary.py │ ├── scheduled_transactions_response.py │ ├── scheduled_transactions_response_data.py │ ├── sub_transaction.py │ ├── transaction_detail.py │ ├── transaction_detail_all_of.py │ ├── transaction_response.py │ ├── transaction_response_data.py │ ├── transaction_summary.py │ ├── transactions_import_response.py │ ├── transactions_import_response_data.py │ ├── transactions_response.py │ ├── transactions_response_data.py │ ├── update_transaction.py │ ├── update_transaction_all_of.py │ ├── update_transactions_wrapper.py │ ├── user.py │ ├── user_response.py │ └── user_response_data.py ├── model_utils.py ├── models │ └── __init__.py └── rest.py └── ynabdemo.py /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | venv/ 48 | .venv/ 49 | .python-version 50 | .pytest_cache 51 | 52 | # Translations 53 | *.mo 54 | *.pot 55 | 56 | # Django stuff: 57 | *.log 58 | 59 | # Sphinx documentation 60 | docs/_build/ 61 | 62 | # PyBuilder 63 | target/ 64 | 65 | #Ipython Notebook 66 | .ipynb_checkpoints 67 | secrets.json 68 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.gitlab.com/ee/ci/README.html 2 | 3 | stages: 4 | - test 5 | 6 | .tests: 7 | stage: test 8 | script: 9 | - pip install -r requirements.txt 10 | - pip install -r test-requirements.txt 11 | - pytest --cov=ynab_api 12 | 13 | test-3.6: 14 | extends: .tests 15 | image: python:3.6-alpine 16 | test-3.7: 17 | extends: .tests 18 | image: python:3.7-alpine 19 | test-3.8: 20 | extends: .tests 21 | image: python:3.8-alpine 22 | test-3.9: 23 | extends: .tests 24 | image: python:3.9-alpine 25 | -------------------------------------------------------------------------------- /.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | # OpenAPI Generator Ignore 2 | # Generated by openapi-generator https://github.com/openapitools/openapi-generator 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 5.3.0 -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.travis-ci.com/user/languages/python 2 | language: python 3 | python: 4 | - "3.6" 5 | - "3.7" 6 | - "3.8" 7 | - "3.9" 8 | # command to install dependencies 9 | install: 10 | - "pip install -r requirements.txt" 11 | - "pip install -r test-requirements.txt" 12 | # command to run tests 13 | script: pytest --cov=ynab_api 14 | -------------------------------------------------------------------------------- /docs/Account.md: -------------------------------------------------------------------------------- 1 | # Account 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **type** | **str, none_type** | The type of account. Note: payPal, merchantAccount, investmentAccount, and mortgage types have been deprecated and will be removed in the future. | 10 | **on_budget** | **bool** | Whether this account is on budget or not | 11 | **closed** | **bool** | Whether this account is closed or not | 12 | **balance** | **int, none_type** | The current balance of the account in milliunits format | 13 | **cleared_balance** | **int, none_type** | The current cleared balance of the account in milliunits format | 14 | **uncleared_balance** | **int, none_type** | The current uncleared balance of the account in milliunits format | 15 | **transfer_payee_id** | **str, none_type** | The payee id which should be used when transferring to this account | 16 | **deleted** | **bool** | Whether or not the account has been deleted. Deleted accounts will only be included in delta requests. | 17 | **note** | **str, none_type** | | [optional] 18 | **direct_import_linked** | **bool** | Whether or not the account is linked to a financial institution for automatic transaction import. | [optional] 19 | **direct_import_in_error** | **bool** | If an account linked to a financial institution (direct_import_linked=true) and the linked connection is not in a healthy state, this will be true. | [optional] 20 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 21 | 22 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/AccountResponse.md: -------------------------------------------------------------------------------- 1 | # AccountResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**AccountResponseData**](AccountResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AccountResponseData.md: -------------------------------------------------------------------------------- 1 | # AccountResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **account** | [**Account**](Account.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AccountsResponse.md: -------------------------------------------------------------------------------- 1 | # AccountsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**AccountsResponseData**](AccountsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/AccountsResponseData.md: -------------------------------------------------------------------------------- 1 | # AccountsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **accounts** | [**[Account]**](Account.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BudgetDetail.md: -------------------------------------------------------------------------------- 1 | # BudgetDetail 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **last_modified_on** | **datetime, none_type** | The last time any changes were made to the budget from either a web or mobile client | [optional] 10 | **first_month** | **date, none_type** | The earliest budget month | [optional] 11 | **last_month** | **date, none_type** | The latest budget month | [optional] 12 | **date_format** | [**DateFormat**](DateFormat.md) | | [optional] 13 | **currency_format** | [**CurrencyFormat**](CurrencyFormat.md) | | [optional] 14 | **accounts** | [**[Account]**](Account.md) | | [optional] 15 | **payees** | [**[Payee]**](Payee.md) | | [optional] 16 | **payee_locations** | [**[PayeeLocation]**](PayeeLocation.md) | | [optional] 17 | **category_groups** | [**[CategoryGroup]**](CategoryGroup.md) | | [optional] 18 | **categories** | [**[Category]**](Category.md) | | [optional] 19 | **months** | [**[MonthDetail]**](MonthDetail.md) | | [optional] 20 | **transactions** | [**[TransactionSummary]**](TransactionSummary.md) | | [optional] 21 | **subtransactions** | [**[SubTransaction]**](SubTransaction.md) | | [optional] 22 | **scheduled_transactions** | [**[ScheduledTransactionSummary]**](ScheduledTransactionSummary.md) | | [optional] 23 | **scheduled_subtransactions** | [**[ScheduledSubTransaction]**](ScheduledSubTransaction.md) | | [optional] 24 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 25 | 26 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 27 | 28 | 29 | -------------------------------------------------------------------------------- /docs/BudgetDetailAllOf.md: -------------------------------------------------------------------------------- 1 | # BudgetDetailAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **accounts** | [**[Account]**](Account.md) | | [optional] 8 | **payees** | [**[Payee]**](Payee.md) | | [optional] 9 | **payee_locations** | [**[PayeeLocation]**](PayeeLocation.md) | | [optional] 10 | **category_groups** | [**[CategoryGroup]**](CategoryGroup.md) | | [optional] 11 | **categories** | [**[Category]**](Category.md) | | [optional] 12 | **months** | [**[MonthDetail]**](MonthDetail.md) | | [optional] 13 | **transactions** | [**[TransactionSummary]**](TransactionSummary.md) | | [optional] 14 | **subtransactions** | [**[SubTransaction]**](SubTransaction.md) | | [optional] 15 | **scheduled_transactions** | [**[ScheduledTransactionSummary]**](ScheduledTransactionSummary.md) | | [optional] 16 | **scheduled_subtransactions** | [**[ScheduledSubTransaction]**](ScheduledSubTransaction.md) | | [optional] 17 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 18 | 19 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/BudgetDetailResponse.md: -------------------------------------------------------------------------------- 1 | # BudgetDetailResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**BudgetDetailResponseData**](BudgetDetailResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BudgetDetailResponseData.md: -------------------------------------------------------------------------------- 1 | # BudgetDetailResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **budget** | [**BudgetDetail**](BudgetDetail.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BudgetSettings.md: -------------------------------------------------------------------------------- 1 | # BudgetSettings 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **date_format** | [**DateFormat**](DateFormat.md) | | 8 | **currency_format** | [**CurrencyFormat**](CurrencyFormat.md) | | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BudgetSettingsResponse.md: -------------------------------------------------------------------------------- 1 | # BudgetSettingsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**BudgetSettingsResponseData**](BudgetSettingsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BudgetSettingsResponseData.md: -------------------------------------------------------------------------------- 1 | # BudgetSettingsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **settings** | [**BudgetSettings**](BudgetSettings.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BudgetSummary.md: -------------------------------------------------------------------------------- 1 | # BudgetSummary 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **last_modified_on** | **datetime, none_type** | The last time any changes were made to the budget from either a web or mobile client | [optional] 10 | **first_month** | **date, none_type** | The earliest budget month | [optional] 11 | **last_month** | **date, none_type** | The latest budget month | [optional] 12 | **date_format** | [**DateFormat**](DateFormat.md) | | [optional] 13 | **currency_format** | [**CurrencyFormat**](CurrencyFormat.md) | | [optional] 14 | **accounts** | [**[Account]**](Account.md) | The budget accounts (only included if `include_accounts=true` specified as query parameter) | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/BudgetSummaryResponse.md: -------------------------------------------------------------------------------- 1 | # BudgetSummaryResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**BudgetSummaryResponseData**](BudgetSummaryResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BudgetSummaryResponseData.md: -------------------------------------------------------------------------------- 1 | # BudgetSummaryResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **budgets** | [**[BudgetSummary]**](BudgetSummary.md) | | 8 | **default_budget** | [**BudgetSummary**](BudgetSummary.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BulkResponse.md: -------------------------------------------------------------------------------- 1 | # BulkResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**BulkResponseData**](BulkResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BulkResponseData.md: -------------------------------------------------------------------------------- 1 | # BulkResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **bulk** | [**BulkResponseDataBulk**](BulkResponseDataBulk.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/BulkResponseDataBulk.md: -------------------------------------------------------------------------------- 1 | # BulkResponseDataBulk 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction_ids** | **[str, none_type]** | The list of Transaction ids that were created. | 8 | **duplicate_import_ids** | **[str, none_type]** | If any Transactions were not created because they had an `import_id` matching a transaction already on the same account, the specified import_id(s) will be included in this list. | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/BulkTransactions.md: -------------------------------------------------------------------------------- 1 | # BulkTransactions 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transactions** | [**[SaveTransaction]**](SaveTransaction.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CategoriesResponse.md: -------------------------------------------------------------------------------- 1 | # CategoriesResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**CategoriesResponseData**](CategoriesResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CategoriesResponseData.md: -------------------------------------------------------------------------------- 1 | # CategoriesResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **category_groups** | [**[CategoryGroupWithCategories]**](CategoryGroupWithCategories.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/CategoryGroup.md: -------------------------------------------------------------------------------- 1 | # CategoryGroup 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **hidden** | **bool** | Whether or not the category group is hidden | 10 | **deleted** | **bool** | Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests. | 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CategoryGroupWithCategories.md: -------------------------------------------------------------------------------- 1 | # CategoryGroupWithCategories 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **hidden** | **bool** | Whether or not the category group is hidden | 10 | **deleted** | **bool** | Whether or not the category group has been deleted. Deleted category groups will only be included in delta requests. | 11 | **categories** | [**[Category]**](Category.md) | Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC). | 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/CategoryGroupWithCategoriesAllOf.md: -------------------------------------------------------------------------------- 1 | # CategoryGroupWithCategoriesAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **categories** | [**[Category]**](Category.md) | Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC). | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CategoryResponse.md: -------------------------------------------------------------------------------- 1 | # CategoryResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**CategoryResponseData**](CategoryResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CategoryResponseData.md: -------------------------------------------------------------------------------- 1 | # CategoryResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **category** | [**Category**](Category.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/CurrencyFormat.md: -------------------------------------------------------------------------------- 1 | # CurrencyFormat 2 | 3 | The currency format setting for the budget. In some cases the format will not be available and will be specified as null. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **iso_code** | **str, none_type** | | 9 | **example_format** | **str, none_type** | | 10 | **decimal_digits** | **int, none_type** | | 11 | **decimal_separator** | **str, none_type** | | 12 | **symbol_first** | **bool** | | 13 | **group_separator** | **str, none_type** | | 14 | **currency_symbol** | **str, none_type** | | 15 | **display_symbol** | **bool** | | 16 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/DateFormat.md: -------------------------------------------------------------------------------- 1 | # DateFormat 2 | 3 | The date format setting for the budget. In some cases the format will not be available and will be specified as null. 4 | 5 | ## Properties 6 | Name | Type | Description | Notes 7 | ------------ | ------------- | ------------- | ------------- 8 | **format** | **str, none_type** | | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ErrorDetail.md: -------------------------------------------------------------------------------- 1 | # ErrorDetail 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **detail** | **str, none_type** | | 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/ErrorResponse.md: -------------------------------------------------------------------------------- 1 | # ErrorResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **error** | [**ErrorDetail**](ErrorDetail.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/HybridTransactionAllOf.md: -------------------------------------------------------------------------------- 1 | # HybridTransactionAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **type** | **str, none_type** | Whether the hybrid transaction represents a regular transaction or a subtransaction | 8 | **account_name** | **str, none_type** | | 9 | **parent_transaction_id** | **str, none_type** | For subtransaction types, this is the id of the parent transaction. For transaction types, this id will be always be null. | [optional] 10 | **payee_name** | **str, none_type** | | [optional] 11 | **category_name** | **str, none_type** | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/HybridTransactionsResponse.md: -------------------------------------------------------------------------------- 1 | # HybridTransactionsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**HybridTransactionsResponseData**](HybridTransactionsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/HybridTransactionsResponseData.md: -------------------------------------------------------------------------------- 1 | # HybridTransactionsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transactions** | [**[HybridTransaction]**](HybridTransaction.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/MonthDetail.md: -------------------------------------------------------------------------------- 1 | # MonthDetail 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **month** | **date, none_type** | | 8 | **income** | **int, none_type** | The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month | 9 | **budgeted** | **int, none_type** | The total amount budgeted in the month | 10 | **activity** | **int, none_type** | The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign' | 11 | **to_be_budgeted** | **int, none_type** | The available amount for 'Ready to Assign' | 12 | **deleted** | **bool** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | 13 | **categories** | [**[Category]**](Category.md) | The budget month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified. | 14 | **note** | **str, none_type** | | [optional] 15 | **age_of_money** | **int, none_type** | The Age of Money as of the month | [optional] 16 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/MonthDetailAllOf.md: -------------------------------------------------------------------------------- 1 | # MonthDetailAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **categories** | [**[Category]**](Category.md) | The budget month categories. Amounts (budgeted, activity, balance, etc.) are specific to the {month} parameter specified. | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/MonthDetailResponse.md: -------------------------------------------------------------------------------- 1 | # MonthDetailResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**MonthDetailResponseData**](MonthDetailResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/MonthDetailResponseData.md: -------------------------------------------------------------------------------- 1 | # MonthDetailResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **month** | [**MonthDetail**](MonthDetail.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/MonthSummariesResponse.md: -------------------------------------------------------------------------------- 1 | # MonthSummariesResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**MonthSummariesResponseData**](MonthSummariesResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/MonthSummariesResponseData.md: -------------------------------------------------------------------------------- 1 | # MonthSummariesResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **months** | [**[MonthSummary]**](MonthSummary.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/MonthSummary.md: -------------------------------------------------------------------------------- 1 | # MonthSummary 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **month** | **date, none_type** | | 8 | **income** | **int, none_type** | The total amount of transactions categorized to 'Inflow: Ready to Assign' in the month | 9 | **budgeted** | **int, none_type** | The total amount budgeted in the month | 10 | **activity** | **int, none_type** | The total amount of transactions in the month, excluding those categorized to 'Inflow: Ready to Assign' | 11 | **to_be_budgeted** | **int, none_type** | The available amount for 'Ready to Assign' | 12 | **deleted** | **bool** | Whether or not the month has been deleted. Deleted months will only be included in delta requests. | 13 | **note** | **str, none_type** | | [optional] 14 | **age_of_money** | **int, none_type** | The Age of Money as of the month | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/Payee.md: -------------------------------------------------------------------------------- 1 | # Payee 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **name** | **str, none_type** | | 9 | **deleted** | **bool** | Whether or not the payee has been deleted. Deleted payees will only be included in delta requests. | 10 | **transfer_account_id** | **str, none_type** | If a transfer payee, the `account_id` to which this payee transfers to | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/PayeeLocation.md: -------------------------------------------------------------------------------- 1 | # PayeeLocation 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **payee_id** | **str, none_type** | | 9 | **latitude** | **str, none_type** | | 10 | **longitude** | **str, none_type** | | 11 | **deleted** | **bool** | Whether or not the payee location has been deleted. Deleted payee locations will only be included in delta requests. | 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/PayeeLocationResponse.md: -------------------------------------------------------------------------------- 1 | # PayeeLocationResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**PayeeLocationResponseData**](PayeeLocationResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeeLocationResponseData.md: -------------------------------------------------------------------------------- 1 | # PayeeLocationResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **payee_location** | [**PayeeLocation**](PayeeLocation.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeeLocationsResponse.md: -------------------------------------------------------------------------------- 1 | # PayeeLocationsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**PayeeLocationsResponseData**](PayeeLocationsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeeLocationsResponseData.md: -------------------------------------------------------------------------------- 1 | # PayeeLocationsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **payee_locations** | [**[PayeeLocation]**](PayeeLocation.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeeResponse.md: -------------------------------------------------------------------------------- 1 | # PayeeResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**PayeeResponseData**](PayeeResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeeResponseData.md: -------------------------------------------------------------------------------- 1 | # PayeeResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **payee** | [**Payee**](Payee.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeesResponse.md: -------------------------------------------------------------------------------- 1 | # PayeesResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**PayeesResponseData**](PayeesResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/PayeesResponseData.md: -------------------------------------------------------------------------------- 1 | # PayeesResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **payees** | [**[Payee]**](Payee.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/SaveAccount.md: -------------------------------------------------------------------------------- 1 | # SaveAccount 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **name** | **str, none_type** | The name of the account | 8 | **type** | **str, none_type** | The account type | 9 | **balance** | **int, none_type** | The current balance of the account in milliunits format | 10 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/SaveAccountWrapper.md: -------------------------------------------------------------------------------- 1 | # SaveAccountWrapper 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **account** | [**SaveAccount**](SaveAccount.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveCategoryResponse.md: -------------------------------------------------------------------------------- 1 | # SaveCategoryResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**SaveCategoryResponseData**](SaveCategoryResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveCategoryResponseData.md: -------------------------------------------------------------------------------- 1 | # SaveCategoryResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **category** | [**Category**](Category.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/SaveMonthCategory.md: -------------------------------------------------------------------------------- 1 | # SaveMonthCategory 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **budgeted** | **int, none_type** | Budgeted amount in milliunits format | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveMonthCategoryWrapper.md: -------------------------------------------------------------------------------- 1 | # SaveMonthCategoryWrapper 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **category** | [**SaveMonthCategory**](SaveMonthCategory.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveSubTransaction.md: -------------------------------------------------------------------------------- 1 | # SaveSubTransaction 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **amount** | **int, none_type** | The subtransaction amount in milliunits format. | 8 | **payee_id** | **str, none_type** | The payee for the subtransaction. | [optional] 9 | **payee_name** | **str, none_type** | The payee name. If a `payee_name` value is provided and `payee_id` has a null value, the `payee_name` value will be used to resolve the payee by either (1) a matching payee rename rule (only if import_id is also specified on parent transaction) or (2) a payee with the same name or (3) creation of a new payee. | [optional] 10 | **category_id** | **str, none_type** | The category for the subtransaction. Credit Card Payment categories are not permitted and will be ignored if supplied. | [optional] 11 | **memo** | **str, none_type** | | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/SaveTransactionWrapper.md: -------------------------------------------------------------------------------- 1 | # SaveTransactionWrapper 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction** | [**SaveTransaction**](SaveTransaction.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveTransactionsResponse.md: -------------------------------------------------------------------------------- 1 | # SaveTransactionsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**SaveTransactionsResponseData**](SaveTransactionsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/SaveTransactionsResponseData.md: -------------------------------------------------------------------------------- 1 | # SaveTransactionsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction_ids** | **[str, none_type]** | The transaction ids that were saved | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **transaction** | [**TransactionDetail**](TransactionDetail.md) | | [optional] 10 | **transactions** | [**[TransactionDetail]**](TransactionDetail.md) | If multiple transactions were specified, the transactions that were saved | [optional] 11 | **duplicate_import_ids** | **[str, none_type]** | If multiple transactions were specified, a list of import_ids that were not created because of an existing `import_id` found on the same account | [optional] 12 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/SaveTransactionsWrapper.md: -------------------------------------------------------------------------------- 1 | # SaveTransactionsWrapper 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction** | [**SaveTransaction**](SaveTransaction.md) | | [optional] 8 | **transactions** | [**[SaveTransaction]**](SaveTransaction.md) | | [optional] 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/ScheduledSubTransaction.md: -------------------------------------------------------------------------------- 1 | # ScheduledSubTransaction 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **scheduled_transaction_id** | **str, none_type** | | 9 | **amount** | **int, none_type** | The scheduled subtransaction amount in milliunits format | 10 | **deleted** | **bool** | Whether or not the scheduled subtransaction has been deleted. Deleted scheduled subtransactions will only be included in delta requests. | 11 | **memo** | **str, none_type** | | [optional] 12 | **payee_id** | **str, none_type** | | [optional] 13 | **category_id** | **str, none_type** | | [optional] 14 | **transfer_account_id** | **str, none_type** | If a transfer, the account_id which the scheduled subtransaction transfers to | [optional] 15 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionDetail.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionDetail 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **date_first** | **date, none_type** | The first date for which the Scheduled Transaction was scheduled. | 9 | **date_next** | **date, none_type** | The next date for which the Scheduled Transaction is scheduled. | 10 | **frequency** | **str, none_type** | | 11 | **amount** | **int, none_type** | The scheduled transaction amount in milliunits format | 12 | **account_id** | **str, none_type** | | 13 | **deleted** | **bool** | Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. | 14 | **account_name** | **str, none_type** | | 15 | **subtransactions** | [**[ScheduledSubTransaction]**](ScheduledSubTransaction.md) | If a split scheduled transaction, the subtransactions. | 16 | **memo** | **str, none_type** | | [optional] 17 | **flag_color** | **str, none_type** | The scheduled transaction flag | [optional] 18 | **payee_id** | **str, none_type** | | [optional] 19 | **category_id** | **str, none_type** | | [optional] 20 | **transfer_account_id** | **str, none_type** | If a transfer, the account_id which the scheduled transaction transfers to | [optional] 21 | **payee_name** | **str, none_type** | | [optional] 22 | **category_name** | **str, none_type** | | [optional] 23 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 24 | 25 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionDetailAllOf.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionDetailAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **account_name** | **str, none_type** | | 8 | **subtransactions** | [**[ScheduledSubTransaction]**](ScheduledSubTransaction.md) | If a split scheduled transaction, the subtransactions. | 9 | **payee_name** | **str, none_type** | | [optional] 10 | **category_name** | **str, none_type** | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionResponse.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**ScheduledTransactionResponseData**](ScheduledTransactionResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionResponseData.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **scheduled_transaction** | [**ScheduledTransactionDetail**](ScheduledTransactionDetail.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionSummary.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionSummary 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **date_first** | **date, none_type** | The first date for which the Scheduled Transaction was scheduled. | 9 | **date_next** | **date, none_type** | The next date for which the Scheduled Transaction is scheduled. | 10 | **frequency** | **str, none_type** | | 11 | **amount** | **int, none_type** | The scheduled transaction amount in milliunits format | 12 | **account_id** | **str, none_type** | | 13 | **deleted** | **bool** | Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests. | 14 | **memo** | **str, none_type** | | [optional] 15 | **flag_color** | **str, none_type** | The scheduled transaction flag | [optional] 16 | **payee_id** | **str, none_type** | | [optional] 17 | **category_id** | **str, none_type** | | [optional] 18 | **transfer_account_id** | **str, none_type** | If a transfer, the account_id which the scheduled transaction transfers to | [optional] 19 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 20 | 21 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionsResponse.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**ScheduledTransactionsResponseData**](ScheduledTransactionsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/ScheduledTransactionsResponseData.md: -------------------------------------------------------------------------------- 1 | # ScheduledTransactionsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **scheduled_transactions** | [**[ScheduledTransactionDetail]**](ScheduledTransactionDetail.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/SubTransaction.md: -------------------------------------------------------------------------------- 1 | # SubTransaction 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **transaction_id** | **str, none_type** | | 9 | **amount** | **int, none_type** | The subtransaction amount in milliunits format | 10 | **deleted** | **bool** | Whether or not the subtransaction has been deleted. Deleted subtransactions will only be included in delta requests. | 11 | **memo** | **str, none_type** | | [optional] 12 | **payee_id** | **str, none_type** | | [optional] 13 | **payee_name** | **str, none_type** | | [optional] 14 | **category_id** | **str, none_type** | | [optional] 15 | **category_name** | **str, none_type** | | [optional] 16 | **transfer_account_id** | **str, none_type** | If a transfer, the account_id which the subtransaction transfers to | [optional] 17 | **transfer_transaction_id** | **str, none_type** | If a transfer, the id of transaction on the other side of the transfer | [optional] 18 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 19 | 20 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/TransactionDetail.md: -------------------------------------------------------------------------------- 1 | # TransactionDetail 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **date** | **date, none_type** | The transaction date in ISO format (e.g. 2016-12-01) | 9 | **amount** | **int, none_type** | The transaction amount in milliunits format | 10 | **cleared** | **str, none_type** | The cleared status of the transaction | 11 | **approved** | **bool** | Whether or not the transaction is approved | 12 | **account_id** | **str, none_type** | | 13 | **deleted** | **bool** | Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests. | 14 | **account_name** | **str, none_type** | | 15 | **subtransactions** | [**[SubTransaction]**](SubTransaction.md) | If a split transaction, the subtransactions. | 16 | **memo** | **str, none_type** | | [optional] 17 | **flag_color** | **str, none_type** | The transaction flag | [optional] 18 | **payee_id** | **str, none_type** | | [optional] 19 | **category_id** | **str, none_type** | | [optional] 20 | **transfer_account_id** | **str, none_type** | If a transfer transaction, the account to which it transfers | [optional] 21 | **transfer_transaction_id** | **str, none_type** | If a transfer transaction, the id of transaction on the other side of the transfer | [optional] 22 | **matched_transaction_id** | **str, none_type** | If transaction is matched, the id of the matched transaction | [optional] 23 | **import_id** | **str, none_type** | If the Transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'. | [optional] 24 | **payee_name** | **str, none_type** | | [optional] 25 | **category_name** | **str, none_type** | | [optional] 26 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 27 | 28 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 29 | 30 | 31 | -------------------------------------------------------------------------------- /docs/TransactionDetailAllOf.md: -------------------------------------------------------------------------------- 1 | # TransactionDetailAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **account_name** | **str, none_type** | | 8 | **subtransactions** | [**[SubTransaction]**](SubTransaction.md) | If a split transaction, the subtransactions. | 9 | **payee_name** | **str, none_type** | | [optional] 10 | **category_name** | **str, none_type** | | [optional] 11 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/TransactionResponse.md: -------------------------------------------------------------------------------- 1 | # TransactionResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**TransactionResponseData**](TransactionResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TransactionResponseData.md: -------------------------------------------------------------------------------- 1 | # TransactionResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction** | [**TransactionDetail**](TransactionDetail.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TransactionSummary.md: -------------------------------------------------------------------------------- 1 | # TransactionSummary 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **date** | **date, none_type** | The transaction date in ISO format (e.g. 2016-12-01) | 9 | **amount** | **int, none_type** | The transaction amount in milliunits format | 10 | **cleared** | **str, none_type** | The cleared status of the transaction | 11 | **approved** | **bool** | Whether or not the transaction is approved | 12 | **account_id** | **str, none_type** | | 13 | **deleted** | **bool** | Whether or not the transaction has been deleted. Deleted transactions will only be included in delta requests. | 14 | **memo** | **str, none_type** | | [optional] 15 | **flag_color** | **str, none_type** | The transaction flag | [optional] 16 | **payee_id** | **str, none_type** | | [optional] 17 | **category_id** | **str, none_type** | | [optional] 18 | **transfer_account_id** | **str, none_type** | If a transfer transaction, the account to which it transfers | [optional] 19 | **transfer_transaction_id** | **str, none_type** | If a transfer transaction, the id of transaction on the other side of the transfer | [optional] 20 | **matched_transaction_id** | **str, none_type** | If transaction is matched, the id of the matched transaction | [optional] 21 | **import_id** | **str, none_type** | If the Transaction was imported, this field is a unique (by account) import identifier. If this transaction was imported through File Based Import or Direct Import and not through the API, the import_id will have the format: 'YNAB:[milliunit_amount]:[iso_date]:[occurrence]'. For example, a transaction dated 2015-12-30 in the amount of -$294.23 USD would have an import_id of 'YNAB:-294230:2015-12-30:1'. If a second transaction on the same account was imported and had the same date and same amount, its import_id would be 'YNAB:-294230:2015-12-30:2'. | [optional] 22 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 23 | 24 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/TransactionsImportResponse.md: -------------------------------------------------------------------------------- 1 | # TransactionsImportResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**TransactionsImportResponseData**](TransactionsImportResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TransactionsImportResponseData.md: -------------------------------------------------------------------------------- 1 | # TransactionsImportResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transaction_ids** | **[str, none_type]** | The list of transaction ids that were imported. | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TransactionsResponse.md: -------------------------------------------------------------------------------- 1 | # TransactionsResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**TransactionsResponseData**](TransactionsResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/TransactionsResponseData.md: -------------------------------------------------------------------------------- 1 | # TransactionsResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transactions** | [**[TransactionDetail]**](TransactionDetail.md) | | 8 | **server_knowledge** | **int, none_type** | The knowledge of the server | 9 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/UpdateTransactionAllOf.md: -------------------------------------------------------------------------------- 1 | # UpdateTransactionAllOf 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/UpdateTransactionsWrapper.md: -------------------------------------------------------------------------------- 1 | # UpdateTransactionsWrapper 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **transactions** | [**[UpdateTransaction]**](UpdateTransaction.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/User.md: -------------------------------------------------------------------------------- 1 | # User 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **id** | **str, none_type** | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/UserResponse.md: -------------------------------------------------------------------------------- 1 | # UserResponse 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **data** | [**UserResponseData**](UserResponseData.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/UserResponseData.md: -------------------------------------------------------------------------------- 1 | # UserResponseData 2 | 3 | 4 | ## Properties 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **user** | [**User**](User.md) | | 8 | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | 13 | -------------------------------------------------------------------------------- /git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 3 | # 4 | # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" 5 | 6 | git_user_id=$1 7 | git_repo_id=$2 8 | release_note=$3 9 | git_host=$4 10 | 11 | if [ "$git_host" = "" ]; then 12 | git_host="github.com" 13 | echo "[INFO] No command line input provided. Set \$git_host to $git_host" 14 | fi 15 | 16 | if [ "$git_user_id" = "" ]; then 17 | git_user_id="GIT_USER_ID" 18 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 19 | fi 20 | 21 | if [ "$git_repo_id" = "" ]; then 22 | git_repo_id="GIT_REPO_ID" 23 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 24 | fi 25 | 26 | if [ "$release_note" = "" ]; then 27 | release_note="Minor update" 28 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 29 | fi 30 | 31 | # Initialize the local directory as a Git repository 32 | git init 33 | 34 | # Adds the files in the local repository and stages them for commit. 35 | git add . 36 | 37 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 38 | git commit -m "$release_note" 39 | 40 | # Sets the new remote 41 | git_remote=$(git remote) 42 | if [ "$git_remote" = "" ]; then # git remote not defined 43 | 44 | if [ "$GIT_TOKEN" = "" ]; then 45 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." 46 | git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git 47 | else 48 | git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git 49 | fi 50 | 51 | fi 52 | 53 | git pull origin master 54 | 55 | # Pushes (Forces) the changes in the local repository up to the remote repository 56 | echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" 57 | git push origin master 2>&1 | grep -v 'To https' 58 | -------------------------------------------------------------------------------- /openapi-generator-cli.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmlerner/ynab-api/08f099b4d77d7fbd02ffa68eed6241f938f3760f/openapi-generator-cli.jar -------------------------------------------------------------------------------- /regeneration-instructions.md: -------------------------------------------------------------------------------- 1 | 1. Download official spec: 2 | 3 | ``` 4 | wget https://api.youneedabudget.com/papi/spec-v1-swagger.json 5 | ``` 6 | 7 | 2. Convert from swagger to openapi 3: 8 | 9 | ``` 10 | java -jar ./swagger-codegen-cli-3.0.29.jar generate -l openapi -i spec-v1-swagger.json -o . 11 | ``` 12 | 13 | 3. Manually make "note" field nullable in all three locations. 14 | 15 | That is, change: 16 | 17 | ``` 18 | "note" : { 19 | "type" : "string" 20 | }, 21 | ``` 22 | 23 | to: 24 | 25 | ``` 26 | "note" : { 27 | "type" : "string", 28 | "nullable" : true 29 | }, 30 | ``` 31 | 32 | 4. Generate api: 33 | 34 | ``` 35 | java -jar openapi-generator-cli.jar generate -i openapi.json -g python --enable-post-process-file --package-name ynab_api 36 | ``` 37 | 38 | 5. Optionally, format: 39 | 40 | ``` 41 | yapf -ir **/*.py 42 | ``` 43 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | python_dateutil >= 2.5.3 2 | setuptools >= 21.0.0 3 | urllib3 >= 1.25.3 4 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length=99 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 2.0.3 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | from setuptools import setup, find_packages # noqa: H301 11 | 12 | NAME = "ynab-api" 13 | VERSION = "2.0.2" 14 | # To install the library, run the following 15 | # 16 | # python setup.py install 17 | # 18 | # prerequisite: setuptools 19 | # http://pypi.python.org/pypi/setuptools 20 | 21 | REQUIRES = [ 22 | "urllib3 >= 1.25.3", 23 | "python-dateutil", 24 | ] 25 | 26 | setup(name=NAME, 27 | version=VERSION, 28 | description="YNAB API Endpoints", 29 | author="OpenAPI Generator community", 30 | author_email="team@openapitools.org", 31 | url="", 32 | keywords=["OpenAPI", "OpenAPI-Generator", "YNAB API Endpoints"], 33 | python_requires=">=3.6", 34 | install_requires=REQUIRES, 35 | packages=find_packages(exclude=["test", "tests"]), 36 | include_package_data=True, 37 | long_description="""\ 38 | 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.youneedabudget.com # noqa: E501 39 | """) 40 | -------------------------------------------------------------------------------- /swagger-codegen-cli-3.0.29.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmlerner/ynab-api/08f099b4d77d7fbd02ffa68eed6241f938f3760f/swagger-codegen-cli-3.0.29.jar -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-cov>=2.8.1 2 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmlerner/ynab-api/08f099b4d77d7fbd02ffa68eed6241f938f3760f/test/__init__.py -------------------------------------------------------------------------------- /test/test_account.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | 16 | 17 | class TestAccount(unittest.TestCase): 18 | """Account unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testAccount(self): 26 | """Test Account""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = Account() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_account_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account_response_data import AccountResponseData 15 | 16 | globals()['AccountResponseData'] = AccountResponseData 17 | from ynab_api.model.account_response import AccountResponse 18 | 19 | 20 | class TestAccountResponse(unittest.TestCase): 21 | """AccountResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testAccountResponse(self): 29 | """Test AccountResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = AccountResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_account_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | 16 | globals()['Account'] = Account 17 | from ynab_api.model.account_response_data import AccountResponseData 18 | 19 | 20 | class TestAccountResponseData(unittest.TestCase): 21 | """AccountResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testAccountResponseData(self): 29 | """Test AccountResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = AccountResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_accounts_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.accounts_api import AccountsApi # noqa: E501 14 | 15 | 16 | class TestAccountsApi(unittest.TestCase): 17 | """AccountsApi unit test stubs""" 18 | def setUp(self): 19 | self.api = AccountsApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_create_account(self): 25 | """Test case for create_account 26 | 27 | Create a new account # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_account_by_id(self): 32 | """Test case for get_account_by_id 33 | 34 | Single account # noqa: E501 35 | """ 36 | pass 37 | 38 | def test_get_accounts(self): 39 | """Test case for get_accounts 40 | 41 | Account list # noqa: E501 42 | """ 43 | pass 44 | 45 | 46 | if __name__ == '__main__': 47 | unittest.main() 48 | -------------------------------------------------------------------------------- /test/test_accounts_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.accounts_response_data import AccountsResponseData 15 | 16 | globals()['AccountsResponseData'] = AccountsResponseData 17 | from ynab_api.model.accounts_response import AccountsResponse 18 | 19 | 20 | class TestAccountsResponse(unittest.TestCase): 21 | """AccountsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testAccountsResponse(self): 29 | """Test AccountsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = AccountsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_accounts_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | 16 | globals()['Account'] = Account 17 | from ynab_api.model.accounts_response_data import AccountsResponseData 18 | 19 | 20 | class TestAccountsResponseData(unittest.TestCase): 21 | """AccountsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testAccountsResponseData(self): 29 | """Test AccountsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = AccountsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_detail.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | from ynab_api.model.budget_detail_all_of import BudgetDetailAllOf 16 | from ynab_api.model.budget_summary import BudgetSummary 17 | from ynab_api.model.category import Category 18 | from ynab_api.model.category_group import CategoryGroup 19 | from ynab_api.model.currency_format import CurrencyFormat 20 | from ynab_api.model.date_format import DateFormat 21 | from ynab_api.model.month_detail import MonthDetail 22 | from ynab_api.model.payee import Payee 23 | from ynab_api.model.payee_location import PayeeLocation 24 | from ynab_api.model.scheduled_sub_transaction import ScheduledSubTransaction 25 | from ynab_api.model.scheduled_transaction_summary import ScheduledTransactionSummary 26 | from ynab_api.model.sub_transaction import SubTransaction 27 | from ynab_api.model.transaction_summary import TransactionSummary 28 | 29 | globals()['Account'] = Account 30 | globals()['BudgetDetailAllOf'] = BudgetDetailAllOf 31 | globals()['BudgetSummary'] = BudgetSummary 32 | globals()['Category'] = Category 33 | globals()['CategoryGroup'] = CategoryGroup 34 | globals()['CurrencyFormat'] = CurrencyFormat 35 | globals()['DateFormat'] = DateFormat 36 | globals()['MonthDetail'] = MonthDetail 37 | globals()['Payee'] = Payee 38 | globals()['PayeeLocation'] = PayeeLocation 39 | globals()['ScheduledSubTransaction'] = ScheduledSubTransaction 40 | globals()['ScheduledTransactionSummary'] = ScheduledTransactionSummary 41 | globals()['SubTransaction'] = SubTransaction 42 | globals()['TransactionSummary'] = TransactionSummary 43 | from ynab_api.model.budget_detail import BudgetDetail 44 | 45 | 46 | class TestBudgetDetail(unittest.TestCase): 47 | """BudgetDetail unit test stubs""" 48 | def setUp(self): 49 | pass 50 | 51 | def tearDown(self): 52 | pass 53 | 54 | def testBudgetDetail(self): 55 | """Test BudgetDetail""" 56 | # FIXME: construct object with mandatory attributes with example values 57 | # model = BudgetDetail() # noqa: E501 58 | pass 59 | 60 | 61 | if __name__ == '__main__': 62 | unittest.main() 63 | -------------------------------------------------------------------------------- /test/test_budget_detail_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | from ynab_api.model.category import Category 16 | from ynab_api.model.category_group import CategoryGroup 17 | from ynab_api.model.month_detail import MonthDetail 18 | from ynab_api.model.payee import Payee 19 | from ynab_api.model.payee_location import PayeeLocation 20 | from ynab_api.model.scheduled_sub_transaction import ScheduledSubTransaction 21 | from ynab_api.model.scheduled_transaction_summary import ScheduledTransactionSummary 22 | from ynab_api.model.sub_transaction import SubTransaction 23 | from ynab_api.model.transaction_summary import TransactionSummary 24 | 25 | globals()['Account'] = Account 26 | globals()['Category'] = Category 27 | globals()['CategoryGroup'] = CategoryGroup 28 | globals()['MonthDetail'] = MonthDetail 29 | globals()['Payee'] = Payee 30 | globals()['PayeeLocation'] = PayeeLocation 31 | globals()['ScheduledSubTransaction'] = ScheduledSubTransaction 32 | globals()['ScheduledTransactionSummary'] = ScheduledTransactionSummary 33 | globals()['SubTransaction'] = SubTransaction 34 | globals()['TransactionSummary'] = TransactionSummary 35 | from ynab_api.model.budget_detail_all_of import BudgetDetailAllOf 36 | 37 | 38 | class TestBudgetDetailAllOf(unittest.TestCase): 39 | """BudgetDetailAllOf unit test stubs""" 40 | def setUp(self): 41 | pass 42 | 43 | def tearDown(self): 44 | pass 45 | 46 | def testBudgetDetailAllOf(self): 47 | """Test BudgetDetailAllOf""" 48 | # FIXME: construct object with mandatory attributes with example values 49 | # model = BudgetDetailAllOf() # noqa: E501 50 | pass 51 | 52 | 53 | if __name__ == '__main__': 54 | unittest.main() 55 | -------------------------------------------------------------------------------- /test/test_budget_detail_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_detail_response_data import BudgetDetailResponseData 15 | 16 | globals()['BudgetDetailResponseData'] = BudgetDetailResponseData 17 | from ynab_api.model.budget_detail_response import BudgetDetailResponse 18 | 19 | 20 | class TestBudgetDetailResponse(unittest.TestCase): 21 | """BudgetDetailResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetDetailResponse(self): 29 | """Test BudgetDetailResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetDetailResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_detail_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_detail import BudgetDetail 15 | 16 | globals()['BudgetDetail'] = BudgetDetail 17 | from ynab_api.model.budget_detail_response_data import BudgetDetailResponseData 18 | 19 | 20 | class TestBudgetDetailResponseData(unittest.TestCase): 21 | """BudgetDetailResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetDetailResponseData(self): 29 | """Test BudgetDetailResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetDetailResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_settings.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.currency_format import CurrencyFormat 15 | from ynab_api.model.date_format import DateFormat 16 | 17 | globals()['CurrencyFormat'] = CurrencyFormat 18 | globals()['DateFormat'] = DateFormat 19 | from ynab_api.model.budget_settings import BudgetSettings 20 | 21 | 22 | class TestBudgetSettings(unittest.TestCase): 23 | """BudgetSettings unit test stubs""" 24 | def setUp(self): 25 | pass 26 | 27 | def tearDown(self): 28 | pass 29 | 30 | def testBudgetSettings(self): 31 | """Test BudgetSettings""" 32 | # FIXME: construct object with mandatory attributes with example values 33 | # model = BudgetSettings() # noqa: E501 34 | pass 35 | 36 | 37 | if __name__ == '__main__': 38 | unittest.main() 39 | -------------------------------------------------------------------------------- /test/test_budget_settings_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_settings_response_data import BudgetSettingsResponseData 15 | 16 | globals()['BudgetSettingsResponseData'] = BudgetSettingsResponseData 17 | from ynab_api.model.budget_settings_response import BudgetSettingsResponse 18 | 19 | 20 | class TestBudgetSettingsResponse(unittest.TestCase): 21 | """BudgetSettingsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetSettingsResponse(self): 29 | """Test BudgetSettingsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetSettingsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_settings_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_settings import BudgetSettings 15 | 16 | globals()['BudgetSettings'] = BudgetSettings 17 | from ynab_api.model.budget_settings_response_data import BudgetSettingsResponseData 18 | 19 | 20 | class TestBudgetSettingsResponseData(unittest.TestCase): 21 | """BudgetSettingsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetSettingsResponseData(self): 29 | """Test BudgetSettingsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetSettingsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_summary.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.account import Account 15 | from ynab_api.model.currency_format import CurrencyFormat 16 | from ynab_api.model.date_format import DateFormat 17 | 18 | globals()['Account'] = Account 19 | globals()['CurrencyFormat'] = CurrencyFormat 20 | globals()['DateFormat'] = DateFormat 21 | from ynab_api.model.budget_summary import BudgetSummary 22 | 23 | 24 | class TestBudgetSummary(unittest.TestCase): 25 | """BudgetSummary unit test stubs""" 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testBudgetSummary(self): 33 | """Test BudgetSummary""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = BudgetSummary() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_budget_summary_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_summary_response_data import BudgetSummaryResponseData 15 | 16 | globals()['BudgetSummaryResponseData'] = BudgetSummaryResponseData 17 | from ynab_api.model.budget_summary_response import BudgetSummaryResponse 18 | 19 | 20 | class TestBudgetSummaryResponse(unittest.TestCase): 21 | """BudgetSummaryResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetSummaryResponse(self): 29 | """Test BudgetSummaryResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetSummaryResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budget_summary_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.budget_summary import BudgetSummary 15 | 16 | globals()['BudgetSummary'] = BudgetSummary 17 | from ynab_api.model.budget_summary_response_data import BudgetSummaryResponseData 18 | 19 | 20 | class TestBudgetSummaryResponseData(unittest.TestCase): 21 | """BudgetSummaryResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBudgetSummaryResponseData(self): 29 | """Test BudgetSummaryResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BudgetSummaryResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_budgets_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.budgets_api import BudgetsApi # noqa: E501 14 | 15 | 16 | class TestBudgetsApi(unittest.TestCase): 17 | """BudgetsApi unit test stubs""" 18 | def setUp(self): 19 | self.api = BudgetsApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_budget_by_id(self): 25 | """Test case for get_budget_by_id 26 | 27 | Single budget # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_budget_settings_by_id(self): 32 | """Test case for get_budget_settings_by_id 33 | 34 | Budget Settings # noqa: E501 35 | """ 36 | pass 37 | 38 | def test_get_budgets(self): 39 | """Test case for get_budgets 40 | 41 | List budgets # noqa: E501 42 | """ 43 | pass 44 | 45 | 46 | if __name__ == '__main__': 47 | unittest.main() 48 | -------------------------------------------------------------------------------- /test/test_bulk_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.bulk_response_data import BulkResponseData 15 | 16 | globals()['BulkResponseData'] = BulkResponseData 17 | from ynab_api.model.bulk_response import BulkResponse 18 | 19 | 20 | class TestBulkResponse(unittest.TestCase): 21 | """BulkResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBulkResponse(self): 29 | """Test BulkResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BulkResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_bulk_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.bulk_response_data_bulk import BulkResponseDataBulk 15 | 16 | globals()['BulkResponseDataBulk'] = BulkResponseDataBulk 17 | from ynab_api.model.bulk_response_data import BulkResponseData 18 | 19 | 20 | class TestBulkResponseData(unittest.TestCase): 21 | """BulkResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBulkResponseData(self): 29 | """Test BulkResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BulkResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_bulk_response_data_bulk.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.bulk_response_data_bulk import BulkResponseDataBulk 15 | 16 | 17 | class TestBulkResponseDataBulk(unittest.TestCase): 18 | """BulkResponseDataBulk unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testBulkResponseDataBulk(self): 26 | """Test BulkResponseDataBulk""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = BulkResponseDataBulk() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_bulk_transactions.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_transaction import SaveTransaction 15 | 16 | globals()['SaveTransaction'] = SaveTransaction 17 | from ynab_api.model.bulk_transactions import BulkTransactions 18 | 19 | 20 | class TestBulkTransactions(unittest.TestCase): 21 | """BulkTransactions unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testBulkTransactions(self): 29 | """Test BulkTransactions""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = BulkTransactions() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_categories_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.categories_api import CategoriesApi # noqa: E501 14 | 15 | 16 | class TestCategoriesApi(unittest.TestCase): 17 | """CategoriesApi unit test stubs""" 18 | def setUp(self): 19 | self.api = CategoriesApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_categories(self): 25 | """Test case for get_categories 26 | 27 | List categories # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_category_by_id(self): 32 | """Test case for get_category_by_id 33 | 34 | Single category # noqa: E501 35 | """ 36 | pass 37 | 38 | def test_get_month_category_by_id(self): 39 | """Test case for get_month_category_by_id 40 | 41 | Single category for a specific budget month # noqa: E501 42 | """ 43 | pass 44 | 45 | def test_update_month_category(self): 46 | """Test case for update_month_category 47 | 48 | Update a category for a specific month # noqa: E501 49 | """ 50 | pass 51 | 52 | 53 | if __name__ == '__main__': 54 | unittest.main() 55 | -------------------------------------------------------------------------------- /test/test_categories_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.categories_response_data import CategoriesResponseData 15 | 16 | globals()['CategoriesResponseData'] = CategoriesResponseData 17 | from ynab_api.model.categories_response import CategoriesResponse 18 | 19 | 20 | class TestCategoriesResponse(unittest.TestCase): 21 | """CategoriesResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testCategoriesResponse(self): 29 | """Test CategoriesResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = CategoriesResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_categories_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category_group_with_categories import CategoryGroupWithCategories 15 | 16 | globals()['CategoryGroupWithCategories'] = CategoryGroupWithCategories 17 | from ynab_api.model.categories_response_data import CategoriesResponseData 18 | 19 | 20 | class TestCategoriesResponseData(unittest.TestCase): 21 | """CategoriesResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testCategoriesResponseData(self): 29 | """Test CategoriesResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = CategoriesResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_category.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | 16 | 17 | class TestCategory(unittest.TestCase): 18 | """Category unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testCategory(self): 26 | """Test Category""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = Category() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_category_group.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category_group import CategoryGroup 15 | 16 | 17 | class TestCategoryGroup(unittest.TestCase): 18 | """CategoryGroup unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testCategoryGroup(self): 26 | """Test CategoryGroup""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = CategoryGroup() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_category_group_with_categories.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | from ynab_api.model.category_group import CategoryGroup 16 | from ynab_api.model.category_group_with_categories_all_of import CategoryGroupWithCategoriesAllOf 17 | 18 | globals()['Category'] = Category 19 | globals()['CategoryGroup'] = CategoryGroup 20 | globals( 21 | )['CategoryGroupWithCategoriesAllOf'] = CategoryGroupWithCategoriesAllOf 22 | from ynab_api.model.category_group_with_categories import CategoryGroupWithCategories 23 | 24 | 25 | class TestCategoryGroupWithCategories(unittest.TestCase): 26 | """CategoryGroupWithCategories unit test stubs""" 27 | def setUp(self): 28 | pass 29 | 30 | def tearDown(self): 31 | pass 32 | 33 | def testCategoryGroupWithCategories(self): 34 | """Test CategoryGroupWithCategories""" 35 | # FIXME: construct object with mandatory attributes with example values 36 | # model = CategoryGroupWithCategories() # noqa: E501 37 | pass 38 | 39 | 40 | if __name__ == '__main__': 41 | unittest.main() 42 | -------------------------------------------------------------------------------- /test/test_category_group_with_categories_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | 16 | globals()['Category'] = Category 17 | from ynab_api.model.category_group_with_categories_all_of import CategoryGroupWithCategoriesAllOf 18 | 19 | 20 | class TestCategoryGroupWithCategoriesAllOf(unittest.TestCase): 21 | """CategoryGroupWithCategoriesAllOf unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testCategoryGroupWithCategoriesAllOf(self): 29 | """Test CategoryGroupWithCategoriesAllOf""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = CategoryGroupWithCategoriesAllOf() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_category_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category_response_data import CategoryResponseData 15 | 16 | globals()['CategoryResponseData'] = CategoryResponseData 17 | from ynab_api.model.category_response import CategoryResponse 18 | 19 | 20 | class TestCategoryResponse(unittest.TestCase): 21 | """CategoryResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testCategoryResponse(self): 29 | """Test CategoryResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = CategoryResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_category_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | 16 | globals()['Category'] = Category 17 | from ynab_api.model.category_response_data import CategoryResponseData 18 | 19 | 20 | class TestCategoryResponseData(unittest.TestCase): 21 | """CategoryResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testCategoryResponseData(self): 29 | """Test CategoryResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = CategoryResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_currency_format.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.currency_format import CurrencyFormat 15 | 16 | 17 | class TestCurrencyFormat(unittest.TestCase): 18 | """CurrencyFormat unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testCurrencyFormat(self): 26 | """Test CurrencyFormat""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = CurrencyFormat() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_date_format.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.date_format import DateFormat 15 | 16 | 17 | class TestDateFormat(unittest.TestCase): 18 | """DateFormat unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testDateFormat(self): 26 | """Test DateFormat""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = DateFormat() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_deprecated_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.deprecated_api import DeprecatedApi # noqa: E501 14 | 15 | 16 | class TestDeprecatedApi(unittest.TestCase): 17 | """DeprecatedApi unit test stubs""" 18 | def setUp(self): 19 | self.api = DeprecatedApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_bulk_create_transactions(self): 25 | """Test case for bulk_create_transactions 26 | 27 | Bulk create transactions # noqa: E501 28 | """ 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_error_detail.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.error_detail import ErrorDetail 15 | 16 | 17 | class TestErrorDetail(unittest.TestCase): 18 | """ErrorDetail unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testErrorDetail(self): 26 | """Test ErrorDetail""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = ErrorDetail() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_error_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.error_detail import ErrorDetail 15 | 16 | globals()['ErrorDetail'] = ErrorDetail 17 | from ynab_api.model.error_response import ErrorResponse 18 | 19 | 20 | class TestErrorResponse(unittest.TestCase): 21 | """ErrorResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testErrorResponse(self): 29 | """Test ErrorResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = ErrorResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_hybrid_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.hybrid_transaction_all_of import HybridTransactionAllOf 15 | from ynab_api.model.transaction_summary import TransactionSummary 16 | 17 | globals()['HybridTransactionAllOf'] = HybridTransactionAllOf 18 | globals()['TransactionSummary'] = TransactionSummary 19 | from ynab_api.model.hybrid_transaction import HybridTransaction 20 | 21 | 22 | class TestHybridTransaction(unittest.TestCase): 23 | """HybridTransaction unit test stubs""" 24 | def setUp(self): 25 | pass 26 | 27 | def tearDown(self): 28 | pass 29 | 30 | def testHybridTransaction(self): 31 | """Test HybridTransaction""" 32 | # FIXME: construct object with mandatory attributes with example values 33 | # model = HybridTransaction() # noqa: E501 34 | pass 35 | 36 | 37 | if __name__ == '__main__': 38 | unittest.main() 39 | -------------------------------------------------------------------------------- /test/test_hybrid_transaction_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.hybrid_transaction_all_of import HybridTransactionAllOf 15 | 16 | 17 | class TestHybridTransactionAllOf(unittest.TestCase): 18 | """HybridTransactionAllOf unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testHybridTransactionAllOf(self): 26 | """Test HybridTransactionAllOf""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = HybridTransactionAllOf() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_hybrid_transactions_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.hybrid_transactions_response_data import HybridTransactionsResponseData 15 | 16 | globals()['HybridTransactionsResponseData'] = HybridTransactionsResponseData 17 | from ynab_api.model.hybrid_transactions_response import HybridTransactionsResponse 18 | 19 | 20 | class TestHybridTransactionsResponse(unittest.TestCase): 21 | """HybridTransactionsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testHybridTransactionsResponse(self): 29 | """Test HybridTransactionsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = HybridTransactionsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_hybrid_transactions_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.hybrid_transaction import HybridTransaction 15 | 16 | globals()['HybridTransaction'] = HybridTransaction 17 | from ynab_api.model.hybrid_transactions_response_data import HybridTransactionsResponseData 18 | 19 | 20 | class TestHybridTransactionsResponseData(unittest.TestCase): 21 | """HybridTransactionsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testHybridTransactionsResponseData(self): 29 | """Test HybridTransactionsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = HybridTransactionsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_detail.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | from ynab_api.model.month_detail_all_of import MonthDetailAllOf 16 | from ynab_api.model.month_summary import MonthSummary 17 | 18 | globals()['Category'] = Category 19 | globals()['MonthDetailAllOf'] = MonthDetailAllOf 20 | globals()['MonthSummary'] = MonthSummary 21 | from ynab_api.model.month_detail import MonthDetail 22 | 23 | 24 | class TestMonthDetail(unittest.TestCase): 25 | """MonthDetail unit test stubs""" 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testMonthDetail(self): 33 | """Test MonthDetail""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = MonthDetail() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_month_detail_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | 16 | globals()['Category'] = Category 17 | from ynab_api.model.month_detail_all_of import MonthDetailAllOf 18 | 19 | 20 | class TestMonthDetailAllOf(unittest.TestCase): 21 | """MonthDetailAllOf unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testMonthDetailAllOf(self): 29 | """Test MonthDetailAllOf""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = MonthDetailAllOf() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_detail_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.month_detail_response_data import MonthDetailResponseData 15 | 16 | globals()['MonthDetailResponseData'] = MonthDetailResponseData 17 | from ynab_api.model.month_detail_response import MonthDetailResponse 18 | 19 | 20 | class TestMonthDetailResponse(unittest.TestCase): 21 | """MonthDetailResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testMonthDetailResponse(self): 29 | """Test MonthDetailResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = MonthDetailResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_detail_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.month_detail import MonthDetail 15 | 16 | globals()['MonthDetail'] = MonthDetail 17 | from ynab_api.model.month_detail_response_data import MonthDetailResponseData 18 | 19 | 20 | class TestMonthDetailResponseData(unittest.TestCase): 21 | """MonthDetailResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testMonthDetailResponseData(self): 29 | """Test MonthDetailResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = MonthDetailResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_summaries_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.month_summaries_response_data import MonthSummariesResponseData 15 | 16 | globals()['MonthSummariesResponseData'] = MonthSummariesResponseData 17 | from ynab_api.model.month_summaries_response import MonthSummariesResponse 18 | 19 | 20 | class TestMonthSummariesResponse(unittest.TestCase): 21 | """MonthSummariesResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testMonthSummariesResponse(self): 29 | """Test MonthSummariesResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = MonthSummariesResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_summaries_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.month_summary import MonthSummary 15 | 16 | globals()['MonthSummary'] = MonthSummary 17 | from ynab_api.model.month_summaries_response_data import MonthSummariesResponseData 18 | 19 | 20 | class TestMonthSummariesResponseData(unittest.TestCase): 21 | """MonthSummariesResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testMonthSummariesResponseData(self): 29 | """Test MonthSummariesResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = MonthSummariesResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_month_summary.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.month_summary import MonthSummary 15 | 16 | 17 | class TestMonthSummary(unittest.TestCase): 18 | """MonthSummary unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testMonthSummary(self): 26 | """Test MonthSummary""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = MonthSummary() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_months_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.months_api import MonthsApi # noqa: E501 14 | 15 | 16 | class TestMonthsApi(unittest.TestCase): 17 | """MonthsApi unit test stubs""" 18 | def setUp(self): 19 | self.api = MonthsApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_budget_month(self): 25 | """Test case for get_budget_month 26 | 27 | Single budget month # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_budget_months(self): 32 | """Test case for get_budget_months 33 | 34 | List budget months # noqa: E501 35 | """ 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_payee.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee import Payee 15 | 16 | 17 | class TestPayee(unittest.TestCase): 18 | """Payee unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testPayee(self): 26 | """Test Payee""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = Payee() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_payee_location.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_location import PayeeLocation 15 | 16 | 17 | class TestPayeeLocation(unittest.TestCase): 18 | """PayeeLocation unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testPayeeLocation(self): 26 | """Test PayeeLocation""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = PayeeLocation() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_payee_location_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_location_response_data import PayeeLocationResponseData 15 | 16 | globals()['PayeeLocationResponseData'] = PayeeLocationResponseData 17 | from ynab_api.model.payee_location_response import PayeeLocationResponse 18 | 19 | 20 | class TestPayeeLocationResponse(unittest.TestCase): 21 | """PayeeLocationResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeLocationResponse(self): 29 | """Test PayeeLocationResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeLocationResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payee_location_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_location import PayeeLocation 15 | 16 | globals()['PayeeLocation'] = PayeeLocation 17 | from ynab_api.model.payee_location_response_data import PayeeLocationResponseData 18 | 19 | 20 | class TestPayeeLocationResponseData(unittest.TestCase): 21 | """PayeeLocationResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeLocationResponseData(self): 29 | """Test PayeeLocationResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeLocationResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payee_locations_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.payee_locations_api import PayeeLocationsApi # noqa: E501 14 | 15 | 16 | class TestPayeeLocationsApi(unittest.TestCase): 17 | """PayeeLocationsApi unit test stubs""" 18 | def setUp(self): 19 | self.api = PayeeLocationsApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_payee_location_by_id(self): 25 | """Test case for get_payee_location_by_id 26 | 27 | Single payee location # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_payee_locations(self): 32 | """Test case for get_payee_locations 33 | 34 | List payee locations # noqa: E501 35 | """ 36 | pass 37 | 38 | def test_get_payee_locations_by_payee(self): 39 | """Test case for get_payee_locations_by_payee 40 | 41 | List locations for a payee # noqa: E501 42 | """ 43 | pass 44 | 45 | 46 | if __name__ == '__main__': 47 | unittest.main() 48 | -------------------------------------------------------------------------------- /test/test_payee_locations_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_locations_response_data import PayeeLocationsResponseData 15 | 16 | globals()['PayeeLocationsResponseData'] = PayeeLocationsResponseData 17 | from ynab_api.model.payee_locations_response import PayeeLocationsResponse 18 | 19 | 20 | class TestPayeeLocationsResponse(unittest.TestCase): 21 | """PayeeLocationsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeLocationsResponse(self): 29 | """Test PayeeLocationsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeLocationsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payee_locations_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_location import PayeeLocation 15 | 16 | globals()['PayeeLocation'] = PayeeLocation 17 | from ynab_api.model.payee_locations_response_data import PayeeLocationsResponseData 18 | 19 | 20 | class TestPayeeLocationsResponseData(unittest.TestCase): 21 | """PayeeLocationsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeLocationsResponseData(self): 29 | """Test PayeeLocationsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeLocationsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payee_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee_response_data import PayeeResponseData 15 | 16 | globals()['PayeeResponseData'] = PayeeResponseData 17 | from ynab_api.model.payee_response import PayeeResponse 18 | 19 | 20 | class TestPayeeResponse(unittest.TestCase): 21 | """PayeeResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeResponse(self): 29 | """Test PayeeResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payee_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee import Payee 15 | 16 | globals()['Payee'] = Payee 17 | from ynab_api.model.payee_response_data import PayeeResponseData 18 | 19 | 20 | class TestPayeeResponseData(unittest.TestCase): 21 | """PayeeResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeeResponseData(self): 29 | """Test PayeeResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeeResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payees_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.payees_api import PayeesApi # noqa: E501 14 | 15 | 16 | class TestPayeesApi(unittest.TestCase): 17 | """PayeesApi unit test stubs""" 18 | def setUp(self): 19 | self.api = PayeesApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_payee_by_id(self): 25 | """Test case for get_payee_by_id 26 | 27 | Single payee # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_payees(self): 32 | """Test case for get_payees 33 | 34 | List payees # noqa: E501 35 | """ 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_payees_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payees_response_data import PayeesResponseData 15 | 16 | globals()['PayeesResponseData'] = PayeesResponseData 17 | from ynab_api.model.payees_response import PayeesResponse 18 | 19 | 20 | class TestPayeesResponse(unittest.TestCase): 21 | """PayeesResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeesResponse(self): 29 | """Test PayeesResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeesResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_payees_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.payee import Payee 15 | 16 | globals()['Payee'] = Payee 17 | from ynab_api.model.payees_response_data import PayeesResponseData 18 | 19 | 20 | class TestPayeesResponseData(unittest.TestCase): 21 | """PayeesResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testPayeesResponseData(self): 29 | """Test PayeesResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = PayeesResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_account.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_account import SaveAccount 15 | 16 | 17 | class TestSaveAccount(unittest.TestCase): 18 | """SaveAccount unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testSaveAccount(self): 26 | """Test SaveAccount""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = SaveAccount() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_save_account_wrapper.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_account import SaveAccount 15 | 16 | globals()['SaveAccount'] = SaveAccount 17 | from ynab_api.model.save_account_wrapper import SaveAccountWrapper 18 | 19 | 20 | class TestSaveAccountWrapper(unittest.TestCase): 21 | """SaveAccountWrapper unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveAccountWrapper(self): 29 | """Test SaveAccountWrapper""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveAccountWrapper() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_category_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_category_response_data import SaveCategoryResponseData 15 | 16 | globals()['SaveCategoryResponseData'] = SaveCategoryResponseData 17 | from ynab_api.model.save_category_response import SaveCategoryResponse 18 | 19 | 20 | class TestSaveCategoryResponse(unittest.TestCase): 21 | """SaveCategoryResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveCategoryResponse(self): 29 | """Test SaveCategoryResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveCategoryResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_category_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.category import Category 15 | 16 | globals()['Category'] = Category 17 | from ynab_api.model.save_category_response_data import SaveCategoryResponseData 18 | 19 | 20 | class TestSaveCategoryResponseData(unittest.TestCase): 21 | """SaveCategoryResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveCategoryResponseData(self): 29 | """Test SaveCategoryResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveCategoryResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_month_category.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_month_category import SaveMonthCategory 15 | 16 | 17 | class TestSaveMonthCategory(unittest.TestCase): 18 | """SaveMonthCategory unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testSaveMonthCategory(self): 26 | """Test SaveMonthCategory""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = SaveMonthCategory() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_save_month_category_wrapper.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_month_category import SaveMonthCategory 15 | 16 | globals()['SaveMonthCategory'] = SaveMonthCategory 17 | from ynab_api.model.save_month_category_wrapper import SaveMonthCategoryWrapper 18 | 19 | 20 | class TestSaveMonthCategoryWrapper(unittest.TestCase): 21 | """SaveMonthCategoryWrapper unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveMonthCategoryWrapper(self): 29 | """Test SaveMonthCategoryWrapper""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveMonthCategoryWrapper() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_sub_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_sub_transaction import SaveSubTransaction 15 | 16 | 17 | class TestSaveSubTransaction(unittest.TestCase): 18 | """SaveSubTransaction unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testSaveSubTransaction(self): 26 | """Test SaveSubTransaction""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = SaveSubTransaction() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_save_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_sub_transaction import SaveSubTransaction 15 | 16 | globals()['SaveSubTransaction'] = SaveSubTransaction 17 | from ynab_api.model.save_transaction import SaveTransaction 18 | 19 | 20 | class TestSaveTransaction(unittest.TestCase): 21 | """SaveTransaction unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveTransaction(self): 29 | """Test SaveTransaction""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveTransaction() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_transaction_wrapper.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_transaction import SaveTransaction 15 | 16 | globals()['SaveTransaction'] = SaveTransaction 17 | from ynab_api.model.save_transaction_wrapper import SaveTransactionWrapper 18 | 19 | 20 | class TestSaveTransactionWrapper(unittest.TestCase): 21 | """SaveTransactionWrapper unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveTransactionWrapper(self): 29 | """Test SaveTransactionWrapper""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveTransactionWrapper() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_transactions_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_transactions_response_data import SaveTransactionsResponseData 15 | 16 | globals()['SaveTransactionsResponseData'] = SaveTransactionsResponseData 17 | from ynab_api.model.save_transactions_response import SaveTransactionsResponse 18 | 19 | 20 | class TestSaveTransactionsResponse(unittest.TestCase): 21 | """SaveTransactionsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveTransactionsResponse(self): 29 | """Test SaveTransactionsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveTransactionsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_transactions_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transaction_detail import TransactionDetail 15 | 16 | globals()['TransactionDetail'] = TransactionDetail 17 | from ynab_api.model.save_transactions_response_data import SaveTransactionsResponseData 18 | 19 | 20 | class TestSaveTransactionsResponseData(unittest.TestCase): 21 | """SaveTransactionsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveTransactionsResponseData(self): 29 | """Test SaveTransactionsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveTransactionsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_save_transactions_wrapper.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_transaction import SaveTransaction 15 | 16 | globals()['SaveTransaction'] = SaveTransaction 17 | from ynab_api.model.save_transactions_wrapper import SaveTransactionsWrapper 18 | 19 | 20 | class TestSaveTransactionsWrapper(unittest.TestCase): 21 | """SaveTransactionsWrapper unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testSaveTransactionsWrapper(self): 29 | """Test SaveTransactionsWrapper""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = SaveTransactionsWrapper() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_scheduled_sub_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_sub_transaction import ScheduledSubTransaction 15 | 16 | 17 | class TestScheduledSubTransaction(unittest.TestCase): 18 | """ScheduledSubTransaction unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testScheduledSubTransaction(self): 26 | """Test ScheduledSubTransaction""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = ScheduledSubTransaction() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_scheduled_transaction_detail.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_sub_transaction import ScheduledSubTransaction 15 | from ynab_api.model.scheduled_transaction_detail_all_of import ScheduledTransactionDetailAllOf 16 | from ynab_api.model.scheduled_transaction_summary import ScheduledTransactionSummary 17 | 18 | globals()['ScheduledSubTransaction'] = ScheduledSubTransaction 19 | globals()['ScheduledTransactionDetailAllOf'] = ScheduledTransactionDetailAllOf 20 | globals()['ScheduledTransactionSummary'] = ScheduledTransactionSummary 21 | from ynab_api.model.scheduled_transaction_detail import ScheduledTransactionDetail 22 | 23 | 24 | class TestScheduledTransactionDetail(unittest.TestCase): 25 | """ScheduledTransactionDetail unit test stubs""" 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testScheduledTransactionDetail(self): 33 | """Test ScheduledTransactionDetail""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = ScheduledTransactionDetail() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_scheduled_transaction_detail_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_sub_transaction import ScheduledSubTransaction 15 | 16 | globals()['ScheduledSubTransaction'] = ScheduledSubTransaction 17 | from ynab_api.model.scheduled_transaction_detail_all_of import ScheduledTransactionDetailAllOf 18 | 19 | 20 | class TestScheduledTransactionDetailAllOf(unittest.TestCase): 21 | """ScheduledTransactionDetailAllOf unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testScheduledTransactionDetailAllOf(self): 29 | """Test ScheduledTransactionDetailAllOf""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = ScheduledTransactionDetailAllOf() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_scheduled_transaction_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_transaction_response_data import ScheduledTransactionResponseData 15 | 16 | globals( 17 | )['ScheduledTransactionResponseData'] = ScheduledTransactionResponseData 18 | from ynab_api.model.scheduled_transaction_response import ScheduledTransactionResponse 19 | 20 | 21 | class TestScheduledTransactionResponse(unittest.TestCase): 22 | """ScheduledTransactionResponse unit test stubs""" 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testScheduledTransactionResponse(self): 30 | """Test ScheduledTransactionResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = ScheduledTransactionResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_scheduled_transaction_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_transaction_detail import ScheduledTransactionDetail 15 | 16 | globals()['ScheduledTransactionDetail'] = ScheduledTransactionDetail 17 | from ynab_api.model.scheduled_transaction_response_data import ScheduledTransactionResponseData 18 | 19 | 20 | class TestScheduledTransactionResponseData(unittest.TestCase): 21 | """ScheduledTransactionResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testScheduledTransactionResponseData(self): 29 | """Test ScheduledTransactionResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = ScheduledTransactionResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_scheduled_transaction_summary.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_transaction_summary import ScheduledTransactionSummary 15 | 16 | 17 | class TestScheduledTransactionSummary(unittest.TestCase): 18 | """ScheduledTransactionSummary unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testScheduledTransactionSummary(self): 26 | """Test ScheduledTransactionSummary""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = ScheduledTransactionSummary() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_scheduled_transactions_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.scheduled_transactions_api import ScheduledTransactionsApi # noqa: E501 14 | 15 | 16 | class TestScheduledTransactionsApi(unittest.TestCase): 17 | """ScheduledTransactionsApi unit test stubs""" 18 | def setUp(self): 19 | self.api = ScheduledTransactionsApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_scheduled_transaction_by_id(self): 25 | """Test case for get_scheduled_transaction_by_id 26 | 27 | Single scheduled transaction # noqa: E501 28 | """ 29 | pass 30 | 31 | def test_get_scheduled_transactions(self): 32 | """Test case for get_scheduled_transactions 33 | 34 | List scheduled transactions # noqa: E501 35 | """ 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_scheduled_transactions_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_transactions_response_data import ScheduledTransactionsResponseData 15 | 16 | globals( 17 | )['ScheduledTransactionsResponseData'] = ScheduledTransactionsResponseData 18 | from ynab_api.model.scheduled_transactions_response import ScheduledTransactionsResponse 19 | 20 | 21 | class TestScheduledTransactionsResponse(unittest.TestCase): 22 | """ScheduledTransactionsResponse unit test stubs""" 23 | def setUp(self): 24 | pass 25 | 26 | def tearDown(self): 27 | pass 28 | 29 | def testScheduledTransactionsResponse(self): 30 | """Test ScheduledTransactionsResponse""" 31 | # FIXME: construct object with mandatory attributes with example values 32 | # model = ScheduledTransactionsResponse() # noqa: E501 33 | pass 34 | 35 | 36 | if __name__ == '__main__': 37 | unittest.main() 38 | -------------------------------------------------------------------------------- /test/test_scheduled_transactions_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.scheduled_transaction_detail import ScheduledTransactionDetail 15 | 16 | globals()['ScheduledTransactionDetail'] = ScheduledTransactionDetail 17 | from ynab_api.model.scheduled_transactions_response_data import ScheduledTransactionsResponseData 18 | 19 | 20 | class TestScheduledTransactionsResponseData(unittest.TestCase): 21 | """ScheduledTransactionsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testScheduledTransactionsResponseData(self): 29 | """Test ScheduledTransactionsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = ScheduledTransactionsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_sub_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.sub_transaction import SubTransaction 15 | 16 | 17 | class TestSubTransaction(unittest.TestCase): 18 | """SubTransaction unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testSubTransaction(self): 26 | """Test SubTransaction""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = SubTransaction() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_transaction_detail.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.sub_transaction import SubTransaction 15 | from ynab_api.model.transaction_detail_all_of import TransactionDetailAllOf 16 | from ynab_api.model.transaction_summary import TransactionSummary 17 | 18 | globals()['SubTransaction'] = SubTransaction 19 | globals()['TransactionDetailAllOf'] = TransactionDetailAllOf 20 | globals()['TransactionSummary'] = TransactionSummary 21 | from ynab_api.model.transaction_detail import TransactionDetail 22 | 23 | 24 | class TestTransactionDetail(unittest.TestCase): 25 | """TransactionDetail unit test stubs""" 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testTransactionDetail(self): 33 | """Test TransactionDetail""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = TransactionDetail() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_transaction_detail_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.sub_transaction import SubTransaction 15 | 16 | globals()['SubTransaction'] = SubTransaction 17 | from ynab_api.model.transaction_detail_all_of import TransactionDetailAllOf 18 | 19 | 20 | class TestTransactionDetailAllOf(unittest.TestCase): 21 | """TransactionDetailAllOf unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionDetailAllOf(self): 29 | """Test TransactionDetailAllOf""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionDetailAllOf() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_transaction_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transaction_response_data import TransactionResponseData 15 | 16 | globals()['TransactionResponseData'] = TransactionResponseData 17 | from ynab_api.model.transaction_response import TransactionResponse 18 | 19 | 20 | class TestTransactionResponse(unittest.TestCase): 21 | """TransactionResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionResponse(self): 29 | """Test TransactionResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_transaction_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transaction_detail import TransactionDetail 15 | 16 | globals()['TransactionDetail'] = TransactionDetail 17 | from ynab_api.model.transaction_response_data import TransactionResponseData 18 | 19 | 20 | class TestTransactionResponseData(unittest.TestCase): 21 | """TransactionResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionResponseData(self): 29 | """Test TransactionResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_transaction_summary.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transaction_summary import TransactionSummary 15 | 16 | 17 | class TestTransactionSummary(unittest.TestCase): 18 | """TransactionSummary unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testTransactionSummary(self): 26 | """Test TransactionSummary""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = TransactionSummary() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_transactions_import_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transactions_import_response_data import TransactionsImportResponseData 15 | 16 | globals()['TransactionsImportResponseData'] = TransactionsImportResponseData 17 | from ynab_api.model.transactions_import_response import TransactionsImportResponse 18 | 19 | 20 | class TestTransactionsImportResponse(unittest.TestCase): 21 | """TransactionsImportResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionsImportResponse(self): 29 | """Test TransactionsImportResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionsImportResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_transactions_import_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transactions_import_response_data import TransactionsImportResponseData 15 | 16 | 17 | class TestTransactionsImportResponseData(unittest.TestCase): 18 | """TransactionsImportResponseData unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testTransactionsImportResponseData(self): 26 | """Test TransactionsImportResponseData""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = TransactionsImportResponseData() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_transactions_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transactions_response_data import TransactionsResponseData 15 | 16 | globals()['TransactionsResponseData'] = TransactionsResponseData 17 | from ynab_api.model.transactions_response import TransactionsResponse 18 | 19 | 20 | class TestTransactionsResponse(unittest.TestCase): 21 | """TransactionsResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionsResponse(self): 29 | """Test TransactionsResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionsResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_transactions_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.transaction_detail import TransactionDetail 15 | 16 | globals()['TransactionDetail'] = TransactionDetail 17 | from ynab_api.model.transactions_response_data import TransactionsResponseData 18 | 19 | 20 | class TestTransactionsResponseData(unittest.TestCase): 21 | """TransactionsResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testTransactionsResponseData(self): 29 | """Test TransactionsResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = TransactionsResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_update_transaction.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.save_sub_transaction import SaveSubTransaction 15 | from ynab_api.model.save_transaction import SaveTransaction 16 | from ynab_api.model.update_transaction_all_of import UpdateTransactionAllOf 17 | 18 | globals()['SaveSubTransaction'] = SaveSubTransaction 19 | globals()['SaveTransaction'] = SaveTransaction 20 | globals()['UpdateTransactionAllOf'] = UpdateTransactionAllOf 21 | from ynab_api.model.update_transaction import UpdateTransaction 22 | 23 | 24 | class TestUpdateTransaction(unittest.TestCase): 25 | """UpdateTransaction unit test stubs""" 26 | def setUp(self): 27 | pass 28 | 29 | def tearDown(self): 30 | pass 31 | 32 | def testUpdateTransaction(self): 33 | """Test UpdateTransaction""" 34 | # FIXME: construct object with mandatory attributes with example values 35 | # model = UpdateTransaction() # noqa: E501 36 | pass 37 | 38 | 39 | if __name__ == '__main__': 40 | unittest.main() 41 | -------------------------------------------------------------------------------- /test/test_update_transaction_all_of.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.update_transaction_all_of import UpdateTransactionAllOf 15 | 16 | 17 | class TestUpdateTransactionAllOf(unittest.TestCase): 18 | """UpdateTransactionAllOf unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testUpdateTransactionAllOf(self): 26 | """Test UpdateTransactionAllOf""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = UpdateTransactionAllOf() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_update_transactions_wrapper.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.update_transaction import UpdateTransaction 15 | 16 | globals()['UpdateTransaction'] = UpdateTransaction 17 | from ynab_api.model.update_transactions_wrapper import UpdateTransactionsWrapper 18 | 19 | 20 | class TestUpdateTransactionsWrapper(unittest.TestCase): 21 | """UpdateTransactionsWrapper unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testUpdateTransactionsWrapper(self): 29 | """Test UpdateTransactionsWrapper""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = UpdateTransactionsWrapper() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_user.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.user import User 15 | 16 | 17 | class TestUser(unittest.TestCase): 18 | """User unit test stubs""" 19 | def setUp(self): 20 | pass 21 | 22 | def tearDown(self): 23 | pass 24 | 25 | def testUser(self): 26 | """Test User""" 27 | # FIXME: construct object with mandatory attributes with example values 28 | # model = User() # noqa: E501 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_user_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import unittest 11 | 12 | import ynab_api 13 | from ynab_api.api.user_api import UserApi # noqa: E501 14 | 15 | 16 | class TestUserApi(unittest.TestCase): 17 | """UserApi unit test stubs""" 18 | def setUp(self): 19 | self.api = UserApi() # noqa: E501 20 | 21 | def tearDown(self): 22 | pass 23 | 24 | def test_get_user(self): 25 | """Test case for get_user 26 | 27 | User info # noqa: E501 28 | """ 29 | pass 30 | 31 | 32 | if __name__ == '__main__': 33 | unittest.main() 34 | -------------------------------------------------------------------------------- /test/test_user_response.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.user_response_data import UserResponseData 15 | 16 | globals()['UserResponseData'] = UserResponseData 17 | from ynab_api.model.user_response import UserResponse 18 | 19 | 20 | class TestUserResponse(unittest.TestCase): 21 | """UserResponse unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testUserResponse(self): 29 | """Test UserResponse""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = UserResponse() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /test/test_user_response_data.py: -------------------------------------------------------------------------------- 1 | """ 2 | YNAB API Endpoints 3 | 4 | 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.youneedabudget.com # noqa: E501 5 | 6 | The version of the OpenAPI document: 1.0.0 7 | Generated by: https://openapi-generator.tech 8 | """ 9 | 10 | import sys 11 | import unittest 12 | 13 | import ynab_api 14 | from ynab_api.model.user import User 15 | 16 | globals()['User'] = User 17 | from ynab_api.model.user_response_data import UserResponseData 18 | 19 | 20 | class TestUserResponseData(unittest.TestCase): 21 | """UserResponseData unit test stubs""" 22 | def setUp(self): 23 | pass 24 | 25 | def tearDown(self): 26 | pass 27 | 28 | def testUserResponseData(self): 29 | """Test UserResponseData""" 30 | # FIXME: construct object with mandatory attributes with example values 31 | # model = UserResponseData() # noqa: E501 32 | pass 33 | 34 | 35 | if __name__ == '__main__': 36 | unittest.main() 37 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py3 3 | 4 | [testenv] 5 | deps=-r{toxinidir}/requirements.txt 6 | -r{toxinidir}/test-requirements.txt 7 | 8 | commands= 9 | pytest --cov=ynab_api 10 | -------------------------------------------------------------------------------- /ynab_api/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | """ 3 | YNAB API Endpoints 4 | 5 | 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.youneedabudget.com # noqa: E501 6 | 7 | The version of the OpenAPI document: 2.0.3 8 | Generated by: https://openapi-generator.tech 9 | """ 10 | 11 | __version__ = "1.0.0" 12 | 13 | # import ApiClient 14 | from ynab_api.api_client import ApiClient 15 | 16 | # import Configuration 17 | from ynab_api.configuration import Configuration 18 | 19 | # import exceptions 20 | from ynab_api.exceptions import OpenApiException 21 | from ynab_api.exceptions import ApiAttributeError 22 | from ynab_api.exceptions import ApiTypeError 23 | from ynab_api.exceptions import ApiValueError 24 | from ynab_api.exceptions import ApiKeyError 25 | from ynab_api.exceptions import ApiException 26 | -------------------------------------------------------------------------------- /ynab_api/api/__init__.py: -------------------------------------------------------------------------------- 1 | # do not import all apis into this module because that uses a lot of memory and stack frames 2 | # if you need the ability to import all apis from one package, import them with 3 | # from ynab_api.apis import AccountsApi 4 | -------------------------------------------------------------------------------- /ynab_api/apis/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | # Import all APIs into this package. 4 | # If you have many APIs here with many many models used in each API this may 5 | # raise a `RecursionError`. 6 | # In order to avoid this, import only the API that you directly need like: 7 | # 8 | # from .api.accounts_api import AccountsApi 9 | # 10 | # or import this package, but before doing it, use: 11 | # 12 | # import sys 13 | # sys.setrecursionlimit(n) 14 | 15 | # Import APIs into API package: 16 | from ynab_api.api.accounts_api import AccountsApi 17 | from ynab_api.api.budgets_api import BudgetsApi 18 | from ynab_api.api.categories_api import CategoriesApi 19 | from ynab_api.api.deprecated_api import DeprecatedApi 20 | from ynab_api.api.months_api import MonthsApi 21 | from ynab_api.api.payee_locations_api import PayeeLocationsApi 22 | from ynab_api.api.payees_api import PayeesApi 23 | from ynab_api.api.scheduled_transactions_api import ScheduledTransactionsApi 24 | from ynab_api.api.transactions_api import TransactionsApi 25 | from ynab_api.api.user_api import UserApi 26 | -------------------------------------------------------------------------------- /ynab_api/model/__init__.py: -------------------------------------------------------------------------------- 1 | # we can not import model classes here because that would create a circular 2 | # reference which would not work in python2 3 | # do not import all models into this module because that uses a lot of memory and stack frames 4 | # if you need the ability to import all models from one package, import them with 5 | # from {{packageName}.models import ModelA, ModelB 6 | --------------------------------------------------------------------------------