feat: add Service api with interface
This commit is contained in:
parent
ab7a02bcca
commit
a440f954ad
35 changed files with 1027 additions and 23 deletions
|
|
@ -0,0 +1,23 @@
|
|||
export interface UserResposeInterface {
|
||||
id: string;
|
||||
idSubsidiary: number;
|
||||
subsidiaryName: string;
|
||||
idCompany: string;
|
||||
companyName: string;
|
||||
name: string;
|
||||
lastName: string;
|
||||
email: string;
|
||||
cellphone: string;
|
||||
idTypeUser: string;
|
||||
typeName: string;
|
||||
isActive: boolean;
|
||||
isAdmin: boolean;
|
||||
}
|
||||
|
||||
export interface LoginResponse {
|
||||
correct?: boolean;
|
||||
message: string;
|
||||
errorCode?: number;
|
||||
object: UserResposeInterface | null;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue