taxtank-core 0.28.8 → 0.28.9

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.
@@ -68,5 +68,5 @@ export declare class BankTransactionCollection extends Collection<BankTransactio
68
68
  /**
69
69
  * Get collection of unallocated bankTransactions
70
70
  */
71
- getUnallocatedBankTransactions(allocations: TransactionAllocationCollection): BankTransactionCollection;
71
+ getUnallocated(allocations: TransactionAllocationCollection): BankTransactionCollection;
72
72
  }
@@ -2,6 +2,7 @@ import { BankAccountCollection } from '../../collections/bank-account.collection
2
2
  import { BankTransactionCollection } from '../../collections/bank-transaction.collection';
3
3
  import { TransactionAllocationCollection } from '../../collections/transaction/transaction-allocation.collection';
4
4
  import { BankTransactionCalculationService } from './bank-transaction-calculation.service';
5
+ import { BankAccount } from '../../models/bank/bank-account';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class BankAccountCalculationService {
7
8
  private bankTransactionCalculationService;
@@ -9,7 +10,7 @@ export declare class BankAccountCalculationService {
9
10
  /**
10
11
  * Sum of bank accounts opening balances and their bank transactions allocated amounts
11
12
  */
12
- getTaxTankBalance(bankAccounts: BankAccountCollection, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): number;
13
+ getTaxTankBalance(bankAccounts: BankAccountCollection | BankAccount, bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): number;
13
14
  /**
14
15
  * get difference between total loans amount and total cash amount
15
16
  */
@@ -27,7 +27,7 @@ export declare class BankTransactionCalculationService {
27
27
  * Get collection of unallocated bank transactions
28
28
  * @TODO Alex: consider to move to collection
29
29
  */
30
- getUnallocatedBankTransactions(bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): BankTransactionCollection;
30
+ getUnallocated(bankTransactions: BankTransactionCollection, allocations: TransactionAllocationCollection): BankTransactionCollection;
31
31
  /**
32
32
  * Allocated sum of credit transactions
33
33
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.8",
3
+ "version": "0.28.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",