export interface ILoginResponse extends Omit { Groups: IGroup[]; BuildLabel: string; MatchmakingBuildId: string; platformCDNs: string[]; NRS: string[]; DTLS: number; IRC: string[]; HUB: string; } // Includes virtual ID export interface IDatabaseAccountDocument extends IDatabaseAccount { id: string; } export interface IGroup { experiment: string; experimentGroup: string; } export interface IDatabaseAccount { email: string; password: string; DisplayName: string; CountryCode: string; ClientType: string; CrossPlatformAllowed: boolean; ForceLogoutVersion: number; AmazonAuthToken?: string; AmazonRefreshToken?: string; ConsentNeeded: boolean; TrackedSettings: string[]; Nonce: number; } export interface ILoginRequest { email: string; password: string; time: number; s: string; lang: string; date: number; ClientType: string; PS: string; }