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
@@ -33,22 +33,22 @@ describe 'plans' do
33
33
  end
34
34
  end
35
35
 
36
- describe 'GET /budgets' do
37
- it 'returns a list of budgets' do
38
- VCR.use_cassette("budgets") do
36
+ describe 'GET /plans' do
37
+ it 'returns a list of plans' do
38
+ VCR.use_cassette("plans") do
39
39
  response = instance.get_plans
40
40
  expect(client.last_request.response.options[:code]).to be 200
41
- expect(response.data.budgets.length).to be 4
41
+ expect(response.data.plans.length).to be 4
42
42
  end
43
43
  end
44
44
  end
45
45
 
46
- describe 'GET /budgets/{plan_id}' do
47
- it 'returns a budget' do
48
- VCR.use_cassette("budget") do
46
+ describe 'GET /plans/{plan_id}' do
47
+ it 'returns a plan' do
48
+ VCR.use_cassette("plan") do
49
49
  response = instance.get_plan_by_id('f419ac25-6217-4175-88dc-c3136ff5f6fd')
50
- expect(response.data.budget).to be
51
- expect(response.data.budget.name).to eq "ABC"
50
+ expect(response.data.plan).to be
51
+ expect(response.data.plan.name).to eq "ABC"
52
52
  end
53
53
  end
54
54
  end
@@ -34,7 +34,7 @@ describe 'scheduled transactions' do
34
34
  end
35
35
  end
36
36
 
37
- describe 'GET /budgets/{plan_id}/scheduled_transactions' do
37
+ describe 'GET /plans/{plan_id}/scheduled_transactions' do
38
38
  it 'returns a list of transactions' do
39
39
  VCR.use_cassette("scheduled_transactions") do
40
40
  response = instance.get_scheduled_transactions(plan_id)
@@ -44,7 +44,7 @@ describe 'scheduled transactions' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'GET /budgets/{plan_id}/scheduled_transactions/{payee_id}' do
47
+ describe 'GET /plans/{plan_id}/scheduled_transactions/{payee_id}' do
48
48
  it 'returns a payee' do
49
49
  VCR.use_cassette("scheduled_transaction") do
50
50
  response = instance.get_scheduled_transaction_by_id(plan_id, '1a8e4929-3ad1-4859-8443-2aeeab0684ab')
@@ -54,7 +54,7 @@ describe 'scheduled transactions' do
54
54
  end
55
55
  end
56
56
 
57
- describe 'POST /budgets/{plan_id}/scheduled_transactions' do
57
+ describe 'POST /plans/{plan_id}/scheduled_transactions' do
58
58
  it 'creates a scheduled transaction' do
59
59
  VCR.use_cassette("create_scheduled_transaction") do
