doum
8 天以前 d5810177a4e77ea273971e51dd150bd84906de6f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { ICommonAPIParams } from '../../constant/types';
/**
 * DING 2.0 发钉 请求参数定义
 * @apiName createDing
 */
export interface IUnionCreateDingParams extends ICommonAPIParams {
    text?: string;
    type?: number;
    users: string[];
    corpId?: string;
    confInfo?: {
        endTime: {
            value: string;
            format: string;
        };
        location: string;
        startTime: {
            value: string;
            format: string;
        };
        bizSubType: number;
        remindType: number;
        remindMinutes: number;
    };
    taskInfo?: {
        ccUsers: string;
        taskRemind: number;
        deadlineTime: {
            value?: string;
            format?: string;
        };
    };
    alertDate?: {
        value: string;
        format: string;
    };
    alertType?: number;
    attachment?: {
        images: string[];
    };
}
/**
 * DING 2.0 发钉 返回结果定义
 * @apiName createDing
 */
export interface IUnionCreateDingResult {
}
/**
 * DING 2.0 发钉
 * @apiName createDing
 */
export declare function createDing$(params: IUnionCreateDingParams): Promise<IUnionCreateDingResult>;
export default createDing$;