taxtank-core 0.28.59 → 0.28.61

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.
@@ -51,6 +51,7 @@ export declare class Transaction extends TransactionBase implements Expense, IRe
51
51
  isVehicleTransaction(): boolean;
52
52
  /**
53
53
  * Get net amount (clean amount after all deductions)
54
+ * @TODO Alex: remove, this.amount should be netAmount actually
54
55
  */
55
56
  getNetAmount(): number;
56
57
  /**
@@ -99,4 +100,9 @@ export declare class Transaction extends TransactionBase implements Expense, IRe
99
100
  * Get transaction unallocated amount
100
101
  */
101
102
  getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
103
+ /**
104
+ * Total transaction amount including taxes and other additional amounts
105
+ * @TODO Alex: refactor everything related to amounts
106
+ */
107
+ get grossAmount(): number;
102
108
  }
@@ -8,6 +8,10 @@ export declare class ClientInviteService extends RestService<ClientInviteBase, C
8
8
  url: string;
9
9
  modelClass: typeof ClientInvite;
10
10
  listenEvents(): void;
11
+ /**
12
+ * Get clients from the different endpoints depending on whether the current user is a client or an employee
13
+ */
14
+ get(fromEmployee?: boolean): Observable<ClientInvite[]>;
11
15
  /**
12
16
  * Import employees for firm from CSV file
13
17
  * @param file
@@ -7,7 +7,7 @@ import { CollectionDictionary } from '../../collections/collection-dictionary';
7
7
  import { BankTransactionCollection } from '../../collections/bank-transaction.collection';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
- * @TODO move to collection
10
+ * @TODO Alex: refactor, move methods to collections and models, remove this service
11
11
  */
12
12
  export declare class TransactionCalculationService {
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.59",
3
+ "version": "0.28.61",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",