taxtank-core 0.28.111 → 0.28.112

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.
@@ -19,6 +19,7 @@ export declare class TransactionCollection extends ExportableCollection<Transact
19
19
  constructor(transactions?: Transaction[], depreciations?: Depreciation[]);
20
20
  getSoleTransactions(): this;
21
21
  get amount(): number;
22
+ getUnallocated(allocations: TransactionAllocationCollection): TransactionCollection;
22
23
  getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
23
24
  /**
24
25
  * get date of the last transaction
@@ -23,11 +23,6 @@ export declare class TransactionCalculationService {
23
23
  * @TODO Alex: consider to move to collection
24
24
  */
25
25
  getAllocatedTransactions(transactions: TransactionCollection, allocations: TransactionAllocationCollection): TransactionCollection;
26
- /**
27
- * Get collection of unallocated transactions
28
- * @TODO Alex: consider to move to collection
29
- */
30
- getUnallocatedTransactions(transactions: TransactionCollection, allocations: TransactionAllocationCollection): TransactionCollection;
31
26
  getUnallocatedInvoices(invoices: SoleInvoiceCollection, allocations: TransactionAllocationCollection): SoleInvoiceCollection;
32
27
  /**
33
28
  * Get invoices allocated amounts grouped bu invoice id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.111",
3
+ "version": "0.28.112",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",