taxtank-core 0.33.21 → 0.33.23

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.33.21",
3
+ "version": "0.33.23",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -2,7 +2,7 @@ import { Collection } from '../../collection';
2
2
  import { TransactionReportItem } from '../../../models/report';
3
3
  import { TransactionCollection } from '../../transaction';
4
4
  export declare class TransactionReportItemCollection extends Collection<TransactionReportItem> {
5
- constructor(transactions: TransactionCollection, priorTransactions: TransactionCollection);
5
+ static fromTransactions(transactions: TransactionCollection, priorTransactions: TransactionCollection): TransactionReportItemCollection;
6
6
  get months(): number[];
7
7
  sumBy(path: string, abs?: boolean): number;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  import { TransactionCollection } from '../../../collections';
2
- import { TankTypeEnum } from '../../../db/Enums/tank-type.enum';
2
+ import { ChartAccountsCategoryEnum } from '../../../db/Enums';
3
3
  export declare class TransactionReportItem {
4
- tankType: TankTypeEnum;
5
- category: string;
4
+ category: ChartAccountsCategoryEnum;
5
+ name: string;
6
6
  months: number[];
7
7
  amount: number;
8
8
  claimAmount: number;
@@ -26,7 +26,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
26
26
  * get list of all user's TaxTank transactions
27
27
  */
28
28
  get(): Observable<Transaction[]>;
29
- getPriorYear(): Observable<Transaction[]>;
30
29
  getByYear(year?: FinancialYear): Observable<Transaction[]>;
31
30
  /**
32
31
  * Add single new transaction