UNPKG

937 BTypeScriptView Raw
1import { HttpClient } from "@angular/common/http";
2import { Observable } from "rxjs";
3import { Store } from "@ngrx/store";
4import { UserConfigurationService } from "./user-configuration.service";
5import { UserModuleConfig } from "../user.config";
6import { ProfileViewModel } from "../models/profile-view.model";
7import { UserModel } from "../models/user.model";
8import { EditProfile_ApiModel } from "../models/profile-edit.model";
9export declare class UserService {
10 private http;
11 private store;
12 private configurationService;
13 config: UserModuleConfig;
14 constructor(http: HttpClient, store: Store<any>, configurationService: UserConfigurationService);
15 getAccountInfo(): Observable<ProfileViewModel.Response>;
16 editProfile(data: EditProfile_ApiModel.Request): Observable<UserModel>;
17 getInfo(data: ProfileViewModel.Request): Observable<any>;
18 is_role(role: string): Observable<boolean>;
19}