taxtank-core 0.31.8 → 0.31.9

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.
@@ -1,22 +1,13 @@
1
- import { AccountSetupItem } from '../../models/account-setup/account-setup-item';
2
- import { BankAccountService } from '../http/bank/bank-account/bank-account.service';
3
- import { ClientIncomeTypes } from '../../models/client/client-income-types';
4
- import { ClientIncomeTypesService } from '../http/firm/client-income/client-income-types.service';
5
- import { IncomeSourceService } from '../http/income-source/income-source.service';
6
- import { PropertyService } from '../http/property/property.service';
7
- import { TransactionAllocationService } from '../http/transaction/transaction-allocation/transaction-allocation.service';
1
+ import { BankAccountService, HoldingService, IncomeSourceService, PropertyService, SoleBusinessService, TransactionAllocationService, TransactionService, UserService, VehicleClaimService } from '../http';
2
+ import { User } from '../../models';
3
+ import { AccountSetupItemCollection } from '../../collections';
8
4
  import { Observable, ReplaySubject } from 'rxjs';
9
- import { AccountSetupItemCollection } from '../../collections/account-setup-item.collection';
10
- import { VehicleClaimService } from '../http/vehicle/vehicle-claim.service';
11
- import { TransactionService } from '../http/transaction/transaction.service';
12
- import { HoldingService, SoleBusinessService, UserService } from '../http';
13
5
  import * as i0 from "@angular/core";
14
6
  /**
15
7
  * Service handling user's account setup process.
16
8
  * Checks required steps and their completion
17
9
  */
18
10
  export declare class AccountSetupService {
19
- private clientIncomeTypesService;
20
11
  private propertyService;
21
12
  private incomeSourceService;
22
13
  private bankAccountsService;
@@ -28,16 +19,12 @@ export declare class AccountSetupService {
28
19
  private userService;
29
20
  cache: AccountSetupItemCollection;
30
21
  cacheSubject: ReplaySubject<AccountSetupItemCollection>;
31
- clientIncomeTypesId: number;
32
- constructor(clientIncomeTypesService: ClientIncomeTypesService, propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService, soleBusinessService: SoleBusinessService, holdingService: HoldingService, userService: UserService);
22
+ user: User;
23
+ constructor(propertyService: PropertyService, incomeSourceService: IncomeSourceService, bankAccountsService: BankAccountService, transactionAllocationService: TransactionAllocationService, vehicleClaimService: VehicleClaimService, transactionService: TransactionService, soleBusinessService: SoleBusinessService, holdingService: HoldingService, userService: UserService);
33
24
  /**
34
25
  * Get list of account setup items for current user
35
26
  */
36
27
  get(): Observable<AccountSetupItemCollection>;
37
- /**
38
- * Prepare client income types to update to hide depended account setup items
39
- */
40
- prepareIncomeTypes(item: AccountSetupItem): ClientIncomeTypes;
41
28
  /**
42
29
  * Get a single AccountSetupItem and check it's completion
43
30
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.31.8",
3
+ "version": "0.31.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^15.1.5",