ynab 3.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 (232) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +4 -2
  4. data/README.md +47 -39
  5. data/Rakefile +3 -3
  6. data/docs/Account.md +3 -3
  7. data/docs/AccountsApi.md +12 -12
  8. data/docs/CategoriesApi.md +89 -25
  9. data/docs/Category.md +4 -3
  10. data/docs/CategoryGroupWithCategories.md +1 -1
  11. data/docs/ExistingCategory.md +12 -0
  12. data/docs/MoneyMovement.md +16 -0
  13. data/docs/MoneyMovementGroup.md +12 -0
  14. data/docs/MoneyMovementGroupsResponse.md +8 -0
  15. data/docs/MoneyMovementGroupsResponseData.md +9 -0
  16. data/docs/MoneyMovementsApi.md +89 -0
  17. data/docs/{BudgetSettingsResponse.md → MoneyMovementsResponse.md} +2 -2
  18. data/docs/MoneyMovementsResponseData.md +9 -0
  19. data/docs/MonthDetail.md +2 -2
  20. data/docs/MonthSummary.md +1 -1
  21. data/docs/MonthsApi.md +13 -13
  22. data/docs/NewCategory.md +12 -0
  23. data/docs/PatchCategoryGroupWrapper.md +8 -0
  24. data/docs/PatchCategoryWrapper.md +1 -1
  25. data/docs/PayeeLocationsApi.md +12 -12
  26. data/docs/PayeesApi.md +11 -11
  27. data/docs/{BudgetDetail.md → PlanDetail.md} +4 -4
  28. data/docs/PlanDetailResponse.md +8 -0
  29. data/docs/{BudgetDetailResponseData.md → PlanDetailResponseData.md} +2 -2
  30. data/docs/{BudgetSettings.md → PlanSettings.md} +1 -1
  31. data/docs/{BudgetDetailResponse.md → PlanSettingsResponse.md} +2 -2
  32. data/docs/PlanSettingsResponseData.md +8 -0
  33. data/docs/PlanSummary.md +15 -0
  34. data/docs/PlanSummaryResponse.md +8 -0
  35. data/docs/PlanSummaryResponseData.md +9 -0
  36. data/docs/PlansApi.md +68 -0
  37. data/docs/PostCategoryGroupWrapper.md +8 -0
  38. data/docs/PostCategoryWrapper.md +8 -0
  39. data/docs/SaveCategory.md +2 -1
  40. data/docs/SaveCategoryGroup.md +8 -0
  41. data/docs/SaveCategoryGroupResponse.md +8 -0
  42. data/docs/SaveCategoryGroupResponseData.md +9 -0
  43. data/docs/SaveMonthCategory.md +1 -1
  44. data/docs/ScheduledTransactionsApi.md +20 -20
  45. data/docs/TransactionsApi.md +48 -48
  46. data/docs/UserApi.md +2 -2
  47. data/examples/category-balance.rb +2 -2
  48. data/examples/create-multiple-transactions.rb +2 -2
  49. data/examples/create-transaction.rb +2 -2
  50. data/examples/{budget-list.rb → plan-list.rb} +6 -6
  51. data/examples/{budget-month.rb → plan-month.rb} +9 -10
  52. data/examples/update-category-budgeted.rb +2 -2
  53. data/examples/update-multiple-transactions.rb +3 -3
  54. data/lib/ynab/api/accounts_api.rb +33 -34
  55. data/lib/ynab/api/categories_api.rb +293 -66
  56. data/lib/ynab/api/deprecated_api.rb +11 -11
  57. data/lib/ynab/api/money_movements_api.rb +282 -0
  58. data/lib/ynab/api/months_api.rb +35 -36
  59. data/lib/ynab/api/payee_locations_api.rb +33 -34
  60. data/lib/ynab/api/payees_api.rb +31 -32
  61. data/lib/ynab/api/{budgets_api.rb → plans_api.rb} +55 -56
  62. data/lib/ynab/api/scheduled_transactions_api.rb +55 -56
  63. data/lib/ynab/api/transactions_api.rb +130 -131
  64. data/lib/ynab/api/user_api.rb +2 -3
  65. data/lib/ynab/api_client.rb +0 -2
  66. data/lib/ynab/api_model_base.rb +85 -0
  67. data/lib/ynab/models/account.rb +4 -81
  68. data/lib/ynab/models/account_response.rb +1 -75
  69. data/lib/ynab/models/account_response_data.rb +1 -75
  70. data/lib/ynab/models/accounts_response.rb +1 -75
  71. data/lib/ynab/models/accounts_response_data.rb +1 -75
  72. data/lib/ynab/models/bulk_response.rb +1 -75
  73. data/lib/ynab/models/bulk_response_data.rb +1 -75
  74. data/lib/ynab/models/bulk_response_data_bulk.rb +1 -75
  75. data/lib/ynab/models/bulk_transactions.rb +1 -75
  76. data/lib/ynab/models/categories_response.rb +1 -75
  77. data/lib/ynab/models/categories_response_data.rb +1 -75
  78. data/lib/ynab/models/category.rb +16 -79
  79. data/lib/ynab/models/category_group.rb +1 -75
  80. data/lib/ynab/models/category_group_with_categories.rb +2 -76
  81. data/lib/ynab/models/category_response.rb +1 -75
  82. data/lib/ynab/models/category_response_data.rb +1 -75
  83. data/lib/ynab/models/currency_format.rb +2 -76
  84. data/lib/ynab/models/date_format.rb +2 -76
  85. data/lib/ynab/models/error_detail.rb +1 -75
  86. data/lib/ynab/models/error_response.rb +1 -75
  87. data/lib/ynab/models/existing_category.rb +180 -0
  88. data/lib/ynab/models/existing_transaction.rb +1 -79
  89. data/lib/ynab/models/hybrid_transaction.rb +1 -85
  90. data/lib/ynab/models/hybrid_transactions_response.rb +1 -75
  91. data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -75
  92. data/lib/ynab/models/{budget_summary_response_data.rb → money_movement.rb} +95 -93
  93. data/lib/ynab/models/money_movement_group.rb +179 -0
  94. data/lib/ynab/models/{budget_summary_response.rb → money_movement_groups_response.rb} +4 -78
  95. data/lib/ynab/models/money_movement_groups_response_data.rb +149 -0
  96. data/lib/ynab/models/{budget_settings_response.rb → money_movements_response.rb} +4 -78
  97. data/lib/ynab/models/{budget_detail_response_data.rb → money_movements_response_data.rb} +13 -85
  98. data/lib/ynab/models/month_detail.rb +3 -79
  99. data/lib/ynab/models/month_detail_response.rb +1 -75
  100. data/lib/ynab/models/month_detail_response_data.rb +1 -75
  101. data/lib/ynab/models/month_summaries_response.rb +1 -75
  102. data/lib/ynab/models/month_summaries_response_data.rb +1 -75
  103. data/lib/ynab/models/month_summary.rb +2 -76
  104. data/lib/ynab/models/new_category.rb +180 -0
  105. data/lib/ynab/models/new_transaction.rb +1 -79
  106. data/lib/ynab/models/patch_category_group_wrapper.rb +136 -0
  107. data/lib/ynab/models/patch_category_wrapper.rb +2 -76
  108. data/lib/ynab/models/patch_month_category_wrapper.rb +1 -75
  109. data/lib/ynab/models/patch_payee_wrapper.rb +1 -75
  110. data/lib/ynab/models/patch_transactions_wrapper.rb +1 -75
  111. data/lib/ynab/models/payee.rb +1 -75
  112. data/lib/ynab/models/payee_location.rb +1 -75
  113. data/lib/ynab/models/payee_location_response.rb +1 -75
  114. data/lib/ynab/models/payee_location_response_data.rb +1 -75
  115. data/lib/ynab/models/payee_locations_response.rb +1 -75
  116. data/lib/ynab/models/payee_locations_response_data.rb +1 -75
  117. data/lib/ynab/models/payee_response.rb +1 -75
  118. data/lib/ynab/models/payee_response_data.rb +1 -75
  119. data/lib/ynab/models/payees_response.rb +1 -75
  120. data/lib/ynab/models/payees_response_data.rb +1 -75
  121. data/lib/ynab/models/{budget_detail.rb → plan_detail.rb} +7 -83
  122. data/lib/ynab/models/plan_detail_response.rb +136 -0
  123. data/lib/ynab/models/plan_detail_response_data.rb +147 -0
  124. data/lib/ynab/models/{budget_settings.rb → plan_settings.rb} +5 -79
  125. data/lib/ynab/models/{budget_detail_response.rb → plan_settings_response.rb} +4 -78
  126. data/lib/ynab/models/{budget_settings_response_data.rb → plan_settings_response_data.rb} +4 -78
  127. data/lib/ynab/models/{budget_summary.rb → plan_summary.rb} +7 -83
  128. data/lib/ynab/models/plan_summary_response.rb +136 -0
  129. data/lib/ynab/models/plan_summary_response_data.rb +147 -0
  130. data/lib/ynab/models/post_account_wrapper.rb +1 -75
  131. data/lib/ynab/models/post_category_group_wrapper.rb +136 -0
  132. data/lib/ynab/models/post_category_wrapper.rb +136 -0
  133. data/lib/ynab/models/post_scheduled_transaction_wrapper.rb +1 -75
  134. data/lib/ynab/models/post_transactions_wrapper.rb +1 -75
  135. data/lib/ynab/models/put_scheduled_transaction_wrapper.rb +1 -75
  136. data/lib/ynab/models/put_transaction_wrapper.rb +1 -75
  137. data/lib/ynab/models/save_account.rb +1 -75
  138. data/lib/ynab/models/save_category.rb +18 -81
  139. data/lib/ynab/models/save_category_group.rb +148 -0
  140. data/lib/ynab/models/save_category_group_response.rb +136 -0
  141. data/lib/ynab/models/save_category_group_response_data.rb +147 -0
  142. data/lib/ynab/models/save_category_response.rb +1 -75
  143. data/lib/ynab/models/save_category_response_data.rb +1 -75
  144. data/lib/ynab/models/save_month_category.rb +2 -76
  145. data/lib/ynab/models/save_payee.rb +1 -75
  146. data/lib/ynab/models/save_payee_response.rb +1 -75
  147. data/lib/ynab/models/save_payee_response_data.rb +1 -75
  148. data/lib/ynab/models/save_scheduled_transaction.rb +1 -75
  149. data/lib/ynab/models/save_sub_transaction.rb +1 -75
  150. data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +1 -79
  151. data/lib/ynab/models/save_transaction_with_optional_fields.rb +1 -75
  152. data/lib/ynab/models/save_transactions_response.rb +1 -75
  153. data/lib/ynab/models/save_transactions_response_data.rb +1 -75
  154. data/lib/ynab/models/scheduled_sub_transaction.rb +1 -75
  155. data/lib/ynab/models/scheduled_transaction_detail.rb +1 -80
  156. data/lib/ynab/models/scheduled_transaction_response.rb +1 -75
  157. data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -75
  158. data/lib/ynab/models/scheduled_transaction_summary.rb +1 -75
  159. data/lib/ynab/models/scheduled_transactions_response.rb +1 -75
  160. data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -75
  161. data/lib/ynab/models/sub_transaction.rb +1 -75
  162. data/lib/ynab/models/transaction_detail.rb +1 -85
  163. data/lib/ynab/models/transaction_response.rb +1 -75
  164. data/lib/ynab/models/transaction_response_data.rb +1 -75
  165. data/lib/ynab/models/transaction_summary.rb +1 -75
  166. data/lib/ynab/models/transactions_import_response.rb +1 -75
  167. data/lib/ynab/models/transactions_import_response_data.rb +1 -75
  168. data/lib/ynab/models/transactions_response.rb +1 -75
  169. data/lib/ynab/models/transactions_response_data.rb +1 -75
  170. data/lib/ynab/models/user.rb +1 -75
  171. data/lib/ynab/models/user_response.rb +1 -75
  172. data/lib/ynab/models/user_response_data.rb +1 -75
  173. data/lib/ynab/overrides/transactions_api.rb +6 -6
  174. data/lib/ynab/version.rb +1 -1
  175. data/lib/ynab.rb +28 -13
  176. data/open_api_spec.yaml +1161 -916
  177. data/spec/api/accounts_spec.rb +9 -9
  178. data/spec/api/categories_spec.rb +9 -9
  179. data/spec/api/months_spec.rb +7 -7
  180. data/spec/api/payee_locations_spec.rb +7 -7
  181. data/spec/api/payees_spec.rb +7 -7
  182. data/spec/api/plans_spec.rb +55 -0
  183. data/spec/api/scheduled_transactions_spec.rb +9 -9
  184. data/spec/api/transactions_spec.rb +27 -27
  185. data/spec/fixtures/vcr_cassettes/account.yml +2 -2
  186. data/spec/fixtures/vcr_cassettes/accounts.yml +2 -2
  187. data/spec/fixtures/vcr_cassettes/accounts_unauthorized.yml +2 -2
  188. data/spec/fixtures/vcr_cassettes/bulk_transactions.yml +2 -2
  189. data/spec/fixtures/vcr_cassettes/categories.yml +2 -2
  190. data/spec/fixtures/vcr_cassettes/categories_unauthorized.yml +2 -2
  191. data/spec/fixtures/vcr_cassettes/category.yml +2 -2
  192. data/spec/fixtures/vcr_cassettes/category_transactions.yml +2 -2
  193. data/spec/fixtures/vcr_cassettes/create_account.yml +2 -2
  194. data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +2 -2
  195. data/spec/fixtures/vcr_cassettes/create_transaction.yml +2 -2
  196. data/spec/fixtures/vcr_cassettes/create_transactions.yml +2 -2
  197. data/spec/fixtures/vcr_cassettes/import_transactions.yml +2 -2
  198. data/spec/fixtures/vcr_cassettes/month.yml +2 -2
  199. data/spec/fixtures/vcr_cassettes/month_transactions.yml +2 -2
  200. data/spec/fixtures/vcr_cassettes/months.yml +2 -2
  201. data/spec/fixtures/vcr_cassettes/months_unauthorized.yml +2 -2
  202. data/spec/fixtures/vcr_cassettes/multiple_transactions.yml +2 -2
  203. data/spec/fixtures/vcr_cassettes/patch_month_category.yml +2 -2
  204. data/spec/fixtures/vcr_cassettes/payee.yml +2 -2
  205. data/spec/fixtures/vcr_cassettes/payee_location.yml +2 -2
  206. data/spec/fixtures/vcr_cassettes/payee_locations.yml +2 -2
  207. data/spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml +2 -2
  208. data/spec/fixtures/vcr_cassettes/payee_transactions.yml +2 -2
  209. data/spec/fixtures/vcr_cassettes/payees.yml +2 -2
  210. data/spec/fixtures/vcr_cassettes/payees_unauthorized.yml +2 -2
  211. data/spec/fixtures/vcr_cassettes/{budget.yml → plan.yml} +3 -3
  212. data/spec/fixtures/vcr_cassettes/{budgets.yml → plans.yml} +3 -3
  213. data/spec/fixtures/vcr_cassettes/{budgets_unauthorized.yml → plans_unauthorized.yml} +3 -3
  214. data/spec/fixtures/vcr_cassettes/scheduled_transaction.yml +2 -2
  215. data/spec/fixtures/vcr_cassettes/scheduled_transactions.yml +2 -2
  216. data/spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml +2 -2
  217. data/spec/fixtures/vcr_cassettes/transaction.yml +2 -2
  218. data/spec/fixtures/vcr_cassettes/transactions.yml +2 -2
  219. data/spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml +2 -2
  220. data/spec/fixtures/vcr_cassettes/transactions_unauthorized.yml +2 -2
  221. data/spec/fixtures/vcr_cassettes/update_transaction.yml +2 -2
  222. data/spec/fixtures/vcr_cassettes/update_transactions.yml +2 -2
  223. data/templates/gem.mustache +3 -2
  224. data/templates/partial_model_generic.mustache +1 -1
  225. data/ynab.gemspec +1 -2
  226. metadata +64 -33
  227. data/docs/BudgetSettingsResponseData.md +0 -8
  228. data/docs/BudgetSummary.md +0 -15
  229. data/docs/BudgetSummaryResponse.md +0 -8
  230. data/docs/BudgetSummaryResponseData.md +0 -9
  231. data/docs/BudgetsApi.md +0 -68
  232. data/spec/api/budgets_spec.rb +0 -55
