Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
44 lines
2.7 KiB
Plaintext
44 lines
2.7 KiB
Plaintext
import { AnyCnameRecord } from 'node:dns';
|
|
import { BizKey, ModifyProfileParams, NodeIKernelProfileListener, ProfileBizType, SimpleInfo, UserDetailInfoByUin, UserDetailInfoListenerArg, UserDetailSource } from '../index';
|
|
import { GeneralCallResult } from '../services/common';
|
|
export interface NodeIKernelProfileService {
|
|
getOtherFlag(callfrom: string, uids: string[]): Promise<Map<string, unknown>>;
|
|
getVasInfo(callfrom: string, uids: string[]): Promise<Map<string, unknown>>;
|
|
getRelationFlag(callfrom: string, uids: string[]): Promise<Map<string, unknown>>;
|
|
getUidByUin(callfrom: string, uin: Array<string>): Map<string, string>;
|
|
getUinByUid(callfrom: string, uid: Array<string>): Map<string, string>;
|
|
getCoreAndBaseInfo(callfrom: string, uids: string[]): Promise<Map<string, SimpleInfo>>;
|
|
fetchUserDetailInfo(trace: string, uids: string[], source: UserDetailSource, bizType: ProfileBizType[]): Promise<GeneralCallResult & {
|
|
source: UserDetailSource;
|
|
detail: Map<string, UserDetailInfoListenerArg>;
|
|
}>;
|
|
addKernelProfileListener(listener: NodeIKernelProfileListener): number;
|
|
removeKernelProfileListener(listenerId: number): void;
|
|
prepareRegionConfig(...args: unknown[]): unknown;
|
|
getLocalStrangerRemark(): Promise<AnyCnameRecord>;
|
|
enumCountryOptions(): Array<string>;
|
|
enumProvinceOptions(country: string): Array<string>;
|
|
enumCityOptions(country: string, province: string): unknown;
|
|
enumAreaOptions(...args: unknown[]): unknown;
|
|
modifySelfProfile(...args: unknown[]): Promise<unknown>;
|
|
modifyDesktopMiniProfile(param: ModifyProfileParams): Promise<GeneralCallResult>;
|
|
setNickName(nickName: string): Promise<unknown>;
|
|
setLongNick(longNick: string): Promise<unknown>;
|
|
setBirthday(...args: unknown[]): Promise<unknown>;
|
|
setGander(...args: unknown[]): Promise<unknown>;
|
|
setHeader(arg: string): Promise<GeneralCallResult>;
|
|
setRecommendImgFlag(...args: unknown[]): Promise<unknown>;
|
|
getUserSimpleInfo(force: boolean, uids: string[]): Promise<unknown>;
|
|
getUserDetailInfo(uid: string): Promise<unknown>;
|
|
getUserDetailInfoWithBizInfo(uid: string, Biz: BizKey[]): Promise<GeneralCallResult>;
|
|
getUserDetailInfoByUin(uin: string): Promise<UserDetailInfoByUin>;
|
|
getZplanAvatarInfos(args: string[]): Promise<unknown>;
|
|
getStatus(uid: string): Promise<unknown>;
|
|
startStatusPolling(isForceReset: boolean): Promise<unknown>;
|
|
getSelfStatus(): Promise<unknown>;
|
|
setdisableEmojiShortCuts(...args: unknown[]): unknown;
|
|
getProfileQzonePicInfo(uid: string, type: number, force: boolean): Promise<unknown>;
|
|
getCoreInfo(sceneId: string, arg: unknown[]): unknown;
|
|
isNull(): boolean;
|
|
}
|