tencentcloud-sdk-nodejs 4.0.523 → 4.0.524
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/CHANGELOG.md +156 -0
- package/SERVICE_CHANGELOG.md +202 -170
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +15 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +16 -3
- package/src/services/ess/v20201111/ess_models.ts +230 -161
- package/src/services/essbasic/v20210526/essbasic_client.ts +15 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +83 -13
- package/src/services/gme/v20180711/gme_client.ts +6 -6
- package/src/services/gme/v20180711/gme_models.ts +25 -25
- package/src/services/lcic/v20220817/lcic_client.ts +4 -2
- package/src/services/lcic/v20220817/lcic_models.ts +58 -23
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/tiw/v20190919/tiw_models.ts +29 -11
- package/src/services/trp/v20210515/trp_models.ts +10 -0
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +12 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +197 -138
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +72 -13
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +25 -25
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +49 -20
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +26 -11
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +8 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +10 -0
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
SyncProxyOrganizationResponse,
|
|
22
22
|
ChannelCreateConvertTaskApiResponse,
|
|
23
|
+
ChannelCreateFlowSignUrlResponse,
|
|
23
24
|
ChannelBatchCancelFlowsResponse,
|
|
24
25
|
Department,
|
|
25
26
|
ChannelCreateFlowSignReviewRequest,
|
|
@@ -33,9 +34,10 @@ import {
|
|
|
33
34
|
CreateConsoleLoginUrlResponse,
|
|
34
35
|
SyncProxyOrganizationRequest,
|
|
35
36
|
CreateSealByImageRequest,
|
|
36
|
-
|
|
37
|
+
ChannelCreateFlowSignUrlRequest,
|
|
37
38
|
ChannelCancelFlowResponse,
|
|
38
39
|
DownloadFlowInfo,
|
|
40
|
+
FlowApproverUrlInfo,
|
|
39
41
|
ChannelCreateConvertTaskApiRequest,
|
|
40
42
|
ChannelCreateFlowByFilesRequest,
|
|
41
43
|
Agent,
|
|
@@ -53,6 +55,7 @@ import {
|
|
|
53
55
|
ChannelVerifyPdfRequest,
|
|
54
56
|
CreateChannelFlowEvidenceReportRequest,
|
|
55
57
|
ChannelVerifyPdfResponse,
|
|
58
|
+
DescribeChannelFlowEvidenceReportRequest,
|
|
56
59
|
CreateConsoleLoginUrlRequest,
|
|
57
60
|
OrganizationInfo,
|
|
58
61
|
PdfVerifyResult,
|
|
@@ -91,7 +94,7 @@ import {
|
|
|
91
94
|
UploadFilesResponse,
|
|
92
95
|
ChannelCreateBatchCancelFlowUrlRequest,
|
|
93
96
|
ApproverRestriction,
|
|
94
|
-
|
|
97
|
+
PrepareFlowsRequest,
|
|
95
98
|
ChannelCreateFlowByFilesResponse,
|
|
96
99
|
ChannelCreateFlowSignReviewResponse,
|
|
97
100
|
ChannelDescribeOrganizationSealsResponse,
|
|
@@ -451,6 +454,16 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
451
454
|
return this.request("UploadFiles", req, cb)
|
|
452
455
|
}
|
|
453
456
|
|
|
457
|
+
/**
|
|
458
|
+
* 渠道版创建签署链接,需要联系运营人员开白后才可使用
|
|
459
|
+
*/
|
|
460
|
+
async ChannelCreateFlowSignUrl(
|
|
461
|
+
req: ChannelCreateFlowSignUrlRequest,
|
|
462
|
+
cb?: (error: string, rep: ChannelCreateFlowSignUrlResponse) => void
|
|
463
|
+
): Promise<ChannelCreateFlowSignUrlResponse> {
|
|
464
|
+
return this.request("ChannelCreateFlowSignUrl", req, cb)
|
|
465
|
+
}
|
|
466
|
+
|
|
454
467
|
/**
|
|
455
468
|
* 此接口(SyncProxyOrganization)用于同步渠道子客企业信息,主要是子客企业的营业执照,便于子客企业开通过程中不用手动上传。若有需要调用此接口,需要在创建控制链接CreateConsoleLoginUrl之后即刻进行调用。
|
|
456
469
|
*/
|
|
@@ -40,6 +40,21 @@ export interface ChannelCreateConvertTaskApiResponse {
|
|
|
40
40
|
RequestId?: string
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* ChannelCreateFlowSignUrl返回参数结构体
|
|
45
|
+
*/
|
|
46
|
+
export interface ChannelCreateFlowSignUrlResponse {
|
|
47
|
+
/**
|
|
48
|
+
* 签署人签署链接信息
|
|
49
|
+
*/
|
|
50
|
+
FlowApproverUrlInfos: Array<FlowApproverUrlInfo>
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
54
|
+
*/
|
|
55
|
+
RequestId?: string
|
|
56
|
+
}
|
|
57
|
+
|
|
43
58
|
/**
|
|
44
59
|
* ChannelBatchCancelFlows返回参数结构体
|
|
45
60
|
*/
|
|
@@ -408,28 +423,33 @@ export interface CreateSealByImageRequest {
|
|
|
408
423
|
}
|
|
409
424
|
|
|
410
425
|
/**
|
|
411
|
-
*
|
|
426
|
+
* ChannelCreateFlowSignUrl请求参数结构体
|
|
412
427
|
*/
|
|
413
|
-
export interface
|
|
428
|
+
export interface ChannelCreateFlowSignUrlRequest {
|
|
414
429
|
/**
|
|
415
|
-
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId
|
|
430
|
+
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填
|
|
416
431
|
*/
|
|
417
432
|
Agent: Agent
|
|
418
433
|
|
|
419
434
|
/**
|
|
420
|
-
*
|
|
435
|
+
* 流程编号
|
|
421
436
|
*/
|
|
422
|
-
|
|
437
|
+
FlowId: string
|
|
423
438
|
|
|
424
439
|
/**
|
|
425
|
-
*
|
|
440
|
+
* 流程签署人,其中Name和Mobile必传,其他可不传,ApproverType目前只支持PERSON类型的签署人,如果不传默认为该值。还需注意签署人只能有手写签名和时间类型的签署控件,其他类型的填写控件和签署控件暂时都未支持。
|
|
426
441
|
*/
|
|
427
|
-
|
|
442
|
+
FlowApproverInfos: Array<FlowApproverInfo>
|
|
428
443
|
|
|
429
444
|
/**
|
|
430
|
-
*
|
|
445
|
+
* 用户信息,暂未开放
|
|
431
446
|
*/
|
|
432
447
|
Operator?: UserInfo
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* 机构信息,暂未开放
|
|
451
|
+
*/
|
|
452
|
+
Organization?: OrganizationInfo
|
|
433
453
|
}
|
|
434
454
|
|
|
435
455
|
/**
|
|
@@ -457,6 +477,31 @@ export interface DownloadFlowInfo {
|
|
|
457
477
|
FlowIdList: Array<string>
|
|
458
478
|
}
|
|
459
479
|
|
|
480
|
+
/**
|
|
481
|
+
* 签署人签署链接信息
|
|
482
|
+
*/
|
|
483
|
+
export interface FlowApproverUrlInfo {
|
|
484
|
+
/**
|
|
485
|
+
* 签署链接,注意该链接有效期为30分钟,同时需要注意保密,不要外泄给无关用户。
|
|
486
|
+
*/
|
|
487
|
+
SignUrl: string
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* 签署人手机号
|
|
491
|
+
*/
|
|
492
|
+
Mobile: string
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 签署人姓名
|
|
496
|
+
*/
|
|
497
|
+
Name: string
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* 签署人类型 PERSON-个人
|
|
501
|
+
*/
|
|
502
|
+
ApproverType: string
|
|
503
|
+
}
|
|
504
|
+
|
|
460
505
|
/**
|
|
461
506
|
* ChannelCreateConvertTaskApi请求参数结构体
|
|
462
507
|
*/
|
|
@@ -1141,6 +1186,26 @@ export interface ChannelVerifyPdfResponse {
|
|
|
1141
1186
|
RequestId?: string
|
|
1142
1187
|
}
|
|
1143
1188
|
|
|
1189
|
+
/**
|
|
1190
|
+
* DescribeChannelFlowEvidenceReport请求参数结构体
|
|
1191
|
+
*/
|
|
1192
|
+
export interface DescribeChannelFlowEvidenceReportRequest {
|
|
1193
|
+
/**
|
|
1194
|
+
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填
|
|
1195
|
+
*/
|
|
1196
|
+
Agent: Agent
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* 出证报告编号
|
|
1200
|
+
*/
|
|
1201
|
+
ReportId: string
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* 操作者的信息
|
|
1205
|
+
*/
|
|
1206
|
+
Operator?: UserInfo
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1144
1209
|
/**
|
|
1145
1210
|
* CreateConsoleLoginUrl请求参数结构体
|
|
1146
1211
|
*/
|
|
@@ -2587,18 +2652,23 @@ export interface ApproverRestriction {
|
|
|
2587
2652
|
}
|
|
2588
2653
|
|
|
2589
2654
|
/**
|
|
2590
|
-
*
|
|
2655
|
+
* PrepareFlows请求参数结构体
|
|
2591
2656
|
*/
|
|
2592
|
-
export interface
|
|
2657
|
+
export interface PrepareFlowsRequest {
|
|
2593
2658
|
/**
|
|
2594
|
-
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId
|
|
2659
|
+
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
|
2595
2660
|
*/
|
|
2596
2661
|
Agent: Agent
|
|
2597
2662
|
|
|
2598
2663
|
/**
|
|
2599
|
-
*
|
|
2664
|
+
* 多个合同(签署流程)信息,最大支持20个签署流程。
|
|
2600
2665
|
*/
|
|
2601
|
-
|
|
2666
|
+
FlowInfos: Array<FlowInfo>
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* 操作完成后的跳转地址,最大长度200
|
|
2670
|
+
*/
|
|
2671
|
+
JumpUrl: string
|
|
2602
2672
|
|
|
2603
2673
|
/**
|
|
2604
2674
|
* 操作者的信息
|
|
@@ -315,32 +315,32 @@ export class Client extends AbstractClient {
|
|
|
315
315
|
"HitFlag": true,
|
|
316
316
|
"MainType": "abuse",
|
|
317
317
|
"RoomId": "123",
|
|
318
|
-
"OpenId": "
|
|
318
|
+
"OpenId": "111",
|
|
319
319
|
"Info":"",
|
|
320
320
|
"Offset": 0,
|
|
321
321
|
"Duration": 3400,
|
|
322
322
|
"PieceStartTime":1574684231,
|
|
323
323
|
"ScanDetail": [{
|
|
324
324
|
"EndTime": 1110,
|
|
325
|
-
"KeyWord": "
|
|
325
|
+
"KeyWord": "违规字",
|
|
326
326
|
"Label": "abuse",
|
|
327
327
|
"Rate": "90.00",
|
|
328
328
|
"StartTime": 1110
|
|
329
329
|
}, {
|
|
330
330
|
"EndTime": 1380,
|
|
331
|
-
"KeyWord": "
|
|
331
|
+
"KeyWord": "违规字",
|
|
332
332
|
"Label": "abuse",
|
|
333
333
|
"Rate": "90.00",
|
|
334
334
|
"StartTime": 930
|
|
335
335
|
}, {
|
|
336
336
|
"EndTime": 1560,
|
|
337
|
-
"KeyWord": "
|
|
337
|
+
"KeyWord": "违规字",
|
|
338
338
|
"Label": "abuse",
|
|
339
339
|
"Rate": "90.00",
|
|
340
340
|
"StartTime": 930
|
|
341
341
|
}, {
|
|
342
342
|
"EndTime": 2820,
|
|
343
|
-
"KeyWord": "
|
|
343
|
+
"KeyWord": "违规字",
|
|
344
344
|
"Label": "abuse",
|
|
345
345
|
"Rate": "90.00",
|
|
346
346
|
"StartTime": 2490
|
|
@@ -351,7 +351,7 @@ export class Client extends AbstractClient {
|
|
|
351
351
|
"default"
|
|
352
352
|
],
|
|
353
353
|
"Status": "Success",
|
|
354
|
-
"TaskId": "
|
|
354
|
+
"TaskId": "6330xxxx-9xx7-11ed-98e3-52xxxxe4ac3b",
|
|
355
355
|
"Url": "https://xxx/xxx.m4a"
|
|
356
356
|
}
|
|
357
357
|
</code></pre>
|
|
@@ -145,7 +145,7 @@ export interface CreateCustomizationResponse {
|
|
|
145
145
|
/**
|
|
146
146
|
* 模型ID
|
|
147
147
|
*/
|
|
148
|
-
ModelId
|
|
148
|
+
ModelId?: string
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -211,12 +211,12 @@ export interface DescribeApplicationListResponse {
|
|
|
211
211
|
/**
|
|
212
212
|
* 获取应用列表返回
|
|
213
213
|
*/
|
|
214
|
-
ApplicationList
|
|
214
|
+
ApplicationList?: Array<ApplicationList>
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* 应用总数
|
|
218
218
|
*/
|
|
219
|
-
Total
|
|
219
|
+
Total?: number
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -231,7 +231,7 @@ export interface CreateScanUserResponse {
|
|
|
231
231
|
/**
|
|
232
232
|
* 返回结果码
|
|
233
233
|
*/
|
|
234
|
-
ErrorCode
|
|
234
|
+
ErrorCode?: number
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -246,37 +246,37 @@ export interface DescribeRealtimeScanConfigResponse {
|
|
|
246
246
|
/**
|
|
247
247
|
* 返回结果码,0正常,非0失败
|
|
248
248
|
*/
|
|
249
|
-
ErrorCode
|
|
249
|
+
ErrorCode?: number
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* 应用ID
|
|
253
253
|
*/
|
|
254
|
-
BizId
|
|
254
|
+
BizId?: number
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* 送检类型,0: 全量送审,1: 自定义送审
|
|
258
258
|
*/
|
|
259
|
-
AuditType
|
|
259
|
+
AuditType?: number
|
|
260
260
|
|
|
261
261
|
/**
|
|
262
262
|
* 用户号正则表达式
|
|
263
263
|
*/
|
|
264
|
-
UserIdRegex
|
|
264
|
+
UserIdRegex?: Array<string>
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* 房间号正则表达式
|
|
268
268
|
*/
|
|
269
|
-
RoomIdRegex
|
|
269
|
+
RoomIdRegex?: Array<string>
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* 用户号字符串,逗号分隔,示例:"0001,0002,0003"
|
|
273
273
|
*/
|
|
274
|
-
UserIdString
|
|
274
|
+
UserIdString?: string
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* 房间号字符串,逗号分隔,示例:"0001,0002,0003"
|
|
278
278
|
*/
|
|
279
|
-
RoomIdString
|
|
279
|
+
RoomIdString?: string
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -480,12 +480,12 @@ export interface ModifyCustomizationResponse {
|
|
|
480
480
|
/**
|
|
481
481
|
* 返回值。0为成功,非0为失败。
|
|
482
482
|
*/
|
|
483
|
-
ErrorCode
|
|
483
|
+
ErrorCode?: number
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* 模型ID
|
|
487
487
|
*/
|
|
488
|
-
ModelId
|
|
488
|
+
ModelId?: string
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -530,12 +530,12 @@ export interface ModifyCustomizationStateResponse {
|
|
|
530
530
|
/**
|
|
531
531
|
* 模型ID
|
|
532
532
|
*/
|
|
533
|
-
ModelId
|
|
533
|
+
ModelId?: string
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
536
|
* 返回值。0为成功,非0为失败。
|
|
537
537
|
*/
|
|
538
|
-
ErrorCode
|
|
538
|
+
ErrorCode?: number
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -709,7 +709,7 @@ export interface DescribeAgeDetectTaskResponse {
|
|
|
709
709
|
/**
|
|
710
710
|
* 任务ID
|
|
711
711
|
*/
|
|
712
|
-
TaskId
|
|
712
|
+
TaskId?: string
|
|
713
713
|
|
|
714
714
|
/**
|
|
715
715
|
* 语音检测返回。Results 字段是 JSON 数组,每一个元素包含:
|
|
@@ -718,7 +718,7 @@ Url :该请求中对应的 Url。
|
|
|
718
718
|
Status :子任务状态,0:已创建,1:运行中,2:已完成,3:任务异常,4:任务超时。
|
|
719
719
|
Age :子任务完成后的结果,0:成年人,1:未成年人,100:未知结果。
|
|
720
720
|
*/
|
|
721
|
-
Results
|
|
721
|
+
Results?: Array<AgeDetectTaskResult>
|
|
722
722
|
|
|
723
723
|
/**
|
|
724
724
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -734,7 +734,7 @@ export interface GetCustomizationListResponse {
|
|
|
734
734
|
* 语音消息转文本热句模型配置
|
|
735
735
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
736
736
|
*/
|
|
737
|
-
CustomizationConfigs
|
|
737
|
+
CustomizationConfigs?: Array<CustomizationConfigs>
|
|
738
738
|
|
|
739
739
|
/**
|
|
740
740
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -860,7 +860,7 @@ export interface DescribeAppStatisticsResponse {
|
|
|
860
860
|
/**
|
|
861
861
|
* 应用用量统计数据
|
|
862
862
|
*/
|
|
863
|
-
Data
|
|
863
|
+
Data?: DescribeAppStatisticsResp
|
|
864
864
|
|
|
865
865
|
/**
|
|
866
866
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -876,7 +876,7 @@ export interface UpdateScanRoomsResponse {
|
|
|
876
876
|
* 返回结果码
|
|
877
877
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
878
878
|
*/
|
|
879
|
-
ErrorCode
|
|
879
|
+
ErrorCode?: number
|
|
880
880
|
|
|
881
881
|
/**
|
|
882
882
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -891,7 +891,7 @@ export interface UpdateScanUsersResponse {
|
|
|
891
891
|
/**
|
|
892
892
|
* 返回结果码
|
|
893
893
|
*/
|
|
894
|
-
ErrorCode
|
|
894
|
+
ErrorCode?: number
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
897
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -936,7 +936,7 @@ export interface DeleteScanUserResponse {
|
|
|
936
936
|
/**
|
|
937
937
|
* 返回结果码
|
|
938
938
|
*/
|
|
939
|
-
ErrorCode
|
|
939
|
+
ErrorCode?: number
|
|
940
940
|
|
|
941
941
|
/**
|
|
942
942
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1066,7 +1066,7 @@ export interface DescribeAgeDetectTaskRequest {
|
|
|
1066
1066
|
BizId: number
|
|
1067
1067
|
|
|
1068
1068
|
/**
|
|
1069
|
-
*
|
|
1069
|
+
* [创建年龄语音识别任务](https://cloud.tencent.com/document/product/607/60620)时返回的taskid
|
|
1070
1070
|
*/
|
|
1071
1071
|
TaskId: string
|
|
1072
1072
|
}
|
|
@@ -1078,7 +1078,7 @@ export interface DeleteCustomizationResponse {
|
|
|
1078
1078
|
/**
|
|
1079
1079
|
* 返回值。0为成功,非0为失败。
|
|
1080
1080
|
*/
|
|
1081
|
-
ErrorCode
|
|
1081
|
+
ErrorCode?: number
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1373,7 +1373,7 @@ export interface CreateAgeDetectTaskResponse {
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* 本次任务提交后唯一id,用于获取任务运行结果
|
|
1375
1375
|
*/
|
|
1376
|
-
TaskId
|
|
1376
|
+
TaskId?: string
|
|
1377
1377
|
|
|
1378
1378
|
/**
|
|
1379
1379
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
AppCustomContent,
|
|
37
37
|
DescribeRoomStatisticsResponse,
|
|
38
38
|
CreateSupervisorResponse,
|
|
39
|
+
SceneItem,
|
|
39
40
|
DeleteRoomRequest,
|
|
40
41
|
RegisterUserResponse,
|
|
41
42
|
DescribeAppDetailResponse,
|
|
@@ -44,12 +45,13 @@ import {
|
|
|
44
45
|
CreateSupervisorRequest,
|
|
45
46
|
UnbindDocumentFromRoomRequest,
|
|
46
47
|
LoginOriginIdRequest,
|
|
47
|
-
|
|
48
|
+
AppConfig,
|
|
48
49
|
LoginUserRequest,
|
|
49
50
|
BindDocumentToRoomResponse,
|
|
50
51
|
CreateRoomResponse,
|
|
51
52
|
DescribeUserResponse,
|
|
52
53
|
DescribeRoomRequest,
|
|
54
|
+
RegisterUserRequest,
|
|
53
55
|
} from "./lcic_models"
|
|
54
56
|
|
|
55
57
|
/**
|
|
@@ -65,7 +67,7 @@ export class Client extends AbstractClient {
|
|
|
65
67
|
* 获取应用详情
|
|
66
68
|
*/
|
|
67
69
|
async DescribeAppDetail(
|
|
68
|
-
req
|
|
70
|
+
req: DescribeAppDetailRequest,
|
|
69
71
|
cb?: (error: string, rep: DescribeAppDetailResponse) => void
|
|
70
72
|
): Promise<DescribeAppDetailResponse> {
|
|
71
73
|
return this.request("DescribeAppDetail", req, cb)
|
|
@@ -292,7 +292,17 @@ export interface LoginUserResponse {
|
|
|
292
292
|
/**
|
|
293
293
|
* DescribeAppDetail请求参数结构体
|
|
294
294
|
*/
|
|
295
|
-
export
|
|
295
|
+
export interface DescribeAppDetailRequest {
|
|
296
|
+
/**
|
|
297
|
+
* 应用ID
|
|
298
|
+
*/
|
|
299
|
+
ApplicationId: string
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* 开发商ID
|
|
303
|
+
*/
|
|
304
|
+
DeveloperId: string
|
|
305
|
+
}
|
|
296
306
|
|
|
297
307
|
/**
|
|
298
308
|
* ModifyApp返回参数结构体
|
|
@@ -474,6 +484,11 @@ export interface CreateSupervisorResponse {
|
|
|
474
484
|
RequestId?: string
|
|
475
485
|
}
|
|
476
486
|
|
|
487
|
+
/**
|
|
488
|
+
* 场景配置
|
|
489
|
+
*/
|
|
490
|
+
export type SceneItem = null
|
|
491
|
+
|
|
477
492
|
/**
|
|
478
493
|
* DeleteRoom请求参数结构体
|
|
479
494
|
*/
|
|
@@ -508,6 +523,21 @@ export interface RegisterUserResponse {
|
|
|
508
523
|
* DescribeAppDetail返回参数结构体
|
|
509
524
|
*/
|
|
510
525
|
export interface DescribeAppDetailResponse {
|
|
526
|
+
/**
|
|
527
|
+
* SdkAppId
|
|
528
|
+
*/
|
|
529
|
+
SdkAppId?: string
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* 应用配置
|
|
533
|
+
*/
|
|
534
|
+
AppConfig?: AppConfig
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* 场景配置
|
|
538
|
+
*/
|
|
539
|
+
SceneConfig?: Array<SceneItem>
|
|
540
|
+
|
|
511
541
|
/**
|
|
512
542
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
513
543
|
*/
|
|
@@ -630,29 +660,9 @@ export interface LoginOriginIdRequest {
|
|
|
630
660
|
}
|
|
631
661
|
|
|
632
662
|
/**
|
|
633
|
-
*
|
|
663
|
+
* 应用配置信息
|
|
634
664
|
*/
|
|
635
|
-
export
|
|
636
|
-
/**
|
|
637
|
-
* 低代码互动课堂的SdkAppId。
|
|
638
|
-
*/
|
|
639
|
-
SdkAppId: number
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* 用户名称。
|
|
643
|
-
*/
|
|
644
|
-
Name?: string
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
648
|
-
*/
|
|
649
|
-
OriginId?: string
|
|
650
|
-
|
|
651
|
-
/**
|
|
652
|
-
* 用户头像。
|
|
653
|
-
*/
|
|
654
|
-
Avatar?: string
|
|
655
|
-
}
|
|
665
|
+
export type AppConfig = null
|
|
656
666
|
|
|
657
667
|
/**
|
|
658
668
|
* LoginUser请求参数结构体
|
|
@@ -728,3 +738,28 @@ export interface DescribeRoomRequest {
|
|
|
728
738
|
*/
|
|
729
739
|
RoomId: number
|
|
730
740
|
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* RegisterUser请求参数结构体
|
|
744
|
+
*/
|
|
745
|
+
export interface RegisterUserRequest {
|
|
746
|
+
/**
|
|
747
|
+
* 低代码互动课堂的SdkAppId。
|
|
748
|
+
*/
|
|
749
|
+
SdkAppId: number
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* 用户名称。
|
|
753
|
+
*/
|
|
754
|
+
Name?: string
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
758
|
+
*/
|
|
759
|
+
OriginId?: string
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* 用户头像。
|
|
763
|
+
*/
|
|
764
|
+
Avatar?: string
|
|
765
|
+
}
|
|
@@ -1639,7 +1639,7 @@ export interface DescribeOriginProtectionResponse {
|
|
|
1639
1639
|
* 源站防护信息。
|
|
1640
1640
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1641
1641
|
*/
|
|
1642
|
-
OriginProtectionInfo
|
|
1642
|
+
OriginProtectionInfo?: Array<OriginProtectionInfo>
|
|
1643
1643
|
|
|
1644
1644
|
/**
|
|
1645
1645
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2913,7 +2913,7 @@ export interface DescribeOriginProtectionRequest {
|
|
|
2913
2913
|
<li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li>
|
|
2914
2914
|
<li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li>
|
|
2915
2915
|
*/
|
|
2916
|
-
Filters?: Filter
|
|
2916
|
+
Filters?: Array<Filter>
|
|
2917
2917
|
|
|
2918
2918
|
/**
|
|
2919
2919
|
* 分页查询偏移量,默认为0。
|
|
@@ -214,13 +214,13 @@ export interface StartWhiteboardPushRequest {
|
|
|
214
214
|
RoomId: number
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* 用于白板推流服务进入白板房间的用户ID
|
|
218
|
-
用户ID最大长度不能大于60
|
|
217
|
+
* 用于白板推流服务进入白板房间的用户ID。在没有额外指定`IMAuthParam`和`TRTCAuthParam`的情况下,这个用户ID同时会用于IM登录、IM加群、TRTC进房推流等操作。
|
|
218
|
+
用户ID最大长度不能大于60个字节,该用户ID必须是一个单独的未同时在其他地方使用的用户ID,白板推流服务使用这个用户ID进入房间进行白板音视频推流,若该用户ID和其他地方同时在使用的用户ID重复,会导致白板推流服务与其他使用场景帐号互踢,影响正常推流。
|
|
219
219
|
*/
|
|
220
220
|
PushUserId: string
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* 与PushUserId
|
|
223
|
+
* 与PushUserId对应的IM签名(usersig)。
|
|
224
224
|
*/
|
|
225
225
|
PushUserSig: string
|
|
226
226
|
|
|
@@ -337,9 +337,7 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
|
|
|
337
337
|
TRTCRoomIdStr?: string
|
|
338
338
|
|
|
339
339
|
/**
|
|
340
|
-
*
|
|
341
|
-
|
|
342
|
-
IM鉴权信息参数,用于IM鉴权。
|
|
340
|
+
* IM鉴权信息参数,用于IM鉴权。
|
|
343
341
|
当白板信令所使用的IM应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应IM应用鉴权信息。
|
|
344
342
|
|
|
345
343
|
如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板信令的传输通道,否则使用公共参数中的SdkAppId作为白板信令的传输通道。
|
|
@@ -347,14 +345,22 @@ IM鉴权信息参数,用于IM鉴权。
|
|
|
347
345
|
IMAuthParam?: AuthParam
|
|
348
346
|
|
|
349
347
|
/**
|
|
350
|
-
*
|
|
351
|
-
|
|
352
|
-
TRTC鉴权信息参数,用于TRTC进房推流鉴权。
|
|
348
|
+
* TRTC鉴权信息参数,用于TRTC进房推流鉴权。
|
|
353
349
|
当需要推流到的TRTC房间所对应的TRTC应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应的TRTC应用鉴权信息。
|
|
354
350
|
|
|
355
351
|
如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板推流的目标TRTC应用,否则使用公共参数中的SdkAppId作为白板推流的目标TRTC应用。
|
|
356
352
|
*/
|
|
357
353
|
TRTCAuthParam?: AuthParam
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 内测参数,需要提前申请白名单进行体验。
|
|
357
|
+
|
|
358
|
+
指定白板推流时推流用户进TRTC房间的进房模式。默认为 TRTCAppSceneVideoCall
|
|
359
|
+
|
|
360
|
+
TRTCAppSceneVideoCall - 视频通话场景,即绝大多数时间都是两人或两人以上视频通话的场景,内部编码器和网络协议优化侧重流畅性,降低通话延迟和卡顿率。
|
|
361
|
+
TRTCAppSceneLIVE - 直播场景,即绝大多数时间都是一人直播,偶尔有多人视频互动的场景,内部编码器和网络协议优化侧重性能和兼容性,性能和清晰度表现更佳。
|
|
362
|
+
*/
|
|
363
|
+
TRTCEnterRoomMode?: string
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
/**
|
|
@@ -697,13 +703,13 @@ export interface StartWhiteboardPushResponse {
|
|
|
697
703
|
/**
|
|
698
704
|
* 推流任务Id
|
|
699
705
|
*/
|
|
700
|
-
TaskId
|
|
706
|
+
TaskId?: string
|
|
701
707
|
|
|
702
708
|
/**
|
|
703
709
|
* 备份任务结果参数
|
|
704
710
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
705
711
|
*/
|
|
706
|
-
Backup
|
|
712
|
+
Backup?: string
|
|
707
713
|
|
|
708
714
|
/**
|
|
709
715
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1579,6 +1585,18 @@ export interface DescribeTranscodeResponse {
|
|
|
1579
1585
|
*/
|
|
1580
1586
|
CompressFileUrl?: string
|
|
1581
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* 资源清单文件下载URL(内测体验)
|
|
1590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1591
|
+
*/
|
|
1592
|
+
ResourceListUrl?: string
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* 文档制作方式(内测体验)
|
|
1596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1597
|
+
*/
|
|
1598
|
+
Ext?: string
|
|
1599
|
+
|
|
1582
1600
|
/**
|
|
1583
1601
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1584
1602
|
*/
|