@@ -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
@@ -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: ''
@@ -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/payees
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/payees
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
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -38,7 +38,7 @@ http_interactions:
38
38
  - chunked
39
39
  body:
40
40
  encoding: UTF-8
41
- string: "{\"data\" : {\"budget\" : {\"id\":\"f419ac25-6217-4175-88dc-c3136ff5f6fd\",\"name\":\"ABC\",\"last_modified_on\":\"2018-02-15T06:53:19+00:00\",\"date_format\":{\"format\":\"MM/DD/YYYY\"},\"currency_format\":{\"iso_code\":\"USD\",\"example_format\":\"123,456.78\",\"decimal_digits\":2,\"decimal_separator\":\".\",\"symbol_first\":true,\"group_separator\":\",\",\"currency_symbol\":\"$\",\"display_symbol\":true},\"first_month\":\"2018-02-01\",\"last_month\":\"2018-02-01\",\"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}],\"payees\":[{\"id\":\"2141b5d8-5b9b-4a17-be45-3f4a9ac397ec\",\"name\":\"Starting
41
+ string: "{\"data\" : {\"plan\" : {\"id\":\"f419ac25-6217-4175-88dc-c3136ff5f6fd\",\"name\":\"ABC\",\"last_modified_on\":\"2018-02-15T06:53:19+00:00\",\"date_format\":{\"format\":\"MM/DD/YYYY\"},\"currency_format\":{\"iso_code\":\"USD\",\"example_format\":\"123,456.78\",\"decimal_digits\":2,\"decimal_separator\":\".\",\"symbol_first\":true,\"group_separator\":\",\",\"currency_symbol\":\"$\",\"display_symbol\":true},\"first_month\":\"2018-02-01\",\"last_month\":\"2018-02-01\",\"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}],\"payees\":[{\"id\":\"2141b5d8-5b9b-4a17-be45-3f4a9ac397ec\",\"name\":\"Starting
42
42
  Balance\",\"transfer_account_id\":null}, \n {\"id\":\"7f786732-10c1-4618-aa0b-56199b2cea26\",\"name\":\"Manual
