UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

79 lines (78 loc) 2.12 kB
import User from './User'; import type { ClientUserData } from '../../../resources/structs'; import type Client from '../../Client'; /** * Represents the user of a client */ declare class ClientUser extends User { /** * The first name of the client's Epic Games account */ name: string; /** * The last name of the client's Epic Games account */ lastName: string; /** * The email of the client's Epic Games account */ email: string; /** * The number of failed login attempts of the client's Epic Games account */ failedLoginAttempts: number; /** * The last time somebody logged in on the client's Epic Games account */ lastLogin: Date; /** * The number of display name changes of the client's Epic Games account */ numberOfDisplayNameChanges: number; /** * The age group of the client's Epic Games account */ ageGroup: string; /** * Whether the account has no display name due to no epicgames account being linked */ headless: boolean; /** * The country of the client's Epic Games account */ country: string; /** * The preferred language of the client's Epic Games account */ preferredLanguage: string; /** * Whether the client's Epic Games account can update its display name */ canUpdateDisplayName: boolean; /** * Whether a Two-Factor-Authentification method is enabled */ tfaEnabled: boolean; /** * Whether the email is verified (now required when creating accounts) */ emailVerified: boolean; /** * Whether the account has been verified to be run by a minor */ minorVerified: boolean; /** * Whether the account is expected to be run by a minor */ minorExpected: boolean; /** * The minor status of the client's Epic Games account */ minorStatus: string; /** * @param client The main client * @param data The user's data */ constructor(client: Client, data: ClientUserData); } export default ClientUser;