@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,36 @@ 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 RoleMapValue extends $tea.Model {
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* MANAGER
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* MANAGER
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
id: 'id',
|
|
24
|
+
name: 'name',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static types(): { [key: string]: any } {
|
|
29
|
+
return {
|
|
30
|
+
id: 'string',
|
|
31
|
+
name: 'string',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
constructor(map?: { [key: string]: any }) {
|
|
36
|
+
super(map);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
10
40
|
export class DentryAppPropertiesValue extends $tea.Model {
|
|
11
41
|
/**
|
|
12
42
|
* @example
|
|
@@ -160,6 +190,105 @@ export class AddPermissionResponse extends $tea.Model {
|
|
|
160
190
|
}
|
|
161
191
|
}
|
|
162
192
|
|
|
193
|
+
export class BatchQueryRolesHeaders extends $tea.Model {
|
|
194
|
+
commonHeaders?: { [key: string]: string };
|
|
195
|
+
xAcsDingtalkAccessToken?: string;
|
|
196
|
+
static names(): { [key: string]: string } {
|
|
197
|
+
return {
|
|
198
|
+
commonHeaders: 'commonHeaders',
|
|
199
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
static types(): { [key: string]: any } {
|
|
204
|
+
return {
|
|
205
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
206
|
+
xAcsDingtalkAccessToken: 'string',
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
constructor(map?: { [key: string]: any }) {
|
|
211
|
+
super(map);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export class BatchQueryRolesRequest extends $tea.Model {
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* This parameter is required.
|
|
219
|
+
*/
|
|
220
|
+
dentryUuidList?: string[];
|
|
221
|
+
/**
|
|
222
|
+
* @remarks
|
|
223
|
+
* This parameter is required.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* union_id
|
|
227
|
+
*/
|
|
228
|
+
unionId?: string;
|
|
229
|
+
static names(): { [key: string]: string } {
|
|
230
|
+
return {
|
|
231
|
+
dentryUuidList: 'dentryUuidList',
|
|
232
|
+
unionId: 'unionId',
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
static types(): { [key: string]: any } {
|
|
237
|
+
return {
|
|
238
|
+
dentryUuidList: { 'type': 'array', 'itemType': 'string' },
|
|
239
|
+
unionId: 'string',
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
constructor(map?: { [key: string]: any }) {
|
|
244
|
+
super(map);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class BatchQueryRolesResponseBody extends $tea.Model {
|
|
249
|
+
roleMap?: { [key: string]: RoleMapValue[] };
|
|
250
|
+
static names(): { [key: string]: string } {
|
|
251
|
+
return {
|
|
252
|
+
roleMap: 'roleMap',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
static types(): { [key: string]: any } {
|
|
257
|
+
return {
|
|
258
|
+
roleMap: { 'type': 'map', 'keyType': 'string', 'valueType': { 'type': 'array', 'itemType': RoleMapValue } },
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
constructor(map?: { [key: string]: any }) {
|
|
263
|
+
super(map);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export class BatchQueryRolesResponse extends $tea.Model {
|
|
268
|
+
headers?: { [key: string]: string };
|
|
269
|
+
statusCode?: number;
|
|
270
|
+
body?: BatchQueryRolesResponseBody;
|
|
271
|
+
static names(): { [key: string]: string } {
|
|
272
|
+
return {
|
|
273
|
+
headers: 'headers',
|
|
274
|
+
statusCode: 'statusCode',
|
|
275
|
+
body: 'body',
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
static types(): { [key: string]: any } {
|
|
280
|
+
return {
|
|
281
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
282
|
+
statusCode: 'number',
|
|
283
|
+
body: BatchQueryRolesResponseBody,
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
constructor(map?: { [key: string]: any }) {
|
|
288
|
+
super(map);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
163
292
|
export class CommitFileHeaders extends $tea.Model {
|
|
164
293
|
commonHeaders?: { [key: string]: string };
|
|
165
294
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -706,6 +835,107 @@ export class GetPermissionShareScopeResponse extends $tea.Model {
|
|
|
706
835
|
}
|
|
707
836
|
}
|
|
708
837
|
|
|
838
|
+
export class ListOperationLogsHeaders extends $tea.Model {
|
|
839
|
+
commonHeaders?: { [key: string]: string };
|
|
840
|
+
xAcsDingtalkAccessToken?: string;
|
|
841
|
+
static names(): { [key: string]: string } {
|
|
842
|
+
return {
|
|
843
|
+
commonHeaders: 'commonHeaders',
|
|
844
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
static types(): { [key: string]: any } {
|
|
849
|
+
return {
|
|
850
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
851
|
+
xAcsDingtalkAccessToken: 'string',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
constructor(map?: { [key: string]: any }) {
|
|
856
|
+
super(map);
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export class ListOperationLogsRequest extends $tea.Model {
|
|
861
|
+
endTime?: number;
|
|
862
|
+
option?: ListOperationLogsRequestOption;
|
|
863
|
+
startTime?: number;
|
|
864
|
+
static names(): { [key: string]: string } {
|
|
865
|
+
return {
|
|
866
|
+
endTime: 'endTime',
|
|
867
|
+
option: 'option',
|
|
868
|
+
startTime: 'startTime',
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
static types(): { [key: string]: any } {
|
|
873
|
+
return {
|
|
874
|
+
endTime: 'number',
|
|
875
|
+
option: ListOperationLogsRequestOption,
|
|
876
|
+
startTime: 'number',
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
constructor(map?: { [key: string]: any }) {
|
|
881
|
+
super(map);
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export class ListOperationLogsResponseBody extends $tea.Model {
|
|
886
|
+
items?: ListOperationLogsResponseBodyItems[];
|
|
887
|
+
/**
|
|
888
|
+
* @example
|
|
889
|
+
* next_token
|
|
890
|
+
*/
|
|
891
|
+
nextToken?: string;
|
|
892
|
+
totalCount?: number;
|
|
893
|
+
static names(): { [key: string]: string } {
|
|
894
|
+
return {
|
|
895
|
+
items: 'items',
|
|
896
|
+
nextToken: 'nextToken',
|
|
897
|
+
totalCount: 'totalCount',
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
static types(): { [key: string]: any } {
|
|
902
|
+
return {
|
|
903
|
+
items: { 'type': 'array', 'itemType': ListOperationLogsResponseBodyItems },
|
|
904
|
+
nextToken: 'string',
|
|
905
|
+
totalCount: 'number',
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
constructor(map?: { [key: string]: any }) {
|
|
910
|
+
super(map);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export class ListOperationLogsResponse extends $tea.Model {
|
|
915
|
+
headers?: { [key: string]: string };
|
|
916
|
+
statusCode?: number;
|
|
917
|
+
body?: ListOperationLogsResponseBody;
|
|
918
|
+
static names(): { [key: string]: string } {
|
|
919
|
+
return {
|
|
920
|
+
headers: 'headers',
|
|
921
|
+
statusCode: 'statusCode',
|
|
922
|
+
body: 'body',
|
|
923
|
+
};
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
static types(): { [key: string]: any } {
|
|
927
|
+
return {
|
|
928
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
929
|
+
statusCode: 'number',
|
|
930
|
+
body: ListOperationLogsResponseBody,
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
constructor(map?: { [key: string]: any }) {
|
|
935
|
+
super(map);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
709
939
|
export class ListPermissionsHeaders extends $tea.Model {
|
|
710
940
|
commonHeaders?: { [key: string]: string };
|
|
711
941
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -2206,6 +2436,146 @@ export class GetFileUploadInfoResponseBodyHeaderSignatureInfo extends $tea.Model
|
|
|
2206
2436
|
}
|
|
2207
2437
|
}
|
|
2208
2438
|
|
|
2439
|
+
export class ListOperationLogsRequestOption extends $tea.Model {
|
|
2440
|
+
/**
|
|
2441
|
+
* @example
|
|
2442
|
+
* 下载:download_file
|
|
2443
|
+
*/
|
|
2444
|
+
actions?: string[];
|
|
2445
|
+
/**
|
|
2446
|
+
* @example
|
|
2447
|
+
* 30
|
|
2448
|
+
*/
|
|
2449
|
+
maxResults?: number;
|
|
2450
|
+
/**
|
|
2451
|
+
* @example
|
|
2452
|
+
* next_token
|
|
2453
|
+
*/
|
|
2454
|
+
nextToken?: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* @example
|
|
2457
|
+
* union_id
|
|
2458
|
+
*/
|
|
2459
|
+
operatorId?: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* @example
|
|
2462
|
+
* 知识库:org_biz_meta
|
|
2463
|
+
*/
|
|
2464
|
+
scenes?: string[];
|
|
2465
|
+
/**
|
|
2466
|
+
* @example
|
|
2467
|
+
* YndMj49yWj95B3qAfGz5pY9d83pmz5aA
|
|
2468
|
+
*/
|
|
2469
|
+
subjectId?: string;
|
|
2470
|
+
static names(): { [key: string]: string } {
|
|
2471
|
+
return {
|
|
2472
|
+
actions: 'actions',
|
|
2473
|
+
maxResults: 'maxResults',
|
|
2474
|
+
nextToken: 'nextToken',
|
|
2475
|
+
operatorId: 'operatorId',
|
|
2476
|
+
scenes: 'scenes',
|
|
2477
|
+
subjectId: 'subjectId',
|
|
2478
|
+
};
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
static types(): { [key: string]: any } {
|
|
2482
|
+
return {
|
|
2483
|
+
actions: { 'type': 'array', 'itemType': 'string' },
|
|
2484
|
+
maxResults: 'number',
|
|
2485
|
+
nextToken: 'string',
|
|
2486
|
+
operatorId: 'string',
|
|
2487
|
+
scenes: { 'type': 'array', 'itemType': 'string' },
|
|
2488
|
+
subjectId: 'string',
|
|
2489
|
+
};
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
constructor(map?: { [key: string]: any }) {
|
|
2493
|
+
super(map);
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
export class ListOperationLogsResponseBodyItems extends $tea.Model {
|
|
2498
|
+
/**
|
|
2499
|
+
* @example
|
|
2500
|
+
* add_permission
|
|
2501
|
+
*/
|
|
2502
|
+
action?: string;
|
|
2503
|
+
/**
|
|
2504
|
+
* @example
|
|
2505
|
+
* 「我的文档/无标题文档」,给用户“你好”添加了「可编辑」权限
|
|
2506
|
+
*/
|
|
2507
|
+
details?: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* @example
|
|
2510
|
+
* ovEQ1aYDoUrM8NldI7EPaDEuDfNce#AR4GpnMqJzRQ67PpuNNDQn9dJKe0xjE3&USER:1557011407
|
|
2511
|
+
*/
|
|
2512
|
+
id?: string;
|
|
2513
|
+
operateTime?: number;
|
|
2514
|
+
/**
|
|
2515
|
+
* @example
|
|
2516
|
+
* union_id
|
|
2517
|
+
*/
|
|
2518
|
+
operatorId?: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* @example
|
|
2521
|
+
* org_biz_meta_my_doc
|
|
2522
|
+
*/
|
|
2523
|
+
scene?: string;
|
|
2524
|
+
/**
|
|
2525
|
+
* @example
|
|
2526
|
+
* AR4GpnMqJzRQ67PpuNNDQn9dJKe0xjE3
|
|
2527
|
+
*/
|
|
2528
|
+
subjectId?: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* @example
|
|
2531
|
+
* 无标题文档
|
|
2532
|
+
*/
|
|
2533
|
+
subjectName?: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* @example
|
|
2536
|
+
* DENTRY
|
|
2537
|
+
*/
|
|
2538
|
+
subjectType?: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* @example
|
|
2541
|
+
* https://alidocs.dingtalk.com/i/nodes/AR4GpnMqJzRQ67PpuNNDQn9dJKe0xjE3
|
|
2542
|
+
*/
|
|
2543
|
+
subjectUrl?: string;
|
|
2544
|
+
static names(): { [key: string]: string } {
|
|
2545
|
+
return {
|
|
2546
|
+
action: 'action',
|
|
2547
|
+
details: 'details',
|
|
2548
|
+
id: 'id',
|
|
2549
|
+
operateTime: 'operateTime',
|
|
2550
|
+
operatorId: 'operatorId',
|
|
2551
|
+
scene: 'scene',
|
|
2552
|
+
subjectId: 'subjectId',
|
|
2553
|
+
subjectName: 'subjectName',
|
|
2554
|
+
subjectType: 'subjectType',
|
|
2555
|
+
subjectUrl: 'subjectUrl',
|
|
2556
|
+
};
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
static types(): { [key: string]: any } {
|
|
2560
|
+
return {
|
|
2561
|
+
action: 'string',
|
|
2562
|
+
details: 'string',
|
|
2563
|
+
id: 'string',
|
|
2564
|
+
operateTime: 'number',
|
|
2565
|
+
operatorId: 'string',
|
|
2566
|
+
scene: 'string',
|
|
2567
|
+
subjectId: 'string',
|
|
2568
|
+
subjectName: 'string',
|
|
2569
|
+
subjectType: 'string',
|
|
2570
|
+
subjectUrl: 'string',
|
|
2571
|
+
};
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
constructor(map?: { [key: string]: any }) {
|
|
2575
|
+
super(map);
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2209
2579
|
export class ListPermissionsRequestOption extends $tea.Model {
|
|
2210
2580
|
filterRoleIds?: string[];
|
|
2211
2581
|
/**
|
|
@@ -2902,6 +3272,66 @@ export default class Client extends OpenApi {
|
|
|
2902
3272
|
return await this.addPermissionWithOptions(dentryUuid, request, headers, runtime);
|
|
2903
3273
|
}
|
|
2904
3274
|
|
|
3275
|
+
/**
|
|
3276
|
+
* 获取权限列表
|
|
3277
|
+
*
|
|
3278
|
+
* @param request - BatchQueryRolesRequest
|
|
3279
|
+
* @param headers - BatchQueryRolesHeaders
|
|
3280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3281
|
+
* @returns BatchQueryRolesResponse
|
|
3282
|
+
*/
|
|
3283
|
+
async batchQueryRolesWithOptions(request: BatchQueryRolesRequest, headers: BatchQueryRolesHeaders, runtime: $Util.RuntimeOptions): Promise<BatchQueryRolesResponse> {
|
|
3284
|
+
Util.validateModel(request);
|
|
3285
|
+
let query : {[key: string ]: any} = { };
|
|
3286
|
+
if (!Util.isUnset(request.unionId)) {
|
|
3287
|
+
query["unionId"] = request.unionId;
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
let body : {[key: string ]: any} = { };
|
|
3291
|
+
if (!Util.isUnset(request.dentryUuidList)) {
|
|
3292
|
+
body["dentryUuidList"] = request.dentryUuidList;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3296
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3297
|
+
realHeaders = headers.commonHeaders;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3301
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3305
|
+
headers: realHeaders,
|
|
3306
|
+
query: OpenApiUtil.query(query),
|
|
3307
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3308
|
+
});
|
|
3309
|
+
let params = new $OpenApi.Params({
|
|
3310
|
+
action: "BatchQueryRoles",
|
|
3311
|
+
version: "storage_2.0",
|
|
3312
|
+
protocol: "HTTP",
|
|
3313
|
+
pathname: `/v2.0/storage/spaces/dentries/permissions/roles/batchQuery`,
|
|
3314
|
+
method: "POST",
|
|
3315
|
+
authType: "AK",
|
|
3316
|
+
style: "ROA",
|
|
3317
|
+
reqBodyType: "none",
|
|
3318
|
+
bodyType: "json",
|
|
3319
|
+
});
|
|
3320
|
+
return $tea.cast<BatchQueryRolesResponse>(await this.execute(params, req, runtime), new BatchQueryRolesResponse({}));
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* 获取权限列表
|
|
3325
|
+
*
|
|
3326
|
+
* @param request - BatchQueryRolesRequest
|
|
3327
|
+
* @returns BatchQueryRolesResponse
|
|
3328
|
+
*/
|
|
3329
|
+
async batchQueryRoles(request: BatchQueryRolesRequest): Promise<BatchQueryRolesResponse> {
|
|
3330
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3331
|
+
let headers = new BatchQueryRolesHeaders({ });
|
|
3332
|
+
return await this.batchQueryRolesWithOptions(request, headers, runtime);
|
|
3333
|
+
}
|
|
3334
|
+
|
|
2905
3335
|
/**
|
|
2906
3336
|
* 提交文件
|
|
2907
3337
|
*
|
|
@@ -3206,6 +3636,68 @@ export default class Client extends OpenApi {
|
|
|
3206
3636
|
return await this.getPermissionShareScopeWithOptions(dentryUuid, request, headers, runtime);
|
|
3207
3637
|
}
|
|
3208
3638
|
|
|
3639
|
+
/**
|
|
3640
|
+
* 查询操作日志
|
|
3641
|
+
*
|
|
3642
|
+
* @param request - ListOperationLogsRequest
|
|
3643
|
+
* @param headers - ListOperationLogsHeaders
|
|
3644
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3645
|
+
* @returns ListOperationLogsResponse
|
|
3646
|
+
*/
|
|
3647
|
+
async listOperationLogsWithOptions(request: ListOperationLogsRequest, headers: ListOperationLogsHeaders, runtime: $Util.RuntimeOptions): Promise<ListOperationLogsResponse> {
|
|
3648
|
+
Util.validateModel(request);
|
|
3649
|
+
let body : {[key: string ]: any} = { };
|
|
3650
|
+
if (!Util.isUnset(request.endTime)) {
|
|
3651
|
+
body["endTime"] = request.endTime;
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
if (!Util.isUnset(request.option)) {
|
|
3655
|
+
body["option"] = request.option;
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
if (!Util.isUnset(request.startTime)) {
|
|
3659
|
+
body["startTime"] = request.startTime;
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
3663
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
3664
|
+
realHeaders = headers.commonHeaders;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
3668
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3672
|
+
headers: realHeaders,
|
|
3673
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3674
|
+
});
|
|
3675
|
+
let params = new $OpenApi.Params({
|
|
3676
|
+
action: "ListOperationLogs",
|
|
3677
|
+
version: "storage_2.0",
|
|
3678
|
+
protocol: "HTTP",
|
|
3679
|
+
pathname: `/v2.0/storage/managements/operationLogs/list`,
|
|
3680
|
+
method: "POST",
|
|
3681
|
+
authType: "AK",
|
|
3682
|
+
style: "ROA",
|
|
3683
|
+
reqBodyType: "none",
|
|
3684
|
+
bodyType: "json",
|
|
3685
|
+
});
|
|
3686
|
+
return $tea.cast<ListOperationLogsResponse>(await this.execute(params, req, runtime), new ListOperationLogsResponse({}));
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* 查询操作日志
|
|
3691
|
+
*
|
|
3692
|
+
* @param request - ListOperationLogsRequest
|
|
3693
|
+
* @returns ListOperationLogsResponse
|
|
3694
|
+
*/
|
|
3695
|
+
async listOperationLogs(request: ListOperationLogsRequest): Promise<ListOperationLogsResponse> {
|
|
3696
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3697
|
+
let headers = new ListOperationLogsHeaders({ });
|
|
3698
|
+
return await this.listOperationLogsWithOptions(request, headers, runtime);
|
|
3699
|
+
}
|
|
3700
|
+
|
|
3209
3701
|
/**
|
|
3210
3702
|
* 获取权限列表
|
|
3211
3703
|
*
|