43
43
  Balance Adjustment\",\"transfer_account_id\":null}, \n {\"id\":\"f0c12109-c27a-4739-adc5-e598e33dd1dd\",\"name\":\"Reconciliation
44
44
  Balance Adjustment\",\"transfer_account_id\":null}, \n {\"id\":\"8a9a08ae-416d-436c-870a-a25e2d8f24cd\",\"name\":\"Transfer
@@ -1408,6 +1408,6 @@ http_interactions:
1408
1408
  \"server_knowledge\" : 57}}"
1409
1409
  http_version: '1.1'
1410
1410
  adapter_metadata:
1411
- effective_url: http://api.localhost:3000/v1/budgets/f419ac25-6217-4175-88dc-c3136ff5f6fd
1411
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd
1412
1412
  recorded_at: Thu, 15 Feb 2018 18:59:58 GMT
1413
1413
  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
5
+ uri: http://api.localhost:3000/v1/plans
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -38,12 +38,12 @@ http_interactions:
38
38
  - chunked
39
39
  body:
40
40
  encoding: UTF-8
41
- string: '{"data":{"budgets":[{"id":"36e85244-5254-47be-a7d1-28be746a7f72","name":"Hammel
41
+ string: '{"data":{"plans":[{"id":"36e85244-5254-47be-a7d1-28be746a7f72","name":"Hammel
42
42
  Budget","last_modified_on":"2018-02-14T20:28:50+00:00","date_format":{"locale":"en_US"},"currency_format":{"locale":"en_US"},"first_month":"2010-10-01","last_month":"2018-02-01"},{"id":"5b202339-ba6a-4498-bc93-f6909ec38153","name":"Household
