UNPKG

koishi-plugin-mizuki-bot

Version:
22 lines (21 loc) 1.02 kB
export declare const GenerateQRCode: () => Promise<{ scanId: any; qrData: string; }>; export declare const GetScanStatus: (scanId: string) => Promise<{ code: any; scanCode: any; }>; export declare const GetTokenByScanCode: (scanCode: string) => Promise<string>; export declare const ValidateHyperGryphByToken: (token: string) => Promise<any>; export declare const GetOAuthGrantCode: (token: string) => Promise<any>; export declare const GenerateCredByCode: (code: string) => Promise<any>; export declare const CheckCred: (cred: string) => Promise<any>; export declare const RefreshToken: (cred: string, token: string) => Promise<any>; /** * 通过登录凭证和森空岛用户的 token 获取角色绑定列表 * @param cred 鹰角网络通行证账号的登录凭证 * @param token 森空岛用户的 token */ export declare const GetBinding: (cred: string, token: string) => Promise<any>; export declare const GameAttendance: (cred: string, token: string, uid: string, gameId: string) => Promise<any>;