36 lines
660 B
TypeScript
36 lines
660 B
TypeScript
import { type TLanguageCode } from '@/i18n';
|
|
|
|
export interface AuthModel {
|
|
id: string;
|
|
access_token: string;
|
|
refresh_token: string;
|
|
role_name: string;
|
|
roles_list: [];
|
|
company: any;
|
|
user: any;
|
|
// api_token: string;
|
|
statusbalance: string;
|
|
}
|
|
|
|
export interface UserModel {
|
|
id: number;
|
|
username: string;
|
|
name: string;
|
|
password: string | undefined;
|
|
email: string;
|
|
id_role: string;
|
|
role_name: string;
|
|
roles_list: [];
|
|
token: AuthModel;
|
|
|
|
first_name: string;
|
|
last_name: string;
|
|
fullname?: string;
|
|
occupation?: string;
|
|
companyName?: string;
|
|
phone?: string;
|
|
roles?: number[];
|
|
pic?: string;
|
|
language?: TLanguageCode;
|
|
}
|