export interface GetUserProfileRequest { userID?: string; } interface I18nText { text: string; language_code: number; } export interface UserProfile { userID?: string; email?: string; name?: I18nText[]; avatar?: string; departmentName?: I18nText[]; /** * 1 正常 * 2 已暂停 */ status?: 1 | 2; feishuOpenID?: string; userType?: string; } export interface GetUserProfileResponse { userProfile?: UserProfile; code?: number; msg?: string; } /** * @internal * 获取用户资料 * * 使用示例: * ```typescript * const response = await getUserProfile({ * userID: 12345, * }); * * if (response.userProfile) { * console.log('User name:', response.userProfile.name); * } * ``` * * @param request - 用户资料请求参数 * @param headers - 额外的请求头 * @returns 用户资料响应 */ export declare function getUserProfile(request: GetUserProfileRequest, headers?: Record): Promise; export {};