ynab 4.9.0 → 5.0.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.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/Rakefile +2 -2
  4. data/docs/AccountsApi.md +3 -3
  5. data/docs/CategoriesApi.md +8 -8
  6. data/docs/MoneyMovementsApi.md +4 -4
  7. data/docs/MonthsApi.md +2 -2
  8. data/docs/PayeeLocationsApi.md +3 -3
  9. data/docs/PayeesApi.md +3 -3
  10. data/docs/PlanDetailResponseData.md +1 -1
  11. data/docs/PlanSummaryResponseData.md +2 -2
  12. data/docs/PlansApi.md +3 -3
  13. data/docs/ScheduledTransactionsApi.md +5 -5
  14. data/docs/TransactionsApi.md +11 -11
  15. data/lib/ynab/api/accounts_api.rb +3 -3
  16. data/lib/ynab/api/categories_api.rb +8 -8
  17. data/lib/ynab/api/deprecated_api.rb +3 -3
  18. data/lib/ynab/api/money_movements_api.rb +4 -4
  19. data/lib/ynab/api/months_api.rb +2 -2
  20. data/lib/ynab/api/payee_locations_api.rb +3 -3
  21. data/lib/ynab/api/payees_api.rb +3 -3
  22. data/lib/ynab/api/plans_api.rb +3 -3
  23. data/lib/ynab/api/scheduled_transactions_api.rb +5 -5
  24. data/lib/ynab/api/transactions_api.rb +11 -11
  25. data/lib/ynab/models/plan_detail_response_data.rb +8 -8
  26. data/lib/ynab/models/plan_summary_response_data.rb +15 -15
  27. data/lib/ynab/version.rb +1 -1
  28. data/open_api_spec.yaml +36 -36
  29. data/spec/api/accounts_spec.rb +3 -3
  30. data/spec/api/categories_spec.rb +3 -3
  31. data/spec/api/months_spec.rb +2 -2
  32. data/spec/api/payee_locations_spec.rb +2 -2
  33. data/spec/api/payees_spec.rb +2 -2
  34. data/spec/api/plans_spec.rb +9 -9
  35. data/spec/api/scheduled_transactions_spec.rb +3 -3
  36. data/spec/api/transactions_spec.rb +11 -11
  37. data/spec/fixtures/vcr_cassettes/account.yml +2 -2
  38. data/spec/fixtures/vcr_cassettes/accounts.yml +2 -2
  39. data/spec/fixtures/vcr_cassettes/accounts_unauthorized.yml +2 -2
  40. data/spec/fixtures/vcr_cassettes/bulk_transactions.yml +2 -2
  41. data/spec/fixtures/vcr_cassettes/categories.yml +2 -2
  42. data/spec/fixtures/vcr_cassettes/categories_unauthorized.yml +2 -2
  43. data/spec/fixtures/vcr_cassettes/category.yml +2 -2
  44. data/spec/fixtures/vcr_cassettes/category_transactions.yml +2 -2
  45. data/spec/fixtures/vcr_cassettes/create_account.yml +2 -2
  46. data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +2 -2
  47. data/spec/fixtures/vcr_cassettes/create_transaction.yml +2 -2
  48. data/spec/fixtures/vcr_cassettes/create_transactions.yml +2 -2
  49. data/spec/fixtures/vcr_cassettes/import_transactions.yml +2 -2
  50. data/spec/fixtures/vcr_cassettes/month.yml +2 -2
  51. data/spec/fixtures/vcr_cassettes/month_transactions.yml +2 -2
  52. data/spec/fixtures/vcr_cassettes/months.yml +2 -2
  53. data/spec/fixtures/vcr_cassettes/months_unauthorized.yml +2 -2
  54. data/spec/fixtures/vcr_cassettes/multiple_transactions.yml +2 -2
  55. data/spec/fixtures/vcr_cassettes/patch_month_category.yml +2 -2
  56. data/spec/fixtures/vcr_cassettes/payee.yml +2 -2
  57. data/spec/fixtures/vcr_cassettes/payee_location.yml +2 -2
  58. data/spec/fixtures/vcr_cassettes/payee_locations.yml +2 -2
  59. data/spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml +2 -2
  60. data/spec/fixtures/vcr_cassettes/payee_transactions.yml +2 -2
  61. data/spec/fixtures/vcr_cassettes/payees.yml +2 -2
  62. data/spec/fixtures/vcr_cassettes/payees_unauthorized.yml +2 -2
  63. data/spec/fixtures/vcr_cassettes/{budget.yml → plan.yml} +3 -3
  64. data/spec/fixtures/vcr_cassettes/plans.yml +3 -3
  65. data/spec/fixtures/vcr_cassettes/plans_unauthorized.yml +2 -2
  66. data/spec/fixtures/vcr_cassettes/scheduled_transaction.yml +2 -2
  67. data/spec/fixtures/vcr_cassettes/scheduled_transactions.yml +2 -2
  68. data/spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml +2 -2
  69. data/spec/fixtures/vcr_cassettes/transaction.yml +2 -2
  70. data/spec/fixtures/vcr_cassettes/transactions.yml +2 -2
  71. data/spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml +2 -2
  72. data/spec/fixtures/vcr_cassettes/transactions_unauthorized.yml +2 -2
  73. data/spec/fixtures/vcr_cassettes/update_transaction.yml +2 -2
  74. data/spec/fixtures/vcr_cassettes/update_transactions.yml +2 -2
  75. data/ynab.gemspec +1 -1
  76. metadata +4 -8
  77. data/spec/fixtures/vcr_cassettes/budgets.yml +0 -49
  78. data/spec/fixtures/vcr_cassettes/budgets_unauthorized.yml +0 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22a62b958f408a681c3a96215a85f8645a98be22904c3be8f4ab6b3cf1a381b7
