interface User {
    apiTokensCount?: number;
    avatarUrl: string;
    createdAt: string;
    deviceVerification?: "disabled" | "enabled";
    email: string;
    emailVerified: boolean;
    fields: null | Record<string, any>;
    firstName: null | string;
    fullName?: null | string;
    id: number;
    isAdmin: boolean;
    joinDetails?: null | JoinDetails;
    lastName: null | string;
    lastSeen: null | string;
    loginMethods?: string[];
    mfaMethods?: string[];
    status: UsersModel.Status;
    timezone: null | string;
    trustedDevicesCount?: number;
    twoFactor: TwoFactor;
    username: string;
}

Properties

apiTokensCount?: number
avatarUrl: string
createdAt: string
deviceVerification?: "disabled" | "enabled"
email: string
emailVerified: boolean
fields: null | Record<string, any>
firstName: null | string
fullName?: null | string

Crowdin only

id: number
isAdmin: boolean
joinDetails?: null | JoinDetails
lastName: null | string
lastSeen: null | string
loginMethods?: string[]
mfaMethods?: string[]
timezone: null | string
trustedDevicesCount?: number
twoFactor: TwoFactor
username: string