60
60
  response = instance.create_scheduled_transaction(plan_id, {
@@ -36,7 +36,7 @@ describe 'transactions' do
36
36
  end
37
37
  end
38
38
 
39
- describe 'GET /budgets/{plan_id}/transactions' do
39
+ describe 'GET /plans/{plan_id}/transactions' do
40
40
  it 'returns a list of transactions' do
41
41
  VCR.use_cassette("transactions") do
42
42
  response = instance.get_transactions(plan_id)
@@ -58,7 +58,7 @@ describe 'transactions' do
58
58
  end
59
59
  end
60
60
 
61
- describe 'GET /budgets/{plan_id}/category/{category_id}/transactions' do
61
+ describe 'GET /plans/{plan_id}/category/{category_id}/transactions' do
62
62
  it 'returns a list of transactions for a category' do
63
63
  VCR.use_cassette("category_transactions") do
64
64
  response = instance.get_transactions_by_category(plan_id, category_id)
@@ -68,7 +68,7 @@ describe 'transactions' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'GET /budgets/{plan_id}/category/{payee_id}/transactions' do
71
+ describe 'GET /plans/{plan_id}/category/{payee_id}/transactions' do
72
72
  it 'returns a list of transactions for a payee' do
73
73
  VCR.use_cassette("payee_transactions") do
74
74
  response = instance.get_transactions_by_payee(plan_id, payee_id)
@@ -78,7 +78,7 @@ describe 'transactions' do
78
78
  end
79
79
  end
80
80
 
81
- describe 'GET /budgets/{plan_id}/months/{month}/transactions' do
81
+ describe 'GET /plans/{plan_id}/months/{month}/transactions' do
82
82
  it 'returns a list of transactions for a month' do
83
83
  VCR.use_cassette("month_transactions") do
84
84
  response = instance.get_transactions_by_month(plan_id, "2024-07-01")
@@ -88,7 +88,7 @@ describe 'transactions' do
88
88
  end
89
89
  end
90
90
 
91
- describe 'GET /budgets/{plan_id}/transaction/{transaction_id}' do
91
+ describe 'GET /plans/{plan_id}/transaction/{transaction_id}' do
92
92
  it 'returns a transaction' do
93
93
  VCR.use_cassette("transaction") do
94
94
  response = instance.get_transaction_by_id(plan_id, '81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4')
@@ -98,7 +98,7 @@ describe 'transactions' do
98
98
  end
99
99
  end
100
100
 
101
- describe 'POST /budgets/{plan_id}/transactions' do
101
+ describe 'POST /plans/{plan_id}/transactions' do
102
102
  it 'creates a transaction' do
103
103
  VCR.use_cassette("create_transaction") do
104
104
  response = instance.create_transaction(plan_id, {
@@ -137,7 +137,7 @@ describe 'transactions' do
137
137
  end
138
138
  end
139
139
 
140
- describe 'PUT /budgets/{plan_id}/transactions/{transaction_id}' do
140
+ describe 'PUT /plans/{plan_id}/transactions/{transaction_id}' do
141
141
  it 'updates a transaction' do
142
142
  VCR.use_cassette("update_transaction") do
143
143
  response = instance.update_transaction(plan_id, '4cd63d34-3814-4f50-abd0-59ce05b40d91', {
@@ -154,7 +154,7 @@ describe 'transactions' do
154
154
  end
155
155
  end
156
156
 
157
- describe 'PATCH /budgets/{plan_id}/transactions' do
157
+ describe 'PATCH /plans/{plan_id}/transactions' do
158
158
  it 'updates multiple transactions' do
159
159
  VCR.use_cassette("update_transactions") do
160
160
  response = instance.update_transactions(plan_id, {
@@ -178,7 +178,7 @@ describe 'transactions' do
178
178
  end
179
179
  end
180
180
 
181
- describe 'POST /budgets/{plan_id}/transactions' do
181
+ describe 'POST /plans/{plan_id}/transactions' do
182
182
  it 'create multiple transactions' do
183
183
  VCR.use_cassette("multiple_transactions") do
184
184
  response = instance.create_transaction(plan_id, {
@@ -209,7 +209,7 @@ describe 'transactions' do
209
209
  end
210
210
  end
211
211
 
212
- describe 'POST /budgets/{plan_id}/transactions/import' do
212
+ describe 'POST /plans/{plan_id}/transactions/import' do
213
213
  it 'import transactions' do
214
214
  VCR.use_cassette("import_transactions") do
215
215
  response = instance.import_transactions(plan_id)
@@ -220,7 +220,7 @@ describe 'transactions' do
220
220
  end
221
221
  end
222
222
 
223
- describe 'POST /budgets/{plan_id}/transactions/bulk' do
223
+ describe 'POST /plans/{plan_id}/transactions/bulk' do
224
224
  it 'bulk creations transactions' do
225
225
  VCR.use_cassette("bulk_transactions") do
226
226
  response = instance.bulk_create_transactions(plan_id, {
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts/5982e895-98e5-41ca-9681-0b6de1036a1c
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts/5982e895-98e5-41ca-9681-0b6de1036a1c
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"account":{"id":"5982e895-98e5-41ca-9681-0b6de1036a1c","name":"Checking","type":"checking","on_budget":true,"closed":false,"note":null,"balance":998000,"cleared_balance":1000000,"uncleared_balance":-2000}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts/5982e895-98e5-41ca-9681-0b6de1036a1c
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts/5982e895-98e5-41ca-9681-0b6de1036a1c
45
45
  recorded_at: Thu, 15 Feb 2018 18:59:57 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"accounts":[{"id":"5982e895-98e5-41ca-9681-0b6de1036a1c","name":"Checking","type":"checking","on_budget":true,"closed":false,"note":null,"balance":998000,"cleared_balance":1000000,"uncleared_balance":-2000}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
45
45
  recorded_at: Thu, 15 Feb 2018 18:59:57 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,6 +44,6 @@ http_interactions:
44
44
  string: '{"error":{"id":"401","name":"unauthorized","detail":"Unauthorized"}}'
45
45
  http_version: '1.1'
46
46
  adapter_metadata:
47
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
48
48
  recorded_at: Thu, 15 Feb 2018 18:59:57 GMT
49
49
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/bulk
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/bulk
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"transactions":[{"date":"2018-01-01","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":10000},{"date":"2018-01-02","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":20000},{"date":"2018-01-03","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":30000,"import_id":"123456"}]}'
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"bulk":{"transaction_ids":["7c6ff284-517b-419a-a08b-3f24e2869618","a6e357f4-a233-4f3a-9bb3-87e45fadaf62","27d58f81-2200-4fe8-8df8-2ff100de6563"],"duplicate_import_ids":[]}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/bulk
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/bulk
45
45
  recorded_at: Thu, 15 Feb 2018 19:13:50 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -62,6 +62,6 @@ http_interactions:
62
62
  Categories","hidden":false,"categories":[]}]}}'
63
63
  http_version: '1.1'
64
64
  adapter_metadata:
65
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
65
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
66
66
  recorded_at: Thu, 15 Feb 2018 18:59:58 GMT
67
67
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,6 +44,6 @@ http_interactions:
44
44
  string: '{"error":{"id":"401","name":"unauthorized","detail":"Unauthorized"}}'
45
45
  http_version: '1.1'
46
46
  adapter_metadata:
47
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories
48
48
  recorded_at: Thu, 15 Feb 2018 18:59:58 GMT
49
49
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/acd2a771-0a56-4dba-97bd-3952b0879282
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/acd2a771-0a56-4dba-97bd-3952b0879282
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"category":{"id":"574fac19-537d-46a8-be2b-d2f875691165","category_group_id":"2318eeca-0504-41b4-86c8-9426130eb27d","name":"Groceries","hidden":false,"note":null,"budgeted":0,"activity":0,"balance":0}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/574fac19-537d-46a8-be2b-d2f875691165
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/574fac19-537d-46a8-be2b-d2f875691165
45
45
  recorded_at: Thu, 15 Feb 2018 18:59:59 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/84ffe61c-081c-44db-ad23-6ee809206c40/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/categories/84ffe61c-081c-44db-ad23-6ee809206c40/transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"type":"subtransaction","id":"4a675c31-f5f1-43ba-8c9a-6cd7d5b0cac4","parent_transaction_id":"56a3ae86-ce55-4e23-923b-6cb59add860b","date":"2018-03-26","amount":-50000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":null,"category_id":"84ffe61c-081c-44db-ad23-6ee809206c40","transfer_account_id":null,"import_id":null},{"type":"subtransaction","id":"4c3f5877-b4b9-4d5a-9177-be7dfcd86c6e","parent_transaction_id":"910a79e1-29f5-4789-a2a0-2a69c2f94a2b","date":"2018-03-26","amount":-25000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":null,"category_id":"84ffe61c-081c-44db-ad23-6ee809206c40","transfer_account_id":null,"import_id":null},{"type":"transaction","id":"d477e91a-1f2b-4df5-8069-6b61dee51259","parent_transaction_id":null,"date":"2018-03-27","amount":-13000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":"2676f959-c5de-4db2-8d3f-2503777b25fb","category_id":"84ffe61c-081c-44db-ad23-6ee809206c40","transfer_account_id":null,"import_id":null}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/6e6aa585-8537-4afc-950f-93d55fac17fa/categories/84ffe61c-081c-44db-ad23-6ee809206c40/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/6e6aa585-8537-4afc-950f-93d55fac17fa/categories/84ffe61c-081c-44db-ad23-6ee809206c40/transactions
45
45
  recorded_at: Tue, 27 Mar 2018 17:02:30 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"account":{"name":"New Checking Account","type":"checking","balance":215000}}'
@@ -46,6 +46,6 @@ http_interactions:
46
46
  Checking Account","type":"checking","on_budget":true,"closed":false,"note":null,"balance":215000,"cleared_balance":215000,"uncleared_balance":0,"transfer_payee_id":"50031af4-c7b0-4a97-a202-daeccf8e0b2f","deleted":false},"server_knowledge":45}}'
47
47
  http_version: '1.1'
48
48
  adapter_metadata:
49
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
49
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/accounts
50
50
  recorded_at: Wed, 12 Aug 2020 15:04:29 GMT
51
51
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"scheduled_transaction":{"date":"2025-01-01","account_id":"49b0c987-7d2b-46ec-ba14-f8a7e79fb830","amount":20000,"frequency":"weekly"}}'
@@ -58,6 +58,6 @@ http_interactions:
58
58
  string: '{"data":{"scheduled_transaction":{"id":"5901eada-db36-4d95-b737-c1a5cc43a915","date_first":"2025-01-01","date_next":"2025-01-01","frequency":"weekly","amount":20000,"memo":null,"flag_color":null,"flag_name":null,"account_id":"49b0c987-7d2b-46ec-ba14-f8a7e79fb830","account_name":"Checking","payee_id":null,"payee_name":null,"category_id":null,"category_name":"Uncategorized","transfer_account_id":null,"deleted":false,"subtransactions":[]},"server_knowledge":64}}'
59
59
  http_version: '1.1'
60
60
  adapter_metadata:
61
- effective_url: http://localhost:3000/papi/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
61
+ effective_url: http://localhost:3000/papi/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
62
62
  recorded_at: Mon, 08 Jul 2024 23:16:33 GMT
63
63
  recorded_with: VCR 6.2.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"transaction":{"date":"2018-01-01","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":20000}}'
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transaction":{"id":"4cd63d34-3814-4f50-abd0-59ce05b40d91","date":"2018-01-01","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
45
45
  recorded_at: Thu, 15 Feb 2018 19:06:36 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"transactions":[{"date":"2018-01-01","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":20000},{"date":"2018-01-02","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","amount":30000}]}'
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"id":"4cd63d34-3814-4f50-abd0-59ce05b40d91","date":"2018-01-01","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]},{"id":"4b857bae-5529-44ee-bf8d-ed29d8c151dd","date":"2018-01-02","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_id":null,"import_id":null,"subtransactions":[]}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
45
45
  recorded_at: Thu, 15 Feb 2018 19:06:36 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/import
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/import
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -45,6 +45,6 @@ http_interactions:
45
45
  string: '{"data":{"transaction_ids":["07b68f11-98bd-4184-8866-83268a654318"]}}'
46
46
  http_version: '1.1'
47
47
  adapter_metadata:
48
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/import
48
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/import
49
49
  recorded_at: Tue, 28 Apr 2020 19:10:16 GMT
50
50
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -54,6 +54,6 @@ http_interactions:
54
54
  Loan","hidden":false,"note":null,"budgeted":0,"activity":0,"balance":0}]}}}'
55
55
  http_version: '1.1'
56
56
  adapter_metadata:
57
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01
57
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01
58
58
  recorded_at: Thu, 15 Feb 2018 18:59:59 GMT
59
59
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2024-07-01/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2024-07-01/transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"type":"subtransaction","id":"008908a3-07c2-4684-b4c1-6f1024814f8d","parent_transaction_id":"910a79e1-29f5-4789-a2a0-2a69c2f94a2b","date":"2018-03-26","amount":-15000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":"2676f959-c5de-4db2-8d3f-2503777b25fb","category_id":"b457e34a-234e-40b2-992e-40055171e644","transfer_account_id":null,"import_id":null},{"type":"transaction","id":"d477e91a-1f2b-4df5-8069-6b61dee51259","parent_transaction_id":null,"date":"2018-03-27","amount":-13000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":"2676f959-c5de-4db2-8d3f-2503777b25fb","category_id":"84ffe61c-081c-44db-ad23-6ee809206c40","transfer_account_id":null,"import_id":null}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/6e6aa585-8537-4afc-950f-93d55fac17fa/months/2024-07-01/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/6e6aa585-8537-4afc-950f-93d55fac17fa/months/2024-07-01/transactions
45
45
  recorded_at: Tue, 27 Mar 2018 17:03:22 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,6 +42,6 @@ http_interactions:
42
42
  Note","to_be_budgeted":1000000,"age_of_money":null},{"month":"2018-03-01","note":null,"to_be_budgeted":998000,"age_of_money":null}]}}'
43
43
  http_version: '1.1'
44
44
  adapter_metadata:
45
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
45
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
46
46
  recorded_at: Thu, 15 Feb 2018 18:59:59 GMT
47
47
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,6 +44,6 @@ http_interactions:
44
44
  string: '{"error":{"id":"401","name":"unauthorized","detail":"Unauthorized"}}'
45
45
  http_version: '1.1'
46
46
  adapter_metadata:
47
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months
48
48
  recorded_at: Thu, 15 Feb 2018 18:59:59 GMT
49
49
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"transactions":[{"date":"2018-01-01","account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","amount":10000},{"date":"2018-01-02","account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","amount":20000},{"date":"2018-01-03","account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","amount":30000,"import_id":"123456"}]}'
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transaction_ids":["8006058e-880d-454a-b872-ac1f4e57fa83","f666fa17-f96d-4b53-ada1-0191d6fb4fa2","fb14edc0-5492-4c57-9acd-2f2795f02624"],"duplicate_import_ids":[],"transactions":[{"id":"8006058e-880d-454a-b872-ac1f4e57fa83","date":"2018-01-01","amount":10000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","account_name":"Checking","payee_id":null,"payee_name":null,"category_id":null,"category_name":null,"transfer_account_id":null,"transfer_transaction_id":null,"import_id":null,"deleted":false,"subtransactions":[]},{"id":"f666fa17-f96d-4b53-ada1-0191d6fb4fa2","date":"2018-01-02","amount":20000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","account_name":"Checking","payee_id":null,"payee_name":null,"category_id":null,"category_name":null,"transfer_account_id":null,"transfer_transaction_id":null,"import_id":null,"deleted":false,"subtransactions":[]},{"id":"fb14edc0-5492-4c57-9acd-2f2795f02624","date":"2018-01-03","amount":30000,"memo":null,"cleared":"uncleared","approved":false,"flag_color":null,"account_id":"c15e474a-fff6-459f-82de-8e7ea1a3819e","account_name":"Checking","payee_id":null,"payee_name":null,"category_id":null,"category_name":null,"transfer_account_id":null,"transfer_transaction_id":null,"import_id":"123456","deleted":false,"subtransactions":[]}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/44656099-a8c8-4625-8fef-7c4549e696a7/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/44656099-a8c8-4625-8fef-7c4549e696a7/transactions
45
45
  recorded_at: Tue, 25 Sep 2018 21:32:45 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: patch
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01/categories/acd2a771-0a56-4dba-97bd-3952b0879282
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/months/2018-02-01/categories/acd2a771-0a56-4dba-97bd-3952b0879282
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"month_category":{"budgeted":20382}}'
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"category":{"id":"acd2a771-0a56-4dba-97bd-3952b0879282","category_group_id":"ed6f4c0e-2c5a-45d9-b887-b68a60ea724a","name":"Groceries","hidden":false,"original_category_group_id":null,"note":null,"budgeted":20382,"activity":0,"balance":20382,"goal_type":null,"goal_creation_month":null,"goal_target":0,"goal_target_month":null,"goal_percentage_complete":0,"deleted":false}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/44656099-a8c8-4625-8fef-7c4549e696a7/months/2018-02-01/categories/acd2a771-0a56-4dba-97bd-3952b0879282
44
+ effective_url: http://api.localhost:3000/v1/plans/44656099-a8c8-4625-8fef-7c4549e696a7/months/2018-02-01/categories/acd2a771-0a56-4dba-97bd-3952b0879282
45
45
  recorded_at: Tue, 25 Sep 2018 22:35:32 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/200e6eb1-02fc-4af6-be26-27c5740bb949
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/200e6eb1-02fc-4af6-be26-27c5740bb949
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -42,6 +42,6 @@ http_interactions:
42
42
  Payee","transfer_account_id":null}}}'
43
43
  http_version: '1.1'
44
44
  adapter_metadata:
45
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/200e6eb1-02fc-4af6-be26-27c5740bb949
45
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/200e6eb1-02fc-4af6-be26-27c5740bb949
46
46
  recorded_at: Thu, 15 Feb 2018 19:00:00 GMT
47
47
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations/052c7814-1797-44ce-9519-020e864e4928
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations/052c7814-1797-44ce-9519-020e864e4928
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"payee_location":{"id":"052c7814-1797-44ce-9519-020e864e4928","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","latitude":"40.7128","longitude":"74.006"}}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations/052c7814-1797-44ce-9519-020e864e4928
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations/052c7814-1797-44ce-9519-020e864e4928
45
45
  recorded_at: Thu, 15 Feb 2018 19:00:00 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"payee_locations":[{"id":"052c7814-1797-44ce-9519-020e864e4928","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","latitude":"40.7128","longitude":"74.006"}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
45
45
  recorded_at: Thu, 15 Feb 2018 18:59:59 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -44,6 +44,6 @@ http_interactions:
44
44
  string: '{"error":{"id":"401","name":"unauthorized","detail":"Unauthorized"}}'
45
45
  http_version: '1.1'
46
46
  adapter_metadata:
47
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payee_locations
48
48
  recorded_at: Thu, 15 Feb 2018 19:00:00 GMT
49
49
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/2676f959-c5de-4db2-8d3f-2503777b25fb/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees/2676f959-c5de-4db2-8d3f-2503777b25fb/transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"type":"subtransaction","id":"008908a3-07c2-4684-b4c1-6f1024814f8d","parent_transaction_id":"910a79e1-29f5-4789-a2a0-2a69c2f94a2b","date":"2018-03-26","amount":-15000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":"2676f959-c5de-4db2-8d3f-2503777b25fb","category_id":"b457e34a-234e-40b2-992e-40055171e644","transfer_account_id":null,"import_id":null},{"type":"transaction","id":"d477e91a-1f2b-4df5-8069-6b61dee51259","parent_transaction_id":null,"date":"2018-03-27","amount":-13000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"16addaa3-cfaf-4e57-933c-7e1645f000f0","payee_id":"2676f959-c5de-4db2-8d3f-2503777b25fb","category_id":"84ffe61c-081c-44db-ad23-6ee809206c40","transfer_account_id":null,"import_id":null}]}}'
42
42
  http_version: '1.1'
43
43
  adapter_metadata:
44
- effective_url: http://api.localhost:3000/v1/budgets/6e6aa585-8537-4afc-950f-93d55fac17fa/payees/2676f959-c5de-4db2-8d3f-2503777b25fb/transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/6e6aa585-8537-4afc-950f-93d55fac17fa/payees/2676f959-c5de-4db2-8d3f-2503777b25fb/transactions
45
45
  recorded_at: Tue, 27 Mar 2018 17:03:22 GMT
46
46
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -46,6 +46,6 @@ http_interactions:
46
46
  Payee","transfer_account_id":null}]}}'
47
47
  http_version: '1.1'
48
48
  adapter_metadata:
49
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees
49
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees
50
50
  recorded_at: Thu, 15 Feb 2018 19:00:00 GMT
51
51
  recorded_with: VCR 3.0.3