@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/externalVersion.js +5 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
- package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
- package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
- package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
- package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
- package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
- package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
- package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
- package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
- package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
- package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
- package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
- package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
- package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
- package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
- package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
- package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
- package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
- package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
- package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
- package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
- package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
- package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
- package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
- package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
- package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
- package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
- package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
- package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
- package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
- package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
- package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
- package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
- package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/package.json +8 -8
|
@@ -7,6 +7,332 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
|
7
7
|
import OpenApiUtil from '@alicloud/openapi-util';
|
|
8
8
|
import * as $tea from '@alicloud/tea-typescript';
|
|
9
9
|
|
|
10
|
+
export class Entity extends $tea.Model {
|
|
11
|
+
children?: EntityChildren[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* {"title": "123"}
|
|
15
|
+
*/
|
|
16
|
+
data?: { [key: string]: any };
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 123
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* y/n
|
|
25
|
+
*/
|
|
26
|
+
isDeleted?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 67dbb24f7aac3f62d8b98fb5
|
|
30
|
+
*/
|
|
31
|
+
linkSourceId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* EXTERNAL_PERF_TASK
|
|
35
|
+
*/
|
|
36
|
+
linkSourceType?: string;
|
|
37
|
+
metas?: Meta[];
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* DIMENSION
|
|
41
|
+
*/
|
|
42
|
+
type?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
children: 'children',
|
|
46
|
+
data: 'data',
|
|
47
|
+
id: 'id',
|
|
48
|
+
isDeleted: 'isDeleted',
|
|
49
|
+
linkSourceId: 'linkSourceId',
|
|
50
|
+
linkSourceType: 'linkSourceType',
|
|
51
|
+
metas: 'metas',
|
|
52
|
+
type: 'type',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
children: { 'type': 'array', 'itemType': EntityChildren },
|
|
59
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
60
|
+
id: 'string',
|
|
61
|
+
isDeleted: 'string',
|
|
62
|
+
linkSourceId: 'string',
|
|
63
|
+
linkSourceType: 'string',
|
|
64
|
+
metas: { 'type': 'array', 'itemType': Meta },
|
|
65
|
+
type: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class Meta extends $tea.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* true
|
|
78
|
+
*/
|
|
79
|
+
active?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* 编码
|
|
83
|
+
*/
|
|
84
|
+
alias?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* common
|
|
88
|
+
*/
|
|
89
|
+
category?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* title
|
|
93
|
+
*/
|
|
94
|
+
code?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* true
|
|
98
|
+
*/
|
|
99
|
+
forceActive?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* true
|
|
103
|
+
*/
|
|
104
|
+
forceRequired?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* true
|
|
108
|
+
*/
|
|
109
|
+
required?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* {"width": 200}
|
|
113
|
+
*/
|
|
114
|
+
scheme?: { [key: string]: any };
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 名称
|
|
118
|
+
*/
|
|
119
|
+
title?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* string
|
|
123
|
+
*/
|
|
124
|
+
type?: string;
|
|
125
|
+
static names(): { [key: string]: string } {
|
|
126
|
+
return {
|
|
127
|
+
active: 'active',
|
|
128
|
+
alias: 'alias',
|
|
129
|
+
category: 'category',
|
|
130
|
+
code: 'code',
|
|
131
|
+
forceActive: 'forceActive',
|
|
132
|
+
forceRequired: 'forceRequired',
|
|
133
|
+
required: 'required',
|
|
134
|
+
scheme: 'scheme',
|
|
135
|
+
title: 'title',
|
|
136
|
+
type: 'type',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
static types(): { [key: string]: any } {
|
|
141
|
+
return {
|
|
142
|
+
active: 'boolean',
|
|
143
|
+
alias: 'string',
|
|
144
|
+
category: 'string',
|
|
145
|
+
code: 'string',
|
|
146
|
+
forceActive: 'boolean',
|
|
147
|
+
forceRequired: 'boolean',
|
|
148
|
+
required: 'boolean',
|
|
149
|
+
scheme: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
150
|
+
title: 'string',
|
|
151
|
+
type: 'string',
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
constructor(map?: { [key: string]: any }) {
|
|
156
|
+
super(map);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export class OpenAgoalAlignDTO extends $tea.Model {
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* This parameter is required.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* COOPERATION
|
|
167
|
+
*/
|
|
168
|
+
alignType?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @remarks
|
|
171
|
+
* This parameter is required.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
175
|
+
*/
|
|
176
|
+
objectId?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* This parameter is required.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* objective
|
|
183
|
+
*/
|
|
184
|
+
objectType?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* This parameter is required.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
191
|
+
*/
|
|
192
|
+
objectiveId?: string;
|
|
193
|
+
static names(): { [key: string]: string } {
|
|
194
|
+
return {
|
|
195
|
+
alignType: 'alignType',
|
|
196
|
+
objectId: 'objectId',
|
|
197
|
+
objectType: 'objectType',
|
|
198
|
+
objectiveId: 'objectiveId',
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
static types(): { [key: string]: any } {
|
|
203
|
+
return {
|
|
204
|
+
alignType: 'string',
|
|
205
|
+
objectId: 'string',
|
|
206
|
+
objectType: 'string',
|
|
207
|
+
objectiveId: 'string',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
constructor(map?: { [key: string]: any }) {
|
|
212
|
+
super(map);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export class OpenAgoalFieldMetaDTO extends $tea.Model {
|
|
217
|
+
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* 是否启用
|
|
220
|
+
*
|
|
221
|
+
* This parameter is required.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* true
|
|
225
|
+
*/
|
|
226
|
+
active?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* 字段元数据别名
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* 字段别名
|
|
233
|
+
*/
|
|
234
|
+
alias?: string;
|
|
235
|
+
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* 字段元数据标识
|
|
238
|
+
*
|
|
239
|
+
* This parameter is required.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* foo
|
|
243
|
+
*/
|
|
244
|
+
code?: string;
|
|
245
|
+
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* 实体类型
|
|
248
|
+
*
|
|
249
|
+
* This parameter is required.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* OBJECTIVE
|
|
253
|
+
*/
|
|
254
|
+
entityType?: string;
|
|
255
|
+
/**
|
|
256
|
+
* @remarks
|
|
257
|
+
* 字段ID
|
|
258
|
+
*
|
|
259
|
+
* This parameter is required.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
263
|
+
*/
|
|
264
|
+
fieldId?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* 字段备注
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* 字段备注
|
|
271
|
+
*/
|
|
272
|
+
note?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* 字段数据来源
|
|
276
|
+
*
|
|
277
|
+
* This parameter is required.
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* OPEN
|
|
281
|
+
*/
|
|
282
|
+
source?: string;
|
|
283
|
+
/**
|
|
284
|
+
* @remarks
|
|
285
|
+
* 字段元数据名称
|
|
286
|
+
*
|
|
287
|
+
* This parameter is required.
|
|
288
|
+
*
|
|
289
|
+
* @example
|
|
290
|
+
* 字段名
|
|
291
|
+
*/
|
|
292
|
+
title?: string;
|
|
293
|
+
/**
|
|
294
|
+
* @remarks
|
|
295
|
+
* 字段类型
|
|
296
|
+
*
|
|
297
|
+
* This parameter is required.
|
|
298
|
+
*
|
|
299
|
+
* @example
|
|
300
|
+
* string
|
|
301
|
+
*/
|
|
302
|
+
type?: string;
|
|
303
|
+
static names(): { [key: string]: string } {
|
|
304
|
+
return {
|
|
305
|
+
active: 'active',
|
|
306
|
+
alias: 'alias',
|
|
307
|
+
code: 'code',
|
|
308
|
+
entityType: 'entityType',
|
|
309
|
+
fieldId: 'fieldId',
|
|
310
|
+
note: 'note',
|
|
311
|
+
source: 'source',
|
|
312
|
+
title: 'title',
|
|
313
|
+
type: 'type',
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
static types(): { [key: string]: any } {
|
|
318
|
+
return {
|
|
319
|
+
active: 'boolean',
|
|
320
|
+
alias: 'string',
|
|
321
|
+
code: 'string',
|
|
322
|
+
entityType: 'string',
|
|
323
|
+
fieldId: 'string',
|
|
324
|
+
note: 'string',
|
|
325
|
+
source: 'string',
|
|
326
|
+
title: 'string',
|
|
327
|
+
type: 'string',
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
constructor(map?: { [key: string]: any }) {
|
|
332
|
+
super(map);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
10
336
|
export class OpenAgoalKeyActionDTO extends $tea.Model {
|
|
11
337
|
/**
|
|
12
338
|
* @remarks
|
|
@@ -311,56 +637,65 @@ export class OpenAgoalObjectiveDTO extends $tea.Model {
|
|
|
311
637
|
}
|
|
312
638
|
}
|
|
313
639
|
|
|
314
|
-
export class
|
|
640
|
+
export class OpenAgoalObjectiveDimensionDTO extends $tea.Model {
|
|
315
641
|
/**
|
|
316
642
|
* @remarks
|
|
317
643
|
* This parameter is required.
|
|
318
644
|
*/
|
|
319
|
-
|
|
645
|
+
children?: OpenAgoalObjectiveDimensionDTO[];
|
|
320
646
|
/**
|
|
321
647
|
* @remarks
|
|
322
648
|
* This parameter is required.
|
|
649
|
+
*
|
|
650
|
+
* @example
|
|
651
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
323
652
|
*/
|
|
324
|
-
|
|
653
|
+
dimensionId?: string;
|
|
325
654
|
/**
|
|
326
655
|
* @remarks
|
|
327
656
|
* This parameter is required.
|
|
328
657
|
*/
|
|
329
|
-
|
|
658
|
+
fieldConfig?: OpenAgoalFieldMetaDTO[];
|
|
330
659
|
/**
|
|
331
660
|
* @remarks
|
|
332
661
|
* This parameter is required.
|
|
333
662
|
*/
|
|
334
|
-
|
|
663
|
+
fieldValueMap?: { [key: string]: any };
|
|
335
664
|
/**
|
|
336
665
|
* @remarks
|
|
337
666
|
* This parameter is required.
|
|
667
|
+
*
|
|
668
|
+
* @example
|
|
669
|
+
* 这是维度标题
|
|
338
670
|
*/
|
|
339
|
-
|
|
671
|
+
title?: string;
|
|
340
672
|
/**
|
|
341
673
|
* @remarks
|
|
342
674
|
* This parameter is required.
|
|
675
|
+
*
|
|
676
|
+
* @example
|
|
677
|
+
* 100
|
|
343
678
|
*/
|
|
344
|
-
|
|
679
|
+
weight?: number;
|
|
345
680
|
static names(): { [key: string]: string } {
|
|
346
681
|
return {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
682
|
+
children: 'children',
|
|
683
|
+
dimensionId: 'dimensionId',
|
|
684
|
+
fieldConfig: 'fieldConfig',
|
|
685
|
+
fieldValueMap: 'fieldValueMap',
|
|
686
|
+
title: 'title',
|
|
687
|
+
weight: 'weight',
|
|
353
688
|
};
|
|
354
689
|
}
|
|
355
690
|
|
|
356
691
|
static types(): { [key: string]: any } {
|
|
357
692
|
return {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
693
|
+
children: { 'type': 'array', 'itemType': OpenAgoalObjectiveDimensionDTO },
|
|
694
|
+
dimensionId: 'string',
|
|
695
|
+
fieldConfig: { 'type': 'array', 'itemType': OpenAgoalFieldMetaDTO },
|
|
696
|
+
fieldValueMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
697
|
+
title: 'string',
|
|
698
|
+
weight: 'number',
|
|
364
699
|
};
|
|
365
700
|
}
|
|
366
701
|
|
|
@@ -369,23 +704,282 @@ export class OpenAgoalProgressDTO extends $tea.Model {
|
|
|
369
704
|
}
|
|
370
705
|
}
|
|
371
706
|
|
|
372
|
-
export class
|
|
707
|
+
export class OpenAgoalOrgObjectiveDTO extends $tea.Model {
|
|
373
708
|
/**
|
|
374
709
|
* @remarks
|
|
375
710
|
* This parameter is required.
|
|
376
|
-
*
|
|
377
|
-
* @example
|
|
378
|
-
* 8535683xx
|
|
379
711
|
*/
|
|
380
|
-
|
|
712
|
+
dimension?: OpenAgoalObjectiveDimensionDTO;
|
|
381
713
|
/**
|
|
382
714
|
* @remarks
|
|
383
715
|
* This parameter is required.
|
|
384
|
-
*
|
|
385
|
-
* @example
|
|
386
|
-
* 测试部门
|
|
387
716
|
*/
|
|
388
|
-
|
|
717
|
+
downAlignObjects?: OpenAgoalAlignDTO[];
|
|
718
|
+
/**
|
|
719
|
+
* @remarks
|
|
720
|
+
* This parameter is required.
|
|
721
|
+
*/
|
|
722
|
+
executor?: OpenAgoalUserDTO;
|
|
723
|
+
/**
|
|
724
|
+
* @remarks
|
|
725
|
+
* This parameter is required.
|
|
726
|
+
*/
|
|
727
|
+
fieldConfig?: OpenAgoalFieldMetaDTO[];
|
|
728
|
+
/**
|
|
729
|
+
* @remarks
|
|
730
|
+
* This parameter is required.
|
|
731
|
+
*/
|
|
732
|
+
fieldValueMap?: { [key: string]: any };
|
|
733
|
+
/**
|
|
734
|
+
* @remarks
|
|
735
|
+
* This parameter is required.
|
|
736
|
+
*
|
|
737
|
+
* @example
|
|
738
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
739
|
+
*/
|
|
740
|
+
objectiveId?: string;
|
|
741
|
+
/**
|
|
742
|
+
* @remarks
|
|
743
|
+
* This parameter is required.
|
|
744
|
+
*/
|
|
745
|
+
period?: OpenObjectiveRulePeriodDTO;
|
|
746
|
+
/**
|
|
747
|
+
* @remarks
|
|
748
|
+
* This parameter is required.
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* formalEffective
|
|
752
|
+
*/
|
|
753
|
+
status?: string;
|
|
754
|
+
/**
|
|
755
|
+
* @remarks
|
|
756
|
+
* This parameter is required.
|
|
757
|
+
*/
|
|
758
|
+
team?: OpenAgoalTeamDTO;
|
|
759
|
+
/**
|
|
760
|
+
* @remarks
|
|
761
|
+
* This parameter is required.
|
|
762
|
+
*
|
|
763
|
+
* @example
|
|
764
|
+
* 测试目标
|
|
765
|
+
*/
|
|
766
|
+
title?: string;
|
|
767
|
+
/**
|
|
768
|
+
* @remarks
|
|
769
|
+
* This parameter is required.
|
|
770
|
+
*/
|
|
771
|
+
upAlignObjects?: OpenAgoalAlignDTO[];
|
|
772
|
+
static names(): { [key: string]: string } {
|
|
773
|
+
return {
|
|
774
|
+
dimension: 'dimension',
|
|
775
|
+
downAlignObjects: 'downAlignObjects',
|
|
776
|
+
executor: 'executor',
|
|
777
|
+
fieldConfig: 'fieldConfig',
|
|
778
|
+
fieldValueMap: 'fieldValueMap',
|
|
779
|
+
objectiveId: 'objectiveId',
|
|
780
|
+
period: 'period',
|
|
781
|
+
status: 'status',
|
|
782
|
+
team: 'team',
|
|
783
|
+
title: 'title',
|
|
784
|
+
upAlignObjects: 'upAlignObjects',
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
static types(): { [key: string]: any } {
|
|
789
|
+
return {
|
|
790
|
+
dimension: OpenAgoalObjectiveDimensionDTO,
|
|
791
|
+
downAlignObjects: { 'type': 'array', 'itemType': OpenAgoalAlignDTO },
|
|
792
|
+
executor: OpenAgoalUserDTO,
|
|
793
|
+
fieldConfig: { 'type': 'array', 'itemType': OpenAgoalFieldMetaDTO },
|
|
794
|
+
fieldValueMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
795
|
+
objectiveId: 'string',
|
|
796
|
+
period: OpenObjectiveRulePeriodDTO,
|
|
797
|
+
status: 'string',
|
|
798
|
+
team: OpenAgoalTeamDTO,
|
|
799
|
+
title: 'string',
|
|
800
|
+
upAlignObjects: { 'type': 'array', 'itemType': OpenAgoalAlignDTO },
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
constructor(map?: { [key: string]: any }) {
|
|
805
|
+
super(map);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export class OpenAgoalOrgObjectiveListDTO extends $tea.Model {
|
|
810
|
+
/**
|
|
811
|
+
* @remarks
|
|
812
|
+
* This parameter is required.
|
|
813
|
+
*/
|
|
814
|
+
objectiveList?: OpenAgoalOrgObjectiveDTO[];
|
|
815
|
+
/**
|
|
816
|
+
* @remarks
|
|
817
|
+
* This parameter is required.
|
|
818
|
+
*
|
|
819
|
+
* @example
|
|
820
|
+
* 100
|
|
821
|
+
*/
|
|
822
|
+
totalCount?: number;
|
|
823
|
+
static names(): { [key: string]: string } {
|
|
824
|
+
return {
|
|
825
|
+
objectiveList: 'objectiveList',
|
|
826
|
+
totalCount: 'totalCount',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
static types(): { [key: string]: any } {
|
|
831
|
+
return {
|
|
832
|
+
objectiveList: { 'type': 'array', 'itemType': OpenAgoalOrgObjectiveDTO },
|
|
833
|
+
totalCount: 'number',
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
constructor(map?: { [key: string]: any }) {
|
|
838
|
+
super(map);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
export class OpenAgoalPeriodDTO extends $tea.Model {
|
|
843
|
+
/**
|
|
844
|
+
* @remarks
|
|
845
|
+
* This parameter is required.
|
|
846
|
+
*
|
|
847
|
+
* @example
|
|
848
|
+
* 1743436799000
|
|
849
|
+
*/
|
|
850
|
+
endDate?: number;
|
|
851
|
+
/**
|
|
852
|
+
* @remarks
|
|
853
|
+
* This parameter is required.
|
|
854
|
+
*
|
|
855
|
+
* @example
|
|
856
|
+
* 2024年度
|
|
857
|
+
*/
|
|
858
|
+
name?: string;
|
|
859
|
+
/**
|
|
860
|
+
* @remarks
|
|
861
|
+
* This parameter is required.
|
|
862
|
+
*
|
|
863
|
+
* @example
|
|
864
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
865
|
+
*/
|
|
866
|
+
periodId?: string;
|
|
867
|
+
/**
|
|
868
|
+
* @remarks
|
|
869
|
+
* This parameter is required.
|
|
870
|
+
*
|
|
871
|
+
* @example
|
|
872
|
+
* season
|
|
873
|
+
*/
|
|
874
|
+
periodType?: string;
|
|
875
|
+
/**
|
|
876
|
+
* @remarks
|
|
877
|
+
* This parameter is required.
|
|
878
|
+
*
|
|
879
|
+
* @example
|
|
880
|
+
* 1711900800000
|
|
881
|
+
*/
|
|
882
|
+
startDate?: number;
|
|
883
|
+
static names(): { [key: string]: string } {
|
|
884
|
+
return {
|
|
885
|
+
endDate: 'endDate',
|
|
886
|
+
name: 'name',
|
|
887
|
+
periodId: 'periodId',
|
|
888
|
+
periodType: 'periodType',
|
|
889
|
+
startDate: 'startDate',
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
static types(): { [key: string]: any } {
|
|
894
|
+
return {
|
|
895
|
+
endDate: 'number',
|
|
896
|
+
name: 'string',
|
|
897
|
+
periodId: 'string',
|
|
898
|
+
periodType: 'string',
|
|
899
|
+
startDate: 'number',
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
constructor(map?: { [key: string]: any }) {
|
|
904
|
+
super(map);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export class OpenAgoalProgressDTO extends $tea.Model {
|
|
909
|
+
/**
|
|
910
|
+
* @remarks
|
|
911
|
+
* This parameter is required.
|
|
912
|
+
*/
|
|
913
|
+
created?: number;
|
|
914
|
+
/**
|
|
915
|
+
* @remarks
|
|
916
|
+
* This parameter is required.
|
|
917
|
+
*/
|
|
918
|
+
creator?: OpenAgoalUserDTO;
|
|
919
|
+
/**
|
|
920
|
+
* @remarks
|
|
921
|
+
* This parameter is required.
|
|
922
|
+
*/
|
|
923
|
+
htmlContent?: string;
|
|
924
|
+
/**
|
|
925
|
+
* @remarks
|
|
926
|
+
* This parameter is required.
|
|
927
|
+
*/
|
|
928
|
+
modifier?: OpenAgoalUserDTO;
|
|
929
|
+
/**
|
|
930
|
+
* @remarks
|
|
931
|
+
* This parameter is required.
|
|
932
|
+
*/
|
|
933
|
+
progressId?: string;
|
|
934
|
+
/**
|
|
935
|
+
* @remarks
|
|
936
|
+
* This parameter is required.
|
|
937
|
+
*/
|
|
938
|
+
updated?: number;
|
|
939
|
+
static names(): { [key: string]: string } {
|
|
940
|
+
return {
|
|
941
|
+
created: 'created',
|
|
942
|
+
creator: 'creator',
|
|
943
|
+
htmlContent: 'htmlContent',
|
|
944
|
+
modifier: 'modifier',
|
|
945
|
+
progressId: 'progressId',
|
|
946
|
+
updated: 'updated',
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
static types(): { [key: string]: any } {
|
|
951
|
+
return {
|
|
952
|
+
created: 'number',
|
|
953
|
+
creator: OpenAgoalUserDTO,
|
|
954
|
+
htmlContent: 'string',
|
|
955
|
+
modifier: OpenAgoalUserDTO,
|
|
956
|
+
progressId: 'string',
|
|
957
|
+
updated: 'number',
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
constructor(map?: { [key: string]: any }) {
|
|
962
|
+
super(map);
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export class OpenAgoalTeamDTO extends $tea.Model {
|
|
967
|
+
/**
|
|
968
|
+
* @remarks
|
|
969
|
+
* This parameter is required.
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* 8535683xx
|
|
973
|
+
*/
|
|
974
|
+
deptId?: string;
|
|
975
|
+
/**
|
|
976
|
+
* @remarks
|
|
977
|
+
* This parameter is required.
|
|
978
|
+
*
|
|
979
|
+
* @example
|
|
980
|
+
* 测试部门
|
|
981
|
+
*/
|
|
982
|
+
name?: string;
|
|
389
983
|
/**
|
|
390
984
|
* @remarks
|
|
391
985
|
* This parameter is required.
|
|
@@ -528,6 +1122,14 @@ export class OpenObjectiveRulePeriodDTO extends $tea.Model {
|
|
|
528
1122
|
}
|
|
529
1123
|
|
|
530
1124
|
export class OpenOrgObjectiveRuleDTO extends $tea.Model {
|
|
1125
|
+
/**
|
|
1126
|
+
* @remarks
|
|
1127
|
+
* This parameter is required.
|
|
1128
|
+
*
|
|
1129
|
+
* @example
|
|
1130
|
+
* OKR / PBC
|
|
1131
|
+
*/
|
|
1132
|
+
objectiveCategory?: string;
|
|
531
1133
|
/**
|
|
532
1134
|
* @remarks
|
|
533
1135
|
* This parameter is required.
|
|
@@ -546,6 +1148,7 @@ export class OpenOrgObjectiveRuleDTO extends $tea.Model {
|
|
|
546
1148
|
objectiveRuleName?: string;
|
|
547
1149
|
static names(): { [key: string]: string } {
|
|
548
1150
|
return {
|
|
1151
|
+
objectiveCategory: 'objectiveCategory',
|
|
549
1152
|
objectiveRuleId: 'objectiveRuleId',
|
|
550
1153
|
objectiveRuleName: 'objectiveRuleName',
|
|
551
1154
|
};
|
|
@@ -553,6 +1156,7 @@ export class OpenOrgObjectiveRuleDTO extends $tea.Model {
|
|
|
553
1156
|
|
|
554
1157
|
static types(): { [key: string]: any } {
|
|
555
1158
|
return {
|
|
1159
|
+
objectiveCategory: 'string',
|
|
556
1160
|
objectiveRuleId: 'string',
|
|
557
1161
|
objectiveRuleName: 'string',
|
|
558
1162
|
};
|
|
@@ -563,6 +1167,36 @@ export class OpenOrgObjectiveRuleDTO extends $tea.Model {
|
|
|
563
1167
|
}
|
|
564
1168
|
}
|
|
565
1169
|
|
|
1170
|
+
export class OpenScoreCardDimensionDTO extends $tea.Model {
|
|
1171
|
+
/**
|
|
1172
|
+
* @remarks
|
|
1173
|
+
* This parameter is required.
|
|
1174
|
+
*/
|
|
1175
|
+
dimensionList?: OpenScoreCardDimensionDTODimensionList[];
|
|
1176
|
+
/**
|
|
1177
|
+
* @remarks
|
|
1178
|
+
* This parameter is required.
|
|
1179
|
+
*/
|
|
1180
|
+
scoreCardId?: string;
|
|
1181
|
+
static names(): { [key: string]: string } {
|
|
1182
|
+
return {
|
|
1183
|
+
dimensionList: 'dimensionList',
|
|
1184
|
+
scoreCardId: 'scoreCardId',
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
static types(): { [key: string]: any } {
|
|
1189
|
+
return {
|
|
1190
|
+
dimensionList: { 'type': 'array', 'itemType': OpenScoreCardDimensionDTODimensionList },
|
|
1191
|
+
scoreCardId: 'string',
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
constructor(map?: { [key: string]: any }) {
|
|
1196
|
+
super(map);
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
|
|
566
1200
|
export class OpenUserAdminDTO extends $tea.Model {
|
|
567
1201
|
/**
|
|
568
1202
|
* @remarks
|
|
@@ -649,10 +1283,61 @@ export class OpenUserSubAdminDTO extends $tea.Model {
|
|
|
649
1283
|
}
|
|
650
1284
|
}
|
|
651
1285
|
|
|
652
|
-
export class
|
|
1286
|
+
export class PerfTask extends $tea.Model {
|
|
653
1287
|
/**
|
|
654
|
-
* @
|
|
655
|
-
*
|
|
1288
|
+
* @example
|
|
1289
|
+
* 328497234
|
|
1290
|
+
*/
|
|
1291
|
+
id?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* @example
|
|
1294
|
+
* y/n
|
|
1295
|
+
*/
|
|
1296
|
+
isDeleted?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* @example
|
|
1299
|
+
* ONGOING
|
|
1300
|
+
*/
|
|
1301
|
+
status?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* @example
|
|
1304
|
+
* xxx考核任务
|
|
1305
|
+
*/
|
|
1306
|
+
title?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* @example
|
|
1309
|
+
* 23223423
|
|
1310
|
+
*/
|
|
1311
|
+
userId?: string;
|
|
1312
|
+
static names(): { [key: string]: string } {
|
|
1313
|
+
return {
|
|
1314
|
+
id: 'id',
|
|
1315
|
+
isDeleted: 'isDeleted',
|
|
1316
|
+
status: 'status',
|
|
1317
|
+
title: 'title',
|
|
1318
|
+
userId: 'userId',
|
|
1319
|
+
};
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
static types(): { [key: string]: any } {
|
|
1323
|
+
return {
|
|
1324
|
+
id: 'string',
|
|
1325
|
+
isDeleted: 'string',
|
|
1326
|
+
status: 'string',
|
|
1327
|
+
title: 'string',
|
|
1328
|
+
userId: 'string',
|
|
1329
|
+
};
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
constructor(map?: { [key: string]: any }) {
|
|
1333
|
+
super(map);
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
export class TitleMention extends $tea.Model {
|
|
1338
|
+
/**
|
|
1339
|
+
* @remarks
|
|
1340
|
+
* This parameter is required.
|
|
656
1341
|
*
|
|
657
1342
|
* @example
|
|
658
1343
|
* 10
|
|
@@ -826,7 +1511,7 @@ export class AgoalCreateProgressResponse extends $tea.Model {
|
|
|
826
1511
|
}
|
|
827
1512
|
}
|
|
828
1513
|
|
|
829
|
-
export class
|
|
1514
|
+
export class AgoalEntityCreateHeaders extends $tea.Model {
|
|
830
1515
|
commonHeaders?: { [key: string]: string };
|
|
831
1516
|
xAcsDingtalkAccessToken?: string;
|
|
832
1517
|
static names(): { [key: string]: string } {
|
|
@@ -848,41 +1533,17 @@ export class AgoalObjectiveKeyActionListHeaders extends $tea.Model {
|
|
|
848
1533
|
}
|
|
849
1534
|
}
|
|
850
1535
|
|
|
851
|
-
export class
|
|
852
|
-
|
|
853
|
-
* @remarks
|
|
854
|
-
* This parameter is required.
|
|
855
|
-
*
|
|
856
|
-
* @example
|
|
857
|
-
* 211042291978xxxx
|
|
858
|
-
*/
|
|
859
|
-
dingUserId?: string;
|
|
860
|
-
/**
|
|
861
|
-
* @example
|
|
862
|
-
* 6444f5e9a4261c6e699dxxxx
|
|
863
|
-
*/
|
|
864
|
-
keyResultId?: string;
|
|
865
|
-
/**
|
|
866
|
-
* @remarks
|
|
867
|
-
* This parameter is required.
|
|
868
|
-
*
|
|
869
|
-
* @example
|
|
870
|
-
* 6444f5e9a4261c6e699dxxxx
|
|
871
|
-
*/
|
|
872
|
-
objectiveId?: string;
|
|
1536
|
+
export class AgoalEntityCreateRequest extends $tea.Model {
|
|
1537
|
+
body?: Entity[];
|
|
873
1538
|
static names(): { [key: string]: string } {
|
|
874
1539
|
return {
|
|
875
|
-
|
|
876
|
-
keyResultId: 'keyResultId',
|
|
877
|
-
objectiveId: 'objectiveId',
|
|
1540
|
+
body: 'body',
|
|
878
1541
|
};
|
|
879
1542
|
}
|
|
880
1543
|
|
|
881
1544
|
static types(): { [key: string]: any } {
|
|
882
1545
|
return {
|
|
883
|
-
|
|
884
|
-
keyResultId: 'string',
|
|
885
|
-
objectiveId: 'string',
|
|
1546
|
+
body: { 'type': 'array', 'itemType': Entity },
|
|
886
1547
|
};
|
|
887
1548
|
}
|
|
888
1549
|
|
|
@@ -891,34 +1552,19 @@ export class AgoalObjectiveKeyActionListRequest extends $tea.Model {
|
|
|
891
1552
|
}
|
|
892
1553
|
}
|
|
893
1554
|
|
|
894
|
-
export class
|
|
895
|
-
|
|
896
|
-
* @remarks
|
|
897
|
-
* This parameter is required.
|
|
898
|
-
*/
|
|
899
|
-
content?: OpenAgoalKeyActionDTO[];
|
|
900
|
-
/**
|
|
901
|
-
* @example
|
|
902
|
-
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
903
|
-
*/
|
|
904
|
-
requestId?: string;
|
|
905
|
-
/**
|
|
906
|
-
* @remarks
|
|
907
|
-
* This parameter is required.
|
|
908
|
-
*/
|
|
1555
|
+
export class AgoalEntityCreateResponseBody extends $tea.Model {
|
|
1556
|
+
result?: boolean;
|
|
909
1557
|
success?: boolean;
|
|
910
1558
|
static names(): { [key: string]: string } {
|
|
911
1559
|
return {
|
|
912
|
-
|
|
913
|
-
requestId: 'requestId',
|
|
1560
|
+
result: 'result',
|
|
914
1561
|
success: 'success',
|
|
915
1562
|
};
|
|
916
1563
|
}
|
|
917
1564
|
|
|
918
1565
|
static types(): { [key: string]: any } {
|
|
919
1566
|
return {
|
|
920
|
-
|
|
921
|
-
requestId: 'string',
|
|
1567
|
+
result: 'boolean',
|
|
922
1568
|
success: 'boolean',
|
|
923
1569
|
};
|
|
924
1570
|
}
|
|
@@ -928,10 +1574,10 @@ export class AgoalObjectiveKeyActionListResponseBody extends $tea.Model {
|
|
|
928
1574
|
}
|
|
929
1575
|
}
|
|
930
1576
|
|
|
931
|
-
export class
|
|
1577
|
+
export class AgoalEntityCreateResponse extends $tea.Model {
|
|
932
1578
|
headers?: { [key: string]: string };
|
|
933
1579
|
statusCode?: number;
|
|
934
|
-
body?:
|
|
1580
|
+
body?: AgoalEntityCreateResponseBody;
|
|
935
1581
|
static names(): { [key: string]: string } {
|
|
936
1582
|
return {
|
|
937
1583
|
headers: 'headers',
|
|
@@ -944,7 +1590,7 @@ export class AgoalObjectiveKeyActionListResponse extends $tea.Model {
|
|
|
944
1590
|
return {
|
|
945
1591
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
946
1592
|
statusCode: 'number',
|
|
947
|
-
body:
|
|
1593
|
+
body: AgoalEntityCreateResponseBody,
|
|
948
1594
|
};
|
|
949
1595
|
}
|
|
950
1596
|
|
|
@@ -953,7 +1599,7 @@ export class AgoalObjectiveKeyActionListResponse extends $tea.Model {
|
|
|
953
1599
|
}
|
|
954
1600
|
}
|
|
955
1601
|
|
|
956
|
-
export class
|
|
1602
|
+
export class AgoalEntityUpdateHeaders extends $tea.Model {
|
|
957
1603
|
commonHeaders?: { [key: string]: string };
|
|
958
1604
|
xAcsDingtalkAccessToken?: string;
|
|
959
1605
|
static names(): { [key: string]: string } {
|
|
@@ -975,24 +1621,17 @@ export class AgoalObjectiveRulePeriodListHeaders extends $tea.Model {
|
|
|
975
1621
|
}
|
|
976
1622
|
}
|
|
977
1623
|
|
|
978
|
-
export class
|
|
979
|
-
|
|
980
|
-
* @remarks
|
|
981
|
-
* This parameter is required.
|
|
982
|
-
*
|
|
983
|
-
* @example
|
|
984
|
-
* 6444f5e9a4261c6e699dxxxx
|
|
985
|
-
*/
|
|
986
|
-
objectiveRuleId?: string;
|
|
1624
|
+
export class AgoalEntityUpdateRequest extends $tea.Model {
|
|
1625
|
+
body?: Entity[];
|
|
987
1626
|
static names(): { [key: string]: string } {
|
|
988
1627
|
return {
|
|
989
|
-
|
|
1628
|
+
body: 'body',
|
|
990
1629
|
};
|
|
991
1630
|
}
|
|
992
1631
|
|
|
993
1632
|
static types(): { [key: string]: any } {
|
|
994
1633
|
return {
|
|
995
|
-
|
|
1634
|
+
body: { 'type': 'array', 'itemType': Entity },
|
|
996
1635
|
};
|
|
997
1636
|
}
|
|
998
1637
|
|
|
@@ -1001,34 +1640,19 @@ export class AgoalObjectiveRulePeriodListRequest extends $tea.Model {
|
|
|
1001
1640
|
}
|
|
1002
1641
|
}
|
|
1003
1642
|
|
|
1004
|
-
export class
|
|
1005
|
-
|
|
1006
|
-
* @remarks
|
|
1007
|
-
* This parameter is required.
|
|
1008
|
-
*/
|
|
1009
|
-
content?: OpenObjectiveRulePeriodDTO[];
|
|
1010
|
-
/**
|
|
1011
|
-
* @example
|
|
1012
|
-
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
1013
|
-
*/
|
|
1014
|
-
requestId?: string;
|
|
1015
|
-
/**
|
|
1016
|
-
* @remarks
|
|
1017
|
-
* This parameter is required.
|
|
1018
|
-
*/
|
|
1643
|
+
export class AgoalEntityUpdateResponseBody extends $tea.Model {
|
|
1644
|
+
result?: boolean;
|
|
1019
1645
|
success?: boolean;
|
|
1020
1646
|
static names(): { [key: string]: string } {
|
|
1021
1647
|
return {
|
|
1022
|
-
|
|
1023
|
-
requestId: 'requestId',
|
|
1648
|
+
result: 'result',
|
|
1024
1649
|
success: 'success',
|
|
1025
1650
|
};
|
|
1026
1651
|
}
|
|
1027
1652
|
|
|
1028
1653
|
static types(): { [key: string]: any } {
|
|
1029
1654
|
return {
|
|
1030
|
-
|
|
1031
|
-
requestId: 'string',
|
|
1655
|
+
result: 'boolean',
|
|
1032
1656
|
success: 'boolean',
|
|
1033
1657
|
};
|
|
1034
1658
|
}
|
|
@@ -1038,10 +1662,10 @@ export class AgoalObjectiveRulePeriodListResponseBody extends $tea.Model {
|
|
|
1038
1662
|
}
|
|
1039
1663
|
}
|
|
1040
1664
|
|
|
1041
|
-
export class
|
|
1665
|
+
export class AgoalEntityUpdateResponse extends $tea.Model {
|
|
1042
1666
|
headers?: { [key: string]: string };
|
|
1043
1667
|
statusCode?: number;
|
|
1044
|
-
body?:
|
|
1668
|
+
body?: AgoalEntityUpdateResponseBody;
|
|
1045
1669
|
static names(): { [key: string]: string } {
|
|
1046
1670
|
return {
|
|
1047
1671
|
headers: 'headers',
|
|
@@ -1054,7 +1678,7 @@ export class AgoalObjectiveRulePeriodListResponse extends $tea.Model {
|
|
|
1054
1678
|
return {
|
|
1055
1679
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1056
1680
|
statusCode: 'number',
|
|
1057
|
-
body:
|
|
1681
|
+
body: AgoalEntityUpdateResponseBody,
|
|
1058
1682
|
};
|
|
1059
1683
|
}
|
|
1060
1684
|
|
|
@@ -1063,7 +1687,7 @@ export class AgoalObjectiveRulePeriodListResponse extends $tea.Model {
|
|
|
1063
1687
|
}
|
|
1064
1688
|
}
|
|
1065
1689
|
|
|
1066
|
-
export class
|
|
1690
|
+
export class AgoalFieldUpdateHeaders extends $tea.Model {
|
|
1067
1691
|
commonHeaders?: { [key: string]: string };
|
|
1068
1692
|
xAcsDingtalkAccessToken?: string;
|
|
1069
1693
|
static names(): { [key: string]: string } {
|
|
@@ -1085,22 +1709,48 @@ export class AgoalOrgObjectiveRuleListHeaders extends $tea.Model {
|
|
|
1085
1709
|
}
|
|
1086
1710
|
}
|
|
1087
1711
|
|
|
1088
|
-
export class
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1712
|
+
export class AgoalFieldUpdateRequest extends $tea.Model {
|
|
1713
|
+
body?: AgoalFieldUpdateRequestBody;
|
|
1714
|
+
static names(): { [key: string]: string } {
|
|
1715
|
+
return {
|
|
1716
|
+
body: 'body',
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
static types(): { [key: string]: any } {
|
|
1721
|
+
return {
|
|
1722
|
+
body: AgoalFieldUpdateRequestBody,
|
|
1723
|
+
};
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
constructor(map?: { [key: string]: any }) {
|
|
1727
|
+
super(map);
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
export class AgoalFieldUpdateShrinkRequest extends $tea.Model {
|
|
1732
|
+
bodyShrink?: string;
|
|
1733
|
+
static names(): { [key: string]: string } {
|
|
1734
|
+
return {
|
|
1735
|
+
bodyShrink: 'body',
|
|
1736
|
+
};
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
static types(): { [key: string]: any } {
|
|
1740
|
+
return {
|
|
1741
|
+
bodyShrink: 'string',
|
|
1742
|
+
};
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
constructor(map?: { [key: string]: any }) {
|
|
1746
|
+
super(map);
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
export class AgoalFieldUpdateResponseBody extends $tea.Model {
|
|
1751
|
+
content?: boolean;
|
|
1098
1752
|
requestId?: string;
|
|
1099
|
-
|
|
1100
|
-
* @remarks
|
|
1101
|
-
* This parameter is required.
|
|
1102
|
-
*/
|
|
1103
|
-
success?: boolean;
|
|
1753
|
+
success?: string;
|
|
1104
1754
|
static names(): { [key: string]: string } {
|
|
1105
1755
|
return {
|
|
1106
1756
|
content: 'content',
|
|
@@ -1111,9 +1761,9 @@ export class AgoalOrgObjectiveRuleListResponseBody extends $tea.Model {
|
|
|
1111
1761
|
|
|
1112
1762
|
static types(): { [key: string]: any } {
|
|
1113
1763
|
return {
|
|
1114
|
-
content:
|
|
1764
|
+
content: 'boolean',
|
|
1115
1765
|
requestId: 'string',
|
|
1116
|
-
success: '
|
|
1766
|
+
success: 'string',
|
|
1117
1767
|
};
|
|
1118
1768
|
}
|
|
1119
1769
|
|
|
@@ -1122,10 +1772,10 @@ export class AgoalOrgObjectiveRuleListResponseBody extends $tea.Model {
|
|
|
1122
1772
|
}
|
|
1123
1773
|
}
|
|
1124
1774
|
|
|
1125
|
-
export class
|
|
1775
|
+
export class AgoalFieldUpdateResponse extends $tea.Model {
|
|
1126
1776
|
headers?: { [key: string]: string };
|
|
1127
1777
|
statusCode?: number;
|
|
1128
|
-
body?:
|
|
1778
|
+
body?: AgoalFieldUpdateResponseBody;
|
|
1129
1779
|
static names(): { [key: string]: string } {
|
|
1130
1780
|
return {
|
|
1131
1781
|
headers: 'headers',
|
|
@@ -1138,7 +1788,7 @@ export class AgoalOrgObjectiveRuleListResponse extends $tea.Model {
|
|
|
1138
1788
|
return {
|
|
1139
1789
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1140
1790
|
statusCode: 'number',
|
|
1141
|
-
body:
|
|
1791
|
+
body: AgoalFieldUpdateResponseBody,
|
|
1142
1792
|
};
|
|
1143
1793
|
}
|
|
1144
1794
|
|
|
@@ -1147,7 +1797,7 @@ export class AgoalOrgObjectiveRuleListResponse extends $tea.Model {
|
|
|
1147
1797
|
}
|
|
1148
1798
|
}
|
|
1149
1799
|
|
|
1150
|
-
export class
|
|
1800
|
+
export class AgoalObjectiveKeyActionListHeaders extends $tea.Model {
|
|
1151
1801
|
commonHeaders?: { [key: string]: string };
|
|
1152
1802
|
xAcsDingtalkAccessToken?: string;
|
|
1153
1803
|
static names(): { [key: string]: string } {
|
|
@@ -1169,31 +1819,7 @@ export class AgoalSendMessageHeaders extends $tea.Model {
|
|
|
1169
1819
|
}
|
|
1170
1820
|
}
|
|
1171
1821
|
|
|
1172
|
-
export class
|
|
1173
|
-
/**
|
|
1174
|
-
* @remarks
|
|
1175
|
-
* This parameter is required.
|
|
1176
|
-
*
|
|
1177
|
-
* @example
|
|
1178
|
-
* https://agoal.dingtalk.com
|
|
1179
|
-
*/
|
|
1180
|
-
mobileUrl?: string;
|
|
1181
|
-
/**
|
|
1182
|
-
* @remarks
|
|
1183
|
-
* This parameter is required.
|
|
1184
|
-
*
|
|
1185
|
-
* @example
|
|
1186
|
-
* {"A":"a", "B":"b"}
|
|
1187
|
-
*/
|
|
1188
|
-
params?: string;
|
|
1189
|
-
/**
|
|
1190
|
-
* @remarks
|
|
1191
|
-
* This parameter is required.
|
|
1192
|
-
*
|
|
1193
|
-
* @example
|
|
1194
|
-
* https://agoal.dingtalk.com
|
|
1195
|
-
*/
|
|
1196
|
-
pcUrl?: string;
|
|
1822
|
+
export class AgoalObjectiveKeyActionListRequest extends $tea.Model {
|
|
1197
1823
|
/**
|
|
1198
1824
|
* @remarks
|
|
1199
1825
|
* This parameter is required.
|
|
@@ -1201,39 +1827,33 @@ export class AgoalSendMessageRequest extends $tea.Model {
|
|
|
1201
1827
|
* @example
|
|
1202
1828
|
* 211042291978xxxx
|
|
1203
1829
|
*/
|
|
1204
|
-
|
|
1830
|
+
dingUserId?: string;
|
|
1205
1831
|
/**
|
|
1206
|
-
* @
|
|
1207
|
-
*
|
|
1832
|
+
* @example
|
|
1833
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
1208
1834
|
*/
|
|
1209
|
-
|
|
1835
|
+
keyResultId?: string;
|
|
1210
1836
|
/**
|
|
1211
1837
|
* @remarks
|
|
1212
1838
|
* This parameter is required.
|
|
1213
1839
|
*
|
|
1214
1840
|
* @example
|
|
1215
|
-
*
|
|
1841
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
1216
1842
|
*/
|
|
1217
|
-
|
|
1843
|
+
objectiveId?: string;
|
|
1218
1844
|
static names(): { [key: string]: string } {
|
|
1219
1845
|
return {
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
sourceDingUserId: 'sourceDingUserId',
|
|
1224
|
-
targetDingUserIds: 'targetDingUserIds',
|
|
1225
|
-
templateId: 'templateId',
|
|
1846
|
+
dingUserId: 'dingUserId',
|
|
1847
|
+
keyResultId: 'keyResultId',
|
|
1848
|
+
objectiveId: 'objectiveId',
|
|
1226
1849
|
};
|
|
1227
1850
|
}
|
|
1228
1851
|
|
|
1229
1852
|
static types(): { [key: string]: any } {
|
|
1230
1853
|
return {
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
sourceDingUserId: 'string',
|
|
1235
|
-
targetDingUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
1236
|
-
templateId: 'string',
|
|
1854
|
+
dingUserId: 'string',
|
|
1855
|
+
keyResultId: 'string',
|
|
1856
|
+
objectiveId: 'string',
|
|
1237
1857
|
};
|
|
1238
1858
|
}
|
|
1239
1859
|
|
|
@@ -1242,16 +1862,13 @@ export class AgoalSendMessageRequest extends $tea.Model {
|
|
|
1242
1862
|
}
|
|
1243
1863
|
}
|
|
1244
1864
|
|
|
1245
|
-
export class
|
|
1865
|
+
export class AgoalObjectiveKeyActionListResponseBody extends $tea.Model {
|
|
1246
1866
|
/**
|
|
1247
1867
|
* @remarks
|
|
1248
1868
|
* This parameter is required.
|
|
1249
1869
|
*/
|
|
1250
|
-
content?:
|
|
1870
|
+
content?: OpenAgoalKeyActionDTO[];
|
|
1251
1871
|
/**
|
|
1252
|
-
* @remarks
|
|
1253
|
-
* This parameter is required.
|
|
1254
|
-
*
|
|
1255
1872
|
* @example
|
|
1256
1873
|
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
1257
1874
|
*/
|
|
@@ -1271,7 +1888,7 @@ export class AgoalSendMessageResponseBody extends $tea.Model {
|
|
|
1271
1888
|
|
|
1272
1889
|
static types(): { [key: string]: any } {
|
|
1273
1890
|
return {
|
|
1274
|
-
content: '
|
|
1891
|
+
content: { 'type': 'array', 'itemType': OpenAgoalKeyActionDTO },
|
|
1275
1892
|
requestId: 'string',
|
|
1276
1893
|
success: 'boolean',
|
|
1277
1894
|
};
|
|
@@ -1282,10 +1899,10 @@ export class AgoalSendMessageResponseBody extends $tea.Model {
|
|
|
1282
1899
|
}
|
|
1283
1900
|
}
|
|
1284
1901
|
|
|
1285
|
-
export class
|
|
1902
|
+
export class AgoalObjectiveKeyActionListResponse extends $tea.Model {
|
|
1286
1903
|
headers?: { [key: string]: string };
|
|
1287
1904
|
statusCode?: number;
|
|
1288
|
-
body?:
|
|
1905
|
+
body?: AgoalObjectiveKeyActionListResponseBody;
|
|
1289
1906
|
static names(): { [key: string]: string } {
|
|
1290
1907
|
return {
|
|
1291
1908
|
headers: 'headers',
|
|
@@ -1298,7 +1915,7 @@ export class AgoalSendMessageResponse extends $tea.Model {
|
|
|
1298
1915
|
return {
|
|
1299
1916
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1300
1917
|
statusCode: 'number',
|
|
1301
|
-
body:
|
|
1918
|
+
body: AgoalObjectiveKeyActionListResponseBody,
|
|
1302
1919
|
};
|
|
1303
1920
|
}
|
|
1304
1921
|
|
|
@@ -1307,7 +1924,7 @@ export class AgoalSendMessageResponse extends $tea.Model {
|
|
|
1307
1924
|
}
|
|
1308
1925
|
}
|
|
1309
1926
|
|
|
1310
|
-
export class
|
|
1927
|
+
export class AgoalObjectiveRulePeriodListHeaders extends $tea.Model {
|
|
1311
1928
|
commonHeaders?: { [key: string]: string };
|
|
1312
1929
|
xAcsDingtalkAccessToken?: string;
|
|
1313
1930
|
static names(): { [key: string]: string } {
|
|
@@ -1329,12 +1946,38 @@ export class AgoalUserAdminListHeaders extends $tea.Model {
|
|
|
1329
1946
|
}
|
|
1330
1947
|
}
|
|
1331
1948
|
|
|
1332
|
-
export class
|
|
1949
|
+
export class AgoalObjectiveRulePeriodListRequest extends $tea.Model {
|
|
1333
1950
|
/**
|
|
1334
1951
|
* @remarks
|
|
1335
1952
|
* This parameter is required.
|
|
1953
|
+
*
|
|
1954
|
+
* @example
|
|
1955
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
1336
1956
|
*/
|
|
1337
|
-
|
|
1957
|
+
objectiveRuleId?: string;
|
|
1958
|
+
static names(): { [key: string]: string } {
|
|
1959
|
+
return {
|
|
1960
|
+
objectiveRuleId: 'objectiveRuleId',
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
static types(): { [key: string]: any } {
|
|
1965
|
+
return {
|
|
1966
|
+
objectiveRuleId: 'string',
|
|
1967
|
+
};
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
constructor(map?: { [key: string]: any }) {
|
|
1971
|
+
super(map);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export class AgoalObjectiveRulePeriodListResponseBody extends $tea.Model {
|
|
1976
|
+
/**
|
|
1977
|
+
* @remarks
|
|
1978
|
+
* This parameter is required.
|
|
1979
|
+
*/
|
|
1980
|
+
content?: OpenObjectiveRulePeriodDTO[];
|
|
1338
1981
|
/**
|
|
1339
1982
|
* @example
|
|
1340
1983
|
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
@@ -1355,7 +1998,7 @@ export class AgoalUserAdminListResponseBody extends $tea.Model {
|
|
|
1355
1998
|
|
|
1356
1999
|
static types(): { [key: string]: any } {
|
|
1357
2000
|
return {
|
|
1358
|
-
content: { 'type': 'array', 'itemType':
|
|
2001
|
+
content: { 'type': 'array', 'itemType': OpenObjectiveRulePeriodDTO },
|
|
1359
2002
|
requestId: 'string',
|
|
1360
2003
|
success: 'boolean',
|
|
1361
2004
|
};
|
|
@@ -1366,10 +2009,10 @@ export class AgoalUserAdminListResponseBody extends $tea.Model {
|
|
|
1366
2009
|
}
|
|
1367
2010
|
}
|
|
1368
2011
|
|
|
1369
|
-
export class
|
|
2012
|
+
export class AgoalObjectiveRulePeriodListResponse extends $tea.Model {
|
|
1370
2013
|
headers?: { [key: string]: string };
|
|
1371
2014
|
statusCode?: number;
|
|
1372
|
-
body?:
|
|
2015
|
+
body?: AgoalObjectiveRulePeriodListResponseBody;
|
|
1373
2016
|
static names(): { [key: string]: string } {
|
|
1374
2017
|
return {
|
|
1375
2018
|
headers: 'headers',
|
|
@@ -1382,7 +2025,7 @@ export class AgoalUserAdminListResponse extends $tea.Model {
|
|
|
1382
2025
|
return {
|
|
1383
2026
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1384
2027
|
statusCode: 'number',
|
|
1385
|
-
body:
|
|
2028
|
+
body: AgoalObjectiveRulePeriodListResponseBody,
|
|
1386
2029
|
};
|
|
1387
2030
|
}
|
|
1388
2031
|
|
|
@@ -1391,7 +2034,7 @@ export class AgoalUserAdminListResponse extends $tea.Model {
|
|
|
1391
2034
|
}
|
|
1392
2035
|
}
|
|
1393
2036
|
|
|
1394
|
-
export class
|
|
2037
|
+
export class AgoalOrgObjectiveListHeaders extends $tea.Model {
|
|
1395
2038
|
commonHeaders?: { [key: string]: string };
|
|
1396
2039
|
xAcsDingtalkAccessToken?: string;
|
|
1397
2040
|
static names(): { [key: string]: string } {
|
|
@@ -1413,41 +2056,51 @@ export class AgoalUserObjectiveListHeaders extends $tea.Model {
|
|
|
1413
2056
|
}
|
|
1414
2057
|
}
|
|
1415
2058
|
|
|
1416
|
-
export class
|
|
2059
|
+
export class AgoalOrgObjectiveListRequest extends $tea.Model {
|
|
1417
2060
|
/**
|
|
1418
|
-
* @remarks
|
|
1419
|
-
* This parameter is required.
|
|
1420
|
-
*
|
|
1421
2061
|
* @example
|
|
1422
|
-
*
|
|
2062
|
+
* 853530516
|
|
2063
|
+
*
|
|
2064
|
+
* **if can be null:**
|
|
2065
|
+
* true
|
|
1423
2066
|
*/
|
|
1424
|
-
|
|
2067
|
+
dingTeamId?: string;
|
|
1425
2068
|
/**
|
|
1426
2069
|
* @remarks
|
|
1427
2070
|
* This parameter is required.
|
|
1428
2071
|
*
|
|
1429
2072
|
* @example
|
|
1430
|
-
*
|
|
2073
|
+
* 1
|
|
1431
2074
|
*/
|
|
1432
|
-
|
|
2075
|
+
pageNumber?: number;
|
|
1433
2076
|
/**
|
|
1434
|
-
* @
|
|
1435
|
-
*
|
|
2077
|
+
* @example
|
|
2078
|
+
* 10
|
|
1436
2079
|
*/
|
|
1437
|
-
|
|
2080
|
+
pageSize?: number;
|
|
2081
|
+
/**
|
|
2082
|
+
* @example
|
|
2083
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
2084
|
+
*
|
|
2085
|
+
* **if can be null:**
|
|
2086
|
+
* true
|
|
2087
|
+
*/
|
|
2088
|
+
periodId?: string;
|
|
1438
2089
|
static names(): { [key: string]: string } {
|
|
1439
2090
|
return {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
2091
|
+
dingTeamId: 'dingTeamId',
|
|
2092
|
+
pageNumber: 'pageNumber',
|
|
2093
|
+
pageSize: 'pageSize',
|
|
2094
|
+
periodId: 'periodId',
|
|
1443
2095
|
};
|
|
1444
2096
|
}
|
|
1445
2097
|
|
|
1446
2098
|
static types(): { [key: string]: any } {
|
|
1447
2099
|
return {
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
2100
|
+
dingTeamId: 'string',
|
|
2101
|
+
pageNumber: 'number',
|
|
2102
|
+
pageSize: 'number',
|
|
2103
|
+
periodId: 'string',
|
|
1451
2104
|
};
|
|
1452
2105
|
}
|
|
1453
2106
|
|
|
@@ -1456,8 +2109,8 @@ export class AgoalUserObjectiveListRequest extends $tea.Model {
|
|
|
1456
2109
|
}
|
|
1457
2110
|
}
|
|
1458
2111
|
|
|
1459
|
-
export class
|
|
1460
|
-
content?:
|
|
2112
|
+
export class AgoalOrgObjectiveListResponseBody extends $tea.Model {
|
|
2113
|
+
content?: OpenAgoalOrgObjectiveListDTO;
|
|
1461
2114
|
requestId?: string;
|
|
1462
2115
|
success?: boolean;
|
|
1463
2116
|
static names(): { [key: string]: string } {
|
|
@@ -1470,7 +2123,7 @@ export class AgoalUserObjectiveListResponseBody extends $tea.Model {
|
|
|
1470
2123
|
|
|
1471
2124
|
static types(): { [key: string]: any } {
|
|
1472
2125
|
return {
|
|
1473
|
-
content:
|
|
2126
|
+
content: OpenAgoalOrgObjectiveListDTO,
|
|
1474
2127
|
requestId: 'string',
|
|
1475
2128
|
success: 'boolean',
|
|
1476
2129
|
};
|
|
@@ -1481,10 +2134,10 @@ export class AgoalUserObjectiveListResponseBody extends $tea.Model {
|
|
|
1481
2134
|
}
|
|
1482
2135
|
}
|
|
1483
2136
|
|
|
1484
|
-
export class
|
|
2137
|
+
export class AgoalOrgObjectiveListResponse extends $tea.Model {
|
|
1485
2138
|
headers?: { [key: string]: string };
|
|
1486
2139
|
statusCode?: number;
|
|
1487
|
-
body?:
|
|
2140
|
+
body?: AgoalOrgObjectiveListResponseBody;
|
|
1488
2141
|
static names(): { [key: string]: string } {
|
|
1489
2142
|
return {
|
|
1490
2143
|
headers: 'headers',
|
|
@@ -1497,7 +2150,7 @@ export class AgoalUserObjectiveListResponse extends $tea.Model {
|
|
|
1497
2150
|
return {
|
|
1498
2151
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1499
2152
|
statusCode: 'number',
|
|
1500
|
-
body:
|
|
2153
|
+
body: AgoalOrgObjectiveListResponseBody,
|
|
1501
2154
|
};
|
|
1502
2155
|
}
|
|
1503
2156
|
|
|
@@ -1506,7 +2159,7 @@ export class AgoalUserObjectiveListResponse extends $tea.Model {
|
|
|
1506
2159
|
}
|
|
1507
2160
|
}
|
|
1508
2161
|
|
|
1509
|
-
export class
|
|
2162
|
+
export class AgoalOrgObjectiveQueryHeaders extends $tea.Model {
|
|
1510
2163
|
commonHeaders?: { [key: string]: string };
|
|
1511
2164
|
xAcsDingtalkAccessToken?: string;
|
|
1512
2165
|
static names(): { [key: string]: string } {
|
|
@@ -1528,21 +2181,24 @@ export class AgoalUserSubAdminListHeaders extends $tea.Model {
|
|
|
1528
2181
|
}
|
|
1529
2182
|
}
|
|
1530
2183
|
|
|
1531
|
-
export class
|
|
2184
|
+
export class AgoalOrgObjectiveQueryRequest extends $tea.Model {
|
|
1532
2185
|
/**
|
|
2186
|
+
* @remarks
|
|
2187
|
+
* This parameter is required.
|
|
2188
|
+
*
|
|
1533
2189
|
* @example
|
|
1534
|
-
*
|
|
2190
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
1535
2191
|
*/
|
|
1536
|
-
|
|
2192
|
+
objectiveId?: string;
|
|
1537
2193
|
static names(): { [key: string]: string } {
|
|
1538
2194
|
return {
|
|
1539
|
-
|
|
2195
|
+
objectiveId: 'objectiveId',
|
|
1540
2196
|
};
|
|
1541
2197
|
}
|
|
1542
2198
|
|
|
1543
2199
|
static types(): { [key: string]: any } {
|
|
1544
2200
|
return {
|
|
1545
|
-
|
|
2201
|
+
objectiveId: 'string',
|
|
1546
2202
|
};
|
|
1547
2203
|
}
|
|
1548
2204
|
|
|
@@ -1551,13 +2207,93 @@ export class AgoalUserSubAdminListRequest extends $tea.Model {
|
|
|
1551
2207
|
}
|
|
1552
2208
|
}
|
|
1553
2209
|
|
|
1554
|
-
export class
|
|
1555
|
-
content?:
|
|
2210
|
+
export class AgoalOrgObjectiveQueryResponseBody extends $tea.Model {
|
|
2211
|
+
content?: OpenAgoalOrgObjectiveDTO;
|
|
2212
|
+
requestId?: string;
|
|
2213
|
+
success?: boolean;
|
|
2214
|
+
static names(): { [key: string]: string } {
|
|
2215
|
+
return {
|
|
2216
|
+
content: 'content',
|
|
2217
|
+
requestId: 'requestId',
|
|
2218
|
+
success: 'success',
|
|
2219
|
+
};
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
static types(): { [key: string]: any } {
|
|
2223
|
+
return {
|
|
2224
|
+
content: OpenAgoalOrgObjectiveDTO,
|
|
2225
|
+
requestId: 'string',
|
|
2226
|
+
success: 'boolean',
|
|
2227
|
+
};
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
constructor(map?: { [key: string]: any }) {
|
|
2231
|
+
super(map);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
export class AgoalOrgObjectiveQueryResponse extends $tea.Model {
|
|
2236
|
+
headers?: { [key: string]: string };
|
|
2237
|
+
statusCode?: number;
|
|
2238
|
+
body?: AgoalOrgObjectiveQueryResponseBody;
|
|
2239
|
+
static names(): { [key: string]: string } {
|
|
2240
|
+
return {
|
|
2241
|
+
headers: 'headers',
|
|
2242
|
+
statusCode: 'statusCode',
|
|
2243
|
+
body: 'body',
|
|
2244
|
+
};
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
static types(): { [key: string]: any } {
|
|
2248
|
+
return {
|
|
2249
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2250
|
+
statusCode: 'number',
|
|
2251
|
+
body: AgoalOrgObjectiveQueryResponseBody,
|
|
2252
|
+
};
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
constructor(map?: { [key: string]: any }) {
|
|
2256
|
+
super(map);
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
export class AgoalOrgObjectiveRuleListHeaders extends $tea.Model {
|
|
2261
|
+
commonHeaders?: { [key: string]: string };
|
|
2262
|
+
xAcsDingtalkAccessToken?: string;
|
|
2263
|
+
static names(): { [key: string]: string } {
|
|
2264
|
+
return {
|
|
2265
|
+
commonHeaders: 'commonHeaders',
|
|
2266
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2267
|
+
};
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
static types(): { [key: string]: any } {
|
|
2271
|
+
return {
|
|
2272
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2273
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2274
|
+
};
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
constructor(map?: { [key: string]: any }) {
|
|
2278
|
+
super(map);
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
export class AgoalOrgObjectiveRuleListResponseBody extends $tea.Model {
|
|
2283
|
+
/**
|
|
2284
|
+
* @remarks
|
|
2285
|
+
* This parameter is required.
|
|
2286
|
+
*/
|
|
2287
|
+
content?: OpenOrgObjectiveRuleDTO[];
|
|
1556
2288
|
/**
|
|
1557
2289
|
* @example
|
|
1558
2290
|
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
1559
2291
|
*/
|
|
1560
2292
|
requestId?: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* @remarks
|
|
2295
|
+
* This parameter is required.
|
|
2296
|
+
*/
|
|
1561
2297
|
success?: boolean;
|
|
1562
2298
|
static names(): { [key: string]: string } {
|
|
1563
2299
|
return {
|
|
@@ -1569,7 +2305,7 @@ export class AgoalUserSubAdminListResponseBody extends $tea.Model {
|
|
|
1569
2305
|
|
|
1570
2306
|
static types(): { [key: string]: any } {
|
|
1571
2307
|
return {
|
|
1572
|
-
content: { 'type': 'array', 'itemType':
|
|
2308
|
+
content: { 'type': 'array', 'itemType': OpenOrgObjectiveRuleDTO },
|
|
1573
2309
|
requestId: 'string',
|
|
1574
2310
|
success: 'boolean',
|
|
1575
2311
|
};
|
|
@@ -1580,10 +2316,10 @@ export class AgoalUserSubAdminListResponseBody extends $tea.Model {
|
|
|
1580
2316
|
}
|
|
1581
2317
|
}
|
|
1582
2318
|
|
|
1583
|
-
export class
|
|
2319
|
+
export class AgoalOrgObjectiveRuleListResponse extends $tea.Model {
|
|
1584
2320
|
headers?: { [key: string]: string };
|
|
1585
2321
|
statusCode?: number;
|
|
1586
|
-
body?:
|
|
2322
|
+
body?: AgoalOrgObjectiveRuleListResponseBody;
|
|
1587
2323
|
static names(): { [key: string]: string } {
|
|
1588
2324
|
return {
|
|
1589
2325
|
headers: 'headers',
|
|
@@ -1596,7 +2332,7 @@ export class AgoalUserSubAdminListResponse extends $tea.Model {
|
|
|
1596
2332
|
return {
|
|
1597
2333
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1598
2334
|
statusCode: 'number',
|
|
1599
|
-
body:
|
|
2335
|
+
body: AgoalOrgObjectiveRuleListResponseBody,
|
|
1600
2336
|
};
|
|
1601
2337
|
}
|
|
1602
2338
|
|
|
@@ -1605,54 +2341,1420 @@ export class AgoalUserSubAdminListResponse extends $tea.Model {
|
|
|
1605
2341
|
}
|
|
1606
2342
|
}
|
|
1607
2343
|
|
|
2344
|
+
export class AgoalPerfTaskCreateHeaders extends $tea.Model {
|
|
2345
|
+
commonHeaders?: { [key: string]: string };
|
|
2346
|
+
xAcsDingtalkAccessToken?: string;
|
|
2347
|
+
static names(): { [key: string]: string } {
|
|
2348
|
+
return {
|
|
2349
|
+
commonHeaders: 'commonHeaders',
|
|
2350
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
1608
2353
|
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
this._endpointRule = "";
|
|
1616
|
-
if (Util.empty(this._endpoint)) {
|
|
1617
|
-
this._endpoint = "api.dingtalk.com";
|
|
1618
|
-
}
|
|
2354
|
+
static types(): { [key: string]: any } {
|
|
2355
|
+
return {
|
|
2356
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2357
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2358
|
+
};
|
|
2359
|
+
}
|
|
1619
2360
|
|
|
2361
|
+
constructor(map?: { [key: string]: any }) {
|
|
2362
|
+
super(map);
|
|
1620
2363
|
}
|
|
2364
|
+
}
|
|
1621
2365
|
|
|
2366
|
+
export class AgoalPerfTaskCreateRequest extends $tea.Model {
|
|
2367
|
+
body?: PerfTask[];
|
|
2368
|
+
static names(): { [key: string]: string } {
|
|
2369
|
+
return {
|
|
2370
|
+
body: 'body',
|
|
2371
|
+
};
|
|
2372
|
+
}
|
|
1622
2373
|
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1629
|
-
* @returns AgoalCreateProgressResponse
|
|
1630
|
-
*/
|
|
1631
|
-
async agoalCreateProgressWithOptions(request: AgoalCreateProgressRequest, headers: AgoalCreateProgressHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalCreateProgressResponse> {
|
|
1632
|
-
Util.validateModel(request);
|
|
1633
|
-
let body : {[key: string ]: any} = { };
|
|
1634
|
-
if (!Util.isUnset(request.krId)) {
|
|
1635
|
-
body["krId"] = request.krId;
|
|
1636
|
-
}
|
|
2374
|
+
static types(): { [key: string]: any } {
|
|
2375
|
+
return {
|
|
2376
|
+
body: { 'type': 'array', 'itemType': PerfTask },
|
|
2377
|
+
};
|
|
2378
|
+
}
|
|
1637
2379
|
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
2380
|
+
constructor(map?: { [key: string]: any }) {
|
|
2381
|
+
super(map);
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
1641
2384
|
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
2385
|
+
export class AgoalPerfTaskCreateResponseBody extends $tea.Model {
|
|
2386
|
+
result?: boolean;
|
|
2387
|
+
success?: boolean;
|
|
2388
|
+
static names(): { [key: string]: string } {
|
|
2389
|
+
return {
|
|
2390
|
+
result: 'result',
|
|
2391
|
+
success: 'success',
|
|
2392
|
+
};
|
|
2393
|
+
}
|
|
1645
2394
|
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
2395
|
+
static types(): { [key: string]: any } {
|
|
2396
|
+
return {
|
|
2397
|
+
result: 'boolean',
|
|
2398
|
+
success: 'boolean',
|
|
2399
|
+
};
|
|
2400
|
+
}
|
|
1649
2401
|
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
2402
|
+
constructor(map?: { [key: string]: any }) {
|
|
2403
|
+
super(map);
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
1653
2406
|
|
|
1654
|
-
|
|
1655
|
-
|
|
2407
|
+
export class AgoalPerfTaskCreateResponse extends $tea.Model {
|
|
2408
|
+
headers?: { [key: string]: string };
|
|
2409
|
+
statusCode?: number;
|
|
2410
|
+
body?: AgoalPerfTaskCreateResponseBody;
|
|
2411
|
+
static names(): { [key: string]: string } {
|
|
2412
|
+
return {
|
|
2413
|
+
headers: 'headers',
|
|
2414
|
+
statusCode: 'statusCode',
|
|
2415
|
+
body: 'body',
|
|
2416
|
+
};
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
static types(): { [key: string]: any } {
|
|
2420
|
+
return {
|
|
2421
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2422
|
+
statusCode: 'number',
|
|
2423
|
+
body: AgoalPerfTaskCreateResponseBody,
|
|
2424
|
+
};
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
constructor(map?: { [key: string]: any }) {
|
|
2428
|
+
super(map);
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
export class AgoalPerfTaskUpdateHeaders extends $tea.Model {
|
|
2433
|
+
commonHeaders?: { [key: string]: string };
|
|
2434
|
+
xAcsDingtalkAccessToken?: string;
|
|
2435
|
+
static names(): { [key: string]: string } {
|
|
2436
|
+
return {
|
|
2437
|
+
commonHeaders: 'commonHeaders',
|
|
2438
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2439
|
+
};
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
static types(): { [key: string]: any } {
|
|
2443
|
+
return {
|
|
2444
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2445
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2446
|
+
};
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
constructor(map?: { [key: string]: any }) {
|
|
2450
|
+
super(map);
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
export class AgoalPerfTaskUpdateRequest extends $tea.Model {
|
|
2455
|
+
body?: PerfTask[];
|
|
2456
|
+
static names(): { [key: string]: string } {
|
|
2457
|
+
return {
|
|
2458
|
+
body: 'body',
|
|
2459
|
+
};
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
static types(): { [key: string]: any } {
|
|
2463
|
+
return {
|
|
2464
|
+
body: { 'type': 'array', 'itemType': PerfTask },
|
|
2465
|
+
};
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
constructor(map?: { [key: string]: any }) {
|
|
2469
|
+
super(map);
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
export class AgoalPerfTaskUpdateResponseBody extends $tea.Model {
|
|
2474
|
+
result?: boolean;
|
|
2475
|
+
success?: boolean;
|
|
2476
|
+
static names(): { [key: string]: string } {
|
|
2477
|
+
return {
|
|
2478
|
+
result: 'result',
|
|
2479
|
+
success: 'success',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
static types(): { [key: string]: any } {
|
|
2484
|
+
return {
|
|
2485
|
+
result: 'boolean',
|
|
2486
|
+
success: 'boolean',
|
|
2487
|
+
};
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
constructor(map?: { [key: string]: any }) {
|
|
2491
|
+
super(map);
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
export class AgoalPerfTaskUpdateResponse extends $tea.Model {
|
|
2496
|
+
headers?: { [key: string]: string };
|
|
2497
|
+
statusCode?: number;
|
|
2498
|
+
body?: AgoalPerfTaskUpdateResponseBody;
|
|
2499
|
+
static names(): { [key: string]: string } {
|
|
2500
|
+
return {
|
|
2501
|
+
headers: 'headers',
|
|
2502
|
+
statusCode: 'statusCode',
|
|
2503
|
+
body: 'body',
|
|
2504
|
+
};
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
static types(): { [key: string]: any } {
|
|
2508
|
+
return {
|
|
2509
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2510
|
+
statusCode: 'number',
|
|
2511
|
+
body: AgoalPerfTaskUpdateResponseBody,
|
|
2512
|
+
};
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
constructor(map?: { [key: string]: any }) {
|
|
2516
|
+
super(map);
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
export class AgoalPeriodListHeaders extends $tea.Model {
|
|
2521
|
+
commonHeaders?: { [key: string]: string };
|
|
2522
|
+
xAcsDingtalkAccessToken?: string;
|
|
2523
|
+
static names(): { [key: string]: string } {
|
|
2524
|
+
return {
|
|
2525
|
+
commonHeaders: 'commonHeaders',
|
|
2526
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2527
|
+
};
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
static types(): { [key: string]: any } {
|
|
2531
|
+
return {
|
|
2532
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2533
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2534
|
+
};
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
constructor(map?: { [key: string]: any }) {
|
|
2538
|
+
super(map);
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
export class AgoalPeriodListRequest extends $tea.Model {
|
|
2543
|
+
body?: AgoalPeriodListRequestBody;
|
|
2544
|
+
static names(): { [key: string]: string } {
|
|
2545
|
+
return {
|
|
2546
|
+
body: 'body',
|
|
2547
|
+
};
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
static types(): { [key: string]: any } {
|
|
2551
|
+
return {
|
|
2552
|
+
body: AgoalPeriodListRequestBody,
|
|
2553
|
+
};
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
constructor(map?: { [key: string]: any }) {
|
|
2557
|
+
super(map);
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
export class AgoalPeriodListShrinkRequest extends $tea.Model {
|
|
2562
|
+
bodyShrink?: string;
|
|
2563
|
+
static names(): { [key: string]: string } {
|
|
2564
|
+
return {
|
|
2565
|
+
bodyShrink: 'body',
|
|
2566
|
+
};
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
static types(): { [key: string]: any } {
|
|
2570
|
+
return {
|
|
2571
|
+
bodyShrink: 'string',
|
|
2572
|
+
};
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
constructor(map?: { [key: string]: any }) {
|
|
2576
|
+
super(map);
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
export class AgoalPeriodListResponseBody extends $tea.Model {
|
|
2581
|
+
content?: OpenAgoalPeriodDTO[];
|
|
2582
|
+
requestId?: string;
|
|
2583
|
+
success?: boolean;
|
|
2584
|
+
static names(): { [key: string]: string } {
|
|
2585
|
+
return {
|
|
2586
|
+
content: 'content',
|
|
2587
|
+
requestId: 'requestId',
|
|
2588
|
+
success: 'success',
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
static types(): { [key: string]: any } {
|
|
2593
|
+
return {
|
|
2594
|
+
content: { 'type': 'array', 'itemType': OpenAgoalPeriodDTO },
|
|
2595
|
+
requestId: 'string',
|
|
2596
|
+
success: 'boolean',
|
|
2597
|
+
};
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
constructor(map?: { [key: string]: any }) {
|
|
2601
|
+
super(map);
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
export class AgoalPeriodListResponse extends $tea.Model {
|
|
2606
|
+
headers?: { [key: string]: string };
|
|
2607
|
+
statusCode?: number;
|
|
2608
|
+
body?: AgoalPeriodListResponseBody;
|
|
2609
|
+
static names(): { [key: string]: string } {
|
|
2610
|
+
return {
|
|
2611
|
+
headers: 'headers',
|
|
2612
|
+
statusCode: 'statusCode',
|
|
2613
|
+
body: 'body',
|
|
2614
|
+
};
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
static types(): { [key: string]: any } {
|
|
2618
|
+
return {
|
|
2619
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2620
|
+
statusCode: 'number',
|
|
2621
|
+
body: AgoalPeriodListResponseBody,
|
|
2622
|
+
};
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
constructor(map?: { [key: string]: any }) {
|
|
2626
|
+
super(map);
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
export class AgoalSendMessageHeaders extends $tea.Model {
|
|
2631
|
+
commonHeaders?: { [key: string]: string };
|
|
2632
|
+
xAcsDingtalkAccessToken?: string;
|
|
2633
|
+
static names(): { [key: string]: string } {
|
|
2634
|
+
return {
|
|
2635
|
+
commonHeaders: 'commonHeaders',
|
|
2636
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2637
|
+
};
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
static types(): { [key: string]: any } {
|
|
2641
|
+
return {
|
|
2642
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2643
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2644
|
+
};
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
constructor(map?: { [key: string]: any }) {
|
|
2648
|
+
super(map);
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
export class AgoalSendMessageRequest extends $tea.Model {
|
|
2653
|
+
/**
|
|
2654
|
+
* @remarks
|
|
2655
|
+
* This parameter is required.
|
|
2656
|
+
*
|
|
2657
|
+
* @example
|
|
2658
|
+
* https://agoal.dingtalk.com
|
|
2659
|
+
*/
|
|
2660
|
+
mobileUrl?: string;
|
|
2661
|
+
/**
|
|
2662
|
+
* @remarks
|
|
2663
|
+
* This parameter is required.
|
|
2664
|
+
*
|
|
2665
|
+
* @example
|
|
2666
|
+
* {"A":"a", "B":"b"}
|
|
2667
|
+
*/
|
|
2668
|
+
params?: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* @remarks
|
|
2671
|
+
* This parameter is required.
|
|
2672
|
+
*
|
|
2673
|
+
* @example
|
|
2674
|
+
* https://agoal.dingtalk.com
|
|
2675
|
+
*/
|
|
2676
|
+
pcUrl?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* @remarks
|
|
2679
|
+
* This parameter is required.
|
|
2680
|
+
*
|
|
2681
|
+
* @example
|
|
2682
|
+
* 211042291978xxxx
|
|
2683
|
+
*/
|
|
2684
|
+
sourceDingUserId?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* @remarks
|
|
2687
|
+
* This parameter is required.
|
|
2688
|
+
*/
|
|
2689
|
+
targetDingUserIds?: string[];
|
|
2690
|
+
/**
|
|
2691
|
+
* @remarks
|
|
2692
|
+
* This parameter is required.
|
|
2693
|
+
*
|
|
2694
|
+
* @example
|
|
2695
|
+
* 1d01a14febc7482ca3b6e1d30cf5xxxx
|
|
2696
|
+
*/
|
|
2697
|
+
templateId?: string;
|
|
2698
|
+
static names(): { [key: string]: string } {
|
|
2699
|
+
return {
|
|
2700
|
+
mobileUrl: 'mobileUrl',
|
|
2701
|
+
params: 'params',
|
|
2702
|
+
pcUrl: 'pcUrl',
|
|
2703
|
+
sourceDingUserId: 'sourceDingUserId',
|
|
2704
|
+
targetDingUserIds: 'targetDingUserIds',
|
|
2705
|
+
templateId: 'templateId',
|
|
2706
|
+
};
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
static types(): { [key: string]: any } {
|
|
2710
|
+
return {
|
|
2711
|
+
mobileUrl: 'string',
|
|
2712
|
+
params: 'string',
|
|
2713
|
+
pcUrl: 'string',
|
|
2714
|
+
sourceDingUserId: 'string',
|
|
2715
|
+
targetDingUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
2716
|
+
templateId: 'string',
|
|
2717
|
+
};
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
constructor(map?: { [key: string]: any }) {
|
|
2721
|
+
super(map);
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
export class AgoalSendMessageResponseBody extends $tea.Model {
|
|
2726
|
+
/**
|
|
2727
|
+
* @remarks
|
|
2728
|
+
* This parameter is required.
|
|
2729
|
+
*/
|
|
2730
|
+
content?: boolean;
|
|
2731
|
+
/**
|
|
2732
|
+
* @remarks
|
|
2733
|
+
* This parameter is required.
|
|
2734
|
+
*
|
|
2735
|
+
* @example
|
|
2736
|
+
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
2737
|
+
*/
|
|
2738
|
+
requestId?: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* @remarks
|
|
2741
|
+
* This parameter is required.
|
|
2742
|
+
*/
|
|
2743
|
+
success?: boolean;
|
|
2744
|
+
static names(): { [key: string]: string } {
|
|
2745
|
+
return {
|
|
2746
|
+
content: 'content',
|
|
2747
|
+
requestId: 'requestId',
|
|
2748
|
+
success: 'success',
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
static types(): { [key: string]: any } {
|
|
2753
|
+
return {
|
|
2754
|
+
content: 'boolean',
|
|
2755
|
+
requestId: 'string',
|
|
2756
|
+
success: 'boolean',
|
|
2757
|
+
};
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
constructor(map?: { [key: string]: any }) {
|
|
2761
|
+
super(map);
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
export class AgoalSendMessageResponse extends $tea.Model {
|
|
2766
|
+
headers?: { [key: string]: string };
|
|
2767
|
+
statusCode?: number;
|
|
2768
|
+
body?: AgoalSendMessageResponseBody;
|
|
2769
|
+
static names(): { [key: string]: string } {
|
|
2770
|
+
return {
|
|
2771
|
+
headers: 'headers',
|
|
2772
|
+
statusCode: 'statusCode',
|
|
2773
|
+
body: 'body',
|
|
2774
|
+
};
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
static types(): { [key: string]: any } {
|
|
2778
|
+
return {
|
|
2779
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2780
|
+
statusCode: 'number',
|
|
2781
|
+
body: AgoalSendMessageResponseBody,
|
|
2782
|
+
};
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
constructor(map?: { [key: string]: any }) {
|
|
2786
|
+
super(map);
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
export class AgoalUserAdminListHeaders extends $tea.Model {
|
|
2791
|
+
commonHeaders?: { [key: string]: string };
|
|
2792
|
+
xAcsDingtalkAccessToken?: string;
|
|
2793
|
+
static names(): { [key: string]: string } {
|
|
2794
|
+
return {
|
|
2795
|
+
commonHeaders: 'commonHeaders',
|
|
2796
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2797
|
+
};
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
static types(): { [key: string]: any } {
|
|
2801
|
+
return {
|
|
2802
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2803
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2804
|
+
};
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
constructor(map?: { [key: string]: any }) {
|
|
2808
|
+
super(map);
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
export class AgoalUserAdminListResponseBody extends $tea.Model {
|
|
2813
|
+
/**
|
|
2814
|
+
* @remarks
|
|
2815
|
+
* This parameter is required.
|
|
2816
|
+
*/
|
|
2817
|
+
content?: OpenUserAdminDTO[];
|
|
2818
|
+
/**
|
|
2819
|
+
* @example
|
|
2820
|
+
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
2821
|
+
*/
|
|
2822
|
+
requestId?: string;
|
|
2823
|
+
/**
|
|
2824
|
+
* @remarks
|
|
2825
|
+
* This parameter is required.
|
|
2826
|
+
*/
|
|
2827
|
+
success?: boolean;
|
|
2828
|
+
static names(): { [key: string]: string } {
|
|
2829
|
+
return {
|
|
2830
|
+
content: 'content',
|
|
2831
|
+
requestId: 'requestId',
|
|
2832
|
+
success: 'success',
|
|
2833
|
+
};
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
static types(): { [key: string]: any } {
|
|
2837
|
+
return {
|
|
2838
|
+
content: { 'type': 'array', 'itemType': OpenUserAdminDTO },
|
|
2839
|
+
requestId: 'string',
|
|
2840
|
+
success: 'boolean',
|
|
2841
|
+
};
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
constructor(map?: { [key: string]: any }) {
|
|
2845
|
+
super(map);
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
export class AgoalUserAdminListResponse extends $tea.Model {
|
|
2850
|
+
headers?: { [key: string]: string };
|
|
2851
|
+
statusCode?: number;
|
|
2852
|
+
body?: AgoalUserAdminListResponseBody;
|
|
2853
|
+
static names(): { [key: string]: string } {
|
|
2854
|
+
return {
|
|
2855
|
+
headers: 'headers',
|
|
2856
|
+
statusCode: 'statusCode',
|
|
2857
|
+
body: 'body',
|
|
2858
|
+
};
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
static types(): { [key: string]: any } {
|
|
2862
|
+
return {
|
|
2863
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2864
|
+
statusCode: 'number',
|
|
2865
|
+
body: AgoalUserAdminListResponseBody,
|
|
2866
|
+
};
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
constructor(map?: { [key: string]: any }) {
|
|
2870
|
+
super(map);
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
export class AgoalUserObjectiveListHeaders extends $tea.Model {
|
|
2875
|
+
commonHeaders?: { [key: string]: string };
|
|
2876
|
+
xAcsDingtalkAccessToken?: string;
|
|
2877
|
+
static names(): { [key: string]: string } {
|
|
2878
|
+
return {
|
|
2879
|
+
commonHeaders: 'commonHeaders',
|
|
2880
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
static types(): { [key: string]: any } {
|
|
2885
|
+
return {
|
|
2886
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2887
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2888
|
+
};
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
constructor(map?: { [key: string]: any }) {
|
|
2892
|
+
super(map);
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
export class AgoalUserObjectiveListRequest extends $tea.Model {
|
|
2897
|
+
/**
|
|
2898
|
+
* @remarks
|
|
2899
|
+
* This parameter is required.
|
|
2900
|
+
*
|
|
2901
|
+
* @example
|
|
2902
|
+
* 211042291978xxxx
|
|
2903
|
+
*/
|
|
2904
|
+
dingUserId?: string;
|
|
2905
|
+
/**
|
|
2906
|
+
* @remarks
|
|
2907
|
+
* This parameter is required.
|
|
2908
|
+
*
|
|
2909
|
+
* @example
|
|
2910
|
+
* 6444f5e9a4261c6e699dxxxx
|
|
2911
|
+
*/
|
|
2912
|
+
objectiveRuleId?: string;
|
|
2913
|
+
/**
|
|
2914
|
+
* @remarks
|
|
2915
|
+
* This parameter is required.
|
|
2916
|
+
*/
|
|
2917
|
+
periodIds?: string[];
|
|
2918
|
+
static names(): { [key: string]: string } {
|
|
2919
|
+
return {
|
|
2920
|
+
dingUserId: 'dingUserId',
|
|
2921
|
+
objectiveRuleId: 'objectiveRuleId',
|
|
2922
|
+
periodIds: 'periodIds',
|
|
2923
|
+
};
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
static types(): { [key: string]: any } {
|
|
2927
|
+
return {
|
|
2928
|
+
dingUserId: 'string',
|
|
2929
|
+
objectiveRuleId: 'string',
|
|
2930
|
+
periodIds: { 'type': 'array', 'itemType': 'string' },
|
|
2931
|
+
};
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
constructor(map?: { [key: string]: any }) {
|
|
2935
|
+
super(map);
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
export class AgoalUserObjectiveListResponseBody extends $tea.Model {
|
|
2940
|
+
content?: OpenAgoalObjectiveDTO[];
|
|
2941
|
+
requestId?: string;
|
|
2942
|
+
success?: boolean;
|
|
2943
|
+
static names(): { [key: string]: string } {
|
|
2944
|
+
return {
|
|
2945
|
+
content: 'content',
|
|
2946
|
+
requestId: 'requestId',
|
|
2947
|
+
success: 'success',
|
|
2948
|
+
};
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
static types(): { [key: string]: any } {
|
|
2952
|
+
return {
|
|
2953
|
+
content: { 'type': 'array', 'itemType': OpenAgoalObjectiveDTO },
|
|
2954
|
+
requestId: 'string',
|
|
2955
|
+
success: 'boolean',
|
|
2956
|
+
};
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
constructor(map?: { [key: string]: any }) {
|
|
2960
|
+
super(map);
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
export class AgoalUserObjectiveListResponse extends $tea.Model {
|
|
2965
|
+
headers?: { [key: string]: string };
|
|
2966
|
+
statusCode?: number;
|
|
2967
|
+
body?: AgoalUserObjectiveListResponseBody;
|
|
2968
|
+
static names(): { [key: string]: string } {
|
|
2969
|
+
return {
|
|
2970
|
+
headers: 'headers',
|
|
2971
|
+
statusCode: 'statusCode',
|
|
2972
|
+
body: 'body',
|
|
2973
|
+
};
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
static types(): { [key: string]: any } {
|
|
2977
|
+
return {
|
|
2978
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2979
|
+
statusCode: 'number',
|
|
2980
|
+
body: AgoalUserObjectiveListResponseBody,
|
|
2981
|
+
};
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
constructor(map?: { [key: string]: any }) {
|
|
2985
|
+
super(map);
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
export class AgoalUserSubAdminListHeaders extends $tea.Model {
|
|
2990
|
+
commonHeaders?: { [key: string]: string };
|
|
2991
|
+
xAcsDingtalkAccessToken?: string;
|
|
2992
|
+
static names(): { [key: string]: string } {
|
|
2993
|
+
return {
|
|
2994
|
+
commonHeaders: 'commonHeaders',
|
|
2995
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2996
|
+
};
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
static types(): { [key: string]: any } {
|
|
3000
|
+
return {
|
|
3001
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3002
|
+
xAcsDingtalkAccessToken: 'string',
|
|
3003
|
+
};
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
constructor(map?: { [key: string]: any }) {
|
|
3007
|
+
super(map);
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
export class AgoalUserSubAdminListRequest extends $tea.Model {
|
|
3012
|
+
/**
|
|
3013
|
+
* @example
|
|
3014
|
+
* ACCOUNT
|
|
3015
|
+
*/
|
|
3016
|
+
funcPermissionGroup?: string;
|
|
3017
|
+
static names(): { [key: string]: string } {
|
|
3018
|
+
return {
|
|
3019
|
+
funcPermissionGroup: 'funcPermissionGroup',
|
|
3020
|
+
};
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
static types(): { [key: string]: any } {
|
|
3024
|
+
return {
|
|
3025
|
+
funcPermissionGroup: 'string',
|
|
3026
|
+
};
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
constructor(map?: { [key: string]: any }) {
|
|
3030
|
+
super(map);
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
export class AgoalUserSubAdminListResponseBody extends $tea.Model {
|
|
3035
|
+
content?: OpenUserSubAdminDTO[];
|
|
3036
|
+
/**
|
|
3037
|
+
* @example
|
|
3038
|
+
* 7478B23C-80E8-1AD6-BE8C-09D480E0xxxx
|
|
3039
|
+
*/
|
|
3040
|
+
requestId?: string;
|
|
3041
|
+
success?: boolean;
|
|
3042
|
+
static names(): { [key: string]: string } {
|
|
3043
|
+
return {
|
|
3044
|
+
content: 'content',
|
|
3045
|
+
requestId: 'requestId',
|
|
3046
|
+
success: 'success',
|
|
3047
|
+
};
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
static types(): { [key: string]: any } {
|
|
3051
|
+
return {
|
|
3052
|
+
content: { 'type': 'array', 'itemType': OpenUserSubAdminDTO },
|
|
3053
|
+
requestId: 'string',
|
|
3054
|
+
success: 'boolean',
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
constructor(map?: { [key: string]: any }) {
|
|
3059
|
+
super(map);
|
|
3060
|
+
}
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
export class AgoalUserSubAdminListResponse extends $tea.Model {
|
|
3064
|
+
headers?: { [key: string]: string };
|
|
3065
|
+
statusCode?: number;
|
|
3066
|
+
body?: AgoalUserSubAdminListResponseBody;
|
|
3067
|
+
static names(): { [key: string]: string } {
|
|
3068
|
+
return {
|
|
3069
|
+
headers: 'headers',
|
|
3070
|
+
statusCode: 'statusCode',
|
|
3071
|
+
body: 'body',
|
|
3072
|
+
};
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
static types(): { [key: string]: any } {
|
|
3076
|
+
return {
|
|
3077
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3078
|
+
statusCode: 'number',
|
|
3079
|
+
body: AgoalUserSubAdminListResponseBody,
|
|
3080
|
+
};
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
constructor(map?: { [key: string]: any }) {
|
|
3084
|
+
super(map);
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
export class GetDeptScoreCardIndicatorHeaders extends $tea.Model {
|
|
3089
|
+
commonHeaders?: { [key: string]: string };
|
|
3090
|
+
xAcsDingtalkAccessToken?: string;
|
|
3091
|
+
static names(): { [key: string]: string } {
|
|
3092
|
+
return {
|
|
3093
|
+
commonHeaders: 'commonHeaders',
|
|
3094
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
3095
|
+
};
|
|
3096
|
+
}
|
|
3097
|
+
|
|
3098
|
+
static types(): { [key: string]: any } {
|
|
3099
|
+
return {
|
|
3100
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3101
|
+
xAcsDingtalkAccessToken: 'string',
|
|
3102
|
+
};
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
constructor(map?: { [key: string]: any }) {
|
|
3106
|
+
super(map);
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
export class GetDeptScoreCardIndicatorRequest extends $tea.Model {
|
|
3111
|
+
dingTeamId?: string;
|
|
3112
|
+
static names(): { [key: string]: string } {
|
|
3113
|
+
return {
|
|
3114
|
+
dingTeamId: 'dingTeamId',
|
|
3115
|
+
};
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
static types(): { [key: string]: any } {
|
|
3119
|
+
return {
|
|
3120
|
+
dingTeamId: 'string',
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
constructor(map?: { [key: string]: any }) {
|
|
3125
|
+
super(map);
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
export class GetDeptScoreCardIndicatorResponseBody extends $tea.Model {
|
|
3130
|
+
content?: OpenScoreCardDimensionDTO;
|
|
3131
|
+
requestId?: string;
|
|
3132
|
+
success?: boolean;
|
|
3133
|
+
static names(): { [key: string]: string } {
|
|
3134
|
+
return {
|
|
3135
|
+
content: 'content',
|
|
3136
|
+
requestId: 'requestId',
|
|
3137
|
+
success: 'success',
|
|
3138
|
+
};
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
static types(): { [key: string]: any } {
|
|
3142
|
+
return {
|
|
3143
|
+
content: OpenScoreCardDimensionDTO,
|
|
3144
|
+
requestId: 'string',
|
|
3145
|
+
success: 'boolean',
|
|
3146
|
+
};
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
constructor(map?: { [key: string]: any }) {
|
|
3150
|
+
super(map);
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
export class GetDeptScoreCardIndicatorResponse extends $tea.Model {
|
|
3155
|
+
headers?: { [key: string]: string };
|
|
3156
|
+
statusCode?: number;
|
|
3157
|
+
body?: GetDeptScoreCardIndicatorResponseBody;
|
|
3158
|
+
static names(): { [key: string]: string } {
|
|
3159
|
+
return {
|
|
3160
|
+
headers: 'headers',
|
|
3161
|
+
statusCode: 'statusCode',
|
|
3162
|
+
body: 'body',
|
|
3163
|
+
};
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
static types(): { [key: string]: any } {
|
|
3167
|
+
return {
|
|
3168
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3169
|
+
statusCode: 'number',
|
|
3170
|
+
body: GetDeptScoreCardIndicatorResponseBody,
|
|
3171
|
+
};
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
constructor(map?: { [key: string]: any }) {
|
|
3175
|
+
super(map);
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
export class GetIndicatorDetailHeaders extends $tea.Model {
|
|
3180
|
+
commonHeaders?: { [key: string]: string };
|
|
3181
|
+
xAcsDingtalkAccessToken?: string;
|
|
3182
|
+
static names(): { [key: string]: string } {
|
|
3183
|
+
return {
|
|
3184
|
+
commonHeaders: 'commonHeaders',
|
|
3185
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
3186
|
+
};
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
static types(): { [key: string]: any } {
|
|
3190
|
+
return {
|
|
3191
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3192
|
+
xAcsDingtalkAccessToken: 'string',
|
|
3193
|
+
};
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
constructor(map?: { [key: string]: any }) {
|
|
3197
|
+
super(map);
|
|
3198
|
+
}
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
export class GetIndicatorDetailRequest extends $tea.Model {
|
|
3202
|
+
indicatorId?: string;
|
|
3203
|
+
monthNum?: number;
|
|
3204
|
+
static names(): { [key: string]: string } {
|
|
3205
|
+
return {
|
|
3206
|
+
indicatorId: 'indicatorId',
|
|
3207
|
+
monthNum: 'monthNum',
|
|
3208
|
+
};
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3211
|
+
static types(): { [key: string]: any } {
|
|
3212
|
+
return {
|
|
3213
|
+
indicatorId: 'string',
|
|
3214
|
+
monthNum: 'number',
|
|
3215
|
+
};
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
constructor(map?: { [key: string]: any }) {
|
|
3219
|
+
super(map);
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
export class GetIndicatorDetailResponseBody extends $tea.Model {
|
|
3224
|
+
content?: string[];
|
|
3225
|
+
requestId?: string;
|
|
3226
|
+
success?: boolean;
|
|
3227
|
+
static names(): { [key: string]: string } {
|
|
3228
|
+
return {
|
|
3229
|
+
content: 'content',
|
|
3230
|
+
requestId: 'requestId',
|
|
3231
|
+
success: 'success',
|
|
3232
|
+
};
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
static types(): { [key: string]: any } {
|
|
3236
|
+
return {
|
|
3237
|
+
content: { 'type': 'array', 'itemType': 'string' },
|
|
3238
|
+
requestId: 'string',
|
|
3239
|
+
success: 'boolean',
|
|
3240
|
+
};
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
constructor(map?: { [key: string]: any }) {
|
|
3244
|
+
super(map);
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
export class GetIndicatorDetailResponse extends $tea.Model {
|
|
3249
|
+
headers?: { [key: string]: string };
|
|
3250
|
+
statusCode?: number;
|
|
3251
|
+
body?: GetIndicatorDetailResponseBody;
|
|
3252
|
+
static names(): { [key: string]: string } {
|
|
3253
|
+
return {
|
|
3254
|
+
headers: 'headers',
|
|
3255
|
+
statusCode: 'statusCode',
|
|
3256
|
+
body: 'body',
|
|
3257
|
+
};
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
static types(): { [key: string]: any } {
|
|
3261
|
+
return {
|
|
3262
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3263
|
+
statusCode: 'number',
|
|
3264
|
+
body: GetIndicatorDetailResponseBody,
|
|
3265
|
+
};
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
constructor(map?: { [key: string]: any }) {
|
|
3269
|
+
super(map);
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
export class EntityChildren extends $tea.Model {
|
|
3274
|
+
/**
|
|
3275
|
+
* @example
|
|
3276
|
+
* {"title": "123"}
|
|
3277
|
+
*/
|
|
3278
|
+
data?: { [key: string]: any };
|
|
3279
|
+
/**
|
|
3280
|
+
* @example
|
|
3281
|
+
* 123
|
|
3282
|
+
*/
|
|
3283
|
+
id?: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* @example
|
|
3286
|
+
* y/n
|
|
3287
|
+
*/
|
|
3288
|
+
isDeleted?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* @example
|
|
3291
|
+
* 67dbb24f7aac3f62d8b98fb5
|
|
3292
|
+
*/
|
|
3293
|
+
linkSourceId?: string;
|
|
3294
|
+
/**
|
|
3295
|
+
* @example
|
|
3296
|
+
* EXTERNAL_PERF_TASK
|
|
3297
|
+
*/
|
|
3298
|
+
linkSourceType?: string;
|
|
3299
|
+
metas?: Meta[];
|
|
3300
|
+
/**
|
|
3301
|
+
* @example
|
|
3302
|
+
* DIMENSION
|
|
3303
|
+
*/
|
|
3304
|
+
type?: string;
|
|
3305
|
+
static names(): { [key: string]: string } {
|
|
3306
|
+
return {
|
|
3307
|
+
data: 'data',
|
|
3308
|
+
id: 'id',
|
|
3309
|
+
isDeleted: 'isDeleted',
|
|
3310
|
+
linkSourceId: 'linkSourceId',
|
|
3311
|
+
linkSourceType: 'linkSourceType',
|
|
3312
|
+
metas: 'metas',
|
|
3313
|
+
type: 'type',
|
|
3314
|
+
};
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
static types(): { [key: string]: any } {
|
|
3318
|
+
return {
|
|
3319
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3320
|
+
id: 'string',
|
|
3321
|
+
isDeleted: 'string',
|
|
3322
|
+
linkSourceId: 'string',
|
|
3323
|
+
linkSourceType: 'string',
|
|
3324
|
+
metas: { 'type': 'array', 'itemType': Meta },
|
|
3325
|
+
type: 'string',
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
constructor(map?: { [key: string]: any }) {
|
|
3330
|
+
super(map);
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
export class OpenScoreCardDimensionDTODimensionList extends $tea.Model {
|
|
3335
|
+
/**
|
|
3336
|
+
* @remarks
|
|
3337
|
+
* This parameter is required.
|
|
3338
|
+
*/
|
|
3339
|
+
dimensionId?: string;
|
|
3340
|
+
/**
|
|
3341
|
+
* @remarks
|
|
3342
|
+
* This parameter is required.
|
|
3343
|
+
*/
|
|
3344
|
+
indicatorIdList?: string[];
|
|
3345
|
+
static names(): { [key: string]: string } {
|
|
3346
|
+
return {
|
|
3347
|
+
dimensionId: 'dimensionId',
|
|
3348
|
+
indicatorIdList: 'indicatorIdList',
|
|
3349
|
+
};
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
static types(): { [key: string]: any } {
|
|
3353
|
+
return {
|
|
3354
|
+
dimensionId: 'string',
|
|
3355
|
+
indicatorIdList: { 'type': 'array', 'itemType': 'string' },
|
|
3356
|
+
};
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
constructor(map?: { [key: string]: any }) {
|
|
3360
|
+
super(map);
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
export class AgoalFieldUpdateRequestBody extends $tea.Model {
|
|
3365
|
+
/**
|
|
3366
|
+
* @remarks
|
|
3367
|
+
* This parameter is required.
|
|
3368
|
+
*
|
|
3369
|
+
* @example
|
|
3370
|
+
* 662e006fe4b0f579bbcxxxxx
|
|
3371
|
+
*/
|
|
3372
|
+
entityId?: string;
|
|
3373
|
+
/**
|
|
3374
|
+
* @remarks
|
|
3375
|
+
* This parameter is required.
|
|
3376
|
+
*
|
|
3377
|
+
* @example
|
|
3378
|
+
* OBJECTIVE
|
|
3379
|
+
*/
|
|
3380
|
+
entityType?: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* @remarks
|
|
3383
|
+
* This parameter is required.
|
|
3384
|
+
*
|
|
3385
|
+
* @example
|
|
3386
|
+
* title
|
|
3387
|
+
*/
|
|
3388
|
+
fieldCode?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* @example
|
|
3391
|
+
* 字段值
|
|
3392
|
+
*/
|
|
3393
|
+
value?: string;
|
|
3394
|
+
static names(): { [key: string]: string } {
|
|
3395
|
+
return {
|
|
3396
|
+
entityId: 'entityId',
|
|
3397
|
+
entityType: 'entityType',
|
|
3398
|
+
fieldCode: 'fieldCode',
|
|
3399
|
+
value: 'value',
|
|
3400
|
+
};
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
static types(): { [key: string]: any } {
|
|
3404
|
+
return {
|
|
3405
|
+
entityId: 'string',
|
|
3406
|
+
entityType: 'string',
|
|
3407
|
+
fieldCode: 'string',
|
|
3408
|
+
value: 'string',
|
|
3409
|
+
};
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
constructor(map?: { [key: string]: any }) {
|
|
3413
|
+
super(map);
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
export class AgoalPeriodListRequestBody extends $tea.Model {
|
|
3418
|
+
periodTypes?: string[];
|
|
3419
|
+
static names(): { [key: string]: string } {
|
|
3420
|
+
return {
|
|
3421
|
+
periodTypes: 'periodTypes',
|
|
3422
|
+
};
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
static types(): { [key: string]: any } {
|
|
3426
|
+
return {
|
|
3427
|
+
periodTypes: { 'type': 'array', 'itemType': 'string' },
|
|
3428
|
+
};
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
constructor(map?: { [key: string]: any }) {
|
|
3432
|
+
super(map);
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
export default class Client extends OpenApi {
|
|
3438
|
+
|
|
3439
|
+
constructor(config: $OpenApi.Config) {
|
|
3440
|
+
super(config);
|
|
3441
|
+
let gatewayClient = new GatewayClient();
|
|
3442
|
+
this._spi = gatewayClient;
|
|
3443
|
+
this._endpointRule = "";
|
|
3444
|
+
if (Util.empty(this._endpoint)) {
|
|
3445
|
+
this._endpoint = "api.dingtalk.com";
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* 创建目标进展
|
|
3453
|
+
*
|
|
3454
|
+
* @param request - AgoalCreateProgressRequest
|
|
3455
|
+
* @param headers - AgoalCreateProgressHeaders
|
|
3456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3457
|
+
* @returns AgoalCreateProgressResponse
|
|
3458
|
+
*/
|
|
3459
|
+
async agoalCreateProgressWithOptions(request: AgoalCreateProgressRequest, headers: AgoalCreateProgressHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalCreateProgressResponse> {
|
|
3460
|
+
Util.validateModel(request);
|
|
3461
|
+
let body : {[key: string ]: any} = { };
|
|
3462
|
+
if (!Util.isUnset(request.krId)) {
|
|
3463
|
+
body["krId"] = request.krId;
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
if (!Util.isUnset(request.mergeIntoLatestProgress)) {
|
|
3467
|
+
body["mergeIntoLatestProgress"] = request.mergeIntoLatestProgress;
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
if (!Util.isUnset(request.objectiveId)) {
|
|
3471
|
+
body["objectiveId"] = request.objectiveId;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
if (!Util.isUnset(request.plainText)) {
|
|
3475
|
+
body["plainText"] = request.plainText;
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
if (!Util.isUnset(request.progress)) {
|
|
3479
|
+
body["progress"] = request.progress;
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
if (!Util.isUnset(request.progressMergePeriod)) {
|
|
3483
|
+
body["progressMergePeriod"] = request.progressMergePeriod;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3487
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3488
|
+
realHeaders = headers.commonHeaders;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3492
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3496
|
+
headers: realHeaders,
|
|
3497
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3498
|
+
});
|
|
3499
|
+
let params = new $OpenApi.Params({
|
|
3500
|
+
action: "AgoalCreateProgress",
|
|
3501
|
+
version: "agoal_1.0",
|
|
3502
|
+
protocol: "HTTP",
|
|
3503
|
+
pathname: `/v1.0/agoal/objectives/progresses`,
|
|
3504
|
+
method: "POST",
|
|
3505
|
+
authType: "AK",
|
|
3506
|
+
style: "ROA",
|
|
3507
|
+
reqBodyType: "none",
|
|
3508
|
+
bodyType: "json",
|
|
3509
|
+
});
|
|
3510
|
+
return $tea.cast<AgoalCreateProgressResponse>(await this.execute(params, req, runtime), new AgoalCreateProgressResponse({}));
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
/**
|
|
3514
|
+
* 创建目标进展
|
|
3515
|
+
*
|
|
3516
|
+
* @param request - AgoalCreateProgressRequest
|
|
3517
|
+
* @returns AgoalCreateProgressResponse
|
|
3518
|
+
*/
|
|
3519
|
+
async agoalCreateProgress(request: AgoalCreateProgressRequest): Promise<AgoalCreateProgressResponse> {
|
|
3520
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3521
|
+
let headers = new AgoalCreateProgressHeaders({ });
|
|
3522
|
+
return await this.agoalCreateProgressWithOptions(request, headers, runtime);
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* 创建业务实体
|
|
3527
|
+
*
|
|
3528
|
+
* @param request - AgoalEntityCreateRequest
|
|
3529
|
+
* @param headers - AgoalEntityCreateHeaders
|
|
3530
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3531
|
+
* @returns AgoalEntityCreateResponse
|
|
3532
|
+
*/
|
|
3533
|
+
async agoalEntityCreateWithOptions(request: AgoalEntityCreateRequest, headers: AgoalEntityCreateHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalEntityCreateResponse> {
|
|
3534
|
+
Util.validateModel(request);
|
|
3535
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3536
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3537
|
+
realHeaders = headers.commonHeaders;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3541
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3545
|
+
headers: realHeaders,
|
|
3546
|
+
body: Util.toArray(request.body),
|
|
3547
|
+
});
|
|
3548
|
+
let params = new $OpenApi.Params({
|
|
3549
|
+
action: "AgoalEntityCreate",
|
|
3550
|
+
version: "agoal_1.0",
|
|
3551
|
+
protocol: "HTTP",
|
|
3552
|
+
pathname: `/v1.0/agoal/entities`,
|
|
3553
|
+
method: "POST",
|
|
3554
|
+
authType: "AK",
|
|
3555
|
+
style: "ROA",
|
|
3556
|
+
reqBodyType: "none",
|
|
3557
|
+
bodyType: "json",
|
|
3558
|
+
});
|
|
3559
|
+
return $tea.cast<AgoalEntityCreateResponse>(await this.execute(params, req, runtime), new AgoalEntityCreateResponse({}));
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
/**
|
|
3563
|
+
* 创建业务实体
|
|
3564
|
+
*
|
|
3565
|
+
* @param request - AgoalEntityCreateRequest
|
|
3566
|
+
* @returns AgoalEntityCreateResponse
|
|
3567
|
+
*/
|
|
3568
|
+
async agoalEntityCreate(request: AgoalEntityCreateRequest): Promise<AgoalEntityCreateResponse> {
|
|
3569
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3570
|
+
let headers = new AgoalEntityCreateHeaders({ });
|
|
3571
|
+
return await this.agoalEntityCreateWithOptions(request, headers, runtime);
|
|
3572
|
+
}
|
|
3573
|
+
|
|
3574
|
+
/**
|
|
3575
|
+
* 更新业务实体
|
|
3576
|
+
*
|
|
3577
|
+
* @param request - AgoalEntityUpdateRequest
|
|
3578
|
+
* @param headers - AgoalEntityUpdateHeaders
|
|
3579
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3580
|
+
* @returns AgoalEntityUpdateResponse
|
|
3581
|
+
*/
|
|
3582
|
+
async agoalEntityUpdateWithOptions(request: AgoalEntityUpdateRequest, headers: AgoalEntityUpdateHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalEntityUpdateResponse> {
|
|
3583
|
+
Util.validateModel(request);
|
|
3584
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3585
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3586
|
+
realHeaders = headers.commonHeaders;
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3589
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3590
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3594
|
+
headers: realHeaders,
|
|
3595
|
+
body: Util.toArray(request.body),
|
|
3596
|
+
});
|
|
3597
|
+
let params = new $OpenApi.Params({
|
|
3598
|
+
action: "AgoalEntityUpdate",
|
|
3599
|
+
version: "agoal_1.0",
|
|
3600
|
+
protocol: "HTTP",
|
|
3601
|
+
pathname: `/v1.0/agoal/entities`,
|
|
3602
|
+
method: "PUT",
|
|
3603
|
+
authType: "AK",
|
|
3604
|
+
style: "ROA",
|
|
3605
|
+
reqBodyType: "none",
|
|
3606
|
+
bodyType: "json",
|
|
3607
|
+
});
|
|
3608
|
+
return $tea.cast<AgoalEntityUpdateResponse>(await this.execute(params, req, runtime), new AgoalEntityUpdateResponse({}));
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
/**
|
|
3612
|
+
* 更新业务实体
|
|
3613
|
+
*
|
|
3614
|
+
* @param request - AgoalEntityUpdateRequest
|
|
3615
|
+
* @returns AgoalEntityUpdateResponse
|
|
3616
|
+
*/
|
|
3617
|
+
async agoalEntityUpdate(request: AgoalEntityUpdateRequest): Promise<AgoalEntityUpdateResponse> {
|
|
3618
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3619
|
+
let headers = new AgoalEntityUpdateHeaders({ });
|
|
3620
|
+
return await this.agoalEntityUpdateWithOptions(request, headers, runtime);
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* 更新 Agoal 字段值
|
|
3625
|
+
*
|
|
3626
|
+
* @param tmpReq - AgoalFieldUpdateRequest
|
|
3627
|
+
* @param headers - AgoalFieldUpdateHeaders
|
|
3628
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3629
|
+
* @returns AgoalFieldUpdateResponse
|
|
3630
|
+
*/
|
|
3631
|
+
async agoalFieldUpdateWithOptions(tmpReq: AgoalFieldUpdateRequest, headers: AgoalFieldUpdateHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalFieldUpdateResponse> {
|
|
3632
|
+
Util.validateModel(tmpReq);
|
|
3633
|
+
let request = new AgoalFieldUpdateShrinkRequest({ });
|
|
3634
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3635
|
+
if (!Util.isUnset(tmpReq.body)) {
|
|
3636
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
let query : {[key: string ]: any} = { };
|
|
3640
|
+
if (!Util.isUnset(request.bodyShrink)) {
|
|
3641
|
+
query["body"] = request.bodyShrink;
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3645
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3646
|
+
realHeaders = headers.commonHeaders;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3650
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3654
|
+
headers: realHeaders,
|
|
3655
|
+
query: OpenApiUtil.query(query),
|
|
3656
|
+
});
|
|
3657
|
+
let params = new $OpenApi.Params({
|
|
3658
|
+
action: "AgoalFieldUpdate",
|
|
3659
|
+
version: "agoal_1.0",
|
|
3660
|
+
protocol: "HTTP",
|
|
3661
|
+
pathname: `/v1.0/agoal/fields`,
|
|
3662
|
+
method: "PUT",
|
|
3663
|
+
authType: "AK",
|
|
3664
|
+
style: "ROA",
|
|
3665
|
+
reqBodyType: "none",
|
|
3666
|
+
bodyType: "json",
|
|
3667
|
+
});
|
|
3668
|
+
return $tea.cast<AgoalFieldUpdateResponse>(await this.execute(params, req, runtime), new AgoalFieldUpdateResponse({}));
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* 更新 Agoal 字段值
|
|
3673
|
+
*
|
|
3674
|
+
* @param request - AgoalFieldUpdateRequest
|
|
3675
|
+
* @returns AgoalFieldUpdateResponse
|
|
3676
|
+
*/
|
|
3677
|
+
async agoalFieldUpdate(request: AgoalFieldUpdateRequest): Promise<AgoalFieldUpdateResponse> {
|
|
3678
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3679
|
+
let headers = new AgoalFieldUpdateHeaders({ });
|
|
3680
|
+
return await this.agoalFieldUpdateWithOptions(request, headers, runtime);
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3683
|
+
/**
|
|
3684
|
+
* 获取Agoal指定目标或者关键结果关联的关键行动
|
|
3685
|
+
*
|
|
3686
|
+
* @param request - AgoalObjectiveKeyActionListRequest
|
|
3687
|
+
* @param headers - AgoalObjectiveKeyActionListHeaders
|
|
3688
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3689
|
+
* @returns AgoalObjectiveKeyActionListResponse
|
|
3690
|
+
*/
|
|
3691
|
+
async agoalObjectiveKeyActionListWithOptions(request: AgoalObjectiveKeyActionListRequest, headers: AgoalObjectiveKeyActionListHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalObjectiveKeyActionListResponse> {
|
|
3692
|
+
Util.validateModel(request);
|
|
3693
|
+
let query : {[key: string ]: any} = { };
|
|
3694
|
+
if (!Util.isUnset(request.dingUserId)) {
|
|
3695
|
+
query["dingUserId"] = request.dingUserId;
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3698
|
+
if (!Util.isUnset(request.keyResultId)) {
|
|
3699
|
+
query["keyResultId"] = request.keyResultId;
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3702
|
+
if (!Util.isUnset(request.objectiveId)) {
|
|
3703
|
+
query["objectiveId"] = request.objectiveId;
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3707
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3708
|
+
realHeaders = headers.commonHeaders;
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3712
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3716
|
+
headers: realHeaders,
|
|
3717
|
+
query: OpenApiUtil.query(query),
|
|
3718
|
+
});
|
|
3719
|
+
let params = new $OpenApi.Params({
|
|
3720
|
+
action: "AgoalObjectiveKeyActionList",
|
|
3721
|
+
version: "agoal_1.0",
|
|
3722
|
+
protocol: "HTTP",
|
|
3723
|
+
pathname: `/v1.0/agoal/objectives/keyActionLists`,
|
|
3724
|
+
method: "GET",
|
|
3725
|
+
authType: "AK",
|
|
3726
|
+
style: "ROA",
|
|
3727
|
+
reqBodyType: "none",
|
|
3728
|
+
bodyType: "json",
|
|
3729
|
+
});
|
|
3730
|
+
return $tea.cast<AgoalObjectiveKeyActionListResponse>(await this.execute(params, req, runtime), new AgoalObjectiveKeyActionListResponse({}));
|
|
3731
|
+
}
|
|
3732
|
+
|
|
3733
|
+
/**
|
|
3734
|
+
* 获取Agoal指定目标或者关键结果关联的关键行动
|
|
3735
|
+
*
|
|
3736
|
+
* @param request - AgoalObjectiveKeyActionListRequest
|
|
3737
|
+
* @returns AgoalObjectiveKeyActionListResponse
|
|
3738
|
+
*/
|
|
3739
|
+
async agoalObjectiveKeyActionList(request: AgoalObjectiveKeyActionListRequest): Promise<AgoalObjectiveKeyActionListResponse> {
|
|
3740
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3741
|
+
let headers = new AgoalObjectiveKeyActionListHeaders({ });
|
|
3742
|
+
return await this.agoalObjectiveKeyActionListWithOptions(request, headers, runtime);
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* 获取Agoal目标规则下的周期列表
|
|
3747
|
+
*
|
|
3748
|
+
* @param request - AgoalObjectiveRulePeriodListRequest
|
|
3749
|
+
* @param headers - AgoalObjectiveRulePeriodListHeaders
|
|
3750
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3751
|
+
* @returns AgoalObjectiveRulePeriodListResponse
|
|
3752
|
+
*/
|
|
3753
|
+
async agoalObjectiveRulePeriodListWithOptions(request: AgoalObjectiveRulePeriodListRequest, headers: AgoalObjectiveRulePeriodListHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalObjectiveRulePeriodListResponse> {
|
|
3754
|
+
Util.validateModel(request);
|
|
3755
|
+
let query : {[key: string ]: any} = { };
|
|
3756
|
+
if (!Util.isUnset(request.objectiveRuleId)) {
|
|
3757
|
+
query["objectiveRuleId"] = request.objectiveRuleId;
|
|
1656
3758
|
}
|
|
1657
3759
|
|
|
1658
3760
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -1666,55 +3768,59 @@ export default class Client extends OpenApi {
|
|
|
1666
3768
|
|
|
1667
3769
|
let req = new $OpenApi.OpenApiRequest({
|
|
1668
3770
|
headers: realHeaders,
|
|
1669
|
-
|
|
3771
|
+
query: OpenApiUtil.query(query),
|
|
1670
3772
|
});
|
|
1671
3773
|
let params = new $OpenApi.Params({
|
|
1672
|
-
action: "
|
|
3774
|
+
action: "AgoalObjectiveRulePeriodList",
|
|
1673
3775
|
version: "agoal_1.0",
|
|
1674
3776
|
protocol: "HTTP",
|
|
1675
|
-
pathname: `/v1.0/agoal/
|
|
1676
|
-
method: "
|
|
3777
|
+
pathname: `/v1.0/agoal/objectiveRules/periodLists`,
|
|
3778
|
+
method: "GET",
|
|
1677
3779
|
authType: "AK",
|
|
1678
3780
|
style: "ROA",
|
|
1679
3781
|
reqBodyType: "none",
|
|
1680
3782
|
bodyType: "json",
|
|
1681
3783
|
});
|
|
1682
|
-
return $tea.cast<
|
|
3784
|
+
return $tea.cast<AgoalObjectiveRulePeriodListResponse>(await this.execute(params, req, runtime), new AgoalObjectiveRulePeriodListResponse({}));
|
|
1683
3785
|
}
|
|
1684
3786
|
|
|
1685
3787
|
/**
|
|
1686
|
-
*
|
|
3788
|
+
* 获取Agoal目标规则下的周期列表
|
|
1687
3789
|
*
|
|
1688
|
-
* @param request -
|
|
1689
|
-
* @returns
|
|
3790
|
+
* @param request - AgoalObjectiveRulePeriodListRequest
|
|
3791
|
+
* @returns AgoalObjectiveRulePeriodListResponse
|
|
1690
3792
|
*/
|
|
1691
|
-
async
|
|
3793
|
+
async agoalObjectiveRulePeriodList(request: AgoalObjectiveRulePeriodListRequest): Promise<AgoalObjectiveRulePeriodListResponse> {
|
|
1692
3794
|
let runtime = new $Util.RuntimeOptions({ });
|
|
1693
|
-
let headers = new
|
|
1694
|
-
return await this.
|
|
3795
|
+
let headers = new AgoalObjectiveRulePeriodListHeaders({ });
|
|
3796
|
+
return await this.agoalObjectiveRulePeriodListWithOptions(request, headers, runtime);
|
|
1695
3797
|
}
|
|
1696
3798
|
|
|
1697
3799
|
/**
|
|
1698
|
-
* 获取Agoal
|
|
3800
|
+
* 获取 Agoal 组织目标列表
|
|
1699
3801
|
*
|
|
1700
|
-
* @param request -
|
|
1701
|
-
* @param headers -
|
|
3802
|
+
* @param request - AgoalOrgObjectiveListRequest
|
|
3803
|
+
* @param headers - AgoalOrgObjectiveListHeaders
|
|
1702
3804
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1703
|
-
* @returns
|
|
3805
|
+
* @returns AgoalOrgObjectiveListResponse
|
|
1704
3806
|
*/
|
|
1705
|
-
async
|
|
3807
|
+
async agoalOrgObjectiveListWithOptions(request: AgoalOrgObjectiveListRequest, headers: AgoalOrgObjectiveListHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalOrgObjectiveListResponse> {
|
|
1706
3808
|
Util.validateModel(request);
|
|
1707
3809
|
let query : {[key: string ]: any} = { };
|
|
1708
|
-
if (!Util.isUnset(request.
|
|
1709
|
-
query["
|
|
3810
|
+
if (!Util.isUnset(request.dingTeamId)) {
|
|
3811
|
+
query["dingTeamId"] = request.dingTeamId;
|
|
1710
3812
|
}
|
|
1711
3813
|
|
|
1712
|
-
if (!Util.isUnset(request.
|
|
1713
|
-
query["
|
|
3814
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
3815
|
+
query["pageNumber"] = request.pageNumber;
|
|
1714
3816
|
}
|
|
1715
3817
|
|
|
1716
|
-
if (!Util.isUnset(request.
|
|
1717
|
-
query["
|
|
3818
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
3819
|
+
query["pageSize"] = request.pageSize;
|
|
3820
|
+
}
|
|
3821
|
+
|
|
3822
|
+
if (!Util.isUnset(request.periodId)) {
|
|
3823
|
+
query["periodId"] = request.periodId;
|
|
1718
3824
|
}
|
|
1719
3825
|
|
|
1720
3826
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -1731,44 +3837,44 @@ export default class Client extends OpenApi {
|
|
|
1731
3837
|
query: OpenApiUtil.query(query),
|
|
1732
3838
|
});
|
|
1733
3839
|
let params = new $OpenApi.Params({
|
|
1734
|
-
action: "
|
|
3840
|
+
action: "AgoalOrgObjectiveList",
|
|
1735
3841
|
version: "agoal_1.0",
|
|
1736
3842
|
protocol: "HTTP",
|
|
1737
|
-
pathname: `/v1.0/agoal/
|
|
1738
|
-
method: "
|
|
3843
|
+
pathname: `/v1.0/agoal/orgObjectives/list`,
|
|
3844
|
+
method: "POST",
|
|
1739
3845
|
authType: "AK",
|
|
1740
3846
|
style: "ROA",
|
|
1741
3847
|
reqBodyType: "none",
|
|
1742
3848
|
bodyType: "json",
|
|
1743
3849
|
});
|
|
1744
|
-
return $tea.cast<
|
|
3850
|
+
return $tea.cast<AgoalOrgObjectiveListResponse>(await this.execute(params, req, runtime), new AgoalOrgObjectiveListResponse({}));
|
|
1745
3851
|
}
|
|
1746
3852
|
|
|
1747
3853
|
/**
|
|
1748
|
-
* 获取Agoal
|
|
3854
|
+
* 获取 Agoal 组织目标列表
|
|
1749
3855
|
*
|
|
1750
|
-
* @param request -
|
|
1751
|
-
* @returns
|
|
3856
|
+
* @param request - AgoalOrgObjectiveListRequest
|
|
3857
|
+
* @returns AgoalOrgObjectiveListResponse
|
|
1752
3858
|
*/
|
|
1753
|
-
async
|
|
3859
|
+
async agoalOrgObjectiveList(request: AgoalOrgObjectiveListRequest): Promise<AgoalOrgObjectiveListResponse> {
|
|
1754
3860
|
let runtime = new $Util.RuntimeOptions({ });
|
|
1755
|
-
let headers = new
|
|
1756
|
-
return await this.
|
|
3861
|
+
let headers = new AgoalOrgObjectiveListHeaders({ });
|
|
3862
|
+
return await this.agoalOrgObjectiveListWithOptions(request, headers, runtime);
|
|
1757
3863
|
}
|
|
1758
3864
|
|
|
1759
3865
|
/**
|
|
1760
|
-
*
|
|
3866
|
+
* 查询组织目标详情
|
|
1761
3867
|
*
|
|
1762
|
-
* @param request -
|
|
1763
|
-
* @param headers -
|
|
3868
|
+
* @param request - AgoalOrgObjectiveQueryRequest
|
|
3869
|
+
* @param headers - AgoalOrgObjectiveQueryHeaders
|
|
1764
3870
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1765
|
-
* @returns
|
|
3871
|
+
* @returns AgoalOrgObjectiveQueryResponse
|
|
1766
3872
|
*/
|
|
1767
|
-
async
|
|
3873
|
+
async agoalOrgObjectiveQueryWithOptions(request: AgoalOrgObjectiveQueryRequest, headers: AgoalOrgObjectiveQueryHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalOrgObjectiveQueryResponse> {
|
|
1768
3874
|
Util.validateModel(request);
|
|
1769
3875
|
let query : {[key: string ]: any} = { };
|
|
1770
|
-
if (!Util.isUnset(request.
|
|
1771
|
-
query["
|
|
3876
|
+
if (!Util.isUnset(request.objectiveId)) {
|
|
3877
|
+
query["objectiveId"] = request.objectiveId;
|
|
1772
3878
|
}
|
|
1773
3879
|
|
|
1774
3880
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -1785,29 +3891,29 @@ export default class Client extends OpenApi {
|
|
|
1785
3891
|
query: OpenApiUtil.query(query),
|
|
1786
3892
|
});
|
|
1787
3893
|
let params = new $OpenApi.Params({
|
|
1788
|
-
action: "
|
|
3894
|
+
action: "AgoalOrgObjectiveQuery",
|
|
1789
3895
|
version: "agoal_1.0",
|
|
1790
3896
|
protocol: "HTTP",
|
|
1791
|
-
pathname: `/v1.0/agoal/
|
|
3897
|
+
pathname: `/v1.0/agoal/orgObjectives`,
|
|
1792
3898
|
method: "GET",
|
|
1793
3899
|
authType: "AK",
|
|
1794
3900
|
style: "ROA",
|
|
1795
3901
|
reqBodyType: "none",
|
|
1796
3902
|
bodyType: "json",
|
|
1797
3903
|
});
|
|
1798
|
-
return $tea.cast<
|
|
3904
|
+
return $tea.cast<AgoalOrgObjectiveQueryResponse>(await this.execute(params, req, runtime), new AgoalOrgObjectiveQueryResponse({}));
|
|
1799
3905
|
}
|
|
1800
3906
|
|
|
1801
3907
|
/**
|
|
1802
|
-
*
|
|
3908
|
+
* 查询组织目标详情
|
|
1803
3909
|
*
|
|
1804
|
-
* @param request -
|
|
1805
|
-
* @returns
|
|
3910
|
+
* @param request - AgoalOrgObjectiveQueryRequest
|
|
3911
|
+
* @returns AgoalOrgObjectiveQueryResponse
|
|
1806
3912
|
*/
|
|
1807
|
-
async
|
|
3913
|
+
async agoalOrgObjectiveQuery(request: AgoalOrgObjectiveQueryRequest): Promise<AgoalOrgObjectiveQueryResponse> {
|
|
1808
3914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
1809
|
-
let headers = new
|
|
1810
|
-
return await this.
|
|
3915
|
+
let headers = new AgoalOrgObjectiveQueryHeaders({ });
|
|
3916
|
+
return await this.agoalOrgObjectiveQueryWithOptions(request, headers, runtime);
|
|
1811
3917
|
}
|
|
1812
3918
|
|
|
1813
3919
|
/**
|
|
@@ -1854,6 +3960,164 @@ export default class Client extends OpenApi {
|
|
|
1854
3960
|
return await this.agoalOrgObjectiveRuleListWithOptions(headers, runtime);
|
|
1855
3961
|
}
|
|
1856
3962
|
|
|
3963
|
+
/**
|
|
3964
|
+
* 创建考核任务
|
|
3965
|
+
*
|
|
3966
|
+
* @param request - AgoalPerfTaskCreateRequest
|
|
3967
|
+
* @param headers - AgoalPerfTaskCreateHeaders
|
|
3968
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3969
|
+
* @returns AgoalPerfTaskCreateResponse
|
|
3970
|
+
*/
|
|
3971
|
+
async agoalPerfTaskCreateWithOptions(request: AgoalPerfTaskCreateRequest, headers: AgoalPerfTaskCreateHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalPerfTaskCreateResponse> {
|
|
3972
|
+
Util.validateModel(request);
|
|
3973
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3974
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3975
|
+
realHeaders = headers.commonHeaders;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3979
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3982
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3983
|
+
headers: realHeaders,
|
|
3984
|
+
body: Util.toArray(request.body),
|
|
3985
|
+
});
|
|
3986
|
+
let params = new $OpenApi.Params({
|
|
3987
|
+
action: "AgoalPerfTaskCreate",
|
|
3988
|
+
version: "agoal_1.0",
|
|
3989
|
+
protocol: "HTTP",
|
|
3990
|
+
pathname: `/v1.0/agoal/perfTasks`,
|
|
3991
|
+
method: "POST",
|
|
3992
|
+
authType: "AK",
|
|
3993
|
+
style: "ROA",
|
|
3994
|
+
reqBodyType: "none",
|
|
3995
|
+
bodyType: "json",
|
|
3996
|
+
});
|
|
3997
|
+
return $tea.cast<AgoalPerfTaskCreateResponse>(await this.execute(params, req, runtime), new AgoalPerfTaskCreateResponse({}));
|
|
3998
|
+
}
|
|
3999
|
+
|
|
4000
|
+
/**
|
|
4001
|
+
* 创建考核任务
|
|
4002
|
+
*
|
|
4003
|
+
* @param request - AgoalPerfTaskCreateRequest
|
|
4004
|
+
* @returns AgoalPerfTaskCreateResponse
|
|
4005
|
+
*/
|
|
4006
|
+
async agoalPerfTaskCreate(request: AgoalPerfTaskCreateRequest): Promise<AgoalPerfTaskCreateResponse> {
|
|
4007
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4008
|
+
let headers = new AgoalPerfTaskCreateHeaders({ });
|
|
4009
|
+
return await this.agoalPerfTaskCreateWithOptions(request, headers, runtime);
|
|
4010
|
+
}
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* 更新考核任务
|
|
4014
|
+
*
|
|
4015
|
+
* @param request - AgoalPerfTaskUpdateRequest
|
|
4016
|
+
* @param headers - AgoalPerfTaskUpdateHeaders
|
|
4017
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4018
|
+
* @returns AgoalPerfTaskUpdateResponse
|
|
4019
|
+
*/
|
|
4020
|
+
async agoalPerfTaskUpdateWithOptions(request: AgoalPerfTaskUpdateRequest, headers: AgoalPerfTaskUpdateHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalPerfTaskUpdateResponse> {
|
|
4021
|
+
Util.validateModel(request);
|
|
4022
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4023
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4024
|
+
realHeaders = headers.commonHeaders;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4028
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4032
|
+
headers: realHeaders,
|
|
4033
|
+
body: Util.toArray(request.body),
|
|
4034
|
+
});
|
|
4035
|
+
let params = new $OpenApi.Params({
|
|
4036
|
+
action: "AgoalPerfTaskUpdate",
|
|
4037
|
+
version: "agoal_1.0",
|
|
4038
|
+
protocol: "HTTP",
|
|
4039
|
+
pathname: `/v1.0/agoal/perfTasks`,
|
|
4040
|
+
method: "PUT",
|
|
4041
|
+
authType: "AK",
|
|
4042
|
+
style: "ROA",
|
|
4043
|
+
reqBodyType: "none",
|
|
4044
|
+
bodyType: "json",
|
|
4045
|
+
});
|
|
4046
|
+
return $tea.cast<AgoalPerfTaskUpdateResponse>(await this.execute(params, req, runtime), new AgoalPerfTaskUpdateResponse({}));
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* 更新考核任务
|
|
4051
|
+
*
|
|
4052
|
+
* @param request - AgoalPerfTaskUpdateRequest
|
|
4053
|
+
* @returns AgoalPerfTaskUpdateResponse
|
|
4054
|
+
*/
|
|
4055
|
+
async agoalPerfTaskUpdate(request: AgoalPerfTaskUpdateRequest): Promise<AgoalPerfTaskUpdateResponse> {
|
|
4056
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4057
|
+
let headers = new AgoalPerfTaskUpdateHeaders({ });
|
|
4058
|
+
return await this.agoalPerfTaskUpdateWithOptions(request, headers, runtime);
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
/**
|
|
4062
|
+
* 获取 Agoal 周期列表
|
|
4063
|
+
*
|
|
4064
|
+
* @param tmpReq - AgoalPeriodListRequest
|
|
4065
|
+
* @param headers - AgoalPeriodListHeaders
|
|
4066
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4067
|
+
* @returns AgoalPeriodListResponse
|
|
4068
|
+
*/
|
|
4069
|
+
async agoalPeriodListWithOptions(tmpReq: AgoalPeriodListRequest, headers: AgoalPeriodListHeaders, runtime: $Util.RuntimeOptions): Promise<AgoalPeriodListResponse> {
|
|
4070
|
+
Util.validateModel(tmpReq);
|
|
4071
|
+
let request = new AgoalPeriodListShrinkRequest({ });
|
|
4072
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4073
|
+
if (!Util.isUnset(tmpReq.body)) {
|
|
4074
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
let query : {[key: string ]: any} = { };
|
|
4078
|
+
if (!Util.isUnset(request.bodyShrink)) {
|
|
4079
|
+
query["body"] = request.bodyShrink;
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4083
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4084
|
+
realHeaders = headers.commonHeaders;
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4088
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4089
|
+
}
|
|
4090
|
+
|
|
4091
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4092
|
+
headers: realHeaders,
|
|
4093
|
+
query: OpenApiUtil.query(query),
|
|
4094
|
+
});
|
|
4095
|
+
let params = new $OpenApi.Params({
|
|
4096
|
+
action: "AgoalPeriodList",
|
|
4097
|
+
version: "agoal_1.0",
|
|
4098
|
+
protocol: "HTTP",
|
|
4099
|
+
pathname: `/v1.0/agoal/periods/list`,
|
|
4100
|
+
method: "POST",
|
|
4101
|
+
authType: "AK",
|
|
4102
|
+
style: "ROA",
|
|
4103
|
+
reqBodyType: "none",
|
|
4104
|
+
bodyType: "json",
|
|
4105
|
+
});
|
|
4106
|
+
return $tea.cast<AgoalPeriodListResponse>(await this.execute(params, req, runtime), new AgoalPeriodListResponse({}));
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* 获取 Agoal 周期列表
|
|
4111
|
+
*
|
|
4112
|
+
* @param request - AgoalPeriodListRequest
|
|
4113
|
+
* @returns AgoalPeriodListResponse
|
|
4114
|
+
*/
|
|
4115
|
+
async agoalPeriodList(request: AgoalPeriodListRequest): Promise<AgoalPeriodListResponse> {
|
|
4116
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4117
|
+
let headers = new AgoalPeriodListHeaders({ });
|
|
4118
|
+
return await this.agoalPeriodListWithOptions(request, headers, runtime);
|
|
4119
|
+
}
|
|
4120
|
+
|
|
1857
4121
|
/**
|
|
1858
4122
|
* Agoal消息发送
|
|
1859
4123
|
*
|
|
@@ -2088,4 +4352,116 @@ export default class Client extends OpenApi {
|
|
|
2088
4352
|
return await this.agoalUserSubAdminListWithOptions(request, headers, runtime);
|
|
2089
4353
|
}
|
|
2090
4354
|
|
|
4355
|
+
/**
|
|
4356
|
+
* 获取部门下的维度和指标id
|
|
4357
|
+
*
|
|
4358
|
+
* @param request - GetDeptScoreCardIndicatorRequest
|
|
4359
|
+
* @param headers - GetDeptScoreCardIndicatorHeaders
|
|
4360
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4361
|
+
* @returns GetDeptScoreCardIndicatorResponse
|
|
4362
|
+
*/
|
|
4363
|
+
async getDeptScoreCardIndicatorWithOptions(request: GetDeptScoreCardIndicatorRequest, headers: GetDeptScoreCardIndicatorHeaders, runtime: $Util.RuntimeOptions): Promise<GetDeptScoreCardIndicatorResponse> {
|
|
4364
|
+
Util.validateModel(request);
|
|
4365
|
+
let query : {[key: string ]: any} = { };
|
|
4366
|
+
if (!Util.isUnset(request.dingTeamId)) {
|
|
4367
|
+
query["dingTeamId"] = request.dingTeamId;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4371
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4372
|
+
realHeaders = headers.commonHeaders;
|
|
4373
|
+
}
|
|
4374
|
+
|
|
4375
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4376
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4379
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4380
|
+
headers: realHeaders,
|
|
4381
|
+
query: OpenApiUtil.query(query),
|
|
4382
|
+
});
|
|
4383
|
+
let params = new $OpenApi.Params({
|
|
4384
|
+
action: "GetDeptScoreCardIndicator",
|
|
4385
|
+
version: "agoal_1.0",
|
|
4386
|
+
protocol: "HTTP",
|
|
4387
|
+
pathname: `/v1.0/agoal/scorecards/departments/indicators`,
|
|
4388
|
+
method: "GET",
|
|
4389
|
+
authType: "AK",
|
|
4390
|
+
style: "ROA",
|
|
4391
|
+
reqBodyType: "none",
|
|
4392
|
+
bodyType: "json",
|
|
4393
|
+
});
|
|
4394
|
+
return $tea.cast<GetDeptScoreCardIndicatorResponse>(await this.execute(params, req, runtime), new GetDeptScoreCardIndicatorResponse({}));
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* 获取部门下的维度和指标id
|
|
4399
|
+
*
|
|
4400
|
+
* @param request - GetDeptScoreCardIndicatorRequest
|
|
4401
|
+
* @returns GetDeptScoreCardIndicatorResponse
|
|
4402
|
+
*/
|
|
4403
|
+
async getDeptScoreCardIndicator(request: GetDeptScoreCardIndicatorRequest): Promise<GetDeptScoreCardIndicatorResponse> {
|
|
4404
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4405
|
+
let headers = new GetDeptScoreCardIndicatorHeaders({ });
|
|
4406
|
+
return await this.getDeptScoreCardIndicatorWithOptions(request, headers, runtime);
|
|
4407
|
+
}
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* 获取指标详情
|
|
4411
|
+
*
|
|
4412
|
+
* @param request - GetIndicatorDetailRequest
|
|
4413
|
+
* @param headers - GetIndicatorDetailHeaders
|
|
4414
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4415
|
+
* @returns GetIndicatorDetailResponse
|
|
4416
|
+
*/
|
|
4417
|
+
async getIndicatorDetailWithOptions(request: GetIndicatorDetailRequest, headers: GetIndicatorDetailHeaders, runtime: $Util.RuntimeOptions): Promise<GetIndicatorDetailResponse> {
|
|
4418
|
+
Util.validateModel(request);
|
|
4419
|
+
let query : {[key: string ]: any} = { };
|
|
4420
|
+
if (!Util.isUnset(request.indicatorId)) {
|
|
4421
|
+
query["indicatorId"] = request.indicatorId;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
if (!Util.isUnset(request.monthNum)) {
|
|
4425
|
+
query["monthNum"] = request.monthNum;
|
|
4426
|
+
}
|
|
4427
|
+
|
|
4428
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
4429
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
4430
|
+
realHeaders = headers.commonHeaders;
|
|
4431
|
+
}
|
|
4432
|
+
|
|
4433
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
4434
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4438
|
+
headers: realHeaders,
|
|
4439
|
+
query: OpenApiUtil.query(query),
|
|
4440
|
+
});
|
|
4441
|
+
let params = new $OpenApi.Params({
|
|
4442
|
+
action: "GetIndicatorDetail",
|
|
4443
|
+
version: "agoal_1.0",
|
|
4444
|
+
protocol: "HTTP",
|
|
4445
|
+
pathname: `/v1.0/agoal/scorecards/indicators/details`,
|
|
4446
|
+
method: "GET",
|
|
4447
|
+
authType: "AK",
|
|
4448
|
+
style: "ROA",
|
|
4449
|
+
reqBodyType: "none",
|
|
4450
|
+
bodyType: "json",
|
|
4451
|
+
});
|
|
4452
|
+
return $tea.cast<GetIndicatorDetailResponse>(await this.execute(params, req, runtime), new GetIndicatorDetailResponse({}));
|
|
4453
|
+
}
|
|
4454
|
+
|
|
4455
|
+
/**
|
|
4456
|
+
* 获取指标详情
|
|
4457
|
+
*
|
|
4458
|
+
* @param request - GetIndicatorDetailRequest
|
|
4459
|
+
* @returns GetIndicatorDetailResponse
|
|
4460
|
+
*/
|
|
4461
|
+
async getIndicatorDetail(request: GetIndicatorDetailRequest): Promise<GetIndicatorDetailResponse> {
|
|
4462
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4463
|
+
let headers = new GetIndicatorDetailHeaders({ });
|
|
4464
|
+
return await this.getIndicatorDetailWithOptions(request, headers, runtime);
|
|
4465
|
+
}
|
|
4466
|
+
|
|
2091
4467
|
}
|