ynab 3.0.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +3 -1
  4. data/docs/Category.md +1 -0
  5. data/lib/ynab/api/accounts_api.rb +1 -1
  6. data/lib/ynab/api/budgets_api.rb +1 -1
  7. data/lib/ynab/api/categories_api.rb +1 -1
  8. data/lib/ynab/api/months_api.rb +1 -1
  9. data/lib/ynab/api/payee_locations_api.rb +1 -1
  10. data/lib/ynab/api/payees_api.rb +1 -1
  11. data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
  12. data/lib/ynab/api/transactions_api.rb +1 -1
  13. data/lib/ynab/api/user_api.rb +1 -1
  14. data/lib/ynab/api_client.rb +1 -1
  15. data/lib/ynab/configuration.rb +1 -1
  16. data/lib/ynab/models/account.rb +1 -1
  17. data/lib/ynab/models/account_response.rb +1 -1
  18. data/lib/ynab/models/account_response_data.rb +1 -1
  19. data/lib/ynab/models/account_type.rb +1 -1
  20. data/lib/ynab/models/accounts_response.rb +1 -1
  21. data/lib/ynab/models/accounts_response_data.rb +1 -1
  22. data/lib/ynab/models/budget_detail.rb +1 -1
  23. data/lib/ynab/models/budget_detail_response.rb +1 -1
  24. data/lib/ynab/models/budget_detail_response_data.rb +1 -1
  25. data/lib/ynab/models/budget_settings.rb +1 -1
  26. data/lib/ynab/models/budget_settings_response.rb +1 -1
  27. data/lib/ynab/models/budget_settings_response_data.rb +1 -1
  28. data/lib/ynab/models/budget_summary.rb +1 -1
  29. data/lib/ynab/models/budget_summary_response.rb +1 -1
  30. data/lib/ynab/models/budget_summary_response_data.rb +1 -1
  31. data/lib/ynab/models/bulk_response.rb +1 -1
  32. data/lib/ynab/models/bulk_response_data.rb +1 -1
  33. data/lib/ynab/models/bulk_response_data_bulk.rb +1 -1
  34. data/lib/ynab/models/bulk_transactions.rb +1 -1
  35. data/lib/ynab/models/categories_response.rb +1 -1
  36. data/lib/ynab/models/categories_response_data.rb +1 -1
  37. data/lib/ynab/models/category.rb +13 -2
  38. data/lib/ynab/models/category_group.rb +1 -1
  39. data/lib/ynab/models/category_group_with_categories.rb +1 -1
  40. data/lib/ynab/models/category_response.rb +1 -1
  41. data/lib/ynab/models/category_response_data.rb +1 -1
  42. data/lib/ynab/models/currency_format.rb +1 -1
  43. data/lib/ynab/models/date_format.rb +1 -1
  44. data/lib/ynab/models/error_detail.rb +1 -1
  45. data/lib/ynab/models/error_response.rb +1 -1
  46. data/lib/ynab/models/existing_transaction.rb +1 -1
  47. data/lib/ynab/models/hybrid_transaction.rb +1 -1
  48. data/lib/ynab/models/hybrid_transactions_response.rb +1 -1
  49. data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -1
  50. data/lib/ynab/models/month_detail.rb +1 -1
  51. data/lib/ynab/models/month_detail_response.rb +1 -1
  52. data/lib/ynab/models/month_detail_response_data.rb +1 -1
  53. data/lib/ynab/models/month_summaries_response.rb +1 -1
  54. data/lib/ynab/models/month_summaries_response_data.rb +1 -1
  55. data/lib/ynab/models/month_summary.rb +1 -1
  56. data/lib/ynab/models/new_transaction.rb +1 -1
  57. data/lib/ynab/models/patch_category_wrapper.rb +1 -1
  58. data/lib/ynab/models/patch_month_category_wrapper.rb +1 -1
  59. data/lib/ynab/models/patch_payee_wrapper.rb +1 -1
  60. data/lib/ynab/models/patch_transactions_wrapper.rb +1 -1
  61. data/lib/ynab/models/payee.rb +1 -1
  62. data/lib/ynab/models/payee_location.rb +1 -1
  63. data/lib/ynab/models/payee_location_response.rb +1 -1
  64. data/lib/ynab/models/payee_location_response_data.rb +1 -1
  65. data/lib/ynab/models/payee_locations_response.rb +1 -1
  66. data/lib/ynab/models/payee_locations_response_data.rb +1 -1
  67. data/lib/ynab/models/payee_response.rb +1 -1
  68. data/lib/ynab/models/payee_response_data.rb +1 -1
  69. data/lib/ynab/models/payees_response.rb +1 -1
  70. data/lib/ynab/models/payees_response_data.rb +1 -1
  71. data/lib/ynab/models/post_account_wrapper.rb +1 -1
  72. data/lib/ynab/models/post_transactions_wrapper.rb +1 -1
  73. data/lib/ynab/models/put_transaction_wrapper.rb +1 -1
  74. data/lib/ynab/models/save_account.rb +1 -1
  75. data/lib/ynab/models/save_category.rb +1 -1
  76. data/lib/ynab/models/save_category_response.rb +1 -1
  77. data/lib/ynab/models/save_category_response_data.rb +1 -1
  78. data/lib/ynab/models/save_month_category.rb +1 -1
  79. data/lib/ynab/models/save_payee.rb +1 -1
  80. data/lib/ynab/models/save_payee_response.rb +1 -1
  81. data/lib/ynab/models/save_payee_response_data.rb +1 -1
  82. data/lib/ynab/models/save_sub_transaction.rb +1 -1
  83. data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +1 -1
  84. data/lib/ynab/models/save_transaction_with_optional_fields.rb +1 -1
  85. data/lib/ynab/models/save_transactions_response.rb +1 -1
  86. data/lib/ynab/models/save_transactions_response_data.rb +1 -1
  87. data/lib/ynab/models/scheduled_sub_transaction.rb +1 -1
  88. data/lib/ynab/models/scheduled_transaction_detail.rb +1 -1
  89. data/lib/ynab/models/scheduled_transaction_response.rb +1 -1
  90. data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -1
  91. data/lib/ynab/models/scheduled_transaction_summary.rb +1 -1
  92. data/lib/ynab/models/scheduled_transactions_response.rb +1 -1
  93. data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -1
  94. data/lib/ynab/models/sub_transaction.rb +1 -1
  95. data/lib/ynab/models/transaction_cleared_status.rb +1 -1
  96. data/lib/ynab/models/transaction_detail.rb +1 -1
  97. data/lib/ynab/models/transaction_flag_color.rb +1 -1
  98. data/lib/ynab/models/transaction_response.rb +1 -1
  99. data/lib/ynab/models/transaction_response_data.rb +1 -1
  100. data/lib/ynab/models/transaction_summary.rb +1 -1
  101. data/lib/ynab/models/transactions_import_response.rb +1 -1
  102. data/lib/ynab/models/transactions_import_response_data.rb +1 -1
  103. data/lib/ynab/models/transactions_response.rb +1 -1
  104. data/lib/ynab/models/transactions_response_data.rb +1 -1
  105. data/lib/ynab/models/user.rb +1 -1
  106. data/lib/ynab/models/user_response.rb +1 -1
  107. data/lib/ynab/models/user_response_data.rb +1 -1
  108. data/lib/ynab/version.rb +1 -1
  109. data/lib/ynab.rb +1 -1
  110. data/open_api_spec.yaml +10 -1
  111. data/ynab.gemspec +1 -1
  112. metadata +33 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba7a84ac5b9371284fb8fd66c0d19709ce704ee69f33832c670534b3956be77b
