taxtank-core 0.30.123 → 0.30.124
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/esm2020/lib/collections/tax-summary/tax-return-categories.const.mjs +2 -2
- package/esm2020/lib/models/tax-summary/tax-summary.mjs +13 -3
- package/esm2020/lib/services/http/bank/basiq/basiq.service.mjs +2 -13
- package/fesm2015/taxtank-core.mjs +10 -11
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +10 -11
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/tax-summary/tax-return-categories.const.d.ts +1 -1
- package/lib/models/tax-summary/tax-summary.d.ts +3 -0
- package/lib/services/http/bank/basiq/basiq.service.d.ts +0 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaxReturnCategoryListEnum } from '../../db/Enums
|
|
1
|
+
import { TaxReturnCategoryListEnum } from '../../db/Enums';
|
|
2
2
|
export declare const TAX_RETURN_CATEGORIES: {
|
|
3
3
|
[key: string]: {
|
|
4
4
|
[key: string]: TaxReturnCategoryListEnum[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TaxSummarySection } from './tax-summary-section';
|
|
2
|
+
import { ReportItemCollection } from '../../collections';
|
|
2
3
|
import { SoleBusiness } from '../sole';
|
|
3
4
|
/**
|
|
4
5
|
* @Todo refactor with base model when it will be provided
|
|
@@ -12,12 +13,14 @@ export declare class TaxSummary {
|
|
|
12
13
|
summary: TaxSummarySection;
|
|
13
14
|
projectedTaxPosition: number;
|
|
14
15
|
get sections(): TaxSummarySection[];
|
|
16
|
+
getReportItems(sections: TaxSummarySection[]): ReportItemCollection;
|
|
15
17
|
get taxPercent(): number;
|
|
16
18
|
/**
|
|
17
19
|
* Work Net Cash = Income - tax withheld - expenses - interest
|
|
18
20
|
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
19
21
|
*/
|
|
20
22
|
get workNetCash(): number;
|
|
23
|
+
get income(): number;
|
|
21
24
|
/**
|
|
22
25
|
* Work Net Total = Income - expenses - interest
|
|
23
26
|
* https://taxtank.atlassian.net/wiki/spaces/TAXTANK/pages/217677990/Dashboard+Main
|
|
@@ -74,10 +74,6 @@ export declare class BasiqService extends RestService<BankAccountBase, BankAccou
|
|
|
74
74
|
* @returns observable boolean. True - accounts retrieved, false - accounts not retrieved (time is out)
|
|
75
75
|
*/
|
|
76
76
|
watchBankAccountsRetrieved(jobId: string): Observable<boolean>;
|
|
77
|
-
/**
|
|
78
|
-
* Ask backend to update user's basiq consent flag
|
|
79
|
-
*/
|
|
80
|
-
updateBasiqConsentAgreement(): void;
|
|
81
77
|
/**
|
|
82
78
|
* listen to notifications to update basiq accounts list
|
|
83
79
|
*/
|