ynab 2.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEVELOPMENT.md +6 -2
- data/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/Rakefile +3 -1
- data/docs/BulkTransactions.md +1 -1
- data/docs/CategoriesApi.md +22 -0
- data/docs/Category.md +1 -0
- data/docs/ExistingTransaction.md +18 -0
- data/docs/HybridTransaction.md +3 -2
- data/docs/NewTransaction.md +19 -0
- data/docs/PatchCategoryWrapper.md +8 -0
- data/docs/PatchPayeeWrapper.md +8 -0
- data/docs/PatchTransactionsWrapper.md +1 -1
- data/docs/PayeesApi.md +22 -0
- data/docs/PostTransactionsWrapper.md +2 -2
- data/docs/PutTransactionWrapper.md +1 -1
- data/docs/SaveCategory.md +10 -0
- data/docs/SavePayee.md +8 -0
- data/docs/SavePayeeResponse.md +8 -0
- data/docs/SavePayeeResponseData.md +9 -0
- data/docs/SaveTransactionWithIdOrImportId.md +20 -0
- data/docs/SaveTransactionWithOptionalFields.md +2 -3
- data/docs/ScheduledTransactionDetail.md +2 -1
- data/docs/ScheduledTransactionSummary.md +2 -1
- data/docs/TransactionClearedStatus.md +7 -0
- data/docs/TransactionDetail.md +3 -2
- data/docs/TransactionFlagColor.md +7 -0
- data/docs/TransactionSummary.md +3 -2
- data/docs/TransactionsApi.md +7 -7
- data/lib/ynab/api/accounts_api.rb +2 -2
- data/lib/ynab/api/budgets_api.rb +2 -2
- data/lib/ynab/api/categories_api.rb +82 -2
- data/lib/ynab/api/months_api.rb +2 -2
- data/lib/ynab/api/payee_locations_api.rb +2 -2
- data/lib/ynab/api/payees_api.rb +82 -2
- data/lib/ynab/api/scheduled_transactions_api.rb +2 -2
- data/lib/ynab/api/transactions_api.rb +12 -12
- data/lib/ynab/api/user_api.rb +2 -2
- data/lib/ynab/api_client.rb +2 -2
- data/lib/ynab/configuration.rb +14 -11
- data/lib/ynab/models/account.rb +13 -20
- data/lib/ynab/models/account_response.rb +13 -20
- data/lib/ynab/models/account_response_data.rb +13 -20
- data/lib/ynab/models/account_type.rb +2 -2
- data/lib/ynab/models/accounts_response.rb +13 -20
- data/lib/ynab/models/accounts_response_data.rb +13 -20
- data/lib/ynab/models/budget_detail.rb +13 -21
- data/lib/ynab/models/budget_detail_response.rb +13 -20
- data/lib/ynab/models/budget_detail_response_data.rb +13 -20
- data/lib/ynab/models/budget_settings.rb +13 -20
- data/lib/ynab/models/budget_settings_response.rb +13 -20
- data/lib/ynab/models/budget_settings_response_data.rb +13 -20
- data/lib/ynab/models/budget_summary.rb +13 -20
- data/lib/ynab/models/budget_summary_response.rb +13 -20
- data/lib/ynab/models/budget_summary_response_data.rb +13 -20
- data/lib/ynab/models/bulk_response.rb +13 -20
- data/lib/ynab/models/bulk_response_data.rb +13 -20
- data/lib/ynab/models/bulk_response_data_bulk.rb +13 -20
- data/lib/ynab/models/bulk_transactions.rb +14 -21
- data/lib/ynab/models/categories_response.rb +13 -20
- data/lib/ynab/models/categories_response_data.rb +13 -20
- data/lib/ynab/models/category.rb +25 -21
- data/lib/ynab/models/category_group.rb +13 -20
- data/lib/ynab/models/category_group_with_categories.rb +14 -22
- data/lib/ynab/models/category_response.rb +13 -20
- data/lib/ynab/models/category_response_data.rb +13 -20
- data/lib/ynab/models/currency_format.rb +13 -20
- data/lib/ynab/models/date_format.rb +13 -20
- data/lib/ynab/models/error_detail.rb +13 -20
- data/lib/ynab/models/error_response.rb +13 -20
- data/lib/ynab/models/existing_transaction.rb +359 -0
- data/lib/ynab/models/hybrid_transaction.rb +28 -43
- data/lib/ynab/models/hybrid_transactions_response.rb +13 -20
- data/lib/ynab/models/hybrid_transactions_response_data.rb +13 -20
- data/lib/ynab/models/month_detail.rb +13 -21
- data/lib/ynab/models/month_detail_response.rb +13 -20
- data/lib/ynab/models/month_detail_response_data.rb +13 -20
- data/lib/ynab/models/month_summaries_response.rb +13 -20
- data/lib/ynab/models/month_summaries_response_data.rb +13 -20
- data/lib/ynab/models/month_summary.rb +13 -20
- data/lib/ynab/models/new_transaction.rb +377 -0
- data/lib/ynab/models/patch_category_wrapper.rb +213 -0
- data/lib/ynab/models/patch_month_category_wrapper.rb +13 -20
- data/lib/ynab/models/patch_payee_wrapper.rb +213 -0
- data/lib/ynab/models/patch_transactions_wrapper.rb +14 -21
- data/lib/ynab/models/payee.rb +13 -20
- data/lib/ynab/models/payee_location.rb +13 -20
- data/lib/ynab/models/payee_location_response.rb +13 -20
- data/lib/ynab/models/payee_location_response_data.rb +13 -20
- data/lib/ynab/models/payee_locations_response.rb +13 -20
- data/lib/ynab/models/payee_locations_response_data.rb +13 -20
- data/lib/ynab/models/payee_response.rb +13 -20
- data/lib/ynab/models/payee_response_data.rb +13 -20
- data/lib/ynab/models/payees_response.rb +13 -20
- data/lib/ynab/models/payees_response_data.rb +13 -20
- data/lib/ynab/models/post_account_wrapper.rb +13 -20
- data/lib/ynab/models/post_transactions_wrapper.rb +15 -22
- data/lib/ynab/models/put_transaction_wrapper.rb +14 -21
- data/lib/ynab/models/save_account.rb +13 -20
- data/lib/ynab/models/save_category.rb +232 -0
- data/lib/ynab/models/save_category_response.rb +13 -20
- data/lib/ynab/models/save_category_response_data.rb +13 -20
- data/lib/ynab/models/save_month_category.rb +13 -20
- data/lib/ynab/models/save_payee.rb +220 -0
- data/lib/ynab/models/save_payee_response.rb +213 -0
- data/lib/ynab/models/save_payee_response_data.rb +224 -0
- data/lib/ynab/models/save_sub_transaction.rb +13 -20
- data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +388 -0
- data/lib/ynab/models/save_transaction_with_optional_fields.rb +17 -59
- data/lib/ynab/models/save_transactions_response.rb +13 -20
- data/lib/ynab/models/save_transactions_response_data.rb +13 -20
- data/lib/ynab/models/scheduled_sub_transaction.rb +13 -20
- data/lib/ynab/models/scheduled_transaction_detail.rb +26 -32
- data/lib/ynab/models/scheduled_transaction_response.rb +13 -20
- data/lib/ynab/models/scheduled_transaction_response_data.rb +13 -20
- data/lib/ynab/models/scheduled_transaction_summary.rb +26 -31
- data/lib/ynab/models/scheduled_transactions_response.rb +13 -20
- data/lib/ynab/models/scheduled_transactions_response_data.rb +13 -20
- data/lib/ynab/models/sub_transaction.rb +13 -20
- data/lib/ynab/models/transaction_cleared_status.rb +41 -0
- data/lib/ynab/models/transaction_detail.rb +28 -43
- data/lib/ynab/models/transaction_flag_color.rb +45 -0
- data/lib/ynab/models/transaction_response.rb +13 -20
- data/lib/ynab/models/transaction_response_data.rb +13 -20
- data/lib/ynab/models/transaction_summary.rb +28 -42
- data/lib/ynab/models/transactions_import_response.rb +13 -20
- data/lib/ynab/models/transactions_import_response_data.rb +13 -20
- data/lib/ynab/models/transactions_response.rb +13 -20
- data/lib/ynab/models/transactions_response_data.rb +13 -20
- data/lib/ynab/models/user.rb +13 -20
- data/lib/ynab/models/user_response.rb +13 -20
- data/lib/ynab/models/user_response_data.rb +13 -20
- data/lib/ynab/version.rb +1 -1
- data/lib/ynab.rb +13 -12
- data/open_api_spec.yaml +464 -343
- data/ynab.gemspec +4 -3
- metadata +53 -31
data/ynab.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
#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
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.
|
8
|
+
The version of the OpenAPI document: 1.70.0
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
|
11
|
+
Generator version: 7.6.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -25,7 +25,8 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.summary = "YNAB API Endpoints Ruby Gem"
|
26
26
|
s.description = "Ruby gem wrapper for the YNAB API. Read the documentation at https://api.ynab.com"
|
27
27
|
s.license = "Apache-2.0"
|
28
|
-
s.required_ruby_version = ">=
|
28
|
+
s.required_ruby_version = ">= 3.3"
|
29
|
+
s.metadata = {}
|
29
30
|
|
30
31
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ynab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YNAB
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- docs/DeprecatedApi.md
|
112
112
|
- docs/ErrorDetail.md
|
113
113
|
- docs/ErrorResponse.md
|
114
|
+
- docs/ExistingTransaction.md
|
114
115
|
- docs/HybridTransaction.md
|
115
116
|
- docs/HybridTransactionAllOf.md
|
116
117
|
- docs/HybridTransactionsResponse.md
|
@@ -127,7 +128,10 @@ files:
|
|
127
128
|
- docs/MonthSummariesWrapper.md
|
128
129
|
- docs/MonthSummary.md
|
129
130
|
- docs/MonthsApi.md
|
131
|
+
- docs/NewTransaction.md
|
132
|
+
- docs/PatchCategoryWrapper.md
|
130
133
|
- docs/PatchMonthCategoryWrapper.md
|
134
|
+
- docs/PatchPayeeWrapper.md
|
131
135
|
- docs/PatchTransactionsWrapper.md
|
132
136
|
- docs/Payee.md
|
133
137
|
- docs/PayeeLocation.md
|
@@ -150,14 +154,19 @@ files:
|
|
150
154
|
- docs/PutTransactionWrapper.md
|
151
155
|
- docs/SaveAccount.md
|
152
156
|
- docs/SaveAccountWrapper.md
|
157
|
+
- docs/SaveCategory.md
|
153
158
|
- docs/SaveCategoryResponse.md
|
154
159
|
- docs/SaveCategoryResponseData.md
|
155
160
|
- docs/SaveMonthCategory.md
|
156
161
|
- docs/SaveMonthCategoryWrapper.md
|
162
|
+
- docs/SavePayee.md
|
163
|
+
- docs/SavePayeeResponse.md
|
164
|
+
- docs/SavePayeeResponseData.md
|
157
165
|
- docs/SaveSubTransaction.md
|
158
166
|
- docs/SaveTransaction.md
|
159
167
|
- docs/SaveTransactionWithId.md
|
160
168
|
- docs/SaveTransactionWithIdAllOf.md
|
169
|
+
- docs/SaveTransactionWithIdOrImportId.md
|
161
170
|
- docs/SaveTransactionWithOptionalFields.md
|
162
171
|
- docs/SaveTransactionWrapper.md
|
163
172
|
- docs/SaveTransactionsResponse.md
|
@@ -175,8 +184,10 @@ files:
|
|
175
184
|
- docs/ScheduledTransactionsResponseData.md
|
176
185
|
- docs/ScheduledTransactionsWrapper.md
|
177
186
|
- docs/SubTransaction.md
|
187
|
+
- docs/TransactionClearedStatus.md
|
178
188
|
- docs/TransactionDetail.md
|
179
189
|
- docs/TransactionDetailAllOf.md
|
190
|
+
- docs/TransactionFlagColor.md
|
180
191
|
- docs/TransactionResponse.md
|
181
192
|
- docs/TransactionResponseData.md
|
182
193
|
- docs/TransactionSummary.md
|
@@ -247,6 +258,7 @@ files:
|
|
247
258
|
- lib/ynab/models/date_format.rb
|
248
259
|
- lib/ynab/models/error_detail.rb
|
249
260
|
- lib/ynab/models/error_response.rb
|
261
|
+
- lib/ynab/models/existing_transaction.rb
|
250
262
|
- lib/ynab/models/hybrid_transaction.rb
|
251
263
|
- lib/ynab/models/hybrid_transaction_all_of.rb
|
252
264
|
- lib/ynab/models/hybrid_transactions_response.rb
|
@@ -258,7 +270,10 @@ files:
|
|
258
270
|
- lib/ynab/models/month_summaries_response.rb
|
259
271
|
- lib/ynab/models/month_summaries_response_data.rb
|
260
272
|
- lib/ynab/models/month_summary.rb
|
273
|
+
- lib/ynab/models/new_transaction.rb
|
274
|
+
- lib/ynab/models/patch_category_wrapper.rb
|
261
275
|
- lib/ynab/models/patch_month_category_wrapper.rb
|
276
|
+
- lib/ynab/models/patch_payee_wrapper.rb
|
262
277
|
- lib/ynab/models/patch_transactions_wrapper.rb
|
263
278
|
- lib/ynab/models/payee.rb
|
264
279
|
- lib/ynab/models/payee_location.rb
|
@@ -274,13 +289,18 @@ files:
|
|
274
289
|
- lib/ynab/models/post_transactions_wrapper.rb
|
275
290
|
- lib/ynab/models/put_transaction_wrapper.rb
|
276
291
|
- lib/ynab/models/save_account.rb
|
292
|
+
- lib/ynab/models/save_category.rb
|
277
293
|
- lib/ynab/models/save_category_response.rb
|
278
294
|
- lib/ynab/models/save_category_response_data.rb
|
279
295
|
- lib/ynab/models/save_month_category.rb
|
296
|
+
- lib/ynab/models/save_payee.rb
|
297
|
+
- lib/ynab/models/save_payee_response.rb
|
298
|
+
- lib/ynab/models/save_payee_response_data.rb
|
280
299
|
- lib/ynab/models/save_sub_transaction.rb
|
281
300
|
- lib/ynab/models/save_transaction.rb
|
282
301
|
- lib/ynab/models/save_transaction_with_id.rb
|
283
302
|
- lib/ynab/models/save_transaction_with_id_all_of.rb
|
303
|
+
- lib/ynab/models/save_transaction_with_id_or_import_id.rb
|
284
304
|
- lib/ynab/models/save_transaction_with_optional_fields.rb
|
285
305
|
- lib/ynab/models/save_transactions_response.rb
|
286
306
|
- lib/ynab/models/save_transactions_response_data.rb
|
@@ -293,8 +313,10 @@ files:
|
|
293
313
|
- lib/ynab/models/scheduled_transactions_response.rb
|
294
314
|
- lib/ynab/models/scheduled_transactions_response_data.rb
|
295
315
|
- lib/ynab/models/sub_transaction.rb
|
316
|
+
- lib/ynab/models/transaction_cleared_status.rb
|
296
317
|
- lib/ynab/models/transaction_detail.rb
|
297
318
|
- lib/ynab/models/transaction_detail_all_of.rb
|
319
|
+
- lib/ynab/models/transaction_flag_color.rb
|
298
320
|
- lib/ynab/models/transaction_response.rb
|
299
321
|
- lib/ynab/models/transaction_response_data.rb
|
300
322
|
- lib/ynab/models/transaction_summary.rb
|
@@ -373,60 +395,60 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
373
395
|
requirements:
|
374
396
|
- - ">="
|
375
397
|
- !ruby/object:Gem::Version
|
376
|
-
version: '
|
398
|
+
version: '3.3'
|
377
399
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
378
400
|
requirements:
|
379
401
|
- - ">="
|
380
402
|
- !ruby/object:Gem::Version
|
381
403
|
version: '0'
|
382
404
|
requirements: []
|
383
|
-
rubygems_version: 3.
|
405
|
+
rubygems_version: 3.5.14
|
384
406
|
signing_key:
|
385
407
|
specification_version: 4
|
386
408
|
summary: YNAB API Endpoints Ruby Gem
|
387
409
|
test_files:
|
388
|
-
- spec/api/
|
410
|
+
- spec/api/months_spec.rb
|
411
|
+
- spec/api/transactions_spec.rb
|
412
|
+
- spec/api/budgets_spec.rb
|
389
413
|
- spec/api/accounts_spec.rb
|
414
|
+
- spec/api/scheduled_transactions_spec.rb
|
390
415
|
- spec/api/categories_spec.rb
|
391
|
-
- spec/api/payee_locations_spec.rb
|
392
416
|
- spec/api/payees_spec.rb
|
393
|
-
- spec/api/
|
394
|
-
- spec/api/months_spec.rb
|
395
|
-
- spec/api/transactions_spec.rb
|
417
|
+
- spec/api/payee_locations_spec.rb
|
396
418
|
- spec/api_error_spec.rb
|
397
|
-
- spec/fixtures/vcr_cassettes/
|
419
|
+
- spec/fixtures/vcr_cassettes/categories_unauthorized.yml
|
398
420
|
- spec/fixtures/vcr_cassettes/payee_transactions.yml
|
399
|
-
- spec/fixtures/vcr_cassettes/categories.yml
|
400
|
-
- spec/fixtures/vcr_cassettes/scheduled_transactions.yml
|
401
|
-
- spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
|
402
|
-
- spec/fixtures/vcr_cassettes/budget.yml
|
403
|
-
- spec/fixtures/vcr_cassettes/scheduled_transaction.yml
|
404
|
-
- spec/fixtures/vcr_cassettes/update_transaction.yml
|
405
421
|
- spec/fixtures/vcr_cassettes/create_transactions.yml
|
406
|
-
- spec/fixtures/vcr_cassettes/payees_unauthorized.yml
|
407
422
|
- spec/fixtures/vcr_cassettes/create_transaction.yml
|
408
|
-
- spec/fixtures/vcr_cassettes/
|
423
|
+
- spec/fixtures/vcr_cassettes/budget.yml
|
424
|
+
- spec/fixtures/vcr_cassettes/categories.yml
|
425
|
+
- spec/fixtures/vcr_cassettes/import_transactions.yml
|
426
|
+
- spec/fixtures/vcr_cassettes/category.yml
|
409
427
|
- spec/fixtures/vcr_cassettes/category_transactions.yml
|
428
|
+
- spec/fixtures/vcr_cassettes/scheduled_transactions.yml
|
429
|
+
- spec/fixtures/vcr_cassettes/month.yml
|
410
430
|
- spec/fixtures/vcr_cassettes/accounts.yml
|
431
|
+
- spec/fixtures/vcr_cassettes/payees_unauthorized.yml
|
411
432
|
- spec/fixtures/vcr_cassettes/patch_month_category.yml
|
433
|
+
- spec/fixtures/vcr_cassettes/multiple_transactions.yml
|
412
434
|
- spec/fixtures/vcr_cassettes/payee.yml
|
413
|
-
- spec/fixtures/vcr_cassettes/
|
414
|
-
- spec/fixtures/vcr_cassettes/
|
415
|
-
- spec/fixtures/vcr_cassettes/
|
435
|
+
- spec/fixtures/vcr_cassettes/update_transaction.yml
|
436
|
+
- spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
|
437
|
+
- spec/fixtures/vcr_cassettes/budgets.yml
|
416
438
|
- spec/fixtures/vcr_cassettes/bulk_transactions.yml
|
417
439
|
- spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml
|
418
|
-
- spec/fixtures/vcr_cassettes/
|
419
|
-
- spec/fixtures/vcr_cassettes/
|
420
|
-
- spec/fixtures/vcr_cassettes/account.yml
|
440
|
+
- spec/fixtures/vcr_cassettes/transactions.yml
|
441
|
+
- spec/fixtures/vcr_cassettes/accounts_unauthorized.yml
|
421
442
|
- spec/fixtures/vcr_cassettes/payee_locations.yml
|
443
|
+
- spec/fixtures/vcr_cassettes/update_transactions.yml
|
444
|
+
- spec/fixtures/vcr_cassettes/scheduled_transaction.yml
|
445
|
+
- spec/fixtures/vcr_cassettes/payees.yml
|
422
446
|
- spec/fixtures/vcr_cassettes/months_unauthorized.yml
|
423
447
|
- spec/fixtures/vcr_cassettes/months.yml
|
424
|
-
- spec/fixtures/vcr_cassettes/category.yml
|
425
|
-
- spec/fixtures/vcr_cassettes/budgets_unauthorized.yml
|
426
|
-
- spec/fixtures/vcr_cassettes/transaction.yml
|
427
|
-
- spec/fixtures/vcr_cassettes/transactions.yml
|
428
|
-
- spec/fixtures/vcr_cassettes/month.yml
|
429
|
-
- spec/fixtures/vcr_cassettes/categories_unauthorized.yml
|
430
|
-
- spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
|
431
448
|
- spec/fixtures/vcr_cassettes/create_account.yml
|
449
|
+
- spec/fixtures/vcr_cassettes/account.yml
|
450
|
+
- spec/fixtures/vcr_cassettes/transactions_unauthorized.yml
|
451
|
+
- spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml
|
452
|
+
- spec/fixtures/vcr_cassettes/transaction.yml
|
453
|
+
- spec/fixtures/vcr_cassettes/payee_location.yml
|
432
454
|
- spec/spec_helper.rb
|