ynab 3.2.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/Rakefile +6 -5
- data/config.yaml +11 -0
- data/docs/ExistingTransaction.md +1 -1
- data/docs/NewTransaction.md +1 -1
- data/docs/PostScheduledTransactionWrapper.md +8 -0
- data/docs/SaveScheduledTransaction.md +16 -0
- data/docs/SaveTransactionWithIdOrImportId.md +1 -1
- data/docs/SaveTransactionWithOptionalFields.md +1 -1
- data/docs/{SaveTransactionWithIdAllOf.md → ScheduledTransactionFrequency.md} +1 -2
- data/docs/ScheduledTransactionsApi.md +21 -0
- data/docs/TransactionsApi.md +25 -1
- data/lib/ynab/api/accounts_api.rb +1 -4
- data/lib/ynab/api/budgets_api.rb +1 -4
- data/lib/ynab/api/categories_api.rb +1 -4
- data/lib/ynab/api/months_api.rb +1 -4
- data/lib/ynab/api/payee_locations_api.rb +1 -4
- data/lib/ynab/api/payees_api.rb +1 -4
- data/lib/ynab/api/scheduled_transactions_api.rb +75 -4
- data/lib/ynab/api/transactions_api.rb +81 -6
- data/lib/ynab/api/user_api.rb +1 -4
- data/lib/ynab/api_client.rb +1 -4
- data/lib/ynab/api_error.rb +0 -12
- data/lib/ynab/configuration.rb +11 -4
- data/lib/ynab/models/account.rb +1 -4
- data/lib/ynab/models/account_response.rb +1 -4
- data/lib/ynab/models/account_response_data.rb +1 -4
- data/lib/ynab/models/account_type.rb +1 -4
- data/lib/ynab/models/accounts_response.rb +1 -4
- data/lib/ynab/models/accounts_response_data.rb +1 -4
- data/lib/ynab/models/budget_detail.rb +1 -4
- data/lib/ynab/models/budget_detail_response.rb +1 -4
- data/lib/ynab/models/budget_detail_response_data.rb +1 -4
- data/lib/ynab/models/budget_settings.rb +1 -4
- data/lib/ynab/models/budget_settings_response.rb +1 -4
- data/lib/ynab/models/budget_settings_response_data.rb +1 -4
- data/lib/ynab/models/budget_summary.rb +1 -4
- data/lib/ynab/models/budget_summary_response.rb +1 -4
- data/lib/ynab/models/budget_summary_response_data.rb +1 -4
- data/lib/ynab/models/bulk_response.rb +1 -4
- data/lib/ynab/models/bulk_response_data.rb +1 -4
- data/lib/ynab/models/bulk_response_data_bulk.rb +1 -4
- data/lib/ynab/models/bulk_transactions.rb +1 -4
- data/lib/ynab/models/categories_response.rb +1 -4
- data/lib/ynab/models/categories_response_data.rb +1 -4
- data/lib/ynab/models/category.rb +1 -4
- data/lib/ynab/models/category_group.rb +1 -4
- data/lib/ynab/models/category_group_with_categories.rb +1 -4
- data/lib/ynab/models/category_response.rb +1 -4
- data/lib/ynab/models/category_response_data.rb +1 -4
- data/lib/ynab/models/currency_format.rb +1 -4
- data/lib/ynab/models/date_format.rb +1 -4
- data/lib/ynab/models/error_detail.rb +1 -4
- data/lib/ynab/models/error_response.rb +1 -4
- data/lib/ynab/models/existing_transaction.rb +4 -7
- data/lib/ynab/models/hybrid_transaction.rb +1 -4
- data/lib/ynab/models/hybrid_transactions_response.rb +1 -4
- data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -4
- data/lib/ynab/models/month_detail.rb +1 -4
- data/lib/ynab/models/month_detail_response.rb +1 -4
- data/lib/ynab/models/month_detail_response_data.rb +1 -4
- data/lib/ynab/models/month_summaries_response.rb +1 -4
- data/lib/ynab/models/month_summaries_response_data.rb +1 -4
- data/lib/ynab/models/month_summary.rb +1 -4
- data/lib/ynab/models/new_transaction.rb +4 -7
- data/lib/ynab/models/patch_category_wrapper.rb +1 -4
- data/lib/ynab/models/patch_month_category_wrapper.rb +1 -4
- data/lib/ynab/models/patch_payee_wrapper.rb +1 -4
- data/lib/ynab/models/patch_transactions_wrapper.rb +1 -4
- data/lib/ynab/models/payee.rb +1 -4
- data/lib/ynab/models/payee_location.rb +1 -4
- data/lib/ynab/models/payee_location_response.rb +1 -4
- data/lib/ynab/models/payee_location_response_data.rb +1 -4
- data/lib/ynab/models/payee_locations_response.rb +1 -4
- data/lib/ynab/models/payee_locations_response_data.rb +1 -4
- data/lib/ynab/models/payee_response.rb +1 -4
- data/lib/ynab/models/payee_response_data.rb +1 -4
- data/lib/ynab/models/payees_response.rb +1 -4
- data/lib/ynab/models/payees_response_data.rb +1 -4
- data/lib/ynab/models/post_account_wrapper.rb +1 -4
- data/lib/ynab/models/{save_transaction_with_id_all_of.rb → post_scheduled_transaction_wrapper.rb} +23 -32
- data/lib/ynab/models/post_transactions_wrapper.rb +1 -4
- data/lib/ynab/models/put_transaction_wrapper.rb +1 -4
- data/lib/ynab/models/save_account.rb +1 -4
- data/lib/ynab/models/save_category.rb +1 -4
- data/lib/ynab/models/save_category_response.rb +1 -4
- data/lib/ynab/models/save_category_response_data.rb +1 -4
- data/lib/ynab/models/save_month_category.rb +1 -4
- data/lib/ynab/models/save_payee.rb +1 -4
- data/lib/ynab/models/save_payee_response.rb +1 -4
- data/lib/ynab/models/save_payee_response_data.rb +1 -4
- data/lib/ynab/models/{hybrid_transaction_all_of.rb → save_scheduled_transaction.rb} +99 -62
- data/lib/ynab/models/save_sub_transaction.rb +3 -6
- data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +4 -7
- data/lib/ynab/models/save_transaction_with_optional_fields.rb +4 -7
- data/lib/ynab/models/save_transactions_response.rb +1 -4
- data/lib/ynab/models/save_transactions_response_data.rb +1 -4
- data/lib/ynab/models/scheduled_sub_transaction.rb +1 -4
- data/lib/ynab/models/scheduled_transaction_detail.rb +1 -4
- data/lib/ynab/models/scheduled_transaction_frequency.rb +48 -0
- data/lib/ynab/models/scheduled_transaction_response.rb +1 -4
- data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -4
- data/lib/ynab/models/scheduled_transaction_summary.rb +1 -4
- data/lib/ynab/models/scheduled_transactions_response.rb +1 -4
- data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -4
- data/lib/ynab/models/sub_transaction.rb +1 -4
- data/lib/ynab/models/transaction_cleared_status.rb +1 -4
- data/lib/ynab/models/transaction_detail.rb +1 -4
- data/lib/ynab/models/transaction_flag_color.rb +1 -4
- data/lib/ynab/models/transaction_response.rb +1 -4
- data/lib/ynab/models/transaction_response_data.rb +1 -4
- data/lib/ynab/models/transaction_summary.rb +1 -4
- data/lib/ynab/models/transactions_import_response.rb +1 -4
- data/lib/ynab/models/transactions_import_response_data.rb +1 -4
- data/lib/ynab/models/transactions_response.rb +1 -4
- data/lib/ynab/models/transactions_response_data.rb +1 -4
- data/lib/ynab/models/user.rb +1 -4
- data/lib/ynab/models/user_response.rb +1 -4
- data/lib/ynab/models/user_response_data.rb +1 -4
- data/lib/ynab/overrides/transactions_api.rb +0 -12
- data/lib/ynab/version.rb +1 -13
- data/lib/ynab.rb +4 -4
- data/open_api_spec.yaml +194 -8
- data/spec/api/scheduled_transactions_spec.rb +20 -2
- data/spec/api/transactions_spec.rb +10 -0
- data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +63 -0
- data/spec/fixtures/vcr_cassettes/month_transactions.yml +46 -0
- data/templates/README.md +3 -0
- data/templates/api_info.mustache +9 -0
- data/templates/gemspec.mustache +41 -0
- data/ynab.gemspec +3 -6
- metadata +51 -84
- data/docs/AccountWrapper.md +0 -8
- data/docs/AccountsWrapper.md +0 -9
- data/docs/BudgetDetailAllOf.md +0 -17
- data/docs/BudgetDetailWrapper.md +0 -9
- data/docs/BudgetSettingsWrapper.md +0 -8
- data/docs/BudgetSummaryWrapper.md +0 -9
- data/docs/BulkIdWrapper.md +0 -8
- data/docs/BulkIds.md +0 -9
- data/docs/BulkTransactionCreateResponse.md +0 -8
- data/docs/BulkTransactionIds.md +0 -8
- data/docs/CategoryGroupWithCategoriesAllOf.md +0 -8
- data/docs/CategoryGroupsWrapper.md +0 -9
- data/docs/CategoryWrapper.md +0 -9
- data/docs/DeprecatedApi.md +0 -28
- data/docs/HybridTransactionAllOf.md +0 -12
- data/docs/HybridTransactionsWrapper.md +0 -8
- data/docs/LoanAccountPeriodicValue.md +0 -7
- data/docs/MonthDetailAllOf.md +0 -8
- data/docs/MonthDetailWrapper.md +0 -8
- data/docs/MonthSummariesWrapper.md +0 -9
- data/docs/PayeeLocationWrapper.md +0 -8
- data/docs/PayeeLocationsWrapper.md +0 -8
- data/docs/PayeeWrapper.md +0 -8
- data/docs/PayeesWrapper.md +0 -9
- data/docs/SaveAccountWrapper.md +0 -8
- data/docs/SaveMonthCategoryWrapper.md +0 -8
- data/docs/SaveTransaction.md +0 -19
- data/docs/SaveTransactionWithId.md +0 -20
- data/docs/SaveTransactionWrapper.md +0 -8
- data/docs/SaveTransactionsWrapper.md +0 -9
- data/docs/ScheduledTransactionDetailAllOf.md +0 -11
- data/docs/ScheduledTransactionWrapper.md +0 -8
- data/docs/ScheduledTransactionsWrapper.md +0 -8
- data/docs/TransactionDetailAllOf.md +0 -11
- data/docs/TransactionWrapper.md +0 -8
- data/docs/TransactionsWrapper.md +0 -9
- data/docs/UpdateTransaction.md +0 -20
- data/docs/UpdateTransactionsWrapper.md +0 -8
- data/docs/UserWrapper.md +0 -8
- data/lib/ynab/models/budget_detail_all_of.rb +0 -320
- data/lib/ynab/models/category_group_with_categories_all_of.rb +0 -223
- data/lib/ynab/models/month_detail_all_of.rb +0 -223
- data/lib/ynab/models/save_transaction.rb +0 -401
- data/lib/ynab/models/save_transaction_with_id.rb +0 -411
- data/lib/ynab/models/scheduled_transaction_detail_all_of.rb +0 -254
- data/lib/ynab/models/transaction_detail_all_of.rb +0 -254
data/lib/ynab/models/account.rb
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
data/lib/ynab/models/category.rb
CHANGED
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -23,7 +20,7 @@ module YNAB
|
|
|
23
20
|
# The transaction amount in milliunits format. Split transaction amounts cannot be changed and if a different amount is supplied it will be ignored.
|
|
24
21
|
attr_accessor :amount
|
|
25
22
|
|
|
26
|
-
# The payee for the transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `
|
|
23
|
+
# The payee for the transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `transfer_payee_id` on the account resource.
|
|
27
24
|
attr_accessor :payee_id
|
|
28
25
|
|
|
29
26
|
# 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) or (2) a payee with the same name or (3) creation of a new payee.
|
|
@@ -195,8 +192,8 @@ module YNAB
|
|
|
195
192
|
# Check to see if the all the properties in the model are valid
|
|
196
193
|
# @return true if the model is valid
|
|
197
194
|
def valid?
|
|
198
|
-
return false if !@payee_name.nil? && @payee_name.to_s.length >
|
|
199
|
-
return false if !@memo.nil? && @memo.to_s.length >
|
|
195
|
+
return false if !@payee_name.nil? && @payee_name.to_s.length > 200
|
|
196
|
+
return false if !@memo.nil? && @memo.to_s.length > 500
|
|
200
197
|
true
|
|
201
198
|
end
|
|
202
199
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -23,7 +20,7 @@ module YNAB
|
|
|
23
20
|
# The transaction amount in milliunits format. Split transaction amounts cannot be changed and if a different amount is supplied it will be ignored.
|
|
24
21
|
attr_accessor :amount
|
|
25
22
|
|
|
26
|
-
# The payee for the transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `
|
|
23
|
+
# The payee for the transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `transfer_payee_id` on the account resource.
|
|
27
24
|
attr_accessor :payee_id
|
|
28
25
|
|
|
29
26
|
# 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) or (2) a payee with the same name or (3) creation of a new payee.
|
|
@@ -205,8 +202,8 @@ module YNAB
|
|
|
205
202
|
# Check to see if the all the properties in the model are valid
|
|
206
203
|
# @return true if the model is valid
|
|
207
204
|
def valid?
|
|
208
|
-
return false if !@payee_name.nil? && @payee_name.to_s.length >
|
|
209
|
-
return false if !@memo.nil? && @memo.to_s.length >
|
|
205
|
+
return false if !@payee_name.nil? && @payee_name.to_s.length > 200
|
|
206
|
+
return false if !@memo.nil? && @memo.to_s.length > 500
|
|
210
207
|
return false if !@import_id.nil? && @import_id.to_s.length > 36
|
|
211
208
|
true
|
|
212
209
|
end
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
|
|
4
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.ynab.com
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.6.0
|
|
6
|
+
Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
|
10
7
|
|
|
11
8
|
=end
|
|
12
9
|
|