taxtank-core 1.0.4 → 1.0.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.0.2",
@@ -32,7 +32,7 @@ export declare abstract class RestService<BaseModel, Model extends BaseModel> {
32
32
  /**
33
33
  * get list of base class instances directly from backend
34
34
  */
35
- protected fetch(path?: string, cache?: boolean): Observable<Model[]>;
35
+ protected fetch(path?: string, cache?: boolean, params?: {}): Observable<Model[]>;
36
36
  /**
37
37
  * get cached list of all instances
38
38
  */
@@ -6,6 +6,7 @@ import { Transaction } from '../../../models';
6
6
  import { HttpClient } from '@angular/common/http';
7
7
  import { EventDispatcherService } from '../../event';
8
8
  import { IEventListener } from '../../../interfaces';
9
+ import { PropertyCategoryListEnum } from '../../../db/Enums/property/property-category-list.enum';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * Service for transactions business logic
@@ -41,7 +42,7 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
41
42
  * Get list of property holding costs (transactions related to vacant land property)
42
43
  */
43
44
  getPropertyHoldingCosts(propertyId: number): Observable<Transaction[]>;
44
- getWithoutTaxFreeProperty(): Observable<Transaction[]>;
45
+ getWithoutTaxFreeProperty(categories?: PropertyCategoryListEnum[] | string[]): Observable<Transaction[]>;
45
46
  private groupByParent;
46
47
  /**
47
48
  * get list of taxable transactions with tank type 'Work'