2023-05-19 15:22:48 -03:00
|
|
|
export interface ILoginResponse extends Omit<IDatabaseAccountDocument, "email" | "password"> {
|
2023-05-23 20:42:06 -04:00
|
|
|
Groups: IGroup[];
|
|
|
|
Nonce: number;
|
|
|
|
BuildLabel: string;
|
|
|
|
MatchmakingBuildId: string;
|
|
|
|
platformCDNs: string[];
|
|
|
|
NRS: string[];
|
|
|
|
DTLS: number;
|
|
|
|
IRC: string[];
|
|
|
|
HUB: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
2023-09-03 13:30:39 -05:00
|
|
|
// Includes virtual ID
|
2023-05-19 15:22:48 -03:00
|
|
|
export interface IDatabaseAccountDocument extends IDatabaseAccount {
|
2023-05-23 20:42:06 -04:00
|
|
|
id: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IGroup {
|
2023-05-23 20:42:06 -04:00
|
|
|
experiment: string;
|
|
|
|
experimentGroup: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IDatabaseAccount {
|
2023-05-23 20:42:06 -04:00
|
|
|
email: string;
|
|
|
|
password: string;
|
|
|
|
DisplayName: string;
|
|
|
|
CountryCode: string;
|
|
|
|
ClientType: string;
|
|
|
|
CrossPlatformAllowed: boolean;
|
|
|
|
ForceLogoutVersion: number;
|
|
|
|
AmazonAuthToken?: string;
|
|
|
|
AmazonRefreshToken?: string;
|
|
|
|
ConsentNeeded: boolean;
|
|
|
|
TrackedSettings: string[];
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ILoginRequest {
|
2023-05-23 20:42:06 -04:00
|
|
|
email: string;
|
|
|
|
password: string;
|
|
|
|
time: number;
|
|
|
|
s: string;
|
|
|
|
lang: string;
|
|
|
|
date: number;
|
|
|
|
ClientType: string;
|
|
|
|
PS: string;
|
2023-05-19 15:22:48 -03:00
|
|
|
}
|