feat: add Service api with interface

This commit is contained in:
Luis Felipe Cadavid 2024-09-30 15:19:20 -05:00
parent ab7a02bcca
commit a440f954ad
35 changed files with 1027 additions and 23 deletions

View file

@ -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;
}