@alicloud/aliding20230426 2.11.0 → 2.12.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 +158 -0
- package/dist/client.js +280 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +325 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -20088,6 +20088,171 @@ export class QueryOrgTodoTasksResponse extends $tea.Model {
|
|
|
20088
20088
|
}
|
|
20089
20089
|
}
|
|
20090
20090
|
|
|
20091
|
+
export class QueryReportDetailHeaders extends $tea.Model {
|
|
20092
|
+
commonHeaders?: { [key: string]: string };
|
|
20093
|
+
accountContext?: QueryReportDetailHeadersAccountContext;
|
|
20094
|
+
static names(): { [key: string]: string } {
|
|
20095
|
+
return {
|
|
20096
|
+
commonHeaders: 'commonHeaders',
|
|
20097
|
+
accountContext: 'AccountContext',
|
|
20098
|
+
};
|
|
20099
|
+
}
|
|
20100
|
+
|
|
20101
|
+
static types(): { [key: string]: any } {
|
|
20102
|
+
return {
|
|
20103
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20104
|
+
accountContext: QueryReportDetailHeadersAccountContext,
|
|
20105
|
+
};
|
|
20106
|
+
}
|
|
20107
|
+
|
|
20108
|
+
constructor(map?: { [key: string]: any }) {
|
|
20109
|
+
super(map);
|
|
20110
|
+
}
|
|
20111
|
+
}
|
|
20112
|
+
|
|
20113
|
+
export class QueryReportDetailShrinkHeaders extends $tea.Model {
|
|
20114
|
+
commonHeaders?: { [key: string]: string };
|
|
20115
|
+
accountContextShrink?: string;
|
|
20116
|
+
static names(): { [key: string]: string } {
|
|
20117
|
+
return {
|
|
20118
|
+
commonHeaders: 'commonHeaders',
|
|
20119
|
+
accountContextShrink: 'AccountContext',
|
|
20120
|
+
};
|
|
20121
|
+
}
|
|
20122
|
+
|
|
20123
|
+
static types(): { [key: string]: any } {
|
|
20124
|
+
return {
|
|
20125
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20126
|
+
accountContextShrink: 'string',
|
|
20127
|
+
};
|
|
20128
|
+
}
|
|
20129
|
+
|
|
20130
|
+
constructor(map?: { [key: string]: any }) {
|
|
20131
|
+
super(map);
|
|
20132
|
+
}
|
|
20133
|
+
}
|
|
20134
|
+
|
|
20135
|
+
export class QueryReportDetailRequest extends $tea.Model {
|
|
20136
|
+
reportId?: string;
|
|
20137
|
+
tenantContext?: QueryReportDetailRequestTenantContext;
|
|
20138
|
+
static names(): { [key: string]: string } {
|
|
20139
|
+
return {
|
|
20140
|
+
reportId: 'ReportId',
|
|
20141
|
+
tenantContext: 'TenantContext',
|
|
20142
|
+
};
|
|
20143
|
+
}
|
|
20144
|
+
|
|
20145
|
+
static types(): { [key: string]: any } {
|
|
20146
|
+
return {
|
|
20147
|
+
reportId: 'string',
|
|
20148
|
+
tenantContext: QueryReportDetailRequestTenantContext,
|
|
20149
|
+
};
|
|
20150
|
+
}
|
|
20151
|
+
|
|
20152
|
+
constructor(map?: { [key: string]: any }) {
|
|
20153
|
+
super(map);
|
|
20154
|
+
}
|
|
20155
|
+
}
|
|
20156
|
+
|
|
20157
|
+
export class QueryReportDetailShrinkRequest extends $tea.Model {
|
|
20158
|
+
reportId?: string;
|
|
20159
|
+
tenantContextShrink?: string;
|
|
20160
|
+
static names(): { [key: string]: string } {
|
|
20161
|
+
return {
|
|
20162
|
+
reportId: 'ReportId',
|
|
20163
|
+
tenantContextShrink: 'TenantContext',
|
|
20164
|
+
};
|
|
20165
|
+
}
|
|
20166
|
+
|
|
20167
|
+
static types(): { [key: string]: any } {
|
|
20168
|
+
return {
|
|
20169
|
+
reportId: 'string',
|
|
20170
|
+
tenantContextShrink: 'string',
|
|
20171
|
+
};
|
|
20172
|
+
}
|
|
20173
|
+
|
|
20174
|
+
constructor(map?: { [key: string]: any }) {
|
|
20175
|
+
super(map);
|
|
20176
|
+
}
|
|
20177
|
+
}
|
|
20178
|
+
|
|
20179
|
+
export class QueryReportDetailResponseBody extends $tea.Model {
|
|
20180
|
+
content?: QueryReportDetailResponseBodyContent[];
|
|
20181
|
+
createTime?: number;
|
|
20182
|
+
creatorId?: string;
|
|
20183
|
+
creatorName?: string;
|
|
20184
|
+
deptName?: string;
|
|
20185
|
+
modifiedTime?: number;
|
|
20186
|
+
remark?: string;
|
|
20187
|
+
reportId?: string;
|
|
20188
|
+
requestId?: string;
|
|
20189
|
+
templateName?: string;
|
|
20190
|
+
vendorRequestId?: string;
|
|
20191
|
+
vendorType?: string;
|
|
20192
|
+
static names(): { [key: string]: string } {
|
|
20193
|
+
return {
|
|
20194
|
+
content: 'content',
|
|
20195
|
+
createTime: 'createTime',
|
|
20196
|
+
creatorId: 'creatorId',
|
|
20197
|
+
creatorName: 'creatorName',
|
|
20198
|
+
deptName: 'deptName',
|
|
20199
|
+
modifiedTime: 'modifiedTime',
|
|
20200
|
+
remark: 'remark',
|
|
20201
|
+
reportId: 'reportId',
|
|
20202
|
+
requestId: 'requestId',
|
|
20203
|
+
templateName: 'templateName',
|
|
20204
|
+
vendorRequestId: 'vendorRequestId',
|
|
20205
|
+
vendorType: 'vendorType',
|
|
20206
|
+
};
|
|
20207
|
+
}
|
|
20208
|
+
|
|
20209
|
+
static types(): { [key: string]: any } {
|
|
20210
|
+
return {
|
|
20211
|
+
content: { 'type': 'array', 'itemType': QueryReportDetailResponseBodyContent },
|
|
20212
|
+
createTime: 'number',
|
|
20213
|
+
creatorId: 'string',
|
|
20214
|
+
creatorName: 'string',
|
|
20215
|
+
deptName: 'string',
|
|
20216
|
+
modifiedTime: 'number',
|
|
20217
|
+
remark: 'string',
|
|
20218
|
+
reportId: 'string',
|
|
20219
|
+
requestId: 'string',
|
|
20220
|
+
templateName: 'string',
|
|
20221
|
+
vendorRequestId: 'string',
|
|
20222
|
+
vendorType: 'string',
|
|
20223
|
+
};
|
|
20224
|
+
}
|
|
20225
|
+
|
|
20226
|
+
constructor(map?: { [key: string]: any }) {
|
|
20227
|
+
super(map);
|
|
20228
|
+
}
|
|
20229
|
+
}
|
|
20230
|
+
|
|
20231
|
+
export class QueryReportDetailResponse extends $tea.Model {
|
|
20232
|
+
headers?: { [key: string]: string };
|
|
20233
|
+
statusCode?: number;
|
|
20234
|
+
body?: QueryReportDetailResponseBody;
|
|
20235
|
+
static names(): { [key: string]: string } {
|
|
20236
|
+
return {
|
|
20237
|
+
headers: 'headers',
|
|
20238
|
+
statusCode: 'statusCode',
|
|
20239
|
+
body: 'body',
|
|
20240
|
+
};
|
|
20241
|
+
}
|
|
20242
|
+
|
|
20243
|
+
static types(): { [key: string]: any } {
|
|
20244
|
+
return {
|
|
20245
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20246
|
+
statusCode: 'number',
|
|
20247
|
+
body: QueryReportDetailResponseBody,
|
|
20248
|
+
};
|
|
20249
|
+
}
|
|
20250
|
+
|
|
20251
|
+
constructor(map?: { [key: string]: any }) {
|
|
20252
|
+
super(map);
|
|
20253
|
+
}
|
|
20254
|
+
}
|
|
20255
|
+
|
|
20091
20256
|
export class QueryScheduleConferenceHeaders extends $tea.Model {
|
|
20092
20257
|
commonHeaders?: { [key: string]: string };
|
|
20093
20258
|
accountContext?: QueryScheduleConferenceHeadersAccountContext;
|
|
@@ -29436,15 +29601,21 @@ export class CreateSubscribedCalendarHeadersAccountContext extends $tea.Model {
|
|
|
29436
29601
|
}
|
|
29437
29602
|
|
|
29438
29603
|
export class CreateSubscribedCalendarRequestSubscribeScope extends $tea.Model {
|
|
29604
|
+
corpIds?: string[];
|
|
29605
|
+
openConversationIds?: string[];
|
|
29439
29606
|
userIds?: string[];
|
|
29440
29607
|
static names(): { [key: string]: string } {
|
|
29441
29608
|
return {
|
|
29609
|
+
corpIds: 'CorpIds',
|
|
29610
|
+
openConversationIds: 'OpenConversationIds',
|
|
29442
29611
|
userIds: 'UserIds',
|
|
29443
29612
|
};
|
|
29444
29613
|
}
|
|
29445
29614
|
|
|
29446
29615
|
static types(): { [key: string]: any } {
|
|
29447
29616
|
return {
|
|
29617
|
+
corpIds: { 'type': 'array', 'itemType': 'string' },
|
|
29618
|
+
openConversationIds: { 'type': 'array', 'itemType': 'string' },
|
|
29448
29619
|
userIds: { 'type': 'array', 'itemType': 'string' },
|
|
29449
29620
|
};
|
|
29450
29621
|
}
|
|
@@ -39208,6 +39379,75 @@ export class QueryOrgTodoTasksResponseBodyTodoCards extends $tea.Model {
|
|
|
39208
39379
|
}
|
|
39209
39380
|
}
|
|
39210
39381
|
|
|
39382
|
+
export class QueryReportDetailHeadersAccountContext extends $tea.Model {
|
|
39383
|
+
accountId?: string;
|
|
39384
|
+
static names(): { [key: string]: string } {
|
|
39385
|
+
return {
|
|
39386
|
+
accountId: 'accountId',
|
|
39387
|
+
};
|
|
39388
|
+
}
|
|
39389
|
+
|
|
39390
|
+
static types(): { [key: string]: any } {
|
|
39391
|
+
return {
|
|
39392
|
+
accountId: 'string',
|
|
39393
|
+
};
|
|
39394
|
+
}
|
|
39395
|
+
|
|
39396
|
+
constructor(map?: { [key: string]: any }) {
|
|
39397
|
+
super(map);
|
|
39398
|
+
}
|
|
39399
|
+
}
|
|
39400
|
+
|
|
39401
|
+
export class QueryReportDetailRequestTenantContext extends $tea.Model {
|
|
39402
|
+
tenantId?: string;
|
|
39403
|
+
static names(): { [key: string]: string } {
|
|
39404
|
+
return {
|
|
39405
|
+
tenantId: 'tenantId',
|
|
39406
|
+
};
|
|
39407
|
+
}
|
|
39408
|
+
|
|
39409
|
+
static types(): { [key: string]: any } {
|
|
39410
|
+
return {
|
|
39411
|
+
tenantId: 'string',
|
|
39412
|
+
};
|
|
39413
|
+
}
|
|
39414
|
+
|
|
39415
|
+
constructor(map?: { [key: string]: any }) {
|
|
39416
|
+
super(map);
|
|
39417
|
+
}
|
|
39418
|
+
}
|
|
39419
|
+
|
|
39420
|
+
export class QueryReportDetailResponseBodyContent extends $tea.Model {
|
|
39421
|
+
images?: string[];
|
|
39422
|
+
key?: string;
|
|
39423
|
+
sort?: string;
|
|
39424
|
+
type?: string;
|
|
39425
|
+
value?: string;
|
|
39426
|
+
static names(): { [key: string]: string } {
|
|
39427
|
+
return {
|
|
39428
|
+
images: 'Images',
|
|
39429
|
+
key: 'Key',
|
|
39430
|
+
sort: 'Sort',
|
|
39431
|
+
type: 'Type',
|
|
39432
|
+
value: 'Value',
|
|
39433
|
+
};
|
|
39434
|
+
}
|
|
39435
|
+
|
|
39436
|
+
static types(): { [key: string]: any } {
|
|
39437
|
+
return {
|
|
39438
|
+
images: { 'type': 'array', 'itemType': 'string' },
|
|
39439
|
+
key: 'string',
|
|
39440
|
+
sort: 'string',
|
|
39441
|
+
type: 'string',
|
|
39442
|
+
value: 'string',
|
|
39443
|
+
};
|
|
39444
|
+
}
|
|
39445
|
+
|
|
39446
|
+
constructor(map?: { [key: string]: any }) {
|
|
39447
|
+
super(map);
|
|
39448
|
+
}
|
|
39449
|
+
}
|
|
39450
|
+
|
|
39211
39451
|
export class QueryScheduleConferenceHeadersAccountContext extends $tea.Model {
|
|
39212
39452
|
accountId?: string;
|
|
39213
39453
|
static names(): { [key: string]: string } {
|
|
@@ -41136,30 +41376,45 @@ export class UpdateScheduleConfSettingsHeadersAccountContext extends $tea.Model
|
|
|
41136
41376
|
}
|
|
41137
41377
|
|
|
41138
41378
|
export class UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting extends $tea.Model {
|
|
41379
|
+
cloudRecordOwnerUserId?: string;
|
|
41139
41380
|
enableChat?: number;
|
|
41140
41381
|
enableWebAnonymousJoin?: boolean;
|
|
41141
41382
|
joinBeforeHost?: number;
|
|
41142
41383
|
lockMediaStatusMicMute?: number;
|
|
41143
41384
|
lockNick?: number;
|
|
41385
|
+
minutesOwnerUserId?: string;
|
|
41386
|
+
pushAllMeetingRecords?: boolean;
|
|
41387
|
+
pushCloudRecordCard?: boolean;
|
|
41388
|
+
pushMinutesCard?: boolean;
|
|
41144
41389
|
waitingRoom?: number;
|
|
41145
41390
|
static names(): { [key: string]: string } {
|
|
41146
41391
|
return {
|
|
41392
|
+
cloudRecordOwnerUserId: 'CloudRecordOwnerUserId',
|
|
41147
41393
|
enableChat: 'EnableChat',
|
|
41148
41394
|
enableWebAnonymousJoin: 'EnableWebAnonymousJoin',
|
|
41149
41395
|
joinBeforeHost: 'JoinBeforeHost',
|
|
41150
41396
|
lockMediaStatusMicMute: 'LockMediaStatusMicMute',
|
|
41151
41397
|
lockNick: 'LockNick',
|
|
41398
|
+
minutesOwnerUserId: 'MinutesOwnerUserId',
|
|
41399
|
+
pushAllMeetingRecords: 'PushAllMeetingRecords',
|
|
41400
|
+
pushCloudRecordCard: 'PushCloudRecordCard',
|
|
41401
|
+
pushMinutesCard: 'PushMinutesCard',
|
|
41152
41402
|
waitingRoom: 'WaitingRoom',
|
|
41153
41403
|
};
|
|
41154
41404
|
}
|
|
41155
41405
|
|
|
41156
41406
|
static types(): { [key: string]: any } {
|
|
41157
41407
|
return {
|
|
41408
|
+
cloudRecordOwnerUserId: 'string',
|
|
41158
41409
|
enableChat: 'number',
|
|
41159
41410
|
enableWebAnonymousJoin: 'boolean',
|
|
41160
41411
|
joinBeforeHost: 'number',
|
|
41161
41412
|
lockMediaStatusMicMute: 'number',
|
|
41162
41413
|
lockNick: 'number',
|
|
41414
|
+
minutesOwnerUserId: 'string',
|
|
41415
|
+
pushAllMeetingRecords: 'boolean',
|
|
41416
|
+
pushCloudRecordCard: 'boolean',
|
|
41417
|
+
pushMinutesCard: 'boolean',
|
|
41163
41418
|
waitingRoom: 'number',
|
|
41164
41419
|
};
|
|
41165
41420
|
}
|
|
@@ -52501,6 +52756,76 @@ export default class Client extends OpenApi {
|
|
|
52501
52756
|
return await this.queryOrgTodoTasksWithOptions(request, headers, runtime);
|
|
52502
52757
|
}
|
|
52503
52758
|
|
|
52759
|
+
/**
|
|
52760
|
+
* @summary 获取日志详情
|
|
52761
|
+
*
|
|
52762
|
+
* @param tmpReq QueryReportDetailRequest
|
|
52763
|
+
* @param tmpHeader QueryReportDetailHeaders
|
|
52764
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
52765
|
+
* @return QueryReportDetailResponse
|
|
52766
|
+
*/
|
|
52767
|
+
async queryReportDetailWithOptions(tmpReq: QueryReportDetailRequest, tmpHeader: QueryReportDetailHeaders, runtime: $Util.RuntimeOptions): Promise<QueryReportDetailResponse> {
|
|
52768
|
+
Util.validateModel(tmpReq);
|
|
52769
|
+
let request = new QueryReportDetailShrinkRequest({ });
|
|
52770
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
52771
|
+
let headers = new QueryReportDetailShrinkHeaders({ });
|
|
52772
|
+
OpenApiUtil.convert(tmpHeader, headers);
|
|
52773
|
+
if (!Util.isUnset(tmpHeader.accountContext)) {
|
|
52774
|
+
headers.accountContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpHeader.accountContext, "AccountContext", "json");
|
|
52775
|
+
}
|
|
52776
|
+
|
|
52777
|
+
if (!Util.isUnset(tmpReq.tenantContext)) {
|
|
52778
|
+
request.tenantContextShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tenantContext, "TenantContext", "json");
|
|
52779
|
+
}
|
|
52780
|
+
|
|
52781
|
+
let body : {[key: string ]: any} = { };
|
|
52782
|
+
if (!Util.isUnset(request.reportId)) {
|
|
52783
|
+
body["ReportId"] = request.reportId;
|
|
52784
|
+
}
|
|
52785
|
+
|
|
52786
|
+
if (!Util.isUnset(request.tenantContextShrink)) {
|
|
52787
|
+
body["TenantContext"] = request.tenantContextShrink;
|
|
52788
|
+
}
|
|
52789
|
+
|
|
52790
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
52791
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
52792
|
+
realHeaders = headers.commonHeaders;
|
|
52793
|
+
}
|
|
52794
|
+
|
|
52795
|
+
if (!Util.isUnset(headers.accountContextShrink)) {
|
|
52796
|
+
realHeaders["AccountContext"] = Util.toJSONString(headers.accountContextShrink);
|
|
52797
|
+
}
|
|
52798
|
+
|
|
52799
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
52800
|
+
headers: realHeaders,
|
|
52801
|
+
body: OpenApiUtil.parseToMap(body),
|
|
52802
|
+
});
|
|
52803
|
+
let params = new $OpenApi.Params({
|
|
52804
|
+
action: "QueryReportDetail",
|
|
52805
|
+
version: "2023-04-26",
|
|
52806
|
+
protocol: "HTTPS",
|
|
52807
|
+
pathname: `/dingtalk/v1/log/queryReportDetail`,
|
|
52808
|
+
method: "POST",
|
|
52809
|
+
authType: "AK",
|
|
52810
|
+
style: "ROA",
|
|
52811
|
+
reqBodyType: "formData",
|
|
52812
|
+
bodyType: "json",
|
|
52813
|
+
});
|
|
52814
|
+
return $tea.cast<QueryReportDetailResponse>(await this.callApi(params, req, runtime), new QueryReportDetailResponse({}));
|
|
52815
|
+
}
|
|
52816
|
+
|
|
52817
|
+
/**
|
|
52818
|
+
* @summary 获取日志详情
|
|
52819
|
+
*
|
|
52820
|
+
* @param request QueryReportDetailRequest
|
|
52821
|
+
* @return QueryReportDetailResponse
|
|
52822
|
+
*/
|
|
52823
|
+
async queryReportDetail(request: QueryReportDetailRequest): Promise<QueryReportDetailResponse> {
|
|
52824
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
52825
|
+
let headers = new QueryReportDetailHeaders({ });
|
|
52826
|
+
return await this.queryReportDetailWithOptions(request, headers, runtime);
|
|
52827
|
+
}
|
|
52828
|
+
|
|
52504
52829
|
/**
|
|
52505
52830
|
* @summary 查询预约会议
|
|
52506
52831
|
*
|