taxtank-core 0.2.0 → 0.2.4
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/bundles/taxtank-core.umd.js +32 -11
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/db/Enums/chart-accounts-metadata-list.enum.js +2 -3
- package/esm2015/lib/models/endpoint/endpoints.const.js +3 -1
- package/esm2015/lib/models/transaction/transaction.js +5 -5
- package/esm2015/lib/services/bank/bank-account.service.js +7 -1
- package/esm2015/lib/services/bank/bank-connection.service.js +10 -1
- package/esm2015/lib/services/firm/firm.service.js +2 -2
- package/fesm2015/taxtank-core.js +27 -11
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/db/Enums/chart-accounts-metadata-list.enum.d.ts +1 -2
- package/lib/models/transaction/transaction.d.ts +1 -3
- package/lib/services/bank/bank-account.service.d.ts +1 -0
- package/lib/services/bank/bank-connection.service.d.ts +2 -0
- package/lib/services/firm/firm.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -57,9 +57,7 @@ export declare class Transaction extends TransactionBase implements IReceipt, IT
|
|
|
57
57
|
* Get gross income amount
|
|
58
58
|
*/
|
|
59
59
|
getGrossIncome(): number;
|
|
60
|
-
|
|
61
|
-
* find franking credits metadata and return value
|
|
62
|
-
*/
|
|
60
|
+
get taxFreeComponent(): number;
|
|
63
61
|
get frankingCredit(): number;
|
|
64
62
|
get untaxedElement(): number;
|
|
65
63
|
/**
|
|
@@ -38,6 +38,7 @@ export declare class BankAccountService extends BaseRestService<BankAccountBase,
|
|
|
38
38
|
* Update bank account current balance
|
|
39
39
|
*/
|
|
40
40
|
updateCurrentBalance(bankAccount: BankAccount): Observable<BankAccount>;
|
|
41
|
+
getOwn(): Observable<BankAccount[]>;
|
|
41
42
|
/**
|
|
42
43
|
* Listen to EventDispatcherService events
|
|
43
44
|
*/
|
|
@@ -16,7 +16,9 @@ export declare class BankConnectionService extends BaseRestService<BankConnectio
|
|
|
16
16
|
modelClass: typeof BankConnection;
|
|
17
17
|
url: string;
|
|
18
18
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|
|
19
|
+
listenEvents(): void;
|
|
19
20
|
post(bankConnection: BankConnection): Observable<BankConnection>;
|
|
21
|
+
listenToAddedBankAccounts(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<BankConnectionService, never>;
|
|
21
23
|
static ɵprov: i0.ɵɵInjectableDeclaration<BankConnectionService>;
|
|
22
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
3
|
import { FirmTypeEnum } from '../../db/Enums/firm-type.enum';
|
|
4
|
-
import { Firm } from '../../
|
|
4
|
+
import { Firm } from '../../models/firm/firm';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class FirmService {
|
|
7
7
|
private http;
|