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.
- package/esm2020/lib/services/account-setup/account-setup.service.mjs +17 -39
- package/esm2020/lib/services/http/subscription/service-subscription/subscription.service.mjs +2 -2
- package/fesm2015/taxtank-core.mjs +14 -25
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +14 -25
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/services/account-setup/account-setup.service.d.ts +5 -18
- package/package.json +1 -1
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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
|
-
|
|
32
|
-
constructor(
|
|
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
|
*/
|