4
- data.tar.gz: d36e3cb9fe1a1df2f1b362c570b194d4e885be50b9a8355c6867c2fe9a37d4b1
3
+ metadata.gz: b0abc6145b2851d23a9e7ba12e3482836aeeed054d7785c27a0d25eca6d66048
4
+ data.tar.gz: 0aac1965123555b8c71badcab23890cb7e8b09f369ecece7a534583f7554744e
5
5
  SHA512:
6
- metadata.gz: 353884a6f7e09f5ed7989cc4d2f975148cc164bd7476846f85ac5b59a1ae56e79ab60cf3713c6aa8737994d194164133358fe4ab42c8833dd9033a86335246ca
7
- data.tar.gz: d8a23efb4ec3c2c7826f12a7ffd64220206d50a6376af1731e458366b366d15abfb5778635c66abd55b010d317b96ad293c860a6da47c3a183674f992590caac
6
+ metadata.gz: d43b5240894f6b7b342334d6e2d9c58b838808ff4892214921821991016ebc73aad421936b8d59313648e7052606fab3b0339635cdcac46de0306730c842de04
7
+ data.tar.gz: cc2931a5b5edcc82c9e7a203eff08cdb74b0e73945c9a276ec3d6e1eee53b9257362814c25e57db674c77ee181f082de6dada63a4c085a1cebd231e3d2db3ee1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ynab (3.9.0)
4
+ ynab (4.9.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ GEM
11
11
  diff-lcs (1.3)
12
12
  ethon (0.16.0)
13
13
  ffi (>= 1.15.0)
14
- ffi (1.15.5)
14
+ ffi (1.17.3)
15
15
  rake (13.0.1)
16
16
  rspec (3.8.0)
17
17
  rspec-core (~> 3.8.0)
data/Rakefile CHANGED
@@ -34,9 +34,9 @@ task :bump_version_number, [:version_type] do |t, args|
34
34
  # Increment version number
35
35
  case args[:version_type]
36
36
  when 'major'
37
- new_version = current_version.split('.').tap { |v| v[0] = v[0].to_i + 1 }.join('.')
37
+ new_version = current_version.split('.').tap { |v| v[0] = v[0].to_i + 1; v[1] = 0; v[2] = 0 }.join('.')
38
38
  when 'minor'
39
- new_version = current_version.split('.').tap { |v| v[1] = v[1].to_i + 1 }.join('.')
39
+ new_version = current_version.split('.').tap { |v| v[1] = v[1].to_i + 1; v[2] = 0 }.join('.')
40
40
  when 'patch'
41
41
  new_version = current_version.split('.').tap { |v| v[2] = v[2].to_i + 1 }.join('.')
42
42
  else
data/docs/AccountsApi.md CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_account**](AccountsApi.md#create_account) | **POST** /budgets/{plan_id}/accounts | Create an account |
8
- | [**get_account_by_id**](AccountsApi.md#get_account_by_id) | **GET** /budgets/{plan_id}/accounts/{account_id} | Get an account |
9
- | [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /budgets/{plan_id}/accounts | Get all accounts |
7
+ | [**create_account**](AccountsApi.md#create_account) | **POST** /plans/{plan_id}/accounts | Create an account |
8
+ | [**get_account_by_id**](AccountsApi.md#get_account_by_id) | **GET** /plans/{plan_id}/accounts/{account_id} | Get an account |
9
+ | [**get_accounts**](AccountsApi.md#get_accounts) | **GET** /plans/{plan_id}/accounts | Get all accounts |
10
10
 
11
11
 
12
12
  ## create_account
@@ -4,14 +4,14 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_category**](CategoriesApi.md#create_category) | **POST** /budgets/{plan_id}/categories | Create a category |
8
- | [**create_category_group**](CategoriesApi.md#create_category_group) | **POST** /budgets/{plan_id}/category_groups | Create a category group |
9
- | [**get_categories**](CategoriesApi.md#get_categories) | **GET** /budgets/{plan_id}/categories | Get all categories |
10
- | [**get_category_by_id**](CategoriesApi.md#get_category_by_id) | **GET** /budgets/{plan_id}/categories/{category_id} | Get a category |
11
- | [**get_month_category_by_id**](CategoriesApi.md#get_month_category_by_id) | **GET** /budgets/{plan_id}/months/{month}/categories/{category_id} | Get a category for a specific plan month |
12
- | [**update_category**](CategoriesApi.md#update_category) | **PATCH** /budgets/{plan_id}/categories/{category_id} | Update a category |
13
- | [**update_category_group**](CategoriesApi.md#update_category_group) | **PATCH** /budgets/{plan_id}/category_groups/{category_group_id} | Update a category group |
14
- | [**update_month_category**](CategoriesApi.md#update_month_category) | **PATCH** /budgets/{plan_id}/months/{month}/categories/{category_id} | Update a category for a specific month |
7
+ | [**create_category**](CategoriesApi.md#create_category) | **POST** /plans/{plan_id}/categories | Create a category |
8
+ | [**create_category_group**](CategoriesApi.md#create_category_group) | **POST** /plans/{plan_id}/category_groups | Create a category group |
9
+ | [**get_categories**](CategoriesApi.md#get_categories) | **GET** /plans/{plan_id}/categories | Get all categories |
10
+ | [**get_category_by_id**](CategoriesApi.md#get_category_by_id) | **GET** /plans/{plan_id}/categories/{category_id} | Get a category |
11
+ | [**get_month_category_by_id**](CategoriesApi.md#get_month_category_by_id) | **GET** /plans/{plan_id}/months/{month}/categories/{category_id} | Get a category for a specific plan month |
12
+ | [**update_category**](CategoriesApi.md#update_category) | **PATCH** /plans/{plan_id}/categories/{category_id} | Update a category |
13
+ | [**update_category_group**](CategoriesApi.md#update_category_group) | **PATCH** /plans/{plan_id}/category_groups/{category_group_id} | Update a category group |
14
+ | [**update_month_category**](CategoriesApi.md#update_month_category) | **PATCH** /plans/{plan_id}/months/{month}/categories/{category_id} | Update a category for a specific month |
15
15
 
16
16
 
17
17
  ## create_category
@@ -4,10 +4,10 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_money_movement_groups**](MoneyMovementsApi.md#get_money_movement_groups) | **GET** /budgets/{plan_id}/money_movement_groups | Get all money movement groups |
8
- | [**get_money_movement_groups_by_month**](MoneyMovementsApi.md#get_money_movement_groups_by_month) | **GET** /budgets/{plan_id}/months/{month}/money_movement_groups | Get money movement groups for a plan month |
9
- | [**get_money_movements**](MoneyMovementsApi.md#get_money_movements) | **GET** /budgets/{plan_id}/money_movements | Get all money movements |
10
- | [**get_money_movements_by_month**](MoneyMovementsApi.md#get_money_movements_by_month) | **GET** /budgets/{plan_id}/months/{month}/money_movements | Get money movements for a plan month |
7
+ | [**get_money_movement_groups**](MoneyMovementsApi.md#get_money_movement_groups) | **GET** /plans/{plan_id}/money_movement_groups | Get all money movement groups |
8
+ | [**get_money_movement_groups_by_month**](MoneyMovementsApi.md#get_money_movement_groups_by_month) | **GET** /plans/{plan_id}/months/{month}/money_movement_groups | Get money movement groups for a plan month |
9
+ | [**get_money_movements**](MoneyMovementsApi.md#get_money_movements) | **GET** /plans/{plan_id}/money_movements | Get all money movements |
10
+ | [**get_money_movements_by_month**](MoneyMovementsApi.md#get_money_movements_by_month) | **GET** /plans/{plan_id}/months/{month}/money_movements | Get money movements for a plan month |
11
11
 
12
12
 
13
13
  ## get_money_movement_groups
data/docs/MonthsApi.md CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_plan_month**](MonthsApi.md#get_plan_month) | **GET** /budgets/{plan_id}/months/{month} | Get a plan month |
8
- | [**get_plan_months**](MonthsApi.md#get_plan_months) | **GET** /budgets/{plan_id}/months | Get all plan months |
7
+ | [**get_plan_month**](MonthsApi.md#get_plan_month) | **GET** /plans/{plan_id}/months/{month} | Get a plan month |
8
+ | [**get_plan_months**](MonthsApi.md#get_plan_months) | **GET** /plans/{plan_id}/months | Get all plan months |
9
9
 
10
10
 
11
11
  ## get_plan_month
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_payee_location_by_id**](PayeeLocationsApi.md#get_payee_location_by_id) | **GET** /budgets/{plan_id}/payee_locations/{payee_location_id} | Get a payee location |
8
- | [**get_payee_locations**](PayeeLocationsApi.md#get_payee_locations) | **GET** /budgets/{plan_id}/payee_locations | Get all payee locations |
9
- | [**get_payee_locations_by_payee**](PayeeLocationsApi.md#get_payee_locations_by_payee) | **GET** /budgets/{plan_id}/payees/{payee_id}/payee_locations | Get all locations for a payee |
7
+ | [**get_payee_location_by_id**](PayeeLocationsApi.md#get_payee_location_by_id) | **GET** /plans/{plan_id}/payee_locations/{payee_location_id} | Get a payee location |
8
+ | [**get_payee_locations**](PayeeLocationsApi.md#get_payee_locations) | **GET** /plans/{plan_id}/payee_locations | Get all payee locations |
9
+ | [**get_payee_locations_by_payee**](PayeeLocationsApi.md#get_payee_locations_by_payee) | **GET** /plans/{plan_id}/payees/{payee_id}/payee_locations | Get all locations for a payee |
10
10
 
11
11
 
12
12
  ## get_payee_location_by_id
data/docs/PayeesApi.md CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_payee_by_id**](PayeesApi.md#get_payee_by_id) | **GET** /budgets/{plan_id}/payees/{payee_id} | Get a payee |
8
- | [**get_payees**](PayeesApi.md#get_payees) | **GET** /budgets/{plan_id}/payees | Get all payees |
9
- | [**update_payee**](PayeesApi.md#update_payee) | **PATCH** /budgets/{plan_id}/payees/{payee_id} | Update a payee |
7
+ | [**get_payee_by_id**](PayeesApi.md#get_payee_by_id) | **GET** /plans/{plan_id}/payees/{payee_id} | Get a payee |
8
+ | [**get_payees**](PayeesApi.md#get_payees) | **GET** /plans/{plan_id}/payees | Get all payees |
9
+ | [**update_payee**](PayeesApi.md#update_payee) | **PATCH** /plans/{plan_id}/payees/{payee_id} | Update a payee |
10
10
 
11
11
 
12
12
  ## get_payee_by_id
@@ -4,6 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **budget** | [**PlanDetail**](PlanDetail.md) | | |
7
+ | **plan** | [**PlanDetail**](PlanDetail.md) | | |
8
8
  | **server_knowledge** | **Integer** | The knowledge of the server | |
9
9
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **budgets** | [**Array<PlanSummary>**](PlanSummary.md) | | |
8
- | **default_budget** | [**PlanSummary**](PlanSummary.md) | | [optional] |
7
+ | **plans** | [**Array<PlanSummary>**](PlanSummary.md) | | |
8
+ | **default_plan** | [**PlanSummary**](PlanSummary.md) | | [optional] |
9
9
 
data/docs/PlansApi.md CHANGED
@@ -4,9 +4,9 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**get_plan_by_id**](PlansApi.md#get_plan_by_id) | **GET** /budgets/{plan_id} | Get a plan |
8
- | [**get_plan_settings_by_id**](PlansApi.md#get_plan_settings_by_id) | **GET** /budgets/{plan_id}/settings | Get plan settings |
9
- | [**get_plans**](PlansApi.md#get_plans) | **GET** /budgets | Get all plans |
7
+ | [**get_plan_by_id**](PlansApi.md#get_plan_by_id) | **GET** /plans/{plan_id} | Get a plan |
8
+ | [**get_plan_settings_by_id**](PlansApi.md#get_plan_settings_by_id) | **GET** /plans/{plan_id}/settings | Get plan settings |
9
+ | [**get_plans**](PlansApi.md#get_plans) | **GET** /plans | Get all plans |
10
10
 
11
11
 
12
12
  ## get_plan_by_id
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_scheduled_transaction**](ScheduledTransactionsApi.md#create_scheduled_transaction) | **POST** /budgets/{plan_id}/scheduled_transactions | Create a scheduled transaction |
8
- | [**delete_scheduled_transaction**](ScheduledTransactionsApi.md#delete_scheduled_transaction) | **DELETE** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Delete a scheduled transaction |
9
- | [**get_scheduled_transaction_by_id**](ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | **GET** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Get a scheduled transaction |
10
- | [**get_scheduled_transactions**](ScheduledTransactionsApi.md#get_scheduled_transactions) | **GET** /budgets/{plan_id}/scheduled_transactions | Get all scheduled transactions |
11
- | [**update_scheduled_transaction**](ScheduledTransactionsApi.md#update_scheduled_transaction) | **PUT** /budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Update a scheduled transaction |
7
+ | [**create_scheduled_transaction**](ScheduledTransactionsApi.md#create_scheduled_transaction) | **POST** /plans/{plan_id}/scheduled_transactions | Create a scheduled transaction |
8
+ | [**delete_scheduled_transaction**](ScheduledTransactionsApi.md#delete_scheduled_transaction) | **DELETE** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Delete a scheduled transaction |
9
+ | [**get_scheduled_transaction_by_id**](ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | **GET** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Get a scheduled transaction |
10
+ | [**get_scheduled_transactions**](ScheduledTransactionsApi.md#get_scheduled_transactions) | **GET** /plans/{plan_id}/scheduled_transactions | Get all scheduled transactions |
11
+ | [**update_scheduled_transaction**](ScheduledTransactionsApi.md#update_scheduled_transaction) | **PUT** /plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id} | Update a scheduled transaction |
12
12
 
13
13
 
14
14
  ## create_scheduled_transaction
@@ -4,17 +4,17 @@ All URIs are relative to *https://api.ynab.com/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_transaction**](TransactionsApi.md#create_transaction) | **POST** /budgets/{plan_id}/transactions | Create a single transaction or multiple transactions |
8
- | [**delete_transaction**](TransactionsApi.md#delete_transaction) | **DELETE** /budgets/{plan_id}/transactions/{transaction_id} | Delete a transaction |
9
- | [**get_transaction_by_id**](TransactionsApi.md#get_transaction_by_id) | **GET** /budgets/{plan_id}/transactions/{transaction_id} | Get a transaction |
10
- | [**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /budgets/{plan_id}/transactions | Get all transactions |
11
- | [**get_transactions_by_account**](TransactionsApi.md#get_transactions_by_account) | **GET** /budgets/{plan_id}/accounts/{account_id}/transactions | Get all account transactions |
12
- | [**get_transactions_by_category**](TransactionsApi.md#get_transactions_by_category) | **GET** /budgets/{plan_id}/categories/{category_id}/transactions | Get all category transactions |
13
- | [**get_transactions_by_month**](TransactionsApi.md#get_transactions_by_month) | **GET** /budgets/{plan_id}/months/{month}/transactions | Get all plan month transactions |
14
- | [**get_transactions_by_payee**](TransactionsApi.md#get_transactions_by_payee) | **GET** /budgets/{plan_id}/payees/{payee_id}/transactions | Get all payee transactions |
15
- | [**import_transactions**](TransactionsApi.md#import_transactions) | **POST** /budgets/{plan_id}/transactions/import | Import transactions |
16
- | [**update_transaction**](TransactionsApi.md#update_transaction) | **PUT** /budgets/{plan_id}/transactions/{transaction_id} | Update a transaction |
17
- | [**update_transactions**](TransactionsApi.md#update_transactions) | **PATCH** /budgets/{plan_id}/transactions | Update multiple transactions |
7
+ | [**create_transaction**](TransactionsApi.md#create_transaction) | **POST** /plans/{plan_id}/transactions | Create a single transaction or multiple transactions |
8
+ | [**delete_transaction**](TransactionsApi.md#delete_transaction) | **DELETE** /plans/{plan_id}/transactions/{transaction_id} | Delete a transaction |
9
+ | [**get_transaction_by_id**](TransactionsApi.md#get_transaction_by_id) | **GET** /plans/{plan_id}/transactions/{transaction_id} | Get a transaction |
10
+ | [**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /plans/{plan_id}/transactions | Get all transactions |
11
+ | [**get_transactions_by_account**](TransactionsApi.md#get_transactions_by_account) | **GET** /plans/{plan_id}/accounts/{account_id}/transactions | Get all account transactions |
12
+ | [**get_transactions_by_category**](TransactionsApi.md#get_transactions_by_category) | **GET** /plans/{plan_id}/categories/{category_id}/transactions | Get all category transactions |
13
+ | [**get_transactions_by_month**](TransactionsApi.md#get_transactions_by_month) | **GET** /plans/{plan_id}/months/{month}/transactions | Get all plan month transactions |
14
+ | [**get_transactions_by_payee**](TransactionsApi.md#get_transactions_by_payee) | **GET** /plans/{plan_id}/payees/{payee_id}/transactions | Get all payee transactions |
15
+ | [**import_transactions**](TransactionsApi.md#import_transactions) | **POST** /plans/{plan_id}/transactions/import | Import transactions |
16
+ | [**update_transaction**](TransactionsApi.md#update_transaction) | **PUT** /plans/{plan_id}/transactions/{transaction_id} | Update a transaction |
17
+ | [**update_transactions**](TransactionsApi.md#update_transactions) | **PATCH** /plans/{plan_id}/transactions | Update multiple transactions |
18
18
 
19
19
 
20
20
  ## create_transaction
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'data' when calling AccountsApi.create_account"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/accounts'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
48
+ local_var_path = '/plans/{plan_id}/accounts'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -119,7 +119,7 @@ module YNAB
119
119
  fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_account_by_id"
120
120
  end
121
121
  # resource path
122
- local_var_path = '/budgets/{plan_id}/accounts/{account_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'account_id' + '}', CGI.escape(account_id.to_s))
122
+ local_var_path = '/plans/{plan_id}/accounts/{account_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'account_id' + '}', CGI.escape(account_id.to_s))
123
123
 
124
124
  # query parameters
125
125
  query_params = opts[:query_params] || {}
@@ -184,7 +184,7 @@ module YNAB
184
184
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling AccountsApi.get_accounts"
185
185
  end
186
186
  # resource path
187
- local_var_path = '/budgets/{plan_id}/accounts'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
187
+ local_var_path = '/plans/{plan_id}/accounts'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
188
188
 
189
189
  # query parameters
190
190
  query_params = opts[:query_params] || {}
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'data' when calling CategoriesApi.create_category"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/categories'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
48
+ local_var_path = '/plans/{plan_id}/categories'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -119,7 +119,7 @@ module YNAB
119
119
  fail ArgumentError, "Missing the required parameter 'data' when calling CategoriesApi.create_category_group"
120
120
  end
121
121
  # resource path
122
- local_var_path = '/budgets/{plan_id}/category_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
122
+ local_var_path = '/plans/{plan_id}/category_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
123
123
 
124
124
  # query parameters
125
125
  query_params = opts[:query_params] || {}
@@ -189,7 +189,7 @@ module YNAB
189
189
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling CategoriesApi.get_categories"
190
190
  end
191
191
  # resource path
192
- local_var_path = '/budgets/{plan_id}/categories'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
192
+ local_var_path = '/plans/{plan_id}/categories'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
193
193
 
194
194
  # query parameters
195
195
  query_params = opts[:query_params] || {}
@@ -259,7 +259,7 @@ module YNAB
259
259
  fail ArgumentError, "Missing the required parameter 'category_id' when calling CategoriesApi.get_category_by_id"
260
260
  end
261
261
  # resource path
262
- local_var_path = '/budgets/{plan_id}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
262
+ local_var_path = '/plans/{plan_id}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
263
263
 
264
264
  # query parameters
265
265
  query_params = opts[:query_params] || {}
@@ -334,7 +334,7 @@ module YNAB
334
334
  fail ArgumentError, "Missing the required parameter 'category_id' when calling CategoriesApi.get_month_category_by_id"
335
335
  end
336
336
  # resource path
337
- local_var_path = '/budgets/{plan_id}/months/{month}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
337
+ local_var_path = '/plans/{plan_id}/months/{month}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
338
338
 
339
339
  # query parameters
340
340
  query_params = opts[:query_params] || {}
@@ -409,7 +409,7 @@ module YNAB
409
409
  fail ArgumentError, "Missing the required parameter 'data' when calling CategoriesApi.update_category"
410
410
  end
411
411
  # resource path
412
- local_var_path = '/budgets/{plan_id}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
412
+ local_var_path = '/plans/{plan_id}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
413
413
 
414
414
  # query parameters
415
415
  query_params = opts[:query_params] || {}
@@ -489,7 +489,7 @@ module YNAB
489
489
  fail ArgumentError, "Missing the required parameter 'data' when calling CategoriesApi.update_category_group"
490
490
  end
491
491
  # resource path
492
- local_var_path = '/budgets/{plan_id}/category_groups/{category_group_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_group_id' + '}', CGI.escape(category_group_id.to_s))
492
+ local_var_path = '/plans/{plan_id}/category_groups/{category_group_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'category_group_id' + '}', CGI.escape(category_group_id.to_s))
493
493
 
494
494
  # query parameters
495
495
  query_params = opts[:query_params] || {}
@@ -575,7 +575,7 @@ module YNAB
575
575
  fail ArgumentError, "Missing the required parameter 'data' when calling CategoriesApi.update_month_category"
576
576
  end
577
577
  # resource path
578
- local_var_path = '/budgets/{plan_id}/months/{month}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
578
+ local_var_path = '/plans/{plan_id}/months/{month}/categories/{category_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s)).sub('{' + 'category_id' + '}', CGI.escape(category_id.to_s))
579
579
 
580
580
  # query parameters
581
581
  query_params = opts[:query_params] || {}
@@ -20,7 +20,7 @@ module YNAB
20
20
  @api_client = api_client
21
21
  end
22
22
  # Bulk create transactions
23
- # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /budgets/{plan_id}/transactions' to create multiple transactions.
23
+ # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /plans/{plan_id}/transactions' to create multiple transactions.
24
24
  # @param plan_id [String] The id of the budget. \"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.ynab.com/#oauth-default-budget).
25
25
  # @param transactions [BulkTransactions] The list of transactions to create
26
26
  # @param [Hash] opts the optional parameters
@@ -31,7 +31,7 @@ module YNAB
31
31
  end
32
32
 
33
33
  # Bulk create transactions
34
- # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /budgets/{plan_id}/transactions' to create multiple transactions.
34
+ # Creates multiple transactions. Although this endpoint is still supported, it is recommended to use 'POST /plans/{plan_id}/transactions' to create multiple transactions.
35
35
  # @param plan_id [String] The id of the budget. \"last-used\" can be used to specify the last used budget and \"default\" can be used if default budget selection is enabled (see: https://api.ynab.com/#oauth-default-budget).
36
36
  # @param transactions [BulkTransactions] The list of transactions to create
37
37
  # @param [Hash] opts the optional parameters
@@ -49,7 +49,7 @@ module YNAB
49
49
  fail ArgumentError, "Missing the required parameter 'transactions' when calling DeprecatedApi.bulk_create_transactions"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/budgets/{plan_id}/transactions/bulk'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
52
+ local_var_path = '/plans/{plan_id}/transactions/bulk'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -39,7 +39,7 @@ module YNAB
39
39
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling MoneyMovementsApi.get_money_movement_groups"
40
40
  end
41
41
  # resource path
42
- local_var_path = '/budgets/{plan_id}/money_movement_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
42
+ local_var_path = '/plans/{plan_id}/money_movement_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
43
43
 
44
44
  # query parameters
45
45
  query_params = opts[:query_params] || {}
@@ -108,7 +108,7 @@ module YNAB
108
108
  fail ArgumentError, "Missing the required parameter 'month' when calling MoneyMovementsApi.get_money_movement_groups_by_month"
109
109
  end
110
110
  # resource path
111
- local_var_path = '/budgets/{plan_id}/months/{month}/money_movement_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
111
+ local_var_path = '/plans/{plan_id}/months/{month}/money_movement_groups'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
112
112
 
113
113
  # query parameters
114
114
  query_params = opts[:query_params] || {}
@@ -171,7 +171,7 @@ module YNAB
171
171
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling MoneyMovementsApi.get_money_movements"
172
172
  end
173
173
  # resource path
174
- local_var_path = '/budgets/{plan_id}/money_movements'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
174
+ local_var_path = '/plans/{plan_id}/money_movements'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
175
175
 
176
176
  # query parameters
177
177
  query_params = opts[:query_params] || {}
@@ -240,7 +240,7 @@ module YNAB
240
240
  fail ArgumentError, "Missing the required parameter 'month' when calling MoneyMovementsApi.get_money_movements_by_month"
241
241
  end
242
242
  # resource path
243
- local_var_path = '/budgets/{plan_id}/months/{month}/money_movements'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
243
+ local_var_path = '/plans/{plan_id}/months/{month}/money_movements'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
244
244
 
245
245
  # query parameters
246
246
  query_params = opts[:query_params] || {}
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'month' when calling MonthsApi.get_plan_month"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/months/{month}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
48
+ local_var_path = '/plans/{plan_id}/months/{month}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'month' + '}', CGI.escape(month.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -110,7 +110,7 @@ module YNAB
110
110
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling MonthsApi.get_plan_months"
111
111
  end
112
112
  # resource path
113
- local_var_path = '/budgets/{plan_id}/months'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
113
+ local_var_path = '/plans/{plan_id}/months'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
114
114
 
115
115
  # query parameters
116
116
  query_params = opts[:query_params] || {}
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'payee_location_id' when calling PayeeLocationsApi.get_payee_location_by_id"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/payee_locations/{payee_location_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_location_id' + '}', CGI.escape(payee_location_id.to_s))
48
+ local_var_path = '/plans/{plan_id}/payee_locations/{payee_location_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_location_id' + '}', CGI.escape(payee_location_id.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -108,7 +108,7 @@ module YNAB
108
108
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling PayeeLocationsApi.get_payee_locations"
109
109
  end
110
110
  # resource path
111
- local_var_path = '/budgets/{plan_id}/payee_locations'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
111
+ local_var_path = '/plans/{plan_id}/payee_locations'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
112
112
 
113
113
  # query parameters
114
114
  query_params = opts[:query_params] || {}
@@ -177,7 +177,7 @@ module YNAB
177
177
  fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeeLocationsApi.get_payee_locations_by_payee"
178
178
  end
179
179
  # resource path
180
- local_var_path = '/budgets/{plan_id}/payees/{payee_id}/payee_locations'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
180
+ local_var_path = '/plans/{plan_id}/payees/{payee_id}/payee_locations'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
181
181
 
182
182
  # query parameters
183
183
  query_params = opts[:query_params] || {}
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeesApi.get_payee_by_id"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/payees/{payee_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
48
+ local_var_path = '/plans/{plan_id}/payees/{payee_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -110,7 +110,7 @@ module YNAB
110
110
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling PayeesApi.get_payees"
111
111
  end
112
112
  # resource path
113
- local_var_path = '/budgets/{plan_id}/payees'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
113
+ local_var_path = '/plans/{plan_id}/payees'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
114
114
 
115
115
  # query parameters
116
116
  query_params = opts[:query_params] || {}
@@ -186,7 +186,7 @@ module YNAB
186
186
  fail ArgumentError, "Missing the required parameter 'data' when calling PayeesApi.update_payee"
187
187
  end
188
188
  # resource path
189
- local_var_path = '/budgets/{plan_id}/payees/{payee_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
189
+ local_var_path = '/plans/{plan_id}/payees/{payee_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'payee_id' + '}', CGI.escape(payee_id.to_s))
190
190
 
191
191
  # query parameters
192
192
  query_params = opts[:query_params] || {}
@@ -41,7 +41,7 @@ module YNAB
41
41
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling PlansApi.get_plan_by_id"
42
42
  end
43
43
  # resource path
44
- local_var_path = '/budgets/{plan_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
44
+ local_var_path = '/plans/{plan_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
45
45
 
46
46
  # query parameters
47
47
  query_params = opts[:query_params] || {}
@@ -105,7 +105,7 @@ module YNAB
105
105
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling PlansApi.get_plan_settings_by_id"
106
106
  end
107
107
  # resource path
108
- local_var_path = '/budgets/{plan_id}/settings'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
108
+ local_var_path = '/plans/{plan_id}/settings'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
109
109
 
110
110
  # query parameters
111
111
  query_params = opts[:query_params] || {}
@@ -164,7 +164,7 @@ module YNAB
164
164
  @api_client.config.logger.debug 'Calling API: PlansApi.get_plans ...'
165
165
  end
166
166
  # resource path
167
- local_var_path = '/budgets'
167
+ local_var_path = '/plans'
168
168
 
169
169
  # query parameters
170
170
  query_params = opts[:query_params] || {}
@@ -45,7 +45,7 @@ module YNAB
45
45
  fail ArgumentError, "Missing the required parameter 'data' when calling ScheduledTransactionsApi.create_scheduled_transaction"
46
46
  end
47
47
  # resource path
48
- local_var_path = '/budgets/{plan_id}/scheduled_transactions'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
48
+ local_var_path = '/plans/{plan_id}/scheduled_transactions'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
49
49
 
50
50
  # query parameters
51
51
  query_params = opts[:query_params] || {}
@@ -119,7 +119,7 @@ module YNAB
119
119
  fail ArgumentError, "Missing the required parameter 'scheduled_transaction_id' when calling ScheduledTransactionsApi.delete_scheduled_transaction"
120
120
  end
121
121
  # resource path
122
- local_var_path = '/budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
122
+ local_var_path = '/plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
123
123
 
124
124
  # query parameters
125
125
  query_params = opts[:query_params] || {}
@@ -188,7 +188,7 @@ module YNAB
188
188
  fail ArgumentError, "Missing the required parameter 'scheduled_transaction_id' when calling ScheduledTransactionsApi.get_scheduled_transaction_by_id"
189
189
  end
190
190
  # resource path
191
- local_var_path = '/budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
191
+ local_var_path = '/plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
192
192
 
193
193
  # query parameters
194
194
  query_params = opts[:query_params] || {}
@@ -253,7 +253,7 @@ module YNAB
253
253
  fail ArgumentError, "Missing the required parameter 'plan_id' when calling ScheduledTransactionsApi.get_scheduled_transactions"
254
254
  end
255
255
  # resource path
256
- local_var_path = '/budgets/{plan_id}/scheduled_transactions'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
256
+ local_var_path = '/plans/{plan_id}/scheduled_transactions'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s))
257
257
 
258
258
  # query parameters
259
259
  query_params = opts[:query_params] || {}
@@ -329,7 +329,7 @@ module YNAB
329
329
  fail ArgumentError, "Missing the required parameter 'put_scheduled_transaction_wrapper' when calling ScheduledTransactionsApi.update_scheduled_transaction"
330
330
  end
331
331
  # resource path
332
- local_var_path = '/budgets/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
332
+ local_var_path = '/plans/{plan_id}/scheduled_transactions/{scheduled_transaction_id}'.sub('{' + 'plan_id' + '}', CGI.escape(plan_id.to_s)).sub('{' + 'scheduled_transaction_id' + '}', CGI.escape(scheduled_transaction_id.to_s))
333
333
 
334
334
  # query parameters
335
335
  query_params = opts[:query_params] || {}