43
43
  Budget","last_modified_on":"2018-02-14T20:28:53+00:00","date_format":{"locale":"en_US"},"currency_format":{"locale":"en_US"},"first_month":"2013-09-01","last_month":"2018-02-01"},{"id":"9db9a05d-c61c-4ce8-95ea-06174910f332","name":"My
44
44
  Budget","last_modified_on":"2018-02-15T18:24:02+00:00","date_format":{"format":"MM/DD/YYYY"},"currency_format":{"iso_code":"USD","example_format":"123,456.78","decimal_digits":2,"decimal_separator":".","symbol_first":true,"group_separator":",","currency_symbol":"$","display_symbol":true},"first_month":"2018-02-01","last_month":"2018-02-01"},{"id":"f419ac25-6217-4175-88dc-c3136ff5f6fd","name":"ABC","last_modified_on":"2018-02-15T18:53:19+00:00","date_format":{"format":"MM/DD/YYYY"},"currency_format":{"iso_code":"USD","example_format":"123,456.78","decimal_digits":2,"decimal_separator":".","symbol_first":true,"group_separator":",","currency_symbol":"$","display_symbol":true},"first_month":"2018-02-01","last_month":"2018-02-01"}]}}'
45
45
  http_version: '1.1'
46
46
  adapter_metadata:
