taxtank-core 1.0.62 → 1.0.64

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.62",
3
+ "version": "1.0.64",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.0.2",
@@ -1,6 +1,7 @@
1
1
  import { ChartAccounts } from './chart-accounts';
2
- import { AbstractModel } from '../abstract-model';
3
- export declare class ChartAccountsDepreciation extends AbstractModel {
2
+ import { ObservableModel } from '../observable-model';
3
+ export declare class ChartAccountsDepreciation extends ObservableModel {
4
+ static className: string;
4
5
  effectiveYear?: number;
5
6
  effectiveLife?: number;
6
7
  limit?: number;
@@ -40,4 +40,5 @@ export declare class Depreciation extends TransactionBase {
40
40
  updatedBy?: User;
41
41
  business?: SoleBusiness;
42
42
  isGST?: boolean;
43
+ manualLvp?: boolean;
43
44
  }
@@ -4,15 +4,19 @@ import { ChartAccounts as ChartAccountsBase } from '../../../db/Models';
4
4
  import { ChartAccounts, ChartAccountsHeading } from '../../../models';
5
5
  import { RestMethod, RestService } from '../rest';
6
6
  import { ChartAccountsCollection } from '../../../collections';
7
+ import { IEventListener } from '../../../interfaces';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  * Chart accounts service
10
11
  */
11
- export declare class ChartAccountsService extends RestService<ChartAccountsBase, ChartAccounts, ChartAccountsCollection> {
12
+ export declare class ChartAccountsService extends RestService<ChartAccountsBase, ChartAccounts, ChartAccountsCollection> implements IEventListener {
13
+ protected environment: any;
12
14
  protected endpointUri: string;
13
15
  modelClass: typeof ChartAccounts;
14
16
  collectionClass: typeof ChartAccountsCollection;
15
17
  disabledMethods: RestMethod[];
18
+ constructor(environment: any);
19
+ listenEvents(): void;
16
20
  /**
17
21
  * Get list of chart accounts headings by catogory with chart accounts inside
18
22
  */