Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Updated ignored categories (#471)
Browse files Browse the repository at this point in the history
* Update bridge-api-categories.js

* Update nag-categories.js

* Update bridge-api-categories.js

* Linting.

Co-authored-by: Pierre Segonne <32778266+pierresegonne@users.noreply.github.com>
Co-authored-by: Pierre Segonne <pierre.segonne@student.ecp.fr>
  • Loading branch information
3 people committed Oct 30, 2020
1 parent 3988375 commit fc9824b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
16 changes: 0 additions & 16 deletions integrations/purchase/bridge/bridge-api-categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,29 +213,13 @@ export const BRIDGE_API_CATEGORIES = Object.entries(idToCategory).reduce(
// To be created with the ignored=true value
export const CATEGORIES_TO_IGNORE = [
230, // Salaries
80, // Interest incomes
3, // Other incomes
289, // Savings
283, // Business refunds
282, // Internal transfer
279, // Retirement
271, // Deposit
233, // Extra incomes
2, // - Incomes
441894, // Loans
441893, // Grants
327, // Pension
89, // Mortgage refund
194, // Mortgage
192, // Savings
441891, // Salary of executives
441890, // Salaries
441886, // Employer contributions
303, // - Withdrawals, checks & transfer
326, // Internal transfer
88, // Checks
85, // Withdrawals
78, // Transfer
159, // - Taxes
302, // Taxes
209, // Property taxes
Expand Down
17 changes: 0 additions & 17 deletions integrations/purchase/nordic-api-gateway/nag-categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,35 +151,18 @@ export const NAG_CATEGORY = Object.entries(categoryToCategory).reduce(
// Deliberately want activities that match the following
// To be created with the ignored=true value
export const CATEGORIES_TO_IGNORE = [
'Auto Loan etc.',
'Child Benefits',
'Child Care & Tuition',
'Child Savings',
'Consumer Loan',
'Debt & Interest',
'Fines',
'Holiday Pay',
'Housing Benefit',
'Income',
'Interest',
'Interest Income',
'Other Income',
'Other Savings',
'Overpaid Tax',
'Pension & Savings',
'Pension Payout',
'Pension Savings',
'Private Loan (Friends & Family)',
'Property Tax',
'Public fee',
'Salary',
'Road Tax & Green Tax',
'Salary',
'Stock Trading',
'Student Grant',
'Student Loan',
// 'Transfer', discuss if should be ignored
'Unemployment Benefits',
'Unpayed Tax',
'Yield & Returns',
];

0 comments on commit fc9824b

Please sign in to comment.