47
- effective_url: http://api.localhost:3000/v1/budgets
47
+ effective_url: http://api.localhost:3000/v1/plans
48
48
  recorded_at: Thu, 15 Feb 2018 18:59:58 GMT
49
49
  recorded_with: VCR 3.0.3
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api.localhost:3000/v1/budgets
5
+ uri: http://api.localhost:3000/v1/plans
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - api_client/ruby/0.1.0
11
+ - api_client/ruby/3.9.0
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept:
@@ -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
47
+ effective_url: http://api.localhost:3000/v1/plans
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/scheduled_transactions/1a8e4929-3ad1-4859-8443-2aeeab0684ab
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions/1a8e4929-3ad1-4859-8443-2aeeab0684ab
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"scheduled_transaction":{"id":"1a8e4929-3ad1-4859-8443-2aeeab0684ab","date_first":"2018-02-16","date_next":"2018-02-16","frequency":"never","amount":-10000,"memo":null,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_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/scheduled_transactions/1a8e4929-3ad1-4859-8443-2aeeab0684ab
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions/1a8e4929-3ad1-4859-8443-2aeeab0684ab
45
45
  recorded_at: Thu, 15 Feb 2018 19:00:01 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/scheduled_transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"scheduled_transactions":[{"id":"1a8e4929-3ad1-4859-8443-2aeeab0684ab","date_first":"2018-02-16","date_next":"2018-02-16","frequency":"never","amount":-10000,"memo":null,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":null,"category_id":null,"transfer_account_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/scheduled_transactions
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
45
45
  recorded_at: Thu, 15 Feb 2018 19:00:01 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/scheduled_transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
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/scheduled_transactions
47
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/scheduled_transactions
48
48
  recorded_at: Thu, 15 Feb 2018 19:00:01 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/transactions/81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transaction":{"id":"81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4","date":"2018-02-15","amount":-2000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","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/81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4
44
+ effective_url: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions/81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4
45
45
  recorded_at: Thu, 15 Feb 2018 19:00:01 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/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"id":"1f9d45f6-8ba5-476b-8cff-209b3791bd83","date":"2018-02-15","amount":1000000,"memo":null,"cleared":"cleared","approved":true,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"2141b5d8-5b9b-4a17-be45-3f4a9ac397ec","category_id":"26513650-523e-4e7a-ac0d-f6e78d0a8a03","transfer_account_id":null,"import_id":null,"subtransactions":[]},{"id":"81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4","date":"2018-02-15","amount":-2000,"memo":"","cleared":"uncleared","approved":true,"flag_color":null,"account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","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:00:01 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/transactions
5
+ uri: http://api.localhost:3000/v1/plans/f419ac25-6217-4175-88dc-c3136ff5f6fd/transactions
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -41,6 +41,6 @@ http_interactions:
41
41
  string: '{"data":{"transactions":[{"id":"1f9d45f6-8ba5-476b-8cff-209b3791bd83","date":"2018-02-15","amount":1000000,"memo":null,"cleared":"cleared","approved":true,"flag_color":"","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"2141b5d8-5b9b-4a17-be45-3f4a9ac397ec","category_id":"26513650-523e-4e7a-ac0d-f6e78d0a8a03","transfer_account_id":null,"import_id":null,"subtransactions":[]},{"id":"81c374ff-74ab-4d6d-8d5a-ba3ad3fa68e4","date":"2018-02-15","amount":-2000,"memo":"","cleared":"uncleared","approved":true,"flag_color":"invalid","account_id":"5982e895-98e5-41ca-9681-0b6de1036a1c","payee_id":"200e6eb1-02fc-4af6-be26-27c5740bb949","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:00:01 GMT
46
46
  recorded_with: VCR 3.0.3