4
- data.tar.gz: 959a2cb11043f907774c847d9752d5870f6c90f3db2862f2e518c7108618afe5
3
+ metadata.gz: 7ec5def81c2d3dc67021be1eabb7a365f8901a8a53493c74e0411b664806bb47
4
+ data.tar.gz: e2f84449d1927f430af4752efb510e4205af2ba174afd57dc76567409f5ecf07
5
5
  SHA512:
6
- metadata.gz: 05f22c154b9040eb336586b6f0fa08d297259100dbc9e324fb9f4a4aee5c8c82c483e189a2ada29e2f0abed15f2e1f930717db50c4e952f2bdc13225c9f5aa0f
7
- data.tar.gz: 5ae228fd03e31c75c35d24135c1fd4781fd5b7d0cdb81904f1458c792cf2c096b56309d5ea8a0c3d1751bc04665c072e7692f5b91e3ef8121ee4eb208e829317
6
+ metadata.gz: 49c09c3862fa6e7f5d844ae8d1351779ea54f919b9f1ceb91b1d373d94f83c5f37ac49231bd1d8219a268aaab2e6e2e99420ac62f238564ee69de23523cdf6b8
7
+ data.tar.gz: 04ae2f871e3c7981a17c97a1f2695cdab671dc9428346d5081d27900056ae653b357b8b2d84bc41f0c1ba0c87594b64da0e05248e88869615ba5ab779d442716
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ynab (3.0.0)
4
+ ynab (3.1.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/Rakefile CHANGED
@@ -12,12 +12,14 @@ end
12
12
 
13
13
  task :default => [:spec]
14
14
 
15
+ REQUIRED_RUBY_VERSION = ">= 3.3"
16
+
15
17
  desc "Run Swagger Code Generator to update the client from the Swagger spec"
16
18
  task :generate do
17
19
  # Download latest swagger spec
18
20
  spec_filename = 'open_api_spec.yaml'
19
21
  sh "wget https://api.ynab.com/papi/#{spec_filename} -O ./#{spec_filename}"
20
- sh "openapi-generator generate -i ./#{spec_filename} -g ruby -c config.json -t ./templates -o ./"
22
+ sh "openapi-generator generate -i ./#{spec_filename} -g ruby --additional-properties=gemRequiredRubyVersion='#{REQUIRED_RUBY_VERSION}' -c config.json -t ./templates -o ./"
21
23
  end
22
24
 
23
25
  task :get_current_version do
data/docs/Category.md CHANGED
@@ -15,6 +15,7 @@
15
15
  | **activity** | **Integer** | Activity amount in milliunits format | |
16
16
  | **balance** | **Integer** | Balance in milliunits format | |
17
17
  | **goal_type** | **String** | The type of goal, if the category has a goal (TB='Target Category Balance', TBD='Target Category Balance by Date', MF='Monthly Funding', NEED='Plan Your Spending') | [optional] |
18
+ | **goal_needs_whole_amount** | **Boolean** | Indicates the monthly rollover behavior for \"NEED\"-type goals. When \"true\", the goal will always ask for the target amount in the new month (\"Set Aside\"). When \"false\", previous month category funding is used (\"Refill\"). For other goal types, this field will be null. | [optional] |
18
19
  | **goal_day** | **Integer** | A day offset modifier for the goal's due date. When goal_cadence is 2 (Weekly), this value specifies which day of the week the goal is due (0 = Sunday, 6 = Saturday). Otherwise, this value specifies which day of the month the goal is due (1 = 1st, 31 = 31st, null = Last day of Month). | [optional] |
19
20
  | **goal_cadence** | **Integer** | The goal cadence. Value in range 0-14. There are two subsets of these values which behave differently. For values 0, 1, 2, and 13, the goal's due date repeats every goal_cadence * goal_cadence_frequency, where 0 = None, 1 = Monthly, 2 = Weekly, and 13 = Yearly. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. For values 3-12 and 14, goal_cadence_frequency is ignored and the goal's due date repeats every goal_cadence, where 3 = Every 2 Months, 4 = Every 3 Months, ..., 12 = Every 11 Months, and 14 = Every 2 Years. | [optional] |
20
21
  | **goal_cadence_frequency** | **Integer** | The goal cadence frequency. When goal_cadence is 0, 1, 2, or 13, a goal's due date repeats every goal_cadence * goal_cadence_frequency. For example, goal_cadence 1 with goal_cadence_frequency 2 means the goal is due every other month. When goal_cadence is 3-12 or 14, goal_cadence_frequency is ignored. | [optional] |
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -43,6 +43,9 @@ module YNAB
43
43
  # The type of goal, if the category has a goal (TB='Target Category Balance', TBD='Target Category Balance by Date', MF='Monthly Funding', NEED='Plan Your Spending')
44
44
  attr_accessor :goal_type
45
45
 
46
+ # Indicates the monthly rollover behavior for \"NEED\"-type goals. When \"true\", the goal will always ask for the target amount in the new month (\"Set Aside\"). When \"false\", previous month category funding is used (\"Refill\"). For other goal types, this field will be null.
47
+ attr_accessor :goal_needs_whole_amount
48
+
46
49
  # A day offset modifier for the goal's due date. When goal_cadence is 2 (Weekly), this value specifies which day of the week the goal is due (0 = Sunday, 6 = Saturday). Otherwise, this value specifies which day of the month the goal is due (1 = 1st, 31 = 31st, null = Last day of Month).
47
50
  attr_accessor :goal_day
48
51
 
@@ -115,6 +118,7 @@ module YNAB
115
118
  :'activity' => :'activity',
116
119
  :'balance' => :'balance',
117
120
  :'goal_type' => :'goal_type',
121
+ :'goal_needs_whole_amount' => :'goal_needs_whole_amount',
118
122
  :'goal_day' => :'goal_day',
119
123
  :'goal_cadence' => :'goal_cadence',
120
124
  :'goal_cadence_frequency' => :'goal_cadence_frequency',
@@ -149,6 +153,7 @@ module YNAB
149
153
  :'activity' => :'Integer',
150
154
  :'balance' => :'Integer',
151
155
  :'goal_type' => :'String',
156
+ :'goal_needs_whole_amount' => :'Boolean',
152
157
  :'goal_day' => :'Integer',
153
158
  :'goal_cadence' => :'Integer',
154
159
  :'goal_cadence_frequency' => :'Integer',
@@ -170,6 +175,7 @@ module YNAB
170
175
  :'original_category_group_id',
171
176
  :'note',
172
177
  :'goal_type',
178
+ :'goal_needs_whole_amount',
173
179
  :'goal_day',
174
180
  :'goal_cadence',
175
181
  :'goal_cadence_frequency',
@@ -243,6 +249,10 @@ module YNAB
243
249
  self.goal_type = attributes[:'goal_type']
244
250
  end
245
251
 
252
+ if attributes.key?(:'goal_needs_whole_amount')
253
+ self.goal_needs_whole_amount = attributes[:'goal_needs_whole_amount']
254
+ end
255
+
246
256
  if attributes.key?(:'goal_day')
247
257
  self.goal_day = attributes[:'goal_day']
248
258
  end
@@ -337,6 +347,7 @@ module YNAB
337
347
  activity == o.activity &&
338
348
  balance == o.balance &&
339
349
  goal_type == o.goal_type &&
350
+ goal_needs_whole_amount == o.goal_needs_whole_amount &&
340
351
  goal_day == o.goal_day &&
341
352
  goal_cadence == o.goal_cadence &&
342
353
  goal_cadence_frequency == o.goal_cadence_frequency &&
@@ -360,7 +371,7 @@ module YNAB
360
371
  # Calculates hash code according to all attributes.
361
372
  # @return [Integer] Hash code
362
373
  def hash
363
- [id, category_group_id, category_group_name, name, hidden, original_category_group_id, note, budgeted, activity, balance, goal_type, goal_day, goal_cadence, goal_cadence_frequency, goal_creation_month, goal_target, goal_target_month, goal_percentage_complete, goal_months_to_budget, goal_under_funded, goal_overall_funded, goal_overall_left, deleted].hash
374
+ [id, category_group_id, category_group_name, name, hidden, original_category_group_id, note, budgeted, activity, balance, goal_type, goal_needs_whole_amount, goal_day, goal_cadence, goal_cadence_frequency, goal_creation_month, goal_target, goal_target_month, goal_percentage_complete, goal_months_to_budget, goal_under_funded, goal_overall_funded, goal_overall_left, deleted].hash
364
375
  end
365
376
 
366
377
  # Builds the object from hash
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0
@@ -3,7 +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
- The version of the OpenAPI document: 1.69.0
6
+ The version of the OpenAPI document: 1.70.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.6.0