@alicloud/aliding20230426 2.10.0 → 2.11.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 +150 -0
- package/dist/client.js +270 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +309 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -20241,6 +20241,165 @@ export class QueryScheduleConferenceResponse extends $tea.Model {
|
|
|
20241
20241
|
}
|
|
20242
20242
|
}
|
|
20243
20243
|
|
|
20244
|
+
export class QueryScheduleConferenceInfoHeaders extends $tea.Model {
|
|
20245
|
+
commonHeaders?: { [key: string]: string };
|
|
20246
|
+
accountContext?: QueryScheduleConferenceInfoHeadersAccountContext;
|
|
20247
|
+
static names(): { [key: string]: string } {
|
|
20248
|
+
return {
|
|
20249
|
+
commonHeaders: 'commonHeaders',
|
|
20250
|
+
accountContext: 'AccountContext',
|
|
20251
|
+
};
|
|
20252
|
+
}
|
|
20253
|
+
|
|
20254
|
+
static types(): { [key: string]: any } {
|
|
20255
|
+
return {
|
|
20256
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20257
|
+
accountContext: QueryScheduleConferenceInfoHeadersAccountContext,
|
|
20258
|
+
};
|
|
20259
|
+
}
|
|
20260
|
+
|
|
20261
|
+
constructor(map?: { [key: string]: any }) {
|
|
20262
|
+
super(map);
|
|
20263
|
+
}
|
|
20264
|
+
}
|
|
20265
|
+
|
|
20266
|
+
export class QueryScheduleConferenceInfoShrinkHeaders extends $tea.Model {
|
|
20267
|
+
commonHeaders?: { [key: string]: string };
|
|
20268
|
+
accountContextShrink?: string;
|
|
20269
|
+
static names(): { [key: string]: string } {
|
|
20270
|
+
return {
|
|
20271
|
+
commonHeaders: 'commonHeaders',
|
|
20272
|
+
accountContextShrink: 'AccountContext',
|
|
20273
|
+
};
|
|
20274
|
+
}
|
|
20275
|
+
|
|
20276
|
+
static types(): { [key: string]: any } {
|
|
20277
|
+
return {
|
|
20278
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20279
|
+
accountContextShrink: 'string',
|
|
20280
|
+
};
|
|
20281
|
+
}
|
|
20282
|
+
|
|
20283
|
+
constructor(map?: { [key: string]: any }) {
|
|
20284
|
+
super(map);
|
|
20285
|
+
}
|
|
20286
|
+
}
|
|
20287
|
+
|
|
20288
|
+
export class QueryScheduleConferenceInfoRequest extends $tea.Model {
|
|
20289
|
+
maxResults?: number;
|
|
20290
|
+
nextToken?: string;
|
|
20291
|
+
scheduleConferenceId?: string;
|
|
20292
|
+
tenantContext?: QueryScheduleConferenceInfoRequestTenantContext;
|
|
20293
|
+
static names(): { [key: string]: string } {
|
|
20294
|
+
return {
|
|
20295
|
+
maxResults: 'MaxResults',
|
|
20296
|
+
nextToken: 'NextToken',
|
|
20297
|
+
scheduleConferenceId: 'ScheduleConferenceId',
|
|
20298
|
+
tenantContext: 'TenantContext',
|
|
20299
|
+
};
|
|
20300
|
+
}
|
|
20301
|
+
|
|
20302
|
+
static types(): { [key: string]: any } {
|
|
20303
|
+
return {
|
|
20304
|
+
maxResults: 'number',
|
|
20305
|
+
nextToken: 'string',
|
|
20306
|
+
scheduleConferenceId: 'string',
|
|
20307
|
+
tenantContext: QueryScheduleConferenceInfoRequestTenantContext,
|
|
20308
|
+
};
|
|
20309
|
+
}
|
|
20310
|
+
|
|
20311
|
+
constructor(map?: { [key: string]: any }) {
|
|
20312
|
+
super(map);
|
|
20313
|
+
}
|
|
20314
|
+
}
|
|
20315
|
+
|
|
20316
|
+
export class QueryScheduleConferenceInfoShrinkRequest extends $tea.Model {
|
|
20317
|
+
maxResults?: number;
|
|
20318
|
+
nextToken?: string;
|
|
20319
|
+
scheduleConferenceId?: string;
|
|
20320
|
+
tenantContextShrink?: string;
|
|
20321
|
+
static names(): { [key: string]: string } {
|
|
20322
|
+
return {
|
|
20323
|
+
maxResults: 'MaxResults',
|
|
20324
|
+
nextToken: 'NextToken',
|
|
20325
|
+
scheduleConferenceId: 'ScheduleConferenceId',
|
|
20326
|
+
tenantContextShrink: 'TenantContext',
|
|
20327
|
+
};
|
|
20328
|
+
}
|
|
20329
|
+
|
|
20330
|
+
static types(): { [key: string]: any } {
|
|
20331
|
+
return {
|
|
20332
|
+
maxResults: 'number',
|
|
20333
|
+
nextToken: 'string',
|
|
20334
|
+
scheduleConferenceId: 'string',
|
|
20335
|
+
tenantContextShrink: 'string',
|
|
20336
|
+
};
|
|
20337
|
+
}
|
|
20338
|
+
|
|
20339
|
+
constructor(map?: { [key: string]: any }) {
|
|
20340
|
+
super(map);
|
|
20341
|
+
}
|
|
20342
|
+
}
|
|
20343
|
+
|
|
20344
|
+
export class QueryScheduleConferenceInfoResponseBody extends $tea.Model {
|
|
20345
|
+
conferenceList?: QueryScheduleConferenceInfoResponseBodyConferenceList[];
|
|
20346
|
+
nextToken?: string;
|
|
20347
|
+
requestId?: string;
|
|
20348
|
+
totalCount?: number;
|
|
20349
|
+
vendorRequestId?: string;
|
|
20350
|
+
vendorType?: string;
|
|
20351
|
+
static names(): { [key: string]: string } {
|
|
20352
|
+
return {
|
|
20353
|
+
conferenceList: 'conferenceList',
|
|
20354
|
+
nextToken: 'nextToken',
|
|
20355
|
+
requestId: 'requestId',
|
|
20356
|
+
totalCount: 'totalCount',
|
|
20357
|
+
vendorRequestId: 'vendorRequestId',
|
|
20358
|
+
vendorType: 'vendorType',
|
|
20359
|
+
};
|
|
20360
|
+
}
|
|
20361
|
+
|
|
20362
|
+
static types(): { [key: string]: any } {
|
|
20363
|
+
return {
|
|
20364
|
+
conferenceList: { 'type': 'array', 'itemType': QueryScheduleConferenceInfoResponseBodyConferenceList },
|
|
20365
|
+
nextToken: 'string',
|
|
20366
|
+
requestId: 'string',
|
|
20367
|
+
totalCount: 'number',
|
|
20368
|
+
vendorRequestId: 'string',
|
|
20369
|
+
vendorType: 'string',
|
|
20370
|
+
};
|
|
20371
|
+
}
|
|
20372
|
+
|
|
20373
|
+
constructor(map?: { [key: string]: any }) {
|
|
20374
|
+
super(map);
|
|
20375
|
+
}
|
|
20376
|
+
}
|
|
20377
|
+
|
|
20378
|
+
export class QueryScheduleConferenceInfoResponse extends $tea.Model {
|
|
20379
|
+
headers?: { [key: string]: string };
|
|
20380
|
+
statusCode?: number;
|
|
20381
|
+
body?: QueryScheduleConferenceInfoResponseBody;
|
|
20382
|
+
static names(): { [key: string]: string } {
|
|
20383
|
+
return {
|
|
20384
|
+
headers: 'headers',
|
|
20385
|
+
statusCode: 'statusCode',
|
|
20386
|
+
body: 'body',
|
|
20387
|
+
};
|
|
20388
|
+
}
|
|
20389
|
+
|
|
20390
|
+
static types(): { [key: string]: any } {
|
|
20391
|
+
return {
|
|
20392
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20393
|
+
statusCode: 'number',
|
|
20394
|
+
body: QueryScheduleConferenceInfoResponseBody,
|
|
20395
|
+
};
|
|
20396
|
+
}
|
|
20397
|
+
|
|
20398
|
+
constructor(map?: { [key: string]: any }) {
|
|
20399
|
+
super(map);
|
|
20400
|
+
}
|
|
20401
|
+
}
|
|
20402
|
+
|
|
20244
20403
|
export class QueryUserHonorsHeaders extends $tea.Model {
|
|
20245
20404
|
commonHeaders?: { [key: string]: string };
|
|
20246
20405
|
accountContext?: QueryUserHonorsHeadersAccountContext;
|
|
@@ -39087,6 +39246,78 @@ export class QueryScheduleConferenceRequestTenantContext extends $tea.Model {
|
|
|
39087
39246
|
}
|
|
39088
39247
|
}
|
|
39089
39248
|
|
|
39249
|
+
export class QueryScheduleConferenceInfoHeadersAccountContext extends $tea.Model {
|
|
39250
|
+
accountId?: string;
|
|
39251
|
+
static names(): { [key: string]: string } {
|
|
39252
|
+
return {
|
|
39253
|
+
accountId: 'accountId',
|
|
39254
|
+
};
|
|
39255
|
+
}
|
|
39256
|
+
|
|
39257
|
+
static types(): { [key: string]: any } {
|
|
39258
|
+
return {
|
|
39259
|
+
accountId: 'string',
|
|
39260
|
+
};
|
|
39261
|
+
}
|
|
39262
|
+
|
|
39263
|
+
constructor(map?: { [key: string]: any }) {
|
|
39264
|
+
super(map);
|
|
39265
|
+
}
|
|
39266
|
+
}
|
|
39267
|
+
|
|
39268
|
+
export class QueryScheduleConferenceInfoRequestTenantContext extends $tea.Model {
|
|
39269
|
+
tenantId?: string;
|
|
39270
|
+
static names(): { [key: string]: string } {
|
|
39271
|
+
return {
|
|
39272
|
+
tenantId: 'tenantId',
|
|
39273
|
+
};
|
|
39274
|
+
}
|
|
39275
|
+
|
|
39276
|
+
static types(): { [key: string]: any } {
|
|
39277
|
+
return {
|
|
39278
|
+
tenantId: 'string',
|
|
39279
|
+
};
|
|
39280
|
+
}
|
|
39281
|
+
|
|
39282
|
+
constructor(map?: { [key: string]: any }) {
|
|
39283
|
+
super(map);
|
|
39284
|
+
}
|
|
39285
|
+
}
|
|
39286
|
+
|
|
39287
|
+
export class QueryScheduleConferenceInfoResponseBodyConferenceList extends $tea.Model {
|
|
39288
|
+
conferenceId?: string;
|
|
39289
|
+
endTime?: number;
|
|
39290
|
+
roomCode?: string;
|
|
39291
|
+
startTime?: number;
|
|
39292
|
+
status?: number;
|
|
39293
|
+
title?: string;
|
|
39294
|
+
static names(): { [key: string]: string } {
|
|
39295
|
+
return {
|
|
39296
|
+
conferenceId: 'ConferenceId',
|
|
39297
|
+
endTime: 'EndTime',
|
|
39298
|
+
roomCode: 'RoomCode',
|
|
39299
|
+
startTime: 'StartTime',
|
|
39300
|
+
status: 'Status',
|
|
39301
|
+
title: 'Title',
|
|
39302
|
+
};
|
|
39303
|
+
}
|
|
39304
|
+
|
|
39305
|
+
static types(): { [key: string]: any } {
|
|
39306
|
+
return {
|
|
39307
|
+
conferenceId: 'string',
|
|
39308
|
+
endTime: 'number',
|
|
39309
|
+
roomCode: 'string',
|
|
39310
|
+
startTime: 'number',
|
|
39311
|
+
status: 'number',
|
|
39312
|
+
title: 'string',
|
|
39313
|
+
};
|
|
39314
|
+
}
|
|
39315
|
+
|
|
39316
|
+
constructor(map?: { [key: string]: any }) {
|
|
39317
|
+
super(map);
|
|
39318
|
+
}
|
|
39319
|
+
}
|
|
39320
|
+
|
|
39090
39321
|
export class QueryUserHonorsHeadersAccountContext extends $tea.Model {
|
|
39091
39322
|
accountId?: string;
|
|
39092
39323
|
static names(): { [key: string]: string } {
|
|
@@ -52340,6 +52571,84 @@ export default class Client extends OpenApi {
|
|
|
52340
52571
|
return await this.queryScheduleConferenceWithOptions(request, headers, runtime);
|
|
52341
52572
|
}
|
|
52342
52573
|
|
|
52574
|
+
/**
|
|
52575
|
+
* @summary 查询预约会议历史会议信息
|
|
52576
|
+
*
|
|
52577
|
+
* @param tmpReq QueryScheduleConferenceInfoRequest
|
|
52578
|
+
* @param tmpHeader QueryScheduleConferenceInfoHeaders
|
|
52579
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
52580
|
+
* @return QueryScheduleConferenceInfoResponse
|
|
52581
|
+
*/
|
|
52582
|
+
async queryScheduleConferenceInfoWithOptions(tmpReq: QueryScheduleConferenceInfoRequest, tmpHeader: QueryScheduleConferenceInfoHeaders, runtime: $Util.RuntimeOptions): Promise<QueryScheduleConferenceInfoResponse> {
|
|
52583
|
+
Util.validateModel(tmpReq);
|
|
52584
|
+
let request = new QueryScheduleConferenceInfoShrinkRequest({ });
|
|
52585
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
52586
|
+
let headers = new QueryScheduleConferenceInfoShrinkHeaders({ });
|
|
52587
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
52588
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
52589
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
52590
|
+
}
|
|
52591
|
+
|
|
52592
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
52593
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
52594
|
+
}
|
|
52595
|
+
|
|
52596
|
+
let body : {[key: string ]: any} = { };
|
|
52597
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
52598
|
+
body["MaxResults"] = request.maxResults;
|
|
52599
|
+
}
|
|
52600
|
+
|
|
52601
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
52602
|
+
body["NextToken"] = request.nextToken;
|
|
52603
|
+
}
|
|
52604
|
+
|
|
52605
|
+
if (!Util.isUnset(request.scheduleConferenceId)) {
|
|
52606
|
+
body["ScheduleConferenceId"] = request.scheduleConferenceId;
|
|
52607
|
+
}
|
|
52608
|
+
|
|
52609
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
52610
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
52611
|
+
}
|
|
52612
|
+
|
|
52613
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
52614
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
52615
|
+
realHeaders = headers.commonHeaders;
|
|
52616
|
+
}
|
|
52617
|
+
|
|
52618
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
52619
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
52620
|
+
}
|
|
52621
|
+
|
|
52622
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
52623
|
+
headers: realHeaders,
|
|
52624
|
+
body: OpenApiUtil.parseToMap(body),
|
|
52625
|
+
});
|
|
52626
|
+
let params = new $OpenApi.Params({
|
|
52627
|
+
action: "QueryScheduleConferenceInfo",
|
|
52628
|
+
version: "2023-04-26",
|
|
52629
|
+
protocol: "HTTPS",
|
|
52630
|
+
pathname: `/dingtalk/v1/ysp/queryScheduleConferenceInfo`,
|
|
52631
|
+
method: "POST",
|
|
52632
|
+
authType: "AK",
|
|
52633
|
+
style: "ROA",
|
|
52634
|
+
reqBodyType: "formData",
|
|
52635
|
+
bodyType: "json",
|
|
52636
|
+
});
|
|
52637
|
+
return $tea.cast<QueryScheduleConferenceInfoResponse>(await this.callApi(params, req, runtime), new QueryScheduleConferenceInfoResponse({}));
|
|
52638
|
+
}
|
|
52639
|
+
|
|
52640
|
+
/**
|
|
52641
|
+
* @summary 查询预约会议历史会议信息
|
|
52642
|
+
*
|
|
52643
|
+
* @param request QueryScheduleConferenceInfoRequest
|
|
52644
|
+
* @return QueryScheduleConferenceInfoResponse
|
|
52645
|
+
*/
|
|
52646
|
+
async queryScheduleConferenceInfo(request: QueryScheduleConferenceInfoRequest): Promise<QueryScheduleConferenceInfoResponse> {
|
|
52647
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
52648
|
+
let headers = new QueryScheduleConferenceInfoHeaders({ });
|
|
52649
|
+
return await this.queryScheduleConferenceInfoWithOptions(request, headers, runtime);
|
|
52650
|
+
}
|
|
52651
|
+
|
|
52343
52652
|
/**
|
|
52344
52653
|
* @summary 查询员工勋章列表
|
|
52345
52654
|
*
|