taxtank-core 0.29.0 → 0.29.1
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 +25 -6
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/chart-accounts.collection.js +2 -1
- package/esm2015/lib/collections/property/property-share.collection.js +12 -2
- package/esm2015/lib/services/account-setup/account-setup.service.js +1 -2
- package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +4 -1
- package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +4 -3
- package/esm2015/lib/services/http/loan/loan.service.js +5 -4
- package/esm2015/lib/services/http/rest/rest.service.js +5 -1
- package/fesm2015/taxtank-core.js +25 -6
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/property/property-share.collection.d.ts +12 -2
- package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +3 -0
- package/lib/services/http/bank/basiq/basiq-token.service.d.ts +2 -2
- package/lib/services/http/loan/loan.service.d.ts +3 -3
- package/lib/services/http/rest/rest.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { PropertyShare } from
|
|
2
|
-
import { Collection } from
|
|
1
|
+
import { PropertyShare } from '../../models';
|
|
2
|
+
import { Collection } from '../collection';
|
|
3
3
|
export declare class PropertyShareCollection extends Collection<PropertyShare> {
|
|
4
|
+
/**
|
|
5
|
+
* Get list of incoming property shares
|
|
6
|
+
* (initiated not by current user)
|
|
7
|
+
* @TODO Alex: rename
|
|
8
|
+
*/
|
|
4
9
|
getIncoming(): this;
|
|
10
|
+
/**
|
|
11
|
+
* Get list of outcoming property shares
|
|
12
|
+
* (initiated by current user)
|
|
13
|
+
* @TODO Alex: rename
|
|
14
|
+
*/
|
|
5
15
|
getOutcoming(): this;
|
|
6
16
|
}
|
|
@@ -25,6 +25,9 @@ export declare class BankConnectionService extends RestService<BankConnectionBas
|
|
|
25
25
|
disabledMethods: RestMethod[];
|
|
26
26
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, toastService: ToastService);
|
|
27
27
|
listenEvents(): void;
|
|
28
|
+
/**
|
|
29
|
+
* POST endpoint is using for create and for update.
|
|
30
|
+
*/
|
|
28
31
|
post(bankConnection: BankConnection): Observable<BankConnection>;
|
|
29
32
|
/**
|
|
30
33
|
* Update cache when basiq accounts were retrieved or login to basic was failed to get actual connections statuses
|
|
@@ -6,8 +6,8 @@ import { Collection } from '../../../../collections';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BasiqTokenService extends RestService<AbstractModel, BasiqToken, Collection<BasiqToken>> {
|
|
8
8
|
protected endpointUri: string;
|
|
9
|
-
modelClass:
|
|
10
|
-
collectionClass:
|
|
9
|
+
modelClass: typeof BasiqToken;
|
|
10
|
+
collectionClass: typeof Collection;
|
|
11
11
|
disabledMethods: RestMethod[];
|
|
12
12
|
/**
|
|
13
13
|
* Access token to use basiq flow
|
|
@@ -23,20 +23,20 @@ export declare class LoanService extends RestService<LoanBase, Loan, LoanCollect
|
|
|
23
23
|
calculateLoanPayments(loan: Loan): Observable<any>;
|
|
24
24
|
/**
|
|
25
25
|
* Add new loan payout
|
|
26
|
-
* @TODO Vik: fix api (remove loan id from URL)
|
|
26
|
+
* @TODO Vik (TT-2670): fix api (remove loan id from URL)
|
|
27
27
|
* @TODO Alex: move to separated service
|
|
28
28
|
*/
|
|
29
29
|
addPayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
|
|
30
30
|
/**
|
|
31
31
|
* Delete loan payout
|
|
32
|
-
* @TODO Vik: fix api (remove loan id from URL)
|
|
32
|
+
* @TODO (TT-2670): Vik: fix api (remove loan id from URL)
|
|
33
33
|
* @TODO Alex: move to separated service
|
|
34
34
|
*/
|
|
35
35
|
deletePayoutLoan(loan: Loan, payout: LoanPayout): Observable<any>;
|
|
36
36
|
/**
|
|
37
37
|
* Update loan payout
|
|
38
38
|
*
|
|
39
|
-
* @TODO Vik: fix api (remove loan id from URL)
|
|
39
|
+
* @TODO Vik (TT-2670): fix api (remove loan id from URL)
|
|
40
40
|
* @TODO Alex: move to separated service
|
|
41
41
|
*/
|
|
42
42
|
updatePayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
|
|
@@ -45,6 +45,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
|
|
|
45
45
|
protected isApiPlatform: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* List of methods unavailable for current API
|
|
48
|
+
* @TODO Alex: add and handle enabled methods too
|
|
48
49
|
*/
|
|
49
50
|
disabledMethods: RestMethod[];
|
|
50
51
|
constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
|