ynab 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ynab.rb +8 -8
  3. data/lib/ynab/api/accounts_api.rb +1 -1
  4. data/lib/ynab/api/budgets_api.rb +1 -1
  5. data/lib/ynab/api/categories_api.rb +1 -1
  6. data/lib/ynab/api/deprecated_api.rb +1 -1
  7. data/lib/ynab/api/months_api.rb +1 -1
  8. data/lib/ynab/api/payee_locations_api.rb +1 -1
  9. data/lib/ynab/api/payees_api.rb +1 -1
  10. data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
  11. data/lib/ynab/api/transactions_api.rb +1 -1
  12. data/lib/ynab/api/user_api.rb +1 -1
  13. data/lib/ynab/api_client.rb +1 -1
  14. data/lib/ynab/configuration.rb +1 -1
  15. data/lib/ynab/models/account.rb +2 -6
  16. data/lib/ynab/models/account_response.rb +2 -2
  17. data/lib/ynab/models/account_response_data.rb +2 -2
  18. data/lib/ynab/models/accounts_response.rb +2 -2
  19. data/lib/ynab/models/accounts_response_data.rb +2 -2
  20. data/lib/ynab/models/budget_detail.rb +2 -2
  21. data/lib/ynab/models/budget_detail_response.rb +2 -2
  22. data/lib/ynab/models/budget_detail_response_data.rb +2 -2
  23. data/lib/ynab/models/budget_settings.rb +2 -2
  24. data/lib/ynab/models/budget_settings_response.rb +2 -2
  25. data/lib/ynab/models/budget_settings_response_data.rb +2 -2
  26. data/lib/ynab/models/budget_summary.rb +2 -2
  27. data/lib/ynab/models/budget_summary_response.rb +2 -2
  28. data/lib/ynab/models/budget_summary_response_data.rb +2 -2
  29. data/lib/ynab/models/bulk_response.rb +2 -2
  30. data/lib/ynab/models/bulk_response_data.rb +2 -2
  31. data/lib/ynab/models/bulk_response_data_bulk.rb +2 -2
  32. data/lib/ynab/models/bulk_transactions.rb +2 -2
  33. data/lib/ynab/models/categories_response.rb +2 -2
  34. data/lib/ynab/models/categories_response_data.rb +2 -2
  35. data/lib/ynab/models/category.rb +2 -6
  36. data/lib/ynab/models/category_group.rb +2 -2
  37. data/lib/ynab/models/category_group_with_categories.rb +2 -2
  38. data/lib/ynab/models/category_response.rb +2 -2
  39. data/lib/ynab/models/category_response_data.rb +2 -2
  40. data/lib/ynab/models/currency_format.rb +2 -2
  41. data/lib/ynab/models/date_format.rb +2 -2
  42. data/lib/ynab/models/error_detail.rb +2 -2
  43. data/lib/ynab/models/error_response.rb +2 -2
  44. data/lib/ynab/models/hybrid_transaction.rb +2 -14
  45. data/lib/ynab/models/hybrid_transactions_response.rb +2 -2
  46. data/lib/ynab/models/hybrid_transactions_response_data.rb +2 -2
  47. data/lib/ynab/models/month_detail.rb +2 -2
  48. data/lib/ynab/models/month_detail_response.rb +2 -2
  49. data/lib/ynab/models/month_detail_response_data.rb +2 -2
  50. data/lib/ynab/models/month_summaries_response.rb +2 -2
  51. data/lib/ynab/models/month_summaries_response_data.rb +2 -2
  52. data/lib/ynab/models/month_summary.rb +2 -2
  53. data/lib/ynab/models/payee.rb +2 -2
  54. data/lib/ynab/models/payee_location.rb +2 -2
  55. data/lib/ynab/models/payee_location_response.rb +2 -2
  56. data/lib/ynab/models/payee_location_response_data.rb +2 -2
  57. data/lib/ynab/models/payee_locations_response.rb +2 -2
  58. data/lib/ynab/models/payee_locations_response_data.rb +2 -2
  59. data/lib/ynab/models/payee_response.rb +2 -2
  60. data/lib/ynab/models/payee_response_data.rb +2 -2
  61. data/lib/ynab/models/payees_response.rb +2 -2
  62. data/lib/ynab/models/payees_response_data.rb +2 -2
  63. data/lib/ynab/models/save_category_response.rb +2 -2
  64. data/lib/ynab/models/save_category_response_data.rb +2 -2
  65. data/lib/ynab/models/save_month_category.rb +2 -2
  66. data/lib/ynab/models/save_month_category_wrapper.rb +2 -2
  67. data/lib/ynab/models/save_sub_transaction.rb +2 -2
  68. data/lib/ynab/models/save_transaction.rb +2 -10
  69. data/lib/ynab/models/save_transaction_wrapper.rb +2 -2
  70. data/lib/ynab/models/save_transactions_response.rb +2 -2
  71. data/lib/ynab/models/save_transactions_response_data.rb +2 -2
  72. data/lib/ynab/models/save_transactions_wrapper.rb +2 -2
  73. data/lib/ynab/models/scheduled_sub_transaction.rb +2 -2
  74. data/lib/ynab/models/scheduled_transaction_detail.rb +2 -10
  75. data/lib/ynab/models/scheduled_transaction_response.rb +2 -2
  76. data/lib/ynab/models/scheduled_transaction_response_data.rb +2 -2
  77. data/lib/ynab/models/scheduled_transaction_summary.rb +2 -10
  78. data/lib/ynab/models/scheduled_transactions_response.rb +2 -2
  79. data/lib/ynab/models/scheduled_transactions_response_data.rb +2 -2
  80. data/lib/ynab/models/sub_transaction.rb +13 -3
  81. data/lib/ynab/models/transaction_detail.rb +2 -10
  82. data/lib/ynab/models/transaction_response.rb +2 -2
  83. data/lib/ynab/models/transaction_response_data.rb +2 -2
  84. data/lib/ynab/models/transaction_summary.rb +2 -10
  85. data/lib/ynab/models/transactions_import_response.rb +2 -2
  86. data/lib/ynab/models/transactions_import_response_data.rb +2 -2
  87. data/lib/ynab/models/transactions_response.rb +2 -2
  88. data/lib/ynab/models/transactions_response_data.rb +2 -2
  89. data/lib/ynab/models/update_transaction.rb +6 -28
  90. data/lib/ynab/models/update_transactions_wrapper.rb +2 -2
  91. data/lib/ynab/models/user.rb +2 -2
  92. data/lib/ynab/models/user_response.rb +2 -2
  93. data/lib/ynab/models/user_response_data.rb +2 -2
  94. data/lib/ynab/version.rb +1 -1
  95. data/spec/models/transaction_detail_spec.rb +11 -0
  96. metadata +17 -15
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -82,7 +82,6 @@ module YNAB
82
82
  def hash
