taxtank-core 0.32.35 → 0.32.36

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.
@@ -18,6 +18,7 @@ export declare class TransactionCollection extends ExportableCollection<Transact
18
18
  constructor(transactions?: Transaction[], depreciations?: Depreciation[]);
19
19
  getSoleTransactions(): this;
20
20
  get amount(): number;
21
+ getFindAndMatch(allocations: TransactionAllocationCollection): this;
21
22
  getUnallocated(allocations: TransactionAllocationCollection): TransactionCollection;
22
23
  getUnallocatedAmount(allocations: TransactionAllocationCollection): number;
23
24
  /**
@@ -0,0 +1,4 @@
1
+ export declare enum ChartAccountsUnallocatableListEnum {
2
+ HOME_OFFICE_WORK_HOURS = 103,
3
+ HOME_OFFICE_SOLE_HOURS = 888
4
+ }
@@ -5,6 +5,7 @@ export * from './chart-accounts-heading-tax-deductible.enum';
5
5
  export * from './chart-accounts-heading-taxable.enum';
6
6
  export * from './chart-accounts-heading-vehicle-list.enum';
7
7
  export * from './chart-accounts-list.enum';
8
+ export * from './chart-accounts-unallocatable-list.enum';
8
9
  export * from './chart-accounts-meta-field-list.enum';
9
10
  export * from './chart-accounts-meta-field-type.enum';
10
11
  export * from './chart-accounts-salary-adjustments-list.enum';
@@ -71,6 +71,7 @@ export declare class Transaction extends TransactionBase implements Expense {
71
71
  */
72
72
  getMetaFieldValue(field: ChartAccountsMetaFieldListEnum): number;
73
73
  isCash(): boolean;
74
+ canFindAndMatch(allocations: TransactionAllocationCollection): boolean;
74
75
  /**
75
76
  * Create Depreciation instance based on Transaction
76
77
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.35",
3
+ "version": "0.32.36",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",