@actual-app/core 26.3.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.
- package/.swcrc +11 -0
- package/bin/build-browser +40 -0
- package/bin/copy-migrations +9 -0
- package/db.sqlite +0 -0
- package/default-db.sqlite +0 -0
- package/migrations/.force-copy-windows +0 -0
- package/migrations/1548957970627_remove-db-version.sql +5 -0
- package/migrations/1550601598648_payees.sql +23 -0
- package/migrations/1555786194328_remove_category_group_unique.sql +25 -0
- package/migrations/1561751833510_indexes.sql +7 -0
- package/migrations/1567699552727_budget.sql +38 -0
- package/migrations/1582384163573_cleared.sql +6 -0
- package/migrations/1597756566448_rules.sql +10 -0
- package/migrations/1608652596043_parent_field.sql +13 -0
- package/migrations/1608652596044_trans_views.sql +56 -0
- package/migrations/1612625548236_optimize.sql +7 -0
- package/migrations/1614782639336_trans_views2.sql +33 -0
- package/migrations/1615745967948_meta.sql +10 -0
- package/migrations/1616167010796_accounts_order.sql +5 -0
- package/migrations/1618975177358_schedules.sql +28 -0
- package/migrations/1632571489012_remove_cache.js +136 -0
- package/migrations/1679728867040_rules_conditions.sql +5 -0
- package/migrations/1681115033845_add_schedule_name.sql +5 -0
- package/migrations/1682974838138_remove_payee_rules.sql +5 -0
- package/migrations/1685007876842_add_category_hidden.sql +6 -0
- package/migrations/1686139660866_remove_account_type.sql +5 -0
- package/migrations/1688749527273_transaction_filters.sql +10 -0
- package/migrations/1688841238000_add_account_type.sql +5 -0
- package/migrations/1691233396000_add_schedule_next_date_tombstone.sql +5 -0
- package/migrations/1694438752000_add_goal_targets.sql +7 -0
- package/migrations/1697046240000_add_reconciled.sql +5 -0
- package/migrations/1704572023730_add_account_sync_source.sql +5 -0
- package/migrations/1704572023731_add_missing_goCardless_sync_source.sql +9 -0
- package/migrations/1707267033000_reports.sql +28 -0
- package/migrations/1712784523000_unhide_input_group.sql +8 -0
- package/migrations/1716359441000_include_current.sql +5 -0
- package/migrations/1720310586000_link_transfer_schedules.sql +19 -0
- package/migrations/1720664867241_add_payee_favorite.sql +5 -0
- package/migrations/1720665000000_goal_context.sql +6 -0
- package/migrations/1722717601000_reports_move_selected_categories.js +55 -0
- package/migrations/1722804019000_create_dashboard_table.js +69 -0
- package/migrations/1723665565000_prefs.js +59 -0
- package/migrations/1730744182000_fix_dashboard_table.sql +7 -0
- package/migrations/1736640000000_custom_report_sorting.sql +7 -0
- package/migrations/1737158400000_add_learn_categories_to_payees.sql +5 -0
- package/migrations/1738491452000_sorting_rename.sql +13 -0
- package/migrations/1739139550000_bank_sync_page.sql +7 -0
- package/migrations/1740506588539_add_last_reconciled_at.sql +5 -0
- package/migrations/1745425408000_update_budgetType_pref.sql +7 -0
- package/migrations/1749799110000_add_tags.sql +10 -0
- package/migrations/1749799110001_tags_tombstone.sql +5 -0
- package/migrations/1754611200000_add_category_template_settings.sql +5 -0
- package/migrations/1759260219000_add_trim_interval_report_setting.sql +6 -0
- package/migrations/1759842823172_add_isGlobal_to_preferences.sql +1 -0
- package/migrations/1762178745667_rename_csv_skip_lines_pref.sql +8 -0
- package/migrations/1765518577215_multiple_dashboards.js +30 -0
- package/migrations/1768872504000_add_payee_locations.sql +21 -0
- package/package.json +128 -0
- package/src/mocks/arbitrary-schema.ts +162 -0
- package/src/mocks/budget.ts +901 -0
- package/src/mocks/files/8859-1.qfx +63 -0
- package/src/mocks/files/best.data-ever$.QFX +124 -0
- package/src/mocks/files/big.data.QiF +91 -0
- package/src/mocks/files/budgets/.commit-to-git +0 -0
- package/src/mocks/files/camt/camt.053.payee-memo.xml +127 -0
- package/src/mocks/files/camt/camt.053.xml +463 -0
- package/src/mocks/files/credit-card.ofx +11 -0
- package/src/mocks/files/data-multi-decimal.ofx +64 -0
- package/src/mocks/files/data-payee-memo.ofx +75 -0
- package/src/mocks/files/data-payee-memo.qif +17 -0
- package/src/mocks/files/data.ofx +124 -0
- package/src/mocks/files/data.qfx +124 -0
- package/src/mocks/files/data.qif +91 -0
- package/src/mocks/files/default-budget-template/db.sqlite +0 -0
- package/src/mocks/files/default-budget-template/metadata.json +6 -0
- package/src/mocks/files/html-vals.qfx +17 -0
- package/src/mocks/index.ts +221 -0
- package/src/mocks/migrations/1508717984291_up_add-poop.sql +13 -0
- package/src/mocks/migrations/1508718036311_up_modify-poop.sql +2 -0
- package/src/mocks/migrations/1508727787513_remove-is_income.sql +15 -0
- package/src/mocks/random.ts +16 -0
- package/src/mocks/setup.ts +180 -0
- package/src/mocks/spreadsheet.ts +101 -0
- package/src/mocks/util.ts +82 -0
- package/src/platform/client/connection/README.md +3 -0
- package/src/platform/client/connection/__mocks__/index.ts +67 -0
- package/src/platform/client/connection/index-types.ts +95 -0
- package/src/platform/client/connection/index.browser.ts +213 -0
- package/src/platform/client/connection/index.ts +155 -0
- package/src/platform/client/undo/index.ts +59 -0
- package/src/platform/exceptions/__mocks__/index.ts +7 -0
- package/src/platform/exceptions/index.ts +9 -0
- package/src/platform/server/asyncStorage/__mocks__/index.ts +50 -0
- package/src/platform/server/asyncStorage/index-types.ts +35 -0
- package/src/platform/server/asyncStorage/index.api.ts +2 -0
- package/src/platform/server/asyncStorage/index.electron.ts +88 -0
- package/src/platform/server/asyncStorage/index.ts +126 -0
- package/src/platform/server/connection/README.md +3 -0
- package/src/platform/server/connection/__mocks__/index.ts +15 -0
- package/src/platform/server/connection/index-types.ts +20 -0
- package/src/platform/server/connection/index.api.ts +13 -0
- package/src/platform/server/connection/index.electron.ts +102 -0
- package/src/platform/server/connection/index.ts +154 -0
- package/src/platform/server/fetch/__mocks__/index.ts +3 -0
- package/src/platform/server/fetch/index.api.ts +1 -0
- package/src/platform/server/fetch/index.electron.ts +18 -0
- package/src/platform/server/fetch/index.ts +20 -0
- package/src/platform/server/fs/index.api.ts +198 -0
- package/src/platform/server/fs/index.electron.ts +208 -0
- package/src/platform/server/fs/index.test.ts +117 -0
- package/src/platform/server/fs/index.ts +416 -0
- package/src/platform/server/fs/path-join.api.ts +1 -0
- package/src/platform/server/fs/path-join.electron.ts +1 -0
- package/src/platform/server/fs/path-join.ts +97 -0
- package/src/platform/server/fs/shared.ts +33 -0
- package/src/platform/server/indexeddb/index.ts +115 -0
- package/src/platform/server/log/index.ts +43 -0
- package/src/platform/server/sqlite/index.api.ts +2 -0
- package/src/platform/server/sqlite/index.electron.ts +134 -0
- package/src/platform/server/sqlite/index.test.ts +108 -0
- package/src/platform/server/sqlite/index.ts +241 -0
- package/src/platform/server/sqlite/normalise.ts +9 -0
- package/src/platform/server/sqlite/unicodeLike.test.ts +58 -0
- package/src/platform/server/sqlite/unicodeLike.ts +31 -0
- package/src/server/__mocks__/post.ts +9 -0
- package/src/server/__snapshots__/main.test.ts.snap +199 -0
- package/src/server/__snapshots__/sheet.test.ts.snap +9 -0
- package/src/server/accounts/__snapshots__/sync.test.ts.snap +136 -0
- package/src/server/accounts/app-bank-sync.test.ts +136 -0
- package/src/server/accounts/app.ts +1294 -0
- package/src/server/accounts/link.ts +25 -0
- package/src/server/accounts/payees.ts +36 -0
- package/src/server/accounts/sync.test.ts +679 -0
- package/src/server/accounts/sync.ts +1168 -0
- package/src/server/accounts/title/index.ts +60 -0
- package/src/server/accounts/title/lower-case.ts +93 -0
- package/src/server/accounts/title/specials.ts +21 -0
- package/src/server/admin/app.ts +241 -0
- package/src/server/api-models.ts +244 -0
- package/src/server/api.test.ts +36 -0
- package/src/server/api.ts +1030 -0
- package/src/server/app.ts +91 -0
- package/src/server/aql/compiler.test.ts +966 -0
- package/src/server/aql/compiler.ts +1222 -0
- package/src/server/aql/exec.test.ts +289 -0
- package/src/server/aql/exec.ts +128 -0
- package/src/server/aql/index.ts +41 -0
- package/src/server/aql/schema/executors.test.ts +420 -0
- package/src/server/aql/schema/executors.ts +345 -0
- package/src/server/aql/schema/index.test.ts +67 -0
- package/src/server/aql/schema/index.ts +409 -0
- package/src/server/aql/schema-helpers.test.ts +242 -0
- package/src/server/aql/schema-helpers.ts +208 -0
- package/src/server/aql/views.test.ts +62 -0
- package/src/server/aql/views.ts +57 -0
- package/src/server/auth/app.ts +387 -0
- package/src/server/bench.ts +29 -0
- package/src/server/budget/actions.ts +686 -0
- package/src/server/budget/app.ts +469 -0
- package/src/server/budget/base.test.ts +340 -0
- package/src/server/budget/base.ts +339 -0
- package/src/server/budget/category-template-context.test.ts +1658 -0
- package/src/server/budget/category-template-context.ts +862 -0
- package/src/server/budget/cleanup-template.pegjs +27 -0
- package/src/server/budget/cleanup-template.ts +408 -0
- package/src/server/budget/envelope.ts +403 -0
- package/src/server/budget/goal-template.pegjs +110 -0
- package/src/server/budget/goal-template.ts +309 -0
- package/src/server/budget/report.ts +308 -0
- package/src/server/budget/schedule-template.test.ts +184 -0
- package/src/server/budget/schedule-template.ts +351 -0
- package/src/server/budget/statements.ts +60 -0
- package/src/server/budget/template-notes.test.ts +393 -0
- package/src/server/budget/template-notes.ts +323 -0
- package/src/server/budget/util.ts +25 -0
- package/src/server/budgetfiles/__snapshots__/backups.test.ts.snap +101 -0
- package/src/server/budgetfiles/app.ts +672 -0
- package/src/server/budgetfiles/backups.test.ts +79 -0
- package/src/server/budgetfiles/backups.ts +251 -0
- package/src/server/cloud-storage.ts +467 -0
- package/src/server/dashboard/app.ts +373 -0
- package/src/server/db/__snapshots__/index.test.ts.snap +271 -0
- package/src/server/db/index.test.ts +300 -0
- package/src/server/db/index.ts +855 -0
- package/src/server/db/mappings.ts +59 -0
- package/src/server/db/sort.ts +58 -0
- package/src/server/db/types/index.ts +342 -0
- package/src/server/db/util.ts +36 -0
- package/src/server/encryption/app.ts +133 -0
- package/src/server/encryption/encryption-internals.api.ts +2 -0
- package/src/server/encryption/encryption-internals.electron.ts +89 -0
- package/src/server/encryption/encryption-internals.ts +109 -0
- package/src/server/encryption/encryption.test.ts +19 -0
- package/src/server/encryption/index.test.ts +19 -0
- package/src/server/encryption/index.ts +89 -0
- package/src/server/errors.ts +110 -0
- package/src/server/filters/app.ts +191 -0
- package/src/server/importers/actual.ts +49 -0
- package/src/server/importers/index.ts +58 -0
- package/src/server/importers/ynab4-types.ts +163 -0
- package/src/server/importers/ynab4.ts +470 -0
- package/src/server/importers/ynab5-types.ts +290 -0
- package/src/server/importers/ynab5.ts +1193 -0
- package/src/server/main-app.ts +25 -0
- package/src/server/main.test.ts +392 -0
- package/src/server/main.ts +336 -0
- package/src/server/migrate/__snapshots__/migrations.test.ts.snap +17 -0
- package/src/server/migrate/cli.ts +100 -0
- package/src/server/migrate/migrations.test.ts +81 -0
- package/src/server/migrate/migrations.ts +192 -0
- package/src/server/models.ts +184 -0
- package/src/server/mutators.ts +139 -0
- package/src/server/notes/app.ts +18 -0
- package/src/server/payees/app.ts +351 -0
- package/src/server/polyfills.ts +26 -0
- package/src/server/post.ts +219 -0
- package/src/server/preferences/app.ts +249 -0
- package/src/server/prefs.ts +91 -0
- package/src/server/reports/app.ts +187 -0
- package/src/server/rules/action.ts +344 -0
- package/src/server/rules/app.ts +193 -0
- package/src/server/rules/condition.ts +436 -0
- package/src/server/rules/customFunctions.ts +61 -0
- package/src/server/rules/formula-action.test.ts +175 -0
- package/src/server/rules/handlebars-helpers.ts +131 -0
- package/src/server/rules/index.test.ts +1095 -0
- package/src/server/rules/index.ts +22 -0
- package/src/server/rules/rule-indexer.ts +89 -0
- package/src/server/rules/rule-utils.ts +274 -0
- package/src/server/rules/rule.ts +193 -0
- package/src/server/schedules/app.test.ts +502 -0
- package/src/server/schedules/app.ts +644 -0
- package/src/server/schedules/find-schedules.ts +391 -0
- package/src/server/server-config.ts +59 -0
- package/src/server/sheet.test.ts +101 -0
- package/src/server/sheet.ts +280 -0
- package/src/server/spreadsheet/__snapshots__/spreadsheet.test.ts.snap +5 -0
- package/src/server/spreadsheet/app.ts +54 -0
- package/src/server/spreadsheet/globals.ts +13 -0
- package/src/server/spreadsheet/graph-data-structure.ts +165 -0
- package/src/server/spreadsheet/scratch +60 -0
- package/src/server/spreadsheet/spreadsheet.test.ts +191 -0
- package/src/server/spreadsheet/spreadsheet.ts +523 -0
- package/src/server/spreadsheet/util.ts +15 -0
- package/src/server/sql/init.sql +88 -0
- package/src/server/sync/__snapshots__/sync.test.ts.snap +31 -0
- package/src/server/sync/app.ts +29 -0
- package/src/server/sync/encoder.ts +129 -0
- package/src/server/sync/index.ts +820 -0
- package/src/server/sync/make-test-message.ts +19 -0
- package/src/server/sync/migrate.test.ts +169 -0
- package/src/server/sync/migrate.ts +48 -0
- package/src/server/sync/repair.ts +39 -0
- package/src/server/sync/reset.ts +91 -0
- package/src/server/sync/sync.property.test.ts +385 -0
- package/src/server/sync/sync.test.ts +349 -0
- package/src/server/sync/utils.ts +3 -0
- package/src/server/tags/app.ts +101 -0
- package/src/server/tests/mockData.json +9352 -0
- package/src/server/tests/mockSyncServer.ts +119 -0
- package/src/server/tools/app.ts +152 -0
- package/src/server/transactions/__snapshots__/transaction-rules.test.ts.snap +173 -0
- package/src/server/transactions/__snapshots__/transfer.test.ts.snap +655 -0
- package/src/server/transactions/app.ts +136 -0
- package/src/server/transactions/export/export-to-csv.ts +132 -0
- package/src/server/transactions/import/__snapshots__/parse-file.test.ts.snap +1582 -0
- package/src/server/transactions/import/ofx2json.test.ts +33 -0
- package/src/server/transactions/import/ofx2json.ts +157 -0
- package/src/server/transactions/import/parse-file.test.ts +224 -0
- package/src/server/transactions/import/parse-file.ts +286 -0
- package/src/server/transactions/import/qif2json.ts +110 -0
- package/src/server/transactions/import/xmlcamt2json.ts +168 -0
- package/src/server/transactions/index.ts +196 -0
- package/src/server/transactions/merge.test.ts +370 -0
- package/src/server/transactions/merge.ts +139 -0
- package/src/server/transactions/transaction-rules.test.ts +994 -0
- package/src/server/transactions/transaction-rules.ts +1038 -0
- package/src/server/transactions/transfer.test.ts +221 -0
- package/src/server/transactions/transfer.ts +173 -0
- package/src/server/undo.ts +271 -0
- package/src/server/update.ts +37 -0
- package/src/server/util/budget-name.ts +61 -0
- package/src/server/util/custom-sync-mapping.ts +48 -0
- package/src/server/util/rschedule.ts +9 -0
- package/src/shared/__mocks__/platform.ts +7 -0
- package/src/shared/__snapshots__/months.test.ts.snap +21 -0
- package/src/shared/arithmetic.test.ts +112 -0
- package/src/shared/arithmetic.ts +170 -0
- package/src/shared/async.test.ts +135 -0
- package/src/shared/async.ts +76 -0
- package/src/shared/constants.ts +5 -0
- package/src/shared/currencies.ts +70 -0
- package/src/shared/dashboard.ts +260 -0
- package/src/shared/environment.ts +18 -0
- package/src/shared/errors.ts +195 -0
- package/src/shared/locale.ts +27 -0
- package/src/shared/location-utils.test.ts +69 -0
- package/src/shared/location-utils.ts +49 -0
- package/src/shared/months.test.ts +5 -0
- package/src/shared/months.ts +485 -0
- package/src/shared/normalisation.ts +6 -0
- package/src/shared/platform.electron.ts +21 -0
- package/src/shared/platform.ts +20 -0
- package/src/shared/query.ts +176 -0
- package/src/shared/rules.test.ts +56 -0
- package/src/shared/rules.ts +371 -0
- package/src/shared/schedules.test.ts +570 -0
- package/src/shared/schedules.ts +560 -0
- package/src/shared/test-helpers.ts +156 -0
- package/src/shared/transactions.test.ts +275 -0
- package/src/shared/transactions.ts +433 -0
- package/src/shared/transfer.test.ts +75 -0
- package/src/shared/transfer.ts +16 -0
- package/src/shared/user.ts +4 -0
- package/src/shared/util.test.ts +240 -0
- package/src/shared/util.ts +633 -0
- package/src/types/api-handlers.ts +287 -0
- package/src/types/budget.ts +8 -0
- package/src/types/file.ts +47 -0
- package/src/types/handlers.ts +46 -0
- package/src/types/models/account.ts +24 -0
- package/src/types/models/bank-sync.ts +23 -0
- package/src/types/models/bank.ts +6 -0
- package/src/types/models/category-group.ts +11 -0
- package/src/types/models/category.ts +13 -0
- package/src/types/models/dashboard.ts +199 -0
- package/src/types/models/gocardless.ts +84 -0
- package/src/types/models/import-transaction.ts +56 -0
- package/src/types/models/index.ts +23 -0
- package/src/types/models/nearby-payee.ts +7 -0
- package/src/types/models/note.ts +4 -0
- package/src/types/models/openid.ts +8 -0
- package/src/types/models/payee-location.ts +8 -0
- package/src/types/models/payee.ts +10 -0
- package/src/types/models/pluggyai.ts +19 -0
- package/src/types/models/reports.ts +144 -0
- package/src/types/models/rule.ts +174 -0
- package/src/types/models/schedule.ts +49 -0
- package/src/types/models/simplefin.ts +28 -0
- package/src/types/models/tags.ts +6 -0
- package/src/types/models/templates.ts +135 -0
- package/src/types/models/transaction-filter.ts +9 -0
- package/src/types/models/transaction.ts +39 -0
- package/src/types/models/user-access.ts +10 -0
- package/src/types/models/user.ts +25 -0
- package/src/types/prefs.ts +167 -0
- package/src/types/server-events.ts +86 -0
- package/src/types/server-handlers.ts +27 -0
- package/src/types/util.ts +26 -0
- package/tsconfig.json +34 -0
- package/typings/pegjs.ts +1 -0
- package/typings/process-worker.ts +12 -0
- package/typings/vite-plugin-peggy-loader.ts +1 -0
- package/typings/window.ts +62 -0
- package/vite.config.ts +109 -0
- package/vite.desktop.config.ts +59 -0
- package/vitest.config.ts +43 -0
- package/vitest.web.config.ts +38 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Transfer > split transfers are retained on child transactions 1`] = `
|
|
4
|
+
[
|
|
5
|
+
{
|
|
6
|
+
"account": "one",
|
|
7
|
+
"amount": 5000,
|
|
8
|
+
"category": null,
|
|
9
|
+
"cleared": 1,
|
|
10
|
+
"date": 20170101,
|
|
11
|
+
"error": null,
|
|
12
|
+
"id": "id5",
|
|
13
|
+
"imported_id": null,
|
|
14
|
+
"imported_payee": null,
|
|
15
|
+
"is_child": 0,
|
|
16
|
+
"is_parent": 0,
|
|
17
|
+
"notes": null,
|
|
18
|
+
"parent_id": null,
|
|
19
|
+
"payee": "id3",
|
|
20
|
+
"payee_name": "",
|
|
21
|
+
"raw_synced_data": null,
|
|
22
|
+
"reconciled": 0,
|
|
23
|
+
"schedule": null,
|
|
24
|
+
"sort_order": 123456789,
|
|
25
|
+
"starting_balance_flag": 0,
|
|
26
|
+
"tombstone": 0,
|
|
27
|
+
"transfer_id": "id6",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"account": "two",
|
|
31
|
+
"amount": -5000,
|
|
32
|
+
"category": null,
|
|
33
|
+
"cleared": 0,
|
|
34
|
+
"date": 20170101,
|
|
35
|
+
"error": null,
|
|
36
|
+
"id": "id6",
|
|
37
|
+
"imported_id": null,
|
|
38
|
+
"imported_payee": null,
|
|
39
|
+
"is_child": 0,
|
|
40
|
+
"is_parent": 0,
|
|
41
|
+
"notes": null,
|
|
42
|
+
"parent_id": null,
|
|
43
|
+
"payee": "id2",
|
|
44
|
+
"payee_name": "",
|
|
45
|
+
"raw_synced_data": null,
|
|
46
|
+
"reconciled": 0,
|
|
47
|
+
"schedule": null,
|
|
48
|
+
"sort_order": 123456789,
|
|
49
|
+
"starting_balance_flag": 0,
|
|
50
|
+
"tombstone": 0,
|
|
51
|
+
"transfer_id": "id5",
|
|
52
|
+
},
|
|
53
|
+
]
|
|
54
|
+
`;
|
|
55
|
+
|
|
56
|
+
exports[`Transfer > split transfers are retained on child transactions 2`] = `
|
|
57
|
+
"- First value
|
|
58
|
+
+ Second value
|
|
59
|
+
|
|
60
|
+
@@ -8,11 +8,11 @@
|
|
61
|
+
"error": null,
|
|
62
|
+
"id": "id5",
|
|
63
|
+
"imported_id": null,
|
|
64
|
+
"imported_payee": null,
|
|
65
|
+
"is_child": 0,
|
|
66
|
+
- "is_parent": 0,
|
|
67
|
+
+ "is_parent": 1,
|
|
68
|
+
"notes": null,
|
|
69
|
+
"parent_id": null,
|
|
70
|
+
"payee": "id3",
|
|
71
|
+
"payee_name": "",
|
|
72
|
+
"raw_synced_data": null,"
|
|
73
|
+
`;
|
|
74
|
+
|
|
75
|
+
exports[`Transfer > split transfers are retained on child transactions 3`] = `
|
|
76
|
+
"- First value
|
|
77
|
+
+ Second value
|
|
78
|
+
|
|
79
|
+
@@ -22,10 +22,58 @@
|
|
80
|
+
"starting_balance_flag": 0,
|
|
81
|
+
"tombstone": 0,
|
|
82
|
+
"transfer_id": "id6",
|
|
83
|
+
},
|
|
84
|
+
Object {
|
|
85
|
+
+ "account": "one",
|
|
86
|
+
+ "amount": 2000,
|
|
87
|
+
+ "category": null,
|
|
88
|
+
+ "cleared": 1,
|
|
89
|
+
+ "date": 20170101,
|
|
90
|
+
+ "error": null,
|
|
91
|
+
+ "id": "id7",
|
|
92
|
+
+ "imported_id": null,
|
|
93
|
+
+ "imported_payee": null,
|
|
94
|
+
+ "is_child": 1,
|
|
95
|
+
+ "is_parent": 0,
|
|
96
|
+
+ "notes": null,
|
|
97
|
+
+ "parent_id": "id5",
|
|
98
|
+
+ "payee": "id2",
|
|
99
|
+
+ "payee_name": "",
|
|
100
|
+
+ "raw_synced_data": null,
|
|
101
|
+
+ "reconciled": 0,
|
|
102
|
+
+ "schedule": null,
|
|
103
|
+
+ "sort_order": 123456789,
|
|
104
|
+
+ "starting_balance_flag": 0,
|
|
105
|
+
+ "tombstone": 0,
|
|
106
|
+
+ "transfer_id": "id8",
|
|
107
|
+
+ },
|
|
108
|
+
+ Object {
|
|
109
|
+
+ "account": "one",
|
|
110
|
+
+ "amount": -2000,
|
|
111
|
+
+ "category": null,
|
|
112
|
+
+ "cleared": 0,
|
|
113
|
+
+ "date": 20170101,
|
|
114
|
+
+ "error": null,
|
|
115
|
+
+ "id": "id8",
|
|
116
|
+
+ "imported_id": null,
|
|
117
|
+
+ "imported_payee": null,
|
|
118
|
+
+ "is_child": 0,
|
|
119
|
+
+ "is_parent": 0,
|
|
120
|
+
+ "notes": null,
|
|
121
|
+
+ "parent_id": null,
|
|
122
|
+
+ "payee": "id2",
|
|
123
|
+
+ "payee_name": "",
|
|
124
|
+
+ "raw_synced_data": null,
|
|
125
|
+
+ "reconciled": 0,
|
|
126
|
+
+ "schedule": null,
|
|
127
|
+
+ "sort_order": 123456789,
|
|
128
|
+
+ "starting_balance_flag": 0,
|
|
129
|
+
+ "tombstone": 0,
|
|
130
|
+
+ "transfer_id": "id7",
|
|
131
|
+
+ },
|
|
132
|
+
+ Object {
|
|
133
|
+
"account": "two",
|
|
134
|
+
"amount": -5000,
|
|
135
|
+
"category": null,
|
|
136
|
+
"cleared": 0,
|
|
137
|
+
"date": 20170101,"
|
|
138
|
+
`;
|
|
139
|
+
|
|
140
|
+
exports[`Transfer > transfers are properly de-categorized 1`] = `
|
|
141
|
+
[
|
|
142
|
+
{
|
|
143
|
+
"account": "one",
|
|
144
|
+
"amount": 5000,
|
|
145
|
+
"category": "1",
|
|
146
|
+
"cleared": 1,
|
|
147
|
+
"date": 20170101,
|
|
148
|
+
"error": null,
|
|
149
|
+
"id": "id6",
|
|
150
|
+
"imported_id": null,
|
|
151
|
+
"imported_payee": null,
|
|
152
|
+
"is_child": 0,
|
|
153
|
+
"is_parent": 0,
|
|
154
|
+
"notes": null,
|
|
155
|
+
"parent_id": null,
|
|
156
|
+
"payee": "id5",
|
|
157
|
+
"payee_name": "Non-transfer",
|
|
158
|
+
"raw_synced_data": null,
|
|
159
|
+
"reconciled": 0,
|
|
160
|
+
"schedule": null,
|
|
161
|
+
"sort_order": 123456789,
|
|
162
|
+
"starting_balance_flag": 0,
|
|
163
|
+
"tombstone": 0,
|
|
164
|
+
"transfer_id": null,
|
|
165
|
+
},
|
|
166
|
+
]
|
|
167
|
+
`;
|
|
168
|
+
|
|
169
|
+
exports[`Transfer > transfers are properly de-categorized 2`] = `
|
|
170
|
+
"- First value
|
|
171
|
+
+ Second value
|
|
172
|
+
|
|
173
|
+
@@ -9,18 +9,42 @@
|
|
174
|
+
"id": "id6",
|
|
175
|
+
"imported_id": null,
|
|
176
|
+
"imported_payee": null,
|
|
177
|
+
"is_child": 0,
|
|
178
|
+
"is_parent": 0,
|
|
179
|
+
- "notes": null,
|
|
180
|
+
+ "notes": "hi",
|
|
181
|
+
"parent_id": null,
|
|
182
|
+
- "payee": "id5",
|
|
183
|
+
- "payee_name": "Non-transfer",
|
|
184
|
+
+ "payee": "id4",
|
|
185
|
+
+ "payee_name": "",
|
|
186
|
+
"raw_synced_data": null,
|
|
187
|
+
"reconciled": 0,
|
|
188
|
+
"schedule": null,
|
|
189
|
+
"sort_order": 123456789,
|
|
190
|
+
"starting_balance_flag": 0,
|
|
191
|
+
"tombstone": 0,
|
|
192
|
+
- "transfer_id": null,
|
|
193
|
+
+ "transfer_id": "id7",
|
|
194
|
+
+ },
|
|
195
|
+
+ Object {
|
|
196
|
+
+ "account": "three",
|
|
197
|
+
+ "amount": -5000,
|
|
198
|
+
+ "category": null,
|
|
199
|
+
+ "cleared": 0,
|
|
200
|
+
+ "date": 20170101,
|
|
201
|
+
+ "error": null,
|
|
202
|
+
+ "id": "id7",
|
|
203
|
+
+ "imported_id": null,
|
|
204
|
+
+ "imported_payee": null,
|
|
205
|
+
+ "is_child": 0,
|
|
206
|
+
+ "is_parent": 0,
|
|
207
|
+
+ "notes": "hi",
|
|
208
|
+
+ "parent_id": null,
|
|
209
|
+
+ "payee": "id2",
|
|
210
|
+
+ "payee_name": "",
|
|
211
|
+
+ "raw_synced_data": null,
|
|
212
|
+
+ "reconciled": 0,
|
|
213
|
+
+ "schedule": null,
|
|
214
|
+
+ "sort_order": 123456789,
|
|
215
|
+
+ "starting_balance_flag": 0,
|
|
216
|
+
+ "tombstone": 0,
|
|
217
|
+
+ "transfer_id": "id6",
|
|
218
|
+
},
|
|
219
|
+
]"
|
|
220
|
+
`;
|
|
221
|
+
|
|
222
|
+
exports[`Transfer > transfers are properly de-categorized 3`] = `
|
|
223
|
+
"- First value
|
|
224
|
+
+ Second value
|
|
225
|
+
|
|
226
|
+
@@ -1,32 +1,32 @@
|
|
227
|
+
Array [
|
|
228
|
+
Object {
|
|
229
|
+
"account": "one",
|
|
230
|
+
"amount": 5000,
|
|
231
|
+
- "category": "1",
|
|
232
|
+
+ "category": null,
|
|
233
|
+
"cleared": 1,
|
|
234
|
+
"date": 20170101,
|
|
235
|
+
"error": null,
|
|
236
|
+
"id": "id6",
|
|
237
|
+
"imported_id": null,
|
|
238
|
+
"imported_payee": null,
|
|
239
|
+
"is_child": 0,
|
|
240
|
+
"is_parent": 0,
|
|
241
|
+
"notes": "hi",
|
|
242
|
+
"parent_id": null,
|
|
243
|
+
- "payee": "id4",
|
|
244
|
+
+ "payee": "id3",
|
|
245
|
+
"payee_name": "",
|
|
246
|
+
"raw_synced_data": null,
|
|
247
|
+
"reconciled": 0,
|
|
248
|
+
"schedule": null,
|
|
249
|
+
"sort_order": 123456789,
|
|
250
|
+
"starting_balance_flag": 0,
|
|
251
|
+
"tombstone": 0,
|
|
252
|
+
"transfer_id": "id7",
|
|
253
|
+
},
|
|
254
|
+
Object {
|
|
255
|
+
- "account": "three",
|
|
256
|
+
+ "account": "two",
|
|
257
|
+
"amount": -5000,
|
|
258
|
+
"category": null,
|
|
259
|
+
"cleared": 0,
|
|
260
|
+
"date": 20170101,
|
|
261
|
+
"error": null,"
|
|
262
|
+
`;
|
|
263
|
+
|
|
264
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 1`] = `
|
|
265
|
+
[
|
|
266
|
+
{
|
|
267
|
+
"account": "one",
|
|
268
|
+
"amount": 5000,
|
|
269
|
+
"category": null,
|
|
270
|
+
"cleared": 1,
|
|
271
|
+
"date": 20170101,
|
|
272
|
+
"error": null,
|
|
273
|
+
"id": "id6",
|
|
274
|
+
"imported_id": null,
|
|
275
|
+
"imported_payee": null,
|
|
276
|
+
"is_child": 0,
|
|
277
|
+
"is_parent": 0,
|
|
278
|
+
"notes": null,
|
|
279
|
+
"parent_id": null,
|
|
280
|
+
"payee": "id5",
|
|
281
|
+
"payee_name": "Non-transfer",
|
|
282
|
+
"raw_synced_data": null,
|
|
283
|
+
"reconciled": 0,
|
|
284
|
+
"schedule": null,
|
|
285
|
+
"sort_order": 123456789,
|
|
286
|
+
"starting_balance_flag": 0,
|
|
287
|
+
"tombstone": 0,
|
|
288
|
+
"transfer_id": null,
|
|
289
|
+
},
|
|
290
|
+
]
|
|
291
|
+
`;
|
|
292
|
+
|
|
293
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 2`] = `
|
|
294
|
+
"- First value
|
|
295
|
+
+ Second value
|
|
296
|
+
|
|
297
|
+
@@ -21,6 +21,54 @@
|
|
298
|
+
"sort_order": 123456789,
|
|
299
|
+
"starting_balance_flag": 0,
|
|
300
|
+
"tombstone": 0,
|
|
301
|
+
"transfer_id": null,
|
|
302
|
+
},
|
|
303
|
+
+ Object {
|
|
304
|
+
+ "account": "one",
|
|
305
|
+
+ "amount": 5000,
|
|
306
|
+
+ "category": null,
|
|
307
|
+
+ "cleared": 1,
|
|
308
|
+
+ "date": 20170101,
|
|
309
|
+
+ "error": null,
|
|
310
|
+
+ "id": "id7",
|
|
311
|
+
+ "imported_id": null,
|
|
312
|
+
+ "imported_payee": null,
|
|
313
|
+
+ "is_child": 0,
|
|
314
|
+
+ "is_parent": 0,
|
|
315
|
+
+ "notes": null,
|
|
316
|
+
+ "parent_id": null,
|
|
317
|
+
+ "payee": "id3",
|
|
318
|
+
+ "payee_name": "",
|
|
319
|
+
+ "raw_synced_data": null,
|
|
320
|
+
+ "reconciled": 0,
|
|
321
|
+
+ "schedule": null,
|
|
322
|
+
+ "sort_order": 123456789,
|
|
323
|
+
+ "starting_balance_flag": 0,
|
|
324
|
+
+ "tombstone": 0,
|
|
325
|
+
+ "transfer_id": "id8",
|
|
326
|
+
+ },
|
|
327
|
+
+ Object {
|
|
328
|
+
+ "account": "two",
|
|
329
|
+
+ "amount": -5000,
|
|
330
|
+
+ "category": null,
|
|
331
|
+
+ "cleared": 0,
|
|
332
|
+
+ "date": 20170101,
|
|
333
|
+
+ "error": null,
|
|
334
|
+
+ "id": "id8",
|
|
335
|
+
+ "imported_id": null,
|
|
336
|
+
+ "imported_payee": null,
|
|
337
|
+
+ "is_child": 0,
|
|
338
|
+
+ "is_parent": 0,
|
|
339
|
+
+ "notes": null,
|
|
340
|
+
+ "parent_id": null,
|
|
341
|
+
+ "payee": "id2",
|
|
342
|
+
+ "payee_name": "",
|
|
343
|
+
+ "raw_synced_data": null,
|
|
344
|
+
+ "reconciled": 0,
|
|
345
|
+
+ "schedule": null,
|
|
346
|
+
+ "sort_order": 123456789,
|
|
347
|
+
+ "starting_balance_flag": 0,
|
|
348
|
+
+ "tombstone": 0,
|
|
349
|
+
+ "transfer_id": "id7",
|
|
350
|
+
+ },
|
|
351
|
+
]"
|
|
352
|
+
`;
|
|
353
|
+
|
|
354
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 3`] = `
|
|
355
|
+
"- First value
|
|
356
|
+
+ Second value
|
|
357
|
+
|
|
358
|
+
@@ -2,73 +2,73 @@
|
|
359
|
+
Object {
|
|
360
|
+
"account": "one",
|
|
361
|
+
"amount": 5000,
|
|
362
|
+
"category": null,
|
|
363
|
+
"cleared": 1,
|
|
364
|
+
- "date": 20170101,
|
|
365
|
+
+ "date": 20170105,
|
|
366
|
+
"error": null,
|
|
367
|
+
- "id": "id6",
|
|
368
|
+
+ "id": "id7",
|
|
369
|
+
"imported_id": null,
|
|
370
|
+
"imported_payee": null,
|
|
371
|
+
"is_child": 0,
|
|
372
|
+
"is_parent": 0,
|
|
373
|
+
- "notes": null,
|
|
374
|
+
+ "notes": "This is a note",
|
|
375
|
+
"parent_id": null,
|
|
376
|
+
- "payee": "id5",
|
|
377
|
+
- "payee_name": "Non-transfer",
|
|
378
|
+
+ "payee": "id3",
|
|
379
|
+
+ "payee_name": "",
|
|
380
|
+
"raw_synced_data": null,
|
|
381
|
+
"reconciled": 0,
|
|
382
|
+
"schedule": null,
|
|
383
|
+
"sort_order": 123456789,
|
|
384
|
+
"starting_balance_flag": 0,
|
|
385
|
+
"tombstone": 0,
|
|
386
|
+
- "transfer_id": null,
|
|
387
|
+
+ "transfer_id": "id8",
|
|
388
|
+
},
|
|
389
|
+
Object {
|
|
390
|
+
- "account": "one",
|
|
391
|
+
- "amount": 5000,
|
|
392
|
+
+ "account": "two",
|
|
393
|
+
+ "amount": -5000,
|
|
394
|
+
"category": null,
|
|
395
|
+
- "cleared": 1,
|
|
396
|
+
- "date": 20170101,
|
|
397
|
+
+ "cleared": 0,
|
|
398
|
+
+ "date": 20170105,
|
|
399
|
+
"error": null,
|
|
400
|
+
- "id": "id7",
|
|
401
|
+
+ "id": "id8",
|
|
402
|
+
"imported_id": null,
|
|
403
|
+
"imported_payee": null,
|
|
404
|
+
"is_child": 0,
|
|
405
|
+
"is_parent": 0,
|
|
406
|
+
- "notes": null,
|
|
407
|
+
+ "notes": "This is a note",
|
|
408
|
+
"parent_id": null,
|
|
409
|
+
- "payee": "id3",
|
|
410
|
+
+ "payee": "id2",
|
|
411
|
+
"payee_name": "",
|
|
412
|
+
"raw_synced_data": null,
|
|
413
|
+
"reconciled": 0,
|
|
414
|
+
"schedule": null,
|
|
415
|
+
"sort_order": 123456789,
|
|
416
|
+
"starting_balance_flag": 0,
|
|
417
|
+
"tombstone": 0,
|
|
418
|
+
- "transfer_id": "id8",
|
|
419
|
+
+ "transfer_id": "id7",
|
|
420
|
+
},
|
|
421
|
+
Object {
|
|
422
|
+
- "account": "two",
|
|
423
|
+
- "amount": -5000,
|
|
424
|
+
+ "account": "one",
|
|
425
|
+
+ "amount": 5000,
|
|
426
|
+
"category": null,
|
|
427
|
+
- "cleared": 0,
|
|
428
|
+
+ "cleared": 1,
|
|
429
|
+
"date": 20170101,
|
|
430
|
+
"error": null,
|
|
431
|
+
- "id": "id8",
|
|
432
|
+
+ "id": "id6",
|
|
433
|
+
"imported_id": null,
|
|
434
|
+
"imported_payee": null,
|
|
435
|
+
"is_child": 0,
|
|
436
|
+
"is_parent": 0,
|
|
437
|
+
"notes": null,
|
|
438
|
+
"parent_id": null,
|
|
439
|
+
- "payee": "id2",
|
|
440
|
+
- "payee_name": "",
|
|
441
|
+
+ "payee": "id5",
|
|
442
|
+
+ "payee_name": "Non-transfer",
|
|
443
|
+
"raw_synced_data": null,
|
|
444
|
+
"reconciled": 0,
|
|
445
|
+
"schedule": null,
|
|
446
|
+
"sort_order": 123456789,
|
|
447
|
+
"starting_balance_flag": 0,
|
|
448
|
+
"tombstone": 0,
|
|
449
|
+
- "transfer_id": "id7",
|
|
450
|
+
+ "transfer_id": null,
|
|
451
|
+
},
|
|
452
|
+
]"
|
|
453
|
+
`;
|
|
454
|
+
|
|
455
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 4`] = `
|
|
456
|
+
"- First value
|
|
457
|
+
+ Second value
|
|
458
|
+
|
|
459
|
+
@@ -11,22 +11,22 @@
|
|
460
|
+
"imported_payee": null,
|
|
461
|
+
"is_child": 0,
|
|
462
|
+
"is_parent": 0,
|
|
463
|
+
"notes": "This is a note",
|
|
464
|
+
"parent_id": null,
|
|
465
|
+
- "payee": "id3",
|
|
466
|
+
+ "payee": "id4",
|
|
467
|
+
"payee_name": "",
|
|
468
|
+
"raw_synced_data": null,
|
|
469
|
+
"reconciled": 0,
|
|
470
|
+
"schedule": null,
|
|
471
|
+
"sort_order": 123456789,
|
|
472
|
+
"starting_balance_flag": 0,
|
|
473
|
+
"tombstone": 0,
|
|
474
|
+
"transfer_id": "id8",
|
|
475
|
+
},
|
|
476
|
+
Object {
|
|
477
|
+
- "account": "two",
|
|
478
|
+
+ "account": "three",
|
|
479
|
+
"amount": -5000,
|
|
480
|
+
"category": null,
|
|
481
|
+
"cleared": 0,
|
|
482
|
+
"date": 20170105,
|
|
483
|
+
"error": null,"
|
|
484
|
+
`;
|
|
485
|
+
|
|
486
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 5`] = `
|
|
487
|
+
"- First value
|
|
488
|
+
+ Second value
|
|
489
|
+
|
|
490
|
+
@@ -11,43 +11,19 @@
|
|
491
|
+
"imported_payee": null,
|
|
492
|
+
"is_child": 0,
|
|
493
|
+
"is_parent": 0,
|
|
494
|
+
"notes": "This is a note",
|
|
495
|
+
"parent_id": null,
|
|
496
|
+
- "payee": "id4",
|
|
497
|
+
- "payee_name": "",
|
|
498
|
+
+ "payee": "id9",
|
|
499
|
+
+ "payee_name": "Not transferred anymore",
|
|
500
|
+
"raw_synced_data": null,
|
|
501
|
+
"reconciled": 0,
|
|
502
|
+
"schedule": null,
|
|
503
|
+
"sort_order": 123456789,
|
|
504
|
+
"starting_balance_flag": 0,
|
|
505
|
+
"tombstone": 0,
|
|
506
|
+
- "transfer_id": "id8",
|
|
507
|
+
- },
|
|
508
|
+
- Object {
|
|
509
|
+
- "account": "three",
|
|
510
|
+
- "amount": -5000,
|
|
511
|
+
- "category": null,
|
|
512
|
+
- "cleared": 0,
|
|
513
|
+
- "date": 20170105,
|
|
514
|
+
- "error": null,
|
|
515
|
+
- "id": "id8",
|
|
516
|
+
- "imported_id": null,
|
|
517
|
+
- "imported_payee": null,
|
|
518
|
+
- "is_child": 0,
|
|
519
|
+
- "is_parent": 0,
|
|
520
|
+
- "notes": "This is a note",
|
|
521
|
+
- "parent_id": null,
|
|
522
|
+
- "payee": "id2",
|
|
523
|
+
- "payee_name": "",
|
|
524
|
+
- "raw_synced_data": null,
|
|
525
|
+
- "reconciled": 0,
|
|
526
|
+
- "schedule": null,
|
|
527
|
+
- "sort_order": 123456789,
|
|
528
|
+
- "starting_balance_flag": 0,
|
|
529
|
+
- "tombstone": 0,
|
|
530
|
+
- "transfer_id": "id7",
|
|
531
|
+
+ "transfer_id": null,
|
|
532
|
+
},
|
|
533
|
+
Object {
|
|
534
|
+
"account": "one",
|
|
535
|
+
"amount": 5000,
|
|
536
|
+
"category": null,"
|
|
537
|
+
`;
|
|
538
|
+
|
|
539
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 6`] = `
|
|
540
|
+
"- First value
|
|
541
|
+
+ Second value
|
|
542
|
+
|
|
543
|
+
@@ -11,19 +11,43 @@
|
|
544
|
+
"imported_payee": null,
|
|
545
|
+
"is_child": 0,
|
|
546
|
+
"is_parent": 0,
|
|
547
|
+
"notes": "This is a note",
|
|
548
|
+
"parent_id": null,
|
|
549
|
+
- "payee": "id9",
|
|
550
|
+
- "payee_name": "Not transferred anymore",
|
|
551
|
+
+ "payee": "id3",
|
|
552
|
+
+ "payee_name": "",
|
|
553
|
+
"raw_synced_data": null,
|
|
554
|
+
"reconciled": 0,
|
|
555
|
+
"schedule": null,
|
|
556
|
+
"sort_order": 123456789,
|
|
557
|
+
"starting_balance_flag": 0,
|
|
558
|
+
"tombstone": 0,
|
|
559
|
+
- "transfer_id": null,
|
|
560
|
+
+ "transfer_id": "id10",
|
|
561
|
+
+ },
|
|
562
|
+
+ Object {
|
|
563
|
+
+ "account": "two",
|
|
564
|
+
+ "amount": -5000,
|
|
565
|
+
+ "category": null,
|
|
566
|
+
+ "cleared": 0,
|
|
567
|
+
+ "date": 20170105,
|
|
568
|
+
+ "error": null,
|
|
569
|
+
+ "id": "id10",
|
|
570
|
+
+ "imported_id": null,
|
|
571
|
+
+ "imported_payee": null,
|
|
572
|
+
+ "is_child": 0,
|
|
573
|
+
+ "is_parent": 0,
|
|
574
|
+
+ "notes": "This is a note",
|
|
575
|
+
+ "parent_id": null,
|
|
576
|
+
+ "payee": "id2",
|
|
577
|
+
+ "payee_name": "",
|
|
578
|
+
+ "raw_synced_data": null,
|
|
579
|
+
+ "reconciled": 0,
|
|
580
|
+
+ "schedule": null,
|
|
581
|
+
+ "sort_order": 123456789,
|
|
582
|
+
+ "starting_balance_flag": 0,
|
|
583
|
+
+ "tombstone": 0,
|
|
584
|
+
+ "transfer_id": "id7",
|
|
585
|
+
},
|
|
586
|
+
Object {
|
|
587
|
+
"account": "one",
|
|
588
|
+
"amount": 5000,
|
|
589
|
+
"category": null,"
|
|
590
|
+
`;
|
|
591
|
+
|
|
592
|
+
exports[`Transfer > transfers are properly inserted/updated/deleted 7`] = `
|
|
593
|
+
"- First value
|
|
594
|
+
+ Second value
|
|
595
|
+
|
|
596
|
+
@@ -2,58 +2,10 @@
|
|
597
|
+
Object {
|
|
598
|
+
"account": "one",
|
|
599
|
+
"amount": 5000,
|
|
600
|
+
"category": null,
|
|
601
|
+
"cleared": 1,
|
|
602
|
+
- "date": 20170105,
|
|
603
|
+
- "error": null,
|
|
604
|
+
- "id": "id7",
|
|
605
|
+
- "imported_id": null,
|
|
606
|
+
- "imported_payee": null,
|
|
607
|
+
- "is_child": 0,
|
|
608
|
+
- "is_parent": 0,
|
|
609
|
+
- "notes": "This is a note",
|
|
610
|
+
- "parent_id": null,
|
|
611
|
+
- "payee": "id3",
|
|
612
|
+
- "payee_name": "",
|
|
613
|
+
- "raw_synced_data": null,
|
|
614
|
+
- "reconciled": 0,
|
|
615
|
+
- "schedule": null,
|
|
616
|
+
- "sort_order": 123456789,
|
|
617
|
+
- "starting_balance_flag": 0,
|
|
618
|
+
- "tombstone": 0,
|
|
619
|
+
- "transfer_id": "id10",
|
|
620
|
+
- },
|
|
621
|
+
- Object {
|
|
622
|
+
- "account": "two",
|
|
623
|
+
- "amount": -5000,
|
|
624
|
+
- "category": null,
|
|
625
|
+
- "cleared": 0,
|
|
626
|
+
- "date": 20170105,
|
|
627
|
+
- "error": null,
|
|
628
|
+
- "id": "id10",
|
|
629
|
+
- "imported_id": null,
|
|
630
|
+
- "imported_payee": null,
|
|
631
|
+
- "is_child": 0,
|
|
632
|
+
- "is_parent": 0,
|
|
633
|
+
- "notes": "This is a note",
|
|
634
|
+
- "parent_id": null,
|
|
635
|
+
- "payee": "id2",
|
|
636
|
+
- "payee_name": "",
|
|
637
|
+
- "raw_synced_data": null,
|
|
638
|
+
- "reconciled": 0,
|
|
639
|
+
- "schedule": null,
|
|
640
|
+
- "sort_order": 123456789,
|
|
641
|
+
- "starting_balance_flag": 0,
|
|
642
|
+
- "tombstone": 0,
|
|
643
|
+
- "transfer_id": "id7",
|
|
644
|
+
- },
|
|
645
|
+
- Object {
|
|
646
|
+
- "account": "one",
|
|
647
|
+
- "amount": 5000,
|
|
648
|
+
- "category": null,
|
|
649
|
+
- "cleared": 1,
|
|
650
|
+
"date": 20170101,
|
|
651
|
+
"error": null,
|
|
652
|
+
"id": "id6",
|
|
653
|
+
"imported_id": null,
|
|
654
|
+
"imported_payee": null,"
|
|
655
|
+
`;
|