@alicloud/aliding20230426 2.45.1 → 2.47.0
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/client.d.ts +32 -0
- package/dist/client.js +133 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.d.ts +37 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.js +85 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdHeaders.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.d.ts +39 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.js +85 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdRequest.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.d.ts +19 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.js +69 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponse.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.d.ts +60 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.js +90 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdResponseBody.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.d.ts +17 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.js +63 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.js.map +1 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.d.ts +22 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.js +60 -0
- package/dist/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextHeaders.d.ts +37 -0
- package/dist/models/MeetingFlashMinutesTextHeaders.js +85 -0
- package/dist/models/MeetingFlashMinutesTextHeaders.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextRequest.d.ts +49 -0
- package/dist/models/MeetingFlashMinutesTextRequest.js +86 -0
- package/dist/models/MeetingFlashMinutesTextRequest.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextResponse.d.ts +19 -0
- package/dist/models/MeetingFlashMinutesTextResponse.js +69 -0
- package/dist/models/MeetingFlashMinutesTextResponse.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextResponseBody.d.ts +151 -0
- package/dist/models/MeetingFlashMinutesTextResponseBody.js +180 -0
- package/dist/models/MeetingFlashMinutesTextResponseBody.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextShrinkHeaders.d.ts +17 -0
- package/dist/models/MeetingFlashMinutesTextShrinkHeaders.js +63 -0
- package/dist/models/MeetingFlashMinutesTextShrinkHeaders.js.map +1 -0
- package/dist/models/MeetingFlashMinutesTextShrinkRequest.d.ts +32 -0
- package/dist/models/MeetingFlashMinutesTextShrinkRequest.js +64 -0
- package/dist/models/MeetingFlashMinutesTextShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +96 -54
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +152 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdHeaders.ts +66 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdRequest.ts +70 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdResponse.ts +40 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdResponseBody.ts +96 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdShrinkHeaders.ts +33 -0
- package/src/models/BatchGetUserIdByOpenDingtalkIdShrinkRequest.ts +37 -0
- package/src/models/MeetingFlashMinutesTextHeaders.ts +66 -0
- package/src/models/MeetingFlashMinutesTextRequest.ts +81 -0
- package/src/models/MeetingFlashMinutesTextResponse.ts +40 -0
- package/src/models/MeetingFlashMinutesTextResponseBody.ts +250 -0
- package/src/models/MeetingFlashMinutesTextShrinkHeaders.ts +33 -0
- package/src/models/MeetingFlashMinutesTextShrinkRequest.ts +51 -0
- package/src/models/model.ts +21 -0
package/src/client.ts
CHANGED
|
@@ -1225,6 +1225,80 @@ export default class Client extends OpenApi {
|
|
|
1225
1225
|
return await this.batchGetFormDataByIdListWithOptions(request, headers, runtime);
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
1228
|
+
/**
|
|
1229
|
+
* 批量根据操作人工号与 openDingtalkId 获取被查看用户工号,单次最多 50 个。
|
|
1230
|
+
*
|
|
1231
|
+
* @param tmpReq - BatchGetUserIdByOpenDingtalkIdRequest
|
|
1232
|
+
* @param tmpHeader - BatchGetUserIdByOpenDingtalkIdHeaders
|
|
1233
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1234
|
+
* @returns BatchGetUserIdByOpenDingtalkIdResponse
|
|
1235
|
+
*/
|
|
1236
|
+
async batchGetUserIdByOpenDingtalkIdWithOptions(tmpReq: $_model.BatchGetUserIdByOpenDingtalkIdRequest, tmpHeader: $_model.BatchGetUserIdByOpenDingtalkIdHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.BatchGetUserIdByOpenDingtalkIdResponse> {
|
|
1237
|
+
tmpReq.validate();
|
|
1238
|
+
let request = new $_model.BatchGetUserIdByOpenDingtalkIdShrinkRequest({ });
|
|
1239
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
1240
|
+
let headers = new $_model.BatchGetUserIdByOpenDingtalkIdShrinkHeaders({ });
|
|
1241
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
1242
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
1243
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
1247
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
if (!$dara.isNull(tmpReq.openDingtalkIds)) {
|
|
1251
|
+
request.openDingtalkIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.openDingtalkIds, "openDingtalkIds", "json");
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
let body : {[key: string ]: any} = { };
|
|
1255
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
1256
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
if (!$dara.isNull(request.openDingtalkIdsShrink)) {
|
|
1260
|
+
body["openDingtalkIds"] = request.openDingtalkIdsShrink;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
1264
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
1265
|
+
realHeaders = headers.commonHeaders;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
1269
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1273
|
+
headers: realHeaders,
|
|
1274
|
+
body: OpenApiUtil.parseToMap(body),
|
|
1275
|
+
});
|
|
1276
|
+
let params = new $OpenApiUtil.Params({
|
|
1277
|
+
action: "BatchGetUserIdByOpenDingtalkId",
|
|
1278
|
+
version: "2023-04-26",
|
|
1279
|
+
protocol: "HTTPS",
|
|
1280
|
+
pathname: `/dingtalk/v1/im/batchGetUserIdByOpenDingtalkId`,
|
|
1281
|
+
method: "POST",
|
|
1282
|
+
authType: "AK",
|
|
1283
|
+
style: "ROA",
|
|
1284
|
+
reqBodyType: "formData",
|
|
1285
|
+
bodyType: "json",
|
|
1286
|
+
});
|
|
1287
|
+
return $dara.cast<$_model.BatchGetUserIdByOpenDingtalkIdResponse>(await this.callApi(params, req, runtime), new $_model.BatchGetUserIdByOpenDingtalkIdResponse({}));
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* 批量根据操作人工号与 openDingtalkId 获取被查看用户工号,单次最多 50 个。
|
|
1292
|
+
*
|
|
1293
|
+
* @param request - BatchGetUserIdByOpenDingtalkIdRequest
|
|
1294
|
+
* @returns BatchGetUserIdByOpenDingtalkIdResponse
|
|
1295
|
+
*/
|
|
1296
|
+
async batchGetUserIdByOpenDingtalkId(request: $_model.BatchGetUserIdByOpenDingtalkIdRequest): Promise<$_model.BatchGetUserIdByOpenDingtalkIdResponse> {
|
|
1297
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1298
|
+
let headers = new $_model.BatchGetUserIdByOpenDingtalkIdHeaders({ });
|
|
1299
|
+
return await this.batchGetUserIdByOpenDingtalkIdWithOptions(request, headers, runtime);
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1228
1302
|
/**
|
|
1229
1303
|
* 查询群成员
|
|
1230
1304
|
*
|
|
@@ -15907,6 +15981,84 @@ export default class Client extends OpenApi {
|
|
|
15907
15981
|
return await this.meetingFlashMinutesWithOptions(request, headers, runtime);
|
|
15908
15982
|
}
|
|
15909
15983
|
|
|
15984
|
+
/**
|
|
15985
|
+
* 按会议 conferenceId 查询实时听记(闪记)全文转写,支持分页。
|
|
15986
|
+
*
|
|
15987
|
+
* @param tmpReq - MeetingFlashMinutesTextRequest
|
|
15988
|
+
* @param tmpHeader - MeetingFlashMinutesTextHeaders
|
|
15989
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15990
|
+
* @returns MeetingFlashMinutesTextResponse
|
|
15991
|
+
*/
|
|
15992
|
+
async meetingFlashMinutesTextWithOptions(tmpReq: $_model.MeetingFlashMinutesTextRequest, tmpHeader: $_model.MeetingFlashMinutesTextHeaders, runtime: $dara.RuntimeOptions): Promise<$_model.MeetingFlashMinutesTextResponse> {
|
|
15993
|
+
tmpReq.validate();
|
|
15994
|
+
let request = new $_model.MeetingFlashMinutesTextShrinkRequest({ });
|
|
15995
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
15996
|
+
let headers = new $_model.MeetingFlashMinutesTextShrinkHeaders({ });
|
|
15997
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
15998
|
+
if (!$dara.isNull(tmpHeader.accountContext)) {
|
|
15999
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
16000
|
+
}
|
|
16001
|
+
|
|
16002
|
+
if (!$dara.isNull(tmpReq.tenantContext)) {
|
|
16003
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
16004
|
+
}
|
|
16005
|
+
|
|
16006
|
+
let body : {[key: string ]: any} = { };
|
|
16007
|
+
if (!$dara.isNull(request.tenantContextShrink)) {
|
|
16008
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
16009
|
+
}
|
|
16010
|
+
|
|
16011
|
+
if (!$dara.isNull(request.conferenceId)) {
|
|
16012
|
+
body["conferenceId"] = request.conferenceId;
|
|
16013
|
+
}
|
|
16014
|
+
|
|
16015
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
16016
|
+
body["maxResults"] = request.maxResults;
|
|
16017
|
+
}
|
|
16018
|
+
|
|
16019
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
16020
|
+
body["nextToken"] = request.nextToken;
|
|
16021
|
+
}
|
|
16022
|
+
|
|
16023
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
16024
|
+
if (!$dara.isNull(headers.commonHeaders)) {
|
|
16025
|
+
realHeaders = headers.commonHeaders;
|
|
16026
|
+
}
|
|
16027
|
+
|
|
16028
|
+
if (!$dara.isNull(headers.accountContextShrink)) {
|
|
16029
|
+
realHeaders["AccountContext"] = typeof headers.accountContextShrink === "string" ? headers.accountContextShrink : JSON.stringify(headers.accountContextShrink);
|
|
16030
|
+
}
|
|
16031
|
+
|
|
16032
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16033
|
+
headers: realHeaders,
|
|
16034
|
+
body: OpenApiUtil.parseToMap(body),
|
|
16035
|
+
});
|
|
16036
|
+
let params = new $OpenApiUtil.Params({
|
|
16037
|
+
action: "MeetingFlashMinutesText",
|
|
16038
|
+
version: "2023-04-26",
|
|
16039
|
+
protocol: "HTTPS",
|
|
16040
|
+
pathname: `/dingtalk/v1/minutes/meetingFlashMinutesText`,
|
|
16041
|
+
method: "POST",
|
|
16042
|
+
authType: "AK",
|
|
16043
|
+
style: "ROA",
|
|
16044
|
+
reqBodyType: "formData",
|
|
16045
|
+
bodyType: "json",
|
|
16046
|
+
});
|
|
16047
|
+
return $dara.cast<$_model.MeetingFlashMinutesTextResponse>(await this.callApi(params, req, runtime), new $_model.MeetingFlashMinutesTextResponse({}));
|
|
16048
|
+
}
|
|
16049
|
+
|
|
16050
|
+
/**
|
|
16051
|
+
* 按会议 conferenceId 查询实时听记(闪记)全文转写,支持分页。
|
|
16052
|
+
*
|
|
16053
|
+
* @param request - MeetingFlashMinutesTextRequest
|
|
16054
|
+
* @returns MeetingFlashMinutesTextResponse
|
|
16055
|
+
*/
|
|
16056
|
+
async meetingFlashMinutesText(request: $_model.MeetingFlashMinutesTextRequest): Promise<$_model.MeetingFlashMinutesTextResponse> {
|
|
16057
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16058
|
+
let headers = new $_model.MeetingFlashMinutesTextHeaders({ });
|
|
16059
|
+
return await this.meetingFlashMinutesTextWithOptions(request, headers, runtime);
|
|
16060
|
+
}
|
|
16061
|
+
|
|
15910
16062
|
/**
|
|
15911
16063
|
* 全员静音或全员取消静音
|
|
15912
16064
|
*
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdHeadersAccountContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 012345
|
|
12
|
+
*/
|
|
13
|
+
accountId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
accountId: 'accountId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
accountId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class BatchGetUserIdByOpenDingtalkIdHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: BatchGetUserIdByOpenDingtalkIdHeadersAccountContext;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
commonHeaders: 'commonHeaders',
|
|
41
|
+
accountContext: 'AccountContext',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
48
|
+
accountContext: BatchGetUserIdByOpenDingtalkIdHeadersAccountContext,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
if(this.commonHeaders) {
|
|
54
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
55
|
+
}
|
|
56
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
57
|
+
(this.accountContext as any).validate();
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdRequestTenantContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
tenantId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
tenantId: 'tenantId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
tenantId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class BatchGetUserIdByOpenDingtalkIdRequest extends $dara.Model {
|
|
33
|
+
tenantContext?: BatchGetUserIdByOpenDingtalkIdRequestTenantContext;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ["DTOJdYJ2IQC4HuexhtjsS8Qxxxx","D8301AKf6lmZbXiilcB4P2MVxxxx"]
|
|
40
|
+
*/
|
|
41
|
+
openDingtalkIds?: string[];
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
tenantContext: 'TenantContext',
|
|
45
|
+
openDingtalkIds: 'openDingtalkIds',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
tenantContext: BatchGetUserIdByOpenDingtalkIdRequestTenantContext,
|
|
52
|
+
openDingtalkIds: { 'type': 'array', 'itemType': 'string' },
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
58
|
+
(this.tenantContext as any).validate();
|
|
59
|
+
}
|
|
60
|
+
if(Array.isArray(this.openDingtalkIds)) {
|
|
61
|
+
$dara.Model.validateArray(this.openDingtalkIds);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BatchGetUserIdByOpenDingtalkIdResponseBody } from "./BatchGetUserIdByOpenDingtalkIdResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BatchGetUserIdByOpenDingtalkIdResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BatchGetUserIdByOpenDingtalkIdResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: BatchGetUserIdByOpenDingtalkIdResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdResponseBodyResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* User.not.found
|
|
9
|
+
*/
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* DTOJdYJ2IQC4HuexhtjsS8Qxxxx
|
|
14
|
+
*/
|
|
15
|
+
openDingtalkId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 012345
|
|
19
|
+
*/
|
|
20
|
+
userId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
errorMessage: 'ErrorMessage',
|
|
24
|
+
openDingtalkId: 'OpenDingtalkId',
|
|
25
|
+
userId: 'UserId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
errorMessage: 'string',
|
|
32
|
+
openDingtalkId: 'string',
|
|
33
|
+
userId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class BatchGetUserIdByOpenDingtalkIdResponseBody extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
50
|
+
*/
|
|
51
|
+
requestId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* []
|
|
55
|
+
*/
|
|
56
|
+
results?: BatchGetUserIdByOpenDingtalkIdResponseBodyResults[];
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
60
|
+
*/
|
|
61
|
+
vendorRequestId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* dingtalk
|
|
65
|
+
*/
|
|
66
|
+
vendorType?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
requestId: 'requestId',
|
|
70
|
+
results: 'results',
|
|
71
|
+
vendorRequestId: 'vendorRequestId',
|
|
72
|
+
vendorType: 'vendorType',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
requestId: 'string',
|
|
79
|
+
results: { 'type': 'array', 'itemType': BatchGetUserIdByOpenDingtalkIdResponseBodyResults },
|
|
80
|
+
vendorRequestId: 'string',
|
|
81
|
+
vendorType: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(Array.isArray(this.results)) {
|
|
87
|
+
$dara.Model.validateArray(this.results);
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdShrinkHeaders extends $dara.Model {
|
|
6
|
+
commonHeaders?: { [key: string]: string };
|
|
7
|
+
accountContextShrink?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
commonHeaders: 'commonHeaders',
|
|
11
|
+
accountContextShrink: 'AccountContext',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18
|
+
accountContextShrink: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(this.commonHeaders) {
|
|
24
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
25
|
+
}
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BatchGetUserIdByOpenDingtalkIdShrinkRequest extends $dara.Model {
|
|
6
|
+
tenantContextShrink?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ["DTOJdYJ2IQC4HuexhtjsS8Qxxxx","D8301AKf6lmZbXiilcB4P2MVxxxx"]
|
|
13
|
+
*/
|
|
14
|
+
openDingtalkIdsShrink?: string;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
tenantContextShrink: 'TenantContext',
|
|
18
|
+
openDingtalkIdsShrink: 'openDingtalkIds',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
tenantContextShrink: 'string',
|
|
25
|
+
openDingtalkIdsShrink: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MeetingFlashMinutesTextHeadersAccountContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 012345
|
|
12
|
+
*/
|
|
13
|
+
accountId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
accountId: 'accountId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
accountId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class MeetingFlashMinutesTextHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: MeetingFlashMinutesTextHeadersAccountContext;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
commonHeaders: 'commonHeaders',
|
|
41
|
+
accountContext: 'AccountContext',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
48
|
+
accountContext: MeetingFlashMinutesTextHeadersAccountContext,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
if(this.commonHeaders) {
|
|
54
|
+
$dara.Model.validateMap(this.commonHeaders);
|
|
55
|
+
}
|
|
56
|
+
if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
|
|
57
|
+
(this.accountContext as any).validate();
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MeetingFlashMinutesTextRequestTenantContext extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
tenantId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
tenantId: 'tenantId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
tenantId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class MeetingFlashMinutesTextRequest extends $dara.Model {
|
|
33
|
+
tenantContext?: MeetingFlashMinutesTextRequestTenantContext;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* 61289fxxx
|
|
40
|
+
*/
|
|
41
|
+
conferenceId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 20
|
|
45
|
+
*/
|
|
46
|
+
maxResults?: number;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 0
|
|
50
|
+
*/
|
|
51
|
+
nextToken?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
tenantContext: 'TenantContext',
|
|
55
|
+
conferenceId: 'conferenceId',
|
|
56
|
+
maxResults: 'maxResults',
|
|
57
|
+
nextToken: 'nextToken',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
tenantContext: MeetingFlashMinutesTextRequestTenantContext,
|
|
64
|
+
conferenceId: 'string',
|
|
65
|
+
maxResults: 'number',
|
|
66
|
+
nextToken: 'string',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
|
|
72
|
+
(this.tenantContext as any).validate();
|
|
73
|
+
}
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
constructor(map?: { [key: string]: any }) {
|
|
78
|
+
super(map);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { MeetingFlashMinutesTextResponseBody } from "./MeetingFlashMinutesTextResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class MeetingFlashMinutesTextResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: MeetingFlashMinutesTextResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: MeetingFlashMinutesTextResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|