import { ID } from '../../commonStateTypes/common'; import { ZeniDate } from '../../zeniDayJS'; import ZeniUrl from '../../zeniUrl'; interface UserBase { firstName: string; lastName: string; userId: ID; } export interface User extends UserBase { email: string; middleName: string; addressId?: ID; birthday?: ZeniDate; companyId?: ID; countryCode?: string; createTime?: ZeniDate; gender?: string; isDeleted?: boolean; isPhoneVerified?: boolean; isPotentialFraud?: boolean; /** * timeZone, no need to store the timezone separately in the user object * it should be a calculated from createTime or updateTime. * Lets do it when we enable support in platform. */ lastSeenTime?: ZeniDate; nationalityCountryCode?: string; phone?: string; photo?: ZeniUrl; roleAtCompany?: string; ssn?: string; syncToken?: string; updateTime?: ZeniDate; } export interface UserState { userByUserId: Record; } export {};