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.
@@ -1,6 +1,16 @@
1
- import { PropertyShare } from "../../models";
2
- import { Collection } from "../collection";
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: any;
10
- collectionClass: any;
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",