83
83
  [transactions].hash
84
84
  end
85
-
86
85
  # Builds the object from hash
87
86
  # @param [Hash] attributes Model attributes in the form of hash
88
87
  # @return [Object] Returns the model itself
@@ -188,4 +187,5 @@ module YNAB
188
187
  end
189
188
 
190
189
  end
190
+
191
191
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -191,7 +191,6 @@ module YNAB
191
191
  def hash
192
192
  [month, note, income, budgeted, activity, to_be_budgeted, age_of_money, deleted, categories].hash
193
193
  end
194
-
195
194
  # Builds the object from hash
196
195
  # @param [Hash] attributes Model attributes in the form of hash
197
196
  # @return [Object] Returns the model itself
@@ -297,4 +296,5 @@ module YNAB
297
296
  end
298
297
 
299
298
  end
299
+
300
300
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [month].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -97,7 +97,6 @@ module YNAB
97
97
  def hash
98
98
  [months, server_knowledge].hash
99
99
  end
100
-
101
100
  # Builds the object from hash
102
101
  # @param [Hash] attributes Model attributes in the form of hash
103
102
  # @return [Object] Returns the model itself
@@ -203,4 +202,5 @@ module YNAB
203
202
  end
204
203
 
205
204
  end
205
+
206
206
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -174,7 +174,6 @@ module YNAB
174
174
  def hash
175
175
  [month, note, income, budgeted, activity, to_be_budgeted, age_of_money, deleted].hash
176
176
  end
177
-
178
177
  # Builds the object from hash
179
178
  # @param [Hash] attributes Model attributes in the form of hash
180
179
  # @return [Object] Returns the model itself
@@ -280,4 +279,5 @@ module YNAB
280
279
  end
281
280
 
282
281
  end
282
+
283
283
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -119,7 +119,6 @@ module YNAB
119
119
  def hash
120
120
  [id, name, transfer_account_id, deleted].hash
121
121
  end
122
-
123
122
  # Builds the object from hash
124
123
  # @param [Hash] attributes Model attributes in the form of hash
125
124
  # @return [Object] Returns the model itself
@@ -225,4 +224,5 @@ module YNAB
225
224
  end
226
225
 
227
226
  end
227
+
228
228
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -137,7 +137,6 @@ module YNAB
137
137
  def hash
138
138
  [id, payee_id, latitude, longitude, deleted].hash
139
139
  end
140
-
141
140
  # Builds the object from hash
142
141
  # @param [Hash] attributes Model attributes in the form of hash
143
142
  # @return [Object] Returns the model itself
@@ -243,4 +242,5 @@ module YNAB
243
242
  end
244
243
 
245
244
  end
245
+
246
246
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [payee_location].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -82,7 +82,6 @@ module YNAB
82
82
  def hash
83
83
  [payee_locations].hash
84
84
  end
85
-
86
85
  # Builds the object from hash
87
86
  # @param [Hash] attributes Model attributes in the form of hash
88
87
  # @return [Object] Returns the model itself
@@ -188,4 +187,5 @@ module YNAB
188
187
  end
189
188
 
190
189
  end
190
+
191
191
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [payee].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -97,7 +97,6 @@ module YNAB
97
97
  def hash
98
98
  [payees, server_knowledge].hash
99
99
  end
100
-
101
100
  # Builds the object from hash
102
101
  # @param [Hash] attributes Model attributes in the form of hash
103
102
  # @return [Object] Returns the model itself
@@ -203,4 +202,5 @@ module YNAB
203
202
  end
204
203
 
205
204
  end
205
+
206
206
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -80,7 +80,6 @@ module YNAB
80
80
  def hash
81
81
  [data].hash
82
82
  end
83
-
84
83
  # Builds the object from hash
85
84
  # @param [Hash] attributes Model attributes in the form of hash
86
85
  # @return [Object] Returns the model itself
@@ -186,4 +185,5 @@ module YNAB
186
185
  end
187
186
 
188
187
  end
188
+
189
189
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.14
9
+ Swagger Codegen version: 2.4.15
10
10
 
11
11
  =end
12
12
 
@@ -95,7 +95,6 @@ module YNAB
95
95
  def hash
96
96
  [category, server_knowledge].hash
97
97
  end
98
-
99
98
  # Builds the object from hash
100
99
  # @param [Hash] attributes Model attributes in the form of hash
101
100
  # @return [Object] Returns the model itself
@@ -201,4 +200,5 @@ module YNAB
201
200
  end
202
201
 
203
202
  end
203
+
204
204
  end