taxtank-core 0.2.0 → 0.2.4

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.
@@ -5,8 +5,7 @@ export declare enum ChartAccountsMetadataListEnum {
5
5
  TAX_OFFSETS = 8,
6
6
  HOURS = 11,
7
7
  TAX_PAID = 13,
8
- REDUNDANCY = 17,
9
- NON_REDUNDANCY = 18,
8
+ TAX_FREE_COMPONENT = 18,
10
9
  YEARS_OF_SERVICE = 19,
11
10
  UNTAXED_ELEMENT = 24,
12
11
  FRANKED = 26,
@@ -57,9 +57,7 @@ export declare class Transaction extends TransactionBase implements IReceipt, IT
57
57
  * Get gross income amount
58
58
  */
59
59
  getGrossIncome(): number;
60
- /**
61
- * find franking credits metadata and return value
62
- */
60
+ get taxFreeComponent(): number;
63
61
  get frankingCredit(): number;
64
62
  get untaxedElement(): number;
65
63
  /**
@@ -38,6 +38,7 @@ export declare class BankAccountService extends BaseRestService<BankAccountBase,
38
38
  * Update bank account current balance
39
39
  */
40
40
  updateCurrentBalance(bankAccount: BankAccount): Observable<BankAccount>;
41
+ getOwn(): Observable<BankAccount[]>;
41
42
  /**
42
43
  * Listen to EventDispatcherService events
43
44
  */
@@ -16,7 +16,9 @@ export declare class BankConnectionService extends BaseRestService<BankConnectio
16
16
  modelClass: typeof BankConnection;
17
17
  url: string;
18
18
  constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
19
+ listenEvents(): void;
19
20
  post(bankConnection: BankConnection): Observable<BankConnection>;
21
+ listenToAddedBankAccounts(): void;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<BankConnectionService, never>;
21
23
  static ɵprov: i0.ɵɵInjectableDeclaration<BankConnectionService>;
22
24
  }
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
3
  import { FirmTypeEnum } from '../../db/Enums/firm-type.enum';
4
- import { Firm } from '../../db/Models/firm';
4
+ import { Firm } from '../../models/firm/firm';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FirmService {
7
7
  private http;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.2.0",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",