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.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -2
- data/README.md +47 -39
- data/Rakefile +3 -3
- data/docs/Account.md +3 -3
- data/docs/AccountsApi.md +12 -12
- data/docs/CategoriesApi.md +89 -25
- data/docs/Category.md +4 -3
- data/docs/CategoryGroupWithCategories.md +1 -1
- data/docs/ExistingCategory.md +12 -0
- data/docs/MoneyMovement.md +16 -0
- data/docs/MoneyMovementGroup.md +12 -0
- data/docs/MoneyMovementGroupsResponse.md +8 -0
- data/docs/MoneyMovementGroupsResponseData.md +9 -0
- data/docs/MoneyMovementsApi.md +89 -0
- data/docs/{BudgetSettingsResponse.md → MoneyMovementsResponse.md} +2 -2
- data/docs/MoneyMovementsResponseData.md +9 -0
- data/docs/MonthDetail.md +2 -2
- data/docs/MonthSummary.md +1 -1
- data/docs/MonthsApi.md +13 -13
- data/docs/NewCategory.md +12 -0
- data/docs/PatchCategoryGroupWrapper.md +8 -0
- data/docs/PatchCategoryWrapper.md +1 -1
- data/docs/PayeeLocationsApi.md +12 -12
- data/docs/PayeesApi.md +11 -11
- data/docs/{BudgetDetail.md → PlanDetail.md} +4 -4
- data/docs/PlanDetailResponse.md +8 -0
- data/docs/{BudgetDetailResponseData.md → PlanDetailResponseData.md} +2 -2
- data/docs/{BudgetSettings.md → PlanSettings.md} +1 -1
- data/docs/{BudgetDetailResponse.md → PlanSettingsResponse.md} +2 -2
- data/docs/PlanSettingsResponseData.md +8 -0
- data/docs/PlanSummary.md +15 -0
- data/docs/PlanSummaryResponse.md +8 -0
- data/docs/PlanSummaryResponseData.md +9 -0
- data/docs/PlansApi.md +68 -0
- data/docs/PostCategoryGroupWrapper.md +8 -0
- data/docs/PostCategoryWrapper.md +8 -0
- data/docs/SaveCategory.md +2 -1
- data/docs/SaveCategoryGroup.md +8 -0
- data/docs/SaveCategoryGroupResponse.md +8 -0
- data/docs/SaveCategoryGroupResponseData.md +9 -0
- data/docs/SaveMonthCategory.md +1 -1
- data/docs/ScheduledTransactionsApi.md +20 -20
- data/docs/TransactionsApi.md +48 -48
- data/docs/UserApi.md +2 -2
- data/examples/category-balance.rb +2 -2
- data/examples/create-multiple-transactions.rb +2 -2
- data/examples/create-transaction.rb +2 -2
- data/examples/{budget-list.rb → plan-list.rb} +6 -6
- data/examples/{budget-month.rb → plan-month.rb} +9 -10
- data/examples/update-category-budgeted.rb +2 -2
- data/examples/update-multiple-transactions.rb +3 -3
- data/lib/ynab/api/accounts_api.rb +33 -34
- data/lib/ynab/api/categories_api.rb +293 -66
- data/lib/ynab/api/deprecated_api.rb +11 -11
- data/lib/ynab/api/money_movements_api.rb +282 -0
- data/lib/ynab/api/months_api.rb +35 -36
- data/lib/ynab/api/payee_locations_api.rb +33 -34
- data/lib/ynab/api/payees_api.rb +31 -32
- data/lib/ynab/api/{budgets_api.rb → plans_api.rb} +55 -56
- data/lib/ynab/api/scheduled_transactions_api.rb +55 -56
- data/lib/ynab/api/transactions_api.rb +130 -131
- data/lib/ynab/api/user_api.rb +2 -3
- data/lib/ynab/api_client.rb +0 -2
- data/lib/ynab/api_model_base.rb +85 -0
- data/lib/ynab/models/account.rb +4 -81
- data/lib/ynab/models/account_response.rb +1 -75
- data/lib/ynab/models/account_response_data.rb +1 -75
- data/lib/ynab/models/accounts_response.rb +1 -75
- data/lib/ynab/models/accounts_response_data.rb +1 -75
- data/lib/ynab/models/bulk_response.rb +1 -75
- data/lib/ynab/models/bulk_response_data.rb +1 -75
- data/lib/ynab/models/bulk_response_data_bulk.rb +1 -75
- data/lib/ynab/models/bulk_transactions.rb +1 -75
- data/lib/ynab/models/categories_response.rb +1 -75
- data/lib/ynab/models/categories_response_data.rb +1 -75
- data/lib/ynab/models/category.rb +16 -79
- data/lib/ynab/models/category_group.rb +1 -75
- data/lib/ynab/models/category_group_with_categories.rb +2 -76
- data/lib/ynab/models/category_response.rb +1 -75
- data/lib/ynab/models/category_response_data.rb +1 -75
- data/lib/ynab/models/currency_format.rb +2 -76
- data/lib/ynab/models/date_format.rb +2 -76
- data/lib/ynab/models/error_detail.rb +1 -75
- data/lib/ynab/models/error_response.rb +1 -75
- data/lib/ynab/models/existing_category.rb +180 -0
- data/lib/ynab/models/existing_transaction.rb +1 -79
- data/lib/ynab/models/hybrid_transaction.rb +1 -85
- data/lib/ynab/models/hybrid_transactions_response.rb +1 -75
- data/lib/ynab/models/hybrid_transactions_response_data.rb +1 -75
- data/lib/ynab/models/{budget_summary_response_data.rb → money_movement.rb} +95 -93
- data/lib/ynab/models/money_movement_group.rb +179 -0
- data/lib/ynab/models/{budget_summary_response.rb → money_movement_groups_response.rb} +4 -78
- data/lib/ynab/models/money_movement_groups_response_data.rb +149 -0
- data/lib/ynab/models/{budget_settings_response.rb → money_movements_response.rb} +4 -78
- data/lib/ynab/models/{budget_detail_response_data.rb → money_movements_response_data.rb} +13 -85
- data/lib/ynab/models/month_detail.rb +3 -79
- data/lib/ynab/models/month_detail_response.rb +1 -75
- data/lib/ynab/models/month_detail_response_data.rb +1 -75
- data/lib/ynab/models/month_summaries_response.rb +1 -75
- data/lib/ynab/models/month_summaries_response_data.rb +1 -75
- data/lib/ynab/models/month_summary.rb +2 -76
- data/lib/ynab/models/new_category.rb +180 -0
- data/lib/ynab/models/new_transaction.rb +1 -79
- data/lib/ynab/models/patch_category_group_wrapper.rb +136 -0
- data/lib/ynab/models/patch_category_wrapper.rb +2 -76
- data/lib/ynab/models/patch_month_category_wrapper.rb +1 -75
- data/lib/ynab/models/patch_payee_wrapper.rb +1 -75
- data/lib/ynab/models/patch_transactions_wrapper.rb +1 -75
- data/lib/ynab/models/payee.rb +1 -75
- data/lib/ynab/models/payee_location.rb +1 -75
- data/lib/ynab/models/payee_location_response.rb +1 -75
- data/lib/ynab/models/payee_location_response_data.rb +1 -75
- data/lib/ynab/models/payee_locations_response.rb +1 -75
- data/lib/ynab/models/payee_locations_response_data.rb +1 -75
- data/lib/ynab/models/payee_response.rb +1 -75
- data/lib/ynab/models/payee_response_data.rb +1 -75
- data/lib/ynab/models/payees_response.rb +1 -75
- data/lib/ynab/models/payees_response_data.rb +1 -75
- data/lib/ynab/models/{budget_detail.rb → plan_detail.rb} +7 -83
- data/lib/ynab/models/plan_detail_response.rb +136 -0
- data/lib/ynab/models/plan_detail_response_data.rb +147 -0
- data/lib/ynab/models/{budget_settings.rb → plan_settings.rb} +5 -79
- data/lib/ynab/models/{budget_detail_response.rb → plan_settings_response.rb} +4 -78
- data/lib/ynab/models/{budget_settings_response_data.rb → plan_settings_response_data.rb} +4 -78
- data/lib/ynab/models/{budget_summary.rb → plan_summary.rb} +7 -83
- data/lib/ynab/models/plan_summary_response.rb +136 -0
- data/lib/ynab/models/plan_summary_response_data.rb +147 -0
- data/lib/ynab/models/post_account_wrapper.rb +1 -75
- data/lib/ynab/models/post_category_group_wrapper.rb +136 -0
- data/lib/ynab/models/post_category_wrapper.rb +136 -0
- data/lib/ynab/models/post_scheduled_transaction_wrapper.rb +1 -75
- data/lib/ynab/models/post_transactions_wrapper.rb +1 -75
- data/lib/ynab/models/put_scheduled_transaction_wrapper.rb +1 -75
- data/lib/ynab/models/put_transaction_wrapper.rb +1 -75
- data/lib/ynab/models/save_account.rb +1 -75
- data/lib/ynab/models/save_category.rb +18 -81
- data/lib/ynab/models/save_category_group.rb +148 -0
- data/lib/ynab/models/save_category_group_response.rb +136 -0
- data/lib/ynab/models/save_category_group_response_data.rb +147 -0
- data/lib/ynab/models/save_category_response.rb +1 -75
- data/lib/ynab/models/save_category_response_data.rb +1 -75
- data/lib/ynab/models/save_month_category.rb +2 -76
- data/lib/ynab/models/save_payee.rb +1 -75
- data/lib/ynab/models/save_payee_response.rb +1 -75
- data/lib/ynab/models/save_payee_response_data.rb +1 -75
- data/lib/ynab/models/save_scheduled_transaction.rb +1 -75
- data/lib/ynab/models/save_sub_transaction.rb +1 -75
- data/lib/ynab/models/save_transaction_with_id_or_import_id.rb +1 -79
- data/lib/ynab/models/save_transaction_with_optional_fields.rb +1 -75
- data/lib/ynab/models/save_transactions_response.rb +1 -75
- data/lib/ynab/models/save_transactions_response_data.rb +1 -75
- data/lib/ynab/models/scheduled_sub_transaction.rb +1 -75
- data/lib/ynab/models/scheduled_transaction_detail.rb +1 -80
- data/lib/ynab/models/scheduled_transaction_response.rb +1 -75
- data/lib/ynab/models/scheduled_transaction_response_data.rb +1 -75
- data/lib/ynab/models/scheduled_transaction_summary.rb +1 -75
- data/lib/ynab/models/scheduled_transactions_response.rb +1 -75
- data/lib/ynab/models/scheduled_transactions_response_data.rb +1 -75
- data/lib/ynab/models/sub_transaction.rb +1 -75
- data/lib/ynab/models/transaction_detail.rb +1 -85
- data/lib/ynab/models/transaction_response.rb +1 -75
- data/lib/ynab/models/transaction_response_data.rb +1 -75
- data/lib/ynab/models/transaction_summary.rb +1 -75
- data/lib/ynab/models/transactions_import_response.rb +1 -75
- data/lib/ynab/models/transactions_import_response_data.rb +1 -75
- data/lib/ynab/models/transactions_response.rb +1 -75
- data/lib/ynab/models/transactions_response_data.rb +1 -75
- data/lib/ynab/models/user.rb +1 -75
- data/lib/ynab/models/user_response.rb +1 -75
- data/lib/ynab/models/user_response_data.rb +1 -75
- data/lib/ynab/overrides/transactions_api.rb +6 -6
- data/lib/ynab/version.rb +1 -1
- data/lib/ynab.rb +28 -13
- data/open_api_spec.yaml +1161 -916
- data/spec/api/accounts_spec.rb +9 -9
- data/spec/api/categories_spec.rb +9 -9
- data/spec/api/months_spec.rb +7 -7
- data/spec/api/payee_locations_spec.rb +7 -7
- data/spec/api/payees_spec.rb +7 -7
- data/spec/api/plans_spec.rb +55 -0
- data/spec/api/scheduled_transactions_spec.rb +9 -9
- data/spec/api/transactions_spec.rb +27 -27
- data/spec/fixtures/vcr_cassettes/account.yml +2 -2
- data/spec/fixtures/vcr_cassettes/accounts.yml +2 -2
- data/spec/fixtures/vcr_cassettes/accounts_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/bulk_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/categories.yml +2 -2
- data/spec/fixtures/vcr_cassettes/categories_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/category.yml +2 -2
- data/spec/fixtures/vcr_cassettes/category_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/create_account.yml +2 -2
- data/spec/fixtures/vcr_cassettes/create_scheduled_transaction.yml +2 -2
- data/spec/fixtures/vcr_cassettes/create_transaction.yml +2 -2
- data/spec/fixtures/vcr_cassettes/create_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/import_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/month.yml +2 -2
- data/spec/fixtures/vcr_cassettes/month_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/months.yml +2 -2
- data/spec/fixtures/vcr_cassettes/months_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/multiple_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/patch_month_category.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payee.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payee_location.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payee_locations.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payee_locations_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payee_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payees.yml +2 -2
- data/spec/fixtures/vcr_cassettes/payees_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/{budget.yml → plan.yml} +3 -3
- data/spec/fixtures/vcr_cassettes/{budgets.yml → plans.yml} +3 -3
- data/spec/fixtures/vcr_cassettes/{budgets_unauthorized.yml → plans_unauthorized.yml} +3 -3
- data/spec/fixtures/vcr_cassettes/scheduled_transaction.yml +2 -2
- data/spec/fixtures/vcr_cassettes/scheduled_transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/scheduled_transactions_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/transaction.yml +2 -2
- data/spec/fixtures/vcr_cassettes/transactions.yml +2 -2
- data/spec/fixtures/vcr_cassettes/transactions_invalid_flags.yml +2 -2
- data/spec/fixtures/vcr_cassettes/transactions_unauthorized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/update_transaction.yml +2 -2
- data/spec/fixtures/vcr_cassettes/update_transactions.yml +2 -2
- data/templates/gem.mustache +3 -2
- data/templates/partial_model_generic.mustache +1 -1
- data/ynab.gemspec +1 -2
- metadata +64 -33
- data/docs/BudgetSettingsResponseData.md +0 -8
- data/docs/BudgetSummary.md +0 -15
- data/docs/BudgetSummaryResponse.md +0 -8
- data/docs/BudgetSummaryResponseData.md +0 -9
- data/docs/BudgetsApi.md +0 -68
- 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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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\" : {\"
|
|
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/
|
|
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/
|
|
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":{"
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|