ynab 1.18.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ynab.rb +8 -8
- data/lib/ynab/api/accounts_api.rb +1 -1
- data/lib/ynab/api/budgets_api.rb +1 -1
- data/lib/ynab/api/categories_api.rb +1 -1
- data/lib/ynab/api/deprecated_api.rb +1 -1
- data/lib/ynab/api/months_api.rb +1 -1
- data/lib/ynab/api/payee_locations_api.rb +1 -1
- data/lib/ynab/api/payees_api.rb +1 -1
- data/lib/ynab/api/scheduled_transactions_api.rb +1 -1
- data/lib/ynab/api/transactions_api.rb +1 -1
- data/lib/ynab/api/user_api.rb +1 -1
- data/lib/ynab/api_client.rb +1 -1
- data/lib/ynab/configuration.rb +1 -1
- data/lib/ynab/models/account.rb +2 -6
- data/lib/ynab/models/account_response.rb +2 -2
- data/lib/ynab/models/account_response_data.rb +2 -2
- data/lib/ynab/models/accounts_response.rb +2 -2
- data/lib/ynab/models/accounts_response_data.rb +2 -2
- data/lib/ynab/models/budget_detail.rb +2 -2
- data/lib/ynab/models/budget_detail_response.rb +2 -2
- data/lib/ynab/models/budget_detail_response_data.rb +2 -2
- data/lib/ynab/models/budget_settings.rb +2 -2
- data/lib/ynab/models/budget_settings_response.rb +2 -2
- data/lib/ynab/models/budget_settings_response_data.rb +2 -2
- data/lib/ynab/models/budget_summary.rb +2 -2
- data/lib/ynab/models/budget_summary_response.rb +2 -2
- data/lib/ynab/models/budget_summary_response_data.rb +2 -2
- data/lib/ynab/models/bulk_response.rb +2 -2
- data/lib/ynab/models/bulk_response_data.rb +2 -2
- data/lib/ynab/models/bulk_response_data_bulk.rb +2 -2
- data/lib/ynab/models/bulk_transactions.rb +2 -2
- data/lib/ynab/models/categories_response.rb +2 -2
- data/lib/ynab/models/categories_response_data.rb +2 -2
- data/lib/ynab/models/category.rb +2 -6
- data/lib/ynab/models/category_group.rb +2 -2
- data/lib/ynab/models/category_group_with_categories.rb +2 -2
- data/lib/ynab/models/category_response.rb +2 -2
- data/lib/ynab/models/category_response_data.rb +2 -2
- data/lib/ynab/models/currency_format.rb +2 -2
- data/lib/ynab/models/date_format.rb +2 -2
- data/lib/ynab/models/error_detail.rb +2 -2
- data/lib/ynab/models/error_response.rb +2 -2
- data/lib/ynab/models/hybrid_transaction.rb +2 -14
- data/lib/ynab/models/hybrid_transactions_response.rb +2 -2
- data/lib/ynab/models/hybrid_transactions_response_data.rb +2 -2
- data/lib/ynab/models/month_detail.rb +2 -2
- data/lib/ynab/models/month_detail_response.rb +2 -2
- data/lib/ynab/models/month_detail_response_data.rb +2 -2
- data/lib/ynab/models/month_summaries_response.rb +2 -2
- data/lib/ynab/models/month_summaries_response_data.rb +2 -2
- data/lib/ynab/models/month_summary.rb +2 -2
- data/lib/ynab/models/payee.rb +2 -2
- data/lib/ynab/models/payee_location.rb +2 -2
- data/lib/ynab/models/payee_location_response.rb +2 -2
- data/lib/ynab/models/payee_location_response_data.rb +2 -2
- data/lib/ynab/models/payee_locations_response.rb +2 -2
- data/lib/ynab/models/payee_locations_response_data.rb +2 -2
- data/lib/ynab/models/payee_response.rb +2 -2
- data/lib/ynab/models/payee_response_data.rb +2 -2
- data/lib/ynab/models/payees_response.rb +2 -2
- data/lib/ynab/models/payees_response_data.rb +2 -2
- data/lib/ynab/models/save_category_response.rb +2 -2
- data/lib/ynab/models/save_category_response_data.rb +2 -2
- data/lib/ynab/models/save_month_category.rb +2 -2
- data/lib/ynab/models/save_month_category_wrapper.rb +2 -2
- data/lib/ynab/models/save_sub_transaction.rb +2 -2
- data/lib/ynab/models/save_transaction.rb +2 -10
- data/lib/ynab/models/save_transaction_wrapper.rb +2 -2
- data/lib/ynab/models/save_transactions_response.rb +2 -2
- data/lib/ynab/models/save_transactions_response_data.rb +2 -2
- data/lib/ynab/models/save_transactions_wrapper.rb +2 -2
- data/lib/ynab/models/scheduled_sub_transaction.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_detail.rb +2 -10
- data/lib/ynab/models/scheduled_transaction_response.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_response_data.rb +2 -2
- data/lib/ynab/models/scheduled_transaction_summary.rb +2 -10
- data/lib/ynab/models/scheduled_transactions_response.rb +2 -2
- data/lib/ynab/models/scheduled_transactions_response_data.rb +2 -2
- data/lib/ynab/models/sub_transaction.rb +13 -3
- data/lib/ynab/models/transaction_detail.rb +2 -10
- data/lib/ynab/models/transaction_response.rb +2 -2
- data/lib/ynab/models/transaction_response_data.rb +2 -2
- data/lib/ynab/models/transaction_summary.rb +2 -10
- data/lib/ynab/models/transactions_import_response.rb +2 -2
- data/lib/ynab/models/transactions_import_response_data.rb +2 -2
- data/lib/ynab/models/transactions_response.rb +2 -2
- data/lib/ynab/models/transactions_response_data.rb +2 -2
- data/lib/ynab/models/update_transaction.rb +6 -28
- data/lib/ynab/models/update_transactions_wrapper.rb +2 -2
- data/lib/ynab/models/user.rb +2 -2
- data/lib/ynab/models/user_response.rb +2 -2
- data/lib/ynab/models/user_response_data.rb +2 -2
- data/lib/ynab/version.rb +1 -1
- data/spec/models/transaction_detail_spec.rb +11 -0
- metadata +17 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35449c67dfda4654fc34d34788605b3bf86d6e4bcbf46886669fcfd3c2e0388d
|
4
|
+
data.tar.gz: 985b6590906244ec3a54086ccfb8f708c3e012500c05e50d26644bc455f4e84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 859803774748aaf17a35f76469b1d492660e414d3690e7fccffa6df97378bebb8d197607b3222f082e6aacfbabbb0aea1f85f8702746a78eca0ff0443c39c95c
|
7
|
+
data.tar.gz: b118379b5530965699fd5c38ff0cdc4f553647ea9a15fb7c957f1c19731bee2062247a9fb7a4f03dd051baf1b3746b7a63b47d5e6325af875cd6bec6a753db2d
|
data/lib/ynab.rb
CHANGED
@@ -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.
|
9
|
+
Swagger Codegen version: 2.4.15
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,6 +22,7 @@ require 'ynab/models/account_response'
|
|
22
22
|
require 'ynab/models/account_response_data'
|
23
23
|
require 'ynab/models/accounts_response'
|
24
24
|
require 'ynab/models/accounts_response_data'
|
25
|
+
require 'ynab/models/budget_detail'
|
25
26
|
require 'ynab/models/budget_detail_response'
|
26
27
|
require 'ynab/models/budget_detail_response_data'
|
27
28
|
require 'ynab/models/budget_settings'
|
@@ -38,14 +39,17 @@ require 'ynab/models/categories_response'
|
|
38
39
|
require 'ynab/models/categories_response_data'
|
39
40
|
require 'ynab/models/category'
|
40
41
|
require 'ynab/models/category_group'
|
42
|
+
require 'ynab/models/category_group_with_categories'
|
41
43
|
require 'ynab/models/category_response'
|
42
44
|
require 'ynab/models/category_response_data'
|
43
45
|
require 'ynab/models/currency_format'
|
44
46
|
require 'ynab/models/date_format'
|
45
47
|
require 'ynab/models/error_detail'
|
46
48
|
require 'ynab/models/error_response'
|
49
|
+
require 'ynab/models/hybrid_transaction'
|
47
50
|
require 'ynab/models/hybrid_transactions_response'
|
48
51
|
require 'ynab/models/hybrid_transactions_response_data'
|
52
|
+
require 'ynab/models/month_detail'
|
49
53
|
require 'ynab/models/month_detail_response'
|
50
54
|
require 'ynab/models/month_detail_response_data'
|
51
55
|
require 'ynab/models/month_summaries_response'
|
@@ -72,12 +76,14 @@ require 'ynab/models/save_transactions_response'
|
|
72
76
|
require 'ynab/models/save_transactions_response_data'
|
73
77
|
require 'ynab/models/save_transactions_wrapper'
|
74
78
|
require 'ynab/models/scheduled_sub_transaction'
|
79
|
+
require 'ynab/models/scheduled_transaction_detail'
|
75
80
|
require 'ynab/models/scheduled_transaction_response'
|
76
81
|
require 'ynab/models/scheduled_transaction_response_data'
|
77
82
|
require 'ynab/models/scheduled_transaction_summary'
|
78
83
|
require 'ynab/models/scheduled_transactions_response'
|
79
84
|
require 'ynab/models/scheduled_transactions_response_data'
|
80
85
|
require 'ynab/models/sub_transaction'
|
86
|
+
require 'ynab/models/transaction_detail'
|
81
87
|
require 'ynab/models/transaction_response'
|
82
88
|
require 'ynab/models/transaction_response_data'
|
83
89
|
require 'ynab/models/transaction_summary'
|
@@ -85,17 +91,11 @@ require 'ynab/models/transactions_import_response'
|
|
85
91
|
require 'ynab/models/transactions_import_response_data'
|
86
92
|
require 'ynab/models/transactions_response'
|
87
93
|
require 'ynab/models/transactions_response_data'
|
94
|
+
require 'ynab/models/update_transaction'
|
88
95
|
require 'ynab/models/update_transactions_wrapper'
|
89
96
|
require 'ynab/models/user'
|
90
97
|
require 'ynab/models/user_response'
|
91
98
|
require 'ynab/models/user_response_data'
|
92
|
-
require 'ynab/models/budget_detail'
|
93
|
-
require 'ynab/models/category_group_with_categories'
|
94
|
-
require 'ynab/models/hybrid_transaction'
|
95
|
-
require 'ynab/models/month_detail'
|
96
|
-
require 'ynab/models/scheduled_transaction_detail'
|
97
|
-
require 'ynab/models/transaction_detail'
|
98
|
-
require 'ynab/models/update_transaction'
|
99
99
|
|
100
100
|
# APIs
|
101
101
|
require 'ynab/api/accounts_api'
|
data/lib/ynab/api/budgets_api.rb
CHANGED
data/lib/ynab/api/months_api.rb
CHANGED
data/lib/ynab/api/payees_api.rb
CHANGED
data/lib/ynab/api/user_api.rb
CHANGED
data/lib/ynab/api_client.rb
CHANGED
data/lib/ynab/configuration.rb
CHANGED
data/lib/ynab/models/account.rb
CHANGED
@@ -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.
|
9
|
+
Swagger Codegen version: 2.4.15
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -221,10 +221,6 @@ module YNAB
|
|
221
221
|
# Custom attribute writer method checking allowed values (enum).
|
222
222
|
# @param [Object] type Object to be assigned
|
223
223
|
def type=(type)
|
224
|
-
validator = EnumAttributeValidator.new('String', ['checking', 'savings', 'cash', 'creditCard', 'lineOfCredit', 'otherAsset', 'otherLiability', 'payPal', 'merchantAccount', 'investmentAccount', 'mortgage'])
|
225
|
-
unless validator.valid?(type)
|
226
|
-
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
227
|
-
end
|
228
224
|
@type = type
|
229
225
|
end
|
230
226
|
|
@@ -257,7 +253,6 @@ module YNAB
|
|
257
253
|
def hash
|
258
254
|
[id, name, type, on_budget, closed, note, balance, cleared_balance, uncleared_balance, transfer_payee_id, deleted].hash
|
259
255
|
end
|
260
|
-
|
261
256
|
# Builds the object from hash
|
262
257
|
# @param [Hash] attributes Model attributes in the form of hash
|
263
258
|
# @return [Object] Returns the model itself
|
@@ -363,4 +358,5 @@ module YNAB
|
|
363
358
|
end
|
364
359
|
|
365
360
|
end
|
361
|
+
|
366
362
|
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.
|
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.
|
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
|
[account].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.
|
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.
|
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
|
[accounts, 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.
|
9
|
+
Swagger Codegen version: 2.4.15
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -252,7 +252,6 @@ module YNAB
|
|
252
252
|
def hash
|
253
253
|
[id, name, last_modified_on, first_month, last_month, date_format, currency_format, accounts, payees, payee_locations, category_groups, categories, months, transactions, subtransactions, scheduled_transactions, scheduled_subtransactions].hash
|
254
254
|
end
|
255
|
-
|
256
255
|
# Builds the object from hash
|
257
256
|
# @param [Hash] attributes Model attributes in the form of hash
|
258
257
|
# @return [Object] Returns the model itself
|
@@ -358,4 +357,5 @@ module YNAB
|
|
358
357
|
end
|
359
358
|
|
360
359
|
end
|
360
|
+
|
361
361
|
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.
|
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.
|
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
|
[budget, 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
|
@@ -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.
|
9
|
+
Swagger Codegen version: 2.4.15
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -94,7 +94,6 @@ module YNAB
|
|
94
94
|
def hash
|
95
95
|
[date_format, currency_format].hash
|
96
96
|
end
|
97
|
-
|
98
97
|
# Builds the object from hash
|
99
98
|
# @param [Hash] attributes Model attributes in the form of hash
|
100
99
|
# @return [Object] Returns the model itself
|
@@ -200,4 +199,5 @@ module YNAB
|
|
200
199
|
end
|
201
200
|
|
202
201
|
end
|
202
|
+
|
203
203
|
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.
|
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.
|
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
|
[settings].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
|