import { ControlsOf } from '@/shared/forms/form-validations'; export interface Session { access_unixtime: number; expire_unixtime: number; } export interface Login extends Session { token: string; } export enum UserType { STAFF = 'Staff', VIRTUAL = 'Virtual', LIVE = 'Presencial', } export enum UserTypeId { STAFF = 2, VIRTUAL, LIVE, } export interface UserData { name: string; lastname1: string; lastname2: string; fullname: string; professional_license: string; email: string; cellphone: string; enabled: number; type_id: UserTypeId; type: UserType; gender_id: number; gender: string; image_url: string; country_code: string; country: string; state_mex_id: number; state: string; city: string; specialty_id: number; specialty: string; registry_unix_time: number; enabled_unix_time: number; session: Session; } export interface LoginCredentials { email: string | null; } export type LoginForm = ControlsOf; export interface SignupCredentials { name: string | null; lastname1: string | null; lastname2: string | null; email: string | null; emailc: string | null; profession: number | null; specialty: number | null; professional_license: string | null; state: number | null; cellphone: string | null; acceptPrivacy: boolean; } export type SignupForm = ControlsOf;