koishi-plugin-kbot
Version:
A muti-function qq bot for koishi
72 lines (71 loc) • 1.51 kB
TypeScript
export declare namespace Valorant {
interface UserInfoResponse {
country: string;
sub: string;
email_verified: boolean;
player_plocale?: any;
country_at: number;
pw: Pw;
phone_number_verified: boolean;
account_verified: boolean;
ppid?: any;
player_locale: string;
acct: Acct;
age: number;
jti: string;
affinity: Affinity;
}
interface AuthorizationResponse {
type: 'response';
response: Response;
country: string;
}
interface AuthorizationMultifactorResponse {
type: 'multifactor';
multifactor: Multifactor;
country: string;
securityProfile: string;
}
interface EntitlementsResponse {
entitlements_token: string;
}
interface RegionResponse {
token: string;
affinities: Affinities;
}
}
interface Response {
mode: string;
parameters: Parameters;
}
interface Multifactor {
email: string;
method: string;
methods: string[];
multiFactorCodeLength: number;
mfaVersion: string;
}
interface Parameters {
uri: string;
}
interface Affinity {
pp: string;
}
interface Acct {
type: number;
state: string;
adm: boolean;
game_name: string;
tag_line: string;
created_at: number;
}
interface Pw {
cng_at: number;
reset: boolean;
must_reset: boolean;
}
interface Affinities {
pbe: string;
live: string;
}
export {};