UNPKG

zego-express-logger

Version:

zego express log sdk

34 lines (33 loc) 904 B
/** * 接口响应数据类型定义 * 根据实际返回结构补充 data 字段的具体类型(当前接口返回 data 为空对象) */ export interface WhiteListResponse { content?: any; status: number; msg: string; } export interface WhiteListRequest { domain: string; product: string; appID: number; userID: string; token: string; deviceID: string; } export declare class ZegoWhiteList { static domains: string[]; static activeIndex: number; /** * 请求 ZIM 白名单接口的方法 * @returns Promise<ApiResponse> - 接口响应结果的 Promise 对象 */ static fetchWhitelist(config: { product: string; appID: number; userID: string; token?: string; deviceID: string; bizType: number; }, proxyCtrl?: any): Promise<WhiteListResponse>; }