export interface AddRecentUserAppListParams { /** 组织CorpId */ corpId: string; /** 最近使用应用列表 */ usedAppDetailList: object[]; /** 员工staffId */ userId: string; } export interface AddRecentUserAppListResponse { result: unknown; } export interface GetPluginRuleCheckInfoQuery { /** 插件的appId。 */ miniAppId?: string; } export interface GetPluginRuleCheckInfoResponse { packCode?: string; pluginRuleCheckDetail?: string; } export interface GetPluginPermissionPointQuery { /** 插件ID。 */ miniAppId?: string; } export interface GetPluginPermissionPointResponse { permissionPointList?: string[]; } declare module '../internal' { interface Internal { /** * 批量添加最近使用记录 * @see https://open.dingtalk.com/document/app/add-recently-used-apps-in-bulk */ addRecentUserAppList(params: AddRecentUserAppListParams): Promise; /** * 获取插件的校验规则 * @see https://open.dingtalk.com/document/dashboard/you-can-call-this-operation-to-obtain-the-information-about */ getPluginRuleCheckInfo(query: GetPluginRuleCheckInfoQuery): Promise; /** * 获取工作台插件的权限点 * @see https://open.dingtalk.com/document/dashboard/obtain-the-permissions-of-the-workbench-plug-in */ getPluginPermissionPoint(query: GetPluginPermissionPointQuery): Promise; } }