zhizhi/node_modules/dingtalk-jsapi/api/union/complexChoose.d.ts

50 lines
1.2 KiB
TypeScript
Raw Normal View History

import { ICommonAPIParams } from '../../constant/types';
/**
*
* @apiName complexChoose
*/
export interface IUnionComplexChooseParams extends ICommonAPIParams {
appId: string;
title: string;
corpId: string;
deptId: string;
maxUsers: number;
multiple: boolean;
rootPage: string;
limitTips: string;
pickedUsers: string[];
disabledUsers: string[];
requiredUsers: string[];
showLabelPick: boolean;
responseUserOnly: boolean;
pickedDepartments: string[];
showOrgEcological: boolean;
disabledDepartments: string[];
filterOrgEcological: boolean;
requiredDepartments: string[];
startWithDepartmentId: string;
}
/**
*
* @apiName complexChoose
*/
export interface IUnionComplexChooseResult {
users: {
name: string;
avatar: string;
emplId: string;
}[];
departments: {
id: string;
name: string;
number: number;
}[];
selectedCount: number;
}
/**
*
* @apiName complexChoose
*/
export declare function complexChoose$(params: IUnionComplexChooseParams): Promise<IUnionComplexChooseResult>;
export default complexChoose$;