taxtank-core 0.32.128 → 0.32.130

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,7 +1,8 @@
1
- import { BankAccount, BankTransaction, IncomeSource, MonthNumberEnum } from '../models';
1
+ import { BankTransaction, IncomeSource, MonthNumberEnum } from '../models';
2
2
  import { Collection } from './collection';
3
3
  import { CollectionDictionary } from './collection-dictionary';
4
4
  import { TransactionAllocationCollection } from './transaction';
5
+ import { BankAccountCollection } from './bank-account.collection';
5
6
  /**
6
7
  * Collection of bank transactions.
7
8
  * IMPORTANT: Create this collection based on bank transactions from TransactionAllocationService
@@ -40,7 +41,7 @@ export declare class BankTransactionCollection extends Collection<BankTransactio
40
41
  * get list of transactions by provided bank accounts
41
42
  * @param bankAccounts by which transactions should be returned
42
43
  */
43
- getByBankAccounts(bankAccounts: BankAccount[]): BankTransaction[];
44
+ getByBankAccounts(bankAccounts: BankAccountCollection): BankTransactionCollection;
44
45
  /**
45
46
  * get list of transactions by provided ids of bank accounts
46
47
  * @param ids of bank accounts
@@ -98,4 +98,5 @@ export declare class TransactionCollection extends ExportableCollection<Transact
98
98
  * @TODO vik business transactions calculated differently, separated collection?
99
99
  */
100
100
  getBusinessClaimAmount(businessId?: number): number;
101
+ getTaxable(): this;
101
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.128",
3
+ "version": "0.32.130",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",