taxtank-core 0.33.26 → 0.33.27

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.26",
3
+ "version": "0.33.27",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0",
@@ -35,25 +35,24 @@ export declare enum AppEventTypeEnum {
35
35
  PROPERTY_MOVEMENT_CREATED = 30,
36
36
  PROPERTY_MOVEMENT_UPDATED = 31,
37
37
  PROPERTY_MOVEMENT_DELETED = 32,
38
- PROPERTY_SHARE_UPDATED = 33,
39
- PROPERTY_SALE_ADDED = 34,
40
- PROPERTY_SALE_DELETED = 35,
41
- PROPERTY_SUBSCRIPTION_ADDED = 36,
42
- PROPERTY_SUBSCRIPTION_DELETED = 37,
43
- PROPERTY_VALUATION_DOCUMENT_CREATED = 38,
44
- SOLE_DEPRECIATION_METHOD_UPDATED = 39,
45
- SOLE_INVOICE_PUBLISHED = 40,
46
- TAX_REVIEW_UPDATED = 41,
47
- TRANSACTION_ALLOCATION_CREATED = 42,
48
- TRANSACTION_ALLOCATION_DELETED = 43,
49
- TRANSACTION_CREATED = 44,
50
- TRANSACTION_DELETED = 45,
51
- TRANSACTION_UPDATED = 46,
52
- TRANSACTIONS_CREATED = 47,
53
- VEHICLE_CLAIM_DETAILS_UPDATED = 48,
54
- VEHICLE_CLAIM_DETAILS_CREATED = 49,
55
- VEHICLE_LOGBOOK_CREATED = 50,
56
- VEHICLE_LOGBOOK_UPDATED = 51,
57
- VEHICLE_LOGBOOK_DELETED = 52,
58
- VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 53
38
+ PROPERTY_SALE_ADDED = 33,
39
+ PROPERTY_SALE_DELETED = 34,
40
+ PROPERTY_SUBSCRIPTION_ADDED = 35,
41
+ PROPERTY_SUBSCRIPTION_DELETED = 36,
42
+ PROPERTY_VALUATION_DOCUMENT_CREATED = 37,
43
+ SOLE_DEPRECIATION_METHOD_UPDATED = 38,
44
+ SOLE_INVOICE_PUBLISHED = 39,
45
+ TAX_REVIEW_UPDATED = 40,
46
+ TRANSACTION_ALLOCATION_CREATED = 41,
47
+ TRANSACTION_ALLOCATION_DELETED = 42,
48
+ TRANSACTION_CREATED = 43,
49
+ TRANSACTION_DELETED = 44,
50
+ TRANSACTION_UPDATED = 45,
51
+ TRANSACTIONS_CREATED = 46,
52
+ VEHICLE_CLAIM_DETAILS_UPDATED = 47,
53
+ VEHICLE_CLAIM_DETAILS_CREATED = 48,
54
+ VEHICLE_LOGBOOK_CREATED = 49,
55
+ VEHICLE_LOGBOOK_UPDATED = 50,
56
+ VEHICLE_LOGBOOK_DELETED = 51,
57
+ VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 52
59
58
  }
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Transaction as TransactionBase } from '../../../db/Models/transaction/transaction';
4
4
  import { RestService } from '../rest/rest-old.service';
5
- import { FinancialYear, Transaction } from '../../../models';
5
+ import { Transaction } from '../../../models';
6
6
  import { HttpClient } from '@angular/common/http';
7
7
  import { EventDispatcherService } from '../../event';
8
8
  import { IEventListener } from '../../../interfaces';
@@ -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
- getByYear(year?: FinancialYear): Observable<Transaction[]>;
30
29
  /**
31
30
  * Add single new transaction
32
31
  * @param model New Transaction instance for saving
@@ -73,10 +72,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
73
72
  * Listen to EventDispatcherService event related to Depreciation changing
74
73
  */
75
74
  private listenDepreciationChange;
76
- /**
77
- * Listen to EventDispatcherService event related to Property Share changing
78
- */
79
- private listenPropertyShareUpdate;
80
75
  private listenVehicleClaimChanges;
81
76
  /**
82
77
  * property forecast includes claimPercent which affects property related expenses