tencentcloud-sdk-nodejs 4.0.763 → 4.0.765

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +283 -0
  2. package/SERVICE_CHANGELOG.md +277 -99
  3. package/package.json +1 -1
  4. package/products.md +24 -24
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_client.ts +1 -2
  7. package/src/services/ams/v20201229/ams_models.ts +67 -1
  8. package/src/services/bi/v20220105/bi_models.ts +5 -0
  9. package/src/services/ccc/v20200210/ccc_models.ts +31 -28
  10. package/src/services/cdb/v20170320/cdb_client.ts +2 -2
  11. package/src/services/cdb/v20170320/cdb_models.ts +31 -22
  12. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +15 -0
  13. package/src/services/cvm/v20170312/cvm_client.ts +3 -3
  14. package/src/services/cvm/v20170312/cvm_models.ts +11 -8
  15. package/src/services/dnspod/v20210323/dnspod_models.ts +4 -0
  16. package/src/services/dts/v20211206/dts_models.ts +1 -1
  17. package/src/services/emr/v20190103/emr_client.ts +2 -0
  18. package/src/services/emr/v20190103/emr_models.ts +230 -46
  19. package/src/services/ess/v20201111/ess_models.ts +163 -188
  20. package/src/services/essbasic/v20210526/essbasic_client.ts +3 -1
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -4
  22. package/src/services/faceid/v20180301/faceid_client.ts +2 -0
  23. package/src/services/faceid/v20180301/faceid_models.ts +36 -0
  24. package/src/services/organization/v20210331/organization_models.ts +17 -17
  25. package/src/services/redis/v20180412/redis_models.ts +23 -14
  26. package/src/services/rkp/v20191209/rkp_client.ts +12 -6
  27. package/src/services/ses/v20201002/ses_models.ts +2 -3
  28. package/src/services/tag/v20180813/tag_models.ts +1 -1
  29. package/src/services/trp/v20210515/trp_client.ts +20 -7
  30. package/src/services/trp/v20210515/trp_models.ts +141 -48
  31. package/src/services/vm/v20210922/vm_client.ts +1 -0
  32. package/src/services/vm/v20210922/vm_models.ts +67 -0
  33. package/src/services/vod/v20180717/vod_client.ts +33 -22
  34. package/src/services/vod/v20180717/vod_models.ts +4 -3
  35. package/src/services/vpc/v20170312/vpc_client.ts +32 -16
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +0 -2
  39. package/tencentcloud/services/ams/v20201229/ams_client.js +0 -2
  40. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +66 -1
  41. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +5 -0
  42. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +31 -28
  43. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +2 -2
  44. package/tencentcloud/services/cdb/v20170320/cdb_client.js +2 -2
  45. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +31 -22
  46. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -0
  47. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +3 -3
  48. package/tencentcloud/services/cvm/v20170312/cvm_client.js +3 -3
  49. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +11 -8
  50. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  51. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
  52. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +228 -46
  53. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +163 -188
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
  55. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
  56. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -4
  57. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -0
  58. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -17
  59. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +23 -14
  60. package/tencentcloud/services/rkp/v20191209/rkp_client.d.ts +9 -3
  61. package/tencentcloud/services/rkp/v20191209/rkp_client.js +9 -3
  62. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -3
  63. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
  64. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +7 -3
  65. package/tencentcloud/services/trp/v20210515/trp_client.js +9 -3
  66. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +138 -48
  67. package/tencentcloud/services/vm/v20210922/vm_models.d.ts +66 -0
  68. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +22 -11
  69. package/tencentcloud/services/vod/v20180717/vod_client.js +22 -11
  70. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -3
  71. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +16 -0
  72. package/tencentcloud/services/vpc/v20170312/vpc_client.js +16 -0
  73. package/test/trp.v20210515.test.js +12 -2
@@ -365,6 +365,69 @@ export interface DescribeTaskDetailRequest {
365
365
  ShowAllSegments?: boolean
366
366
  }
367
367
 
368
+ /**
369
+ * 用户信息
370
+ */
371
+ export interface User {
372
+ /**
373
+ * 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
374
+ */
375
+ UserId?: string
376
+ /**
377
+ * 该字段表示业务用户ID对应的账号类型,取值:1-微信uin,2-QQ号,3-微信群uin,4-qq群号,5-微信openid,6-QQopenid,7-其它string。
378
+ 该字段与账号ID参数(UserId)配合使用可确定唯一账号。
379
+ */
380
+ AccountType?: string
381
+ /**
382
+ * 用户昵称
383
+ */
384
+ Nickname?: string
385
+ /**
386
+ * 性别 默认0 未知 1 男性 2 女性
387
+ */
388
+ Gender?: number
389
+ /**
390
+ * 年龄 默认0 未知
391
+ */
392
+ Age?: number
393
+ /**
394
+ * 用户等级,默认0 未知 1 低 2 中 3 高
395
+ */
396
+ Level?: number
397
+ /**
398
+ * 手机号
399
+ */
400
+ Phone?: string
401
+ /**
402
+ * 用户简介,长度不超过5000字
403
+ */
404
+ Desc?: string
405
+ /**
406
+ * 用户头像图片链接
407
+ */
408
+ HeadUrl?: string
409
+ /**
410
+ * 群聊场景房间ID
411
+ */
412
+ RoomId?: string
413
+ /**
414
+ * 群聊场景群ID
415
+ */
416
+ GroupId?: string
417
+ /**
418
+ * 群聊场景群用户数
419
+ */
420
+ GroupSize?: number
421
+ /**
422
+ * 消息接收者ID
423
+ */
424
+ ReceiverId?: string
425
+ /**
426
+ * 消息生成时间,毫秒
427
+ */
428
+ SendTime?: string
429
+ }
430
+
368
431
  /**
369
432
  * 任务输出标签
370
433
  */
@@ -507,6 +570,10 @@ export interface CreateVideoModerationTaskRequest {
507
570
  * 审核排队优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级。用于处理插队等逻辑。默认该参数为0
508
571
  */
509
572
  Priority?: number
573
+ /**
574
+ * 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
575
+ */
576
+ User?: User
510
577
  }
511
578
 
512
579
  /**
@@ -976,8 +976,9 @@ export class Client extends AbstractClient {
976
976
  }
977
977
 
978
978
  /**
979
- * 修改视频重生模板。
980
- */
979
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
980
+ 修改视频重生模板。
981
+ */
981
982
  async ModifyRebuildMediaTemplate(
982
983
  req: ModifyRebuildMediaTemplateRequest,
983
984
  cb?: (error: string, rep: ModifyRebuildMediaTemplateResponse) => void
@@ -1392,8 +1393,9 @@ export class Client extends AbstractClient {
1392
1393
  }
1393
1394
 
1394
1395
  /**
1395
- * 发起音画质重生
1396
- */
1396
+ * 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
1397
+ 发起音画质重生
1398
+ */
1397
1399
  async RebuildMedia(
1398
1400
  req: RebuildMediaRequest,
1399
1401
  cb?: (error: string, rep: RebuildMediaResponse) => void
@@ -1434,8 +1436,9 @@ export class Client extends AbstractClient {
1434
1436
  }
1435
1437
 
1436
1438
  /**
1437
- * 删除视频重生模板。
1438
- */
1439
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
1440
+ 删除视频重生模板。
1441
+ */
1439
1442
  async DeleteRebuildMediaTemplate(
1440
1443
  req: DeleteRebuildMediaTemplateRequest,
1441
1444
  cb?: (error: string, rep: DeleteRebuildMediaTemplateResponse) => void
@@ -1663,8 +1666,9 @@ export class Client extends AbstractClient {
1663
1666
  }
1664
1667
 
1665
1668
  /**
1666
- * 使用模板发起音画质重生。
1667
- */
1669
+ * 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
1670
+ 使用模板发起音画质重生。
1671
+ */
1668
1672
  async EnhanceMediaByTemplate(
1669
1673
  req: EnhanceMediaByTemplateRequest,
1670
1674
  cb?: (error: string, rep: EnhanceMediaByTemplateResponse) => void
@@ -1683,8 +1687,9 @@ export class Client extends AbstractClient {
1683
1687
  }
1684
1688
 
1685
1689
  /**
1686
- * 创建音画质重生模板。
1687
- */
1690
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
1691
+ 创建音画质重生模板。
1692
+ */
1688
1693
  async CreateEnhanceMediaTemplate(
1689
1694
  req: CreateEnhanceMediaTemplateRequest,
1690
1695
  cb?: (error: string, rep: CreateEnhanceMediaTemplateResponse) => void
@@ -1693,8 +1698,9 @@ export class Client extends AbstractClient {
1693
1698
  }
1694
1699
 
1695
1700
  /**
1696
- * 创建视频重生模板。
1697
- */
1701
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
1702
+ 创建视频重生模板。
1703
+ */
1698
1704
  async CreateRebuildMediaTemplate(
1699
1705
  req: CreateRebuildMediaTemplateRequest,
1700
1706
  cb?: (error: string, rep: CreateRebuildMediaTemplateResponse) => void
@@ -2190,8 +2196,9 @@ export class Client extends AbstractClient {
2190
2196
  }
2191
2197
 
2192
2198
  /**
2193
- * 修改音画质重生模板。
2194
- */
2199
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
2200
+ 修改音画质重生模板。
2201
+ */
2195
2202
  async ModifyEnhanceMediaTemplate(
2196
2203
  req: ModifyEnhanceMediaTemplateRequest,
2197
2204
  cb?: (error: string, rep: ModifyEnhanceMediaTemplateResponse) => void
@@ -2463,8 +2470,9 @@ export class Client extends AbstractClient {
2463
2470
  }
2464
2471
 
2465
2472
  /**
2466
- * 获取音画质重生模板列表。
2467
- */
2473
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
2474
+ 获取音画质重生模板列表。
2475
+ */
2468
2476
  async DescribeEnhanceMediaTemplates(
2469
2477
  req: DescribeEnhanceMediaTemplatesRequest,
2470
2478
  cb?: (error: string, rep: DescribeEnhanceMediaTemplatesResponse) => void
@@ -2626,8 +2634,9 @@ export class Client extends AbstractClient {
2626
2634
  }
2627
2635
 
2628
2636
  /**
2629
- * 使用模板发起视频重生。
2630
- */
2637
+ * 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
2638
+ 使用模板发起视频重生。
2639
+ */
2631
2640
  async RebuildMediaByTemplate(
2632
2641
  req: RebuildMediaByTemplateRequest,
2633
2642
  cb?: (error: string, rep: RebuildMediaByTemplateResponse) => void
@@ -2708,8 +2717,9 @@ export class Client extends AbstractClient {
2708
2717
  }
2709
2718
 
2710
2719
  /**
2711
- * 删除音画质重生模板。
2712
- */
2720
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
2721
+ 删除音画质重生模板。
2722
+ */
2713
2723
  async DeleteEnhanceMediaTemplate(
2714
2724
  req: DeleteEnhanceMediaTemplateRequest,
2715
2725
  cb?: (error: string, rep: DeleteEnhanceMediaTemplateResponse) => void
@@ -2718,8 +2728,9 @@ export class Client extends AbstractClient {
2718
2728
  }
2719
2729
 
2720
2730
  /**
2721
- * 获取视频重生模板列表。
2722
- */
2731
+ * 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
2732
+ 获取视频重生模板列表。
2733
+ */
2723
2734
  async DescribeRebuildMediaTemplates(
2724
2735
  req: DescribeRebuildMediaTemplatesRequest,
2725
2736
  cb?: (error: string, rep: DescribeRebuildMediaTemplatesResponse) => void
@@ -4843,11 +4843,12 @@ export interface EnhanceMediaQualityRequest {
4843
4843
  */
4844
4844
  FileId: string
4845
4845
  /**
4846
- * 音画质重生模板 ID,请联系腾讯云获取。
4846
+ * 音画质重生模板 ID
4847
+ 针对典型的使用场景,云点播提供了多个[预置模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
4847
4848
  */
4848
4849
  Definition: number
4849
4850
  /**
4850
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
4851
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
4851
4852
  */
4852
4853
  SubAppId?: number
4853
4854
  /**
@@ -15190,7 +15191,7 @@ export interface RebuildMediaRequest {
15190
15191
  */
15191
15192
  FileId: string
15192
15193
  /**
15193
- * <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
15194
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
15194
15195
  */
15195
15196
  SubAppId?: number
15196
15197
  /**
@@ -1180,8 +1180,10 @@ export class Client extends AbstractClient {
1180
1180
  }
1181
1181
 
1182
1182
  /**
1183
- * 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
1184
- */
1183
+ * 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
1184
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
1185
+ >
1186
+ */
1185
1187
  async ModifyAddressTemplateGroupAttribute(
1186
1188
  req: ModifyAddressTemplateGroupAttributeRequest,
1187
1189
  cb?: (error: string, rep: ModifyAddressTemplateGroupAttributeResponse) => void
@@ -1706,8 +1708,10 @@ export class Client extends AbstractClient {
1706
1708
  }
1707
1709
 
1708
1710
  /**
1709
- * 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
1710
- */
1711
+ * 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
1712
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
1713
+ >
1714
+ */
1711
1715
  async ModifyAddressTemplateAttribute(
1712
1716
  req: ModifyAddressTemplateAttributeRequest,
1713
1717
  cb?: (error: string, rep: ModifyAddressTemplateAttributeResponse) => void
@@ -1736,8 +1740,10 @@ export class Client extends AbstractClient {
1736
1740
  }
1737
1741
 
1738
1742
  /**
1739
- * 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
1740
- */
1743
+ * 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
1744
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
1745
+ >
1746
+ */
1741
1747
  async DeleteServiceTemplateGroup(
1742
1748
  req: DeleteServiceTemplateGroupRequest,
1743
1749
  cb?: (error: string, rep: DeleteServiceTemplateGroupResponse) => void
@@ -2274,8 +2280,10 @@ export class Client extends AbstractClient {
2274
2280
  }
2275
2281
 
2276
2282
  /**
2277
- * 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
2278
- */
2283
+ * 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
2284
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
2285
+ >
2286
+ */
2279
2287
  async ModifyServiceTemplateGroupAttribute(
2280
2288
  req: ModifyServiceTemplateGroupAttributeRequest,
2281
2289
  cb?: (error: string, rep: ModifyServiceTemplateGroupAttributeResponse) => void
@@ -2516,8 +2524,10 @@ export class Client extends AbstractClient {
2516
2524
  }
2517
2525
 
2518
2526
  /**
2519
- * 本接口(DeleteServiceTemplate)用于删除协议端口模板。
2520
- */
2527
+ * 本接口(DeleteServiceTemplate)用于删除协议端口模板。
2528
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
2529
+ >
2530
+ */
2521
2531
  async DeleteServiceTemplate(
2522
2532
  req: DeleteServiceTemplateRequest,
2523
2533
  cb?: (error: string, rep: DeleteServiceTemplateResponse) => void
@@ -2549,8 +2559,10 @@ export class Client extends AbstractClient {
2549
2559
  }
2550
2560
 
2551
2561
  /**
2552
- * 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
2553
- */
2562
+ * 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
2563
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
2564
+ >
2565
+ */
2554
2566
  async DeleteAddressTemplateGroup(
2555
2567
  req: DeleteAddressTemplateGroupRequest,
2556
2568
  cb?: (error: string, rep: DeleteAddressTemplateGroupResponse) => void
@@ -2717,8 +2729,10 @@ export class Client extends AbstractClient {
2717
2729
  }
2718
2730
 
2719
2731
  /**
2720
- * 本接口(DeleteAddressTemplate)用于删除IP地址模板。
2721
- */
2732
+ * 本接口(DeleteAddressTemplate)用于删除IP地址模板。
2733
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
2734
+ >
2735
+ */
2722
2736
  async DeleteAddressTemplate(
2723
2737
  req: DeleteAddressTemplateRequest,
2724
2738
  cb?: (error: string, rep: DeleteAddressTemplateResponse) => void
@@ -3704,8 +3718,10 @@ LimitTypes取值范围:
3704
3718
  }
3705
3719
 
3706
3720
  /**
3707
- * 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
3708
- */
3721
+ * 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
3722
+ >?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
3723
+ >
3724
+ */
3709
3725
  async ModifyServiceTemplateAttribute(
3710
3726
  req: ModifyServiceTemplateAttributeRequest,
3711
3727
  cb?: (error: string, rep: ModifyServiceTemplateAttributeResponse) => void
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.763";
1
+ export declare const sdkVersion = "4.0.765";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.763";
4
+ exports.sdkVersion = "4.0.765";
@@ -39,8 +39,6 @@ export declare class Client extends AbstractClient {
39
39
  - 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。
40
40
  - 如果直播任务取消/结束,则终止直播拉流并退出审核。
41
41
  - 如果直播任务没有取消/结束,直播视频推流因故中断,产品将在将在10分钟内持续拉流重试。如果10分钟检测到音频切片数据,则恢复正常审核,反之,则终止拉流并退出审核。在拉流终止后,用户如有审核需求,需重新送审。
42
-
43
- 默认接口请求频率限制:20次/秒。
44
42
  */
45
43
  CreateAudioModerationTask(req: CreateAudioModerationTaskRequest, cb?: (error: string, rep: CreateAudioModerationTaskResponse) => void): Promise<CreateAudioModerationTaskResponse>;
46
44
  /**
@@ -59,8 +59,6 @@ class Client extends abstract_client_1.AbstractClient {
59
59
  - 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。
60
60
  - 如果直播任务取消/结束,则终止直播拉流并退出审核。
61
61
  - 如果直播任务没有取消/结束,直播视频推流因故中断,产品将在将在10分钟内持续拉流重试。如果10分钟检测到音频切片数据,则恢复正常审核,反之,则终止拉流并退出审核。在拉流终止后,用户如有审核需求,需重新送审。
62
-
63
- 默认接口请求频率限制:20次/秒。
64
62
  */
65
63
  async CreateAudioModerationTask(req, cb) {
66
64
  return this.request("CreateAudioModerationTask", req, cb);
@@ -150,7 +150,7 @@ export interface BucketInfo {
150
150
  */
151
151
  Region: string;
152
152
  /**
153
- * 该字段用于标识腾讯云对象存储的对象Key,对象z作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
153
+ * 该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
154
154
  注意:此字段可能返回 null,表示取不到有效值。
155
155
  */
156
156
  Object: string;
@@ -317,6 +317,10 @@ export interface CreateAudioModerationTaskRequest {
317
317
  * 可选参数,该字段表示接受审核信息回调的地址,格式为URL链接默认格式。配置成功后,审核过程中产生的违规音频片段将通过此接口发送。回调返回内容格式请参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53257#.E7.A4.BA.E4.BE.8B2-.E5.9B.9E.E8.B0.83.E7.AD.BE.E5.90.8D.E7.A4.BA.E4.BE.8B)
318
318
  */
319
319
  CallbackUrl?: string;
320
+ /**
321
+ * 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
322
+ */
323
+ User?: User;
320
324
  }
321
325
  /**
322
326
  * 音视频任务数据结构
@@ -443,6 +447,67 @@ export interface CreateAudioModerationSyncTaskResponse {
443
447
  */
444
448
  RequestId?: string;
445
449
  }
450
+ /**
451
+ * User结果
452
+ */
453
+ export interface User {
454
+ /**
455
+ * 用户等级,默认0 未知 1 低 2 中 3 高
456
+ */
457
+ Level?: number;
458
+ /**
459
+ * 性别 默认0 未知 1 男性 2 女性
460
+ */
461
+ Gender?: number;
462
+ /**
463
+ * 年龄 默认0 未知
464
+ */
465
+ Age?: number;
466
+ /**
467
+ * 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
468
+ */
469
+ UserId?: string;
470
+ /**
471
+ * 手机号
472
+ */
473
+ Phone?: string;
474
+ /**
475
+ * 业务用户ID类型 "1-微信uin 2-QQ号 3-微信群uin 4-qq群号 5-微信openid 6-QQopenid 7-其它string"
476
+ */
477
+ AccountType?: string;
478
+ /**
479
+ * 用户昵称
480
+ */
481
+ Nickname?: string;
482
+ /**
483
+ * 用户头像图片链接
484
+ */
485
+ HeadUrl?: string;
486
+ /**
487
+ * 用户简介,长度不超过5000字
488
+ */
489
+ Desc?: string;
490
+ /**
491
+ * 群聊场景房间ID
492
+ */
493
+ RoomId?: string;
494
+ /**
495
+ * 群聊场景群ID
496
+ */
497
+ GroupId?: string;
498
+ /**
499
+ * 群聊场景群用户数
500
+ */
501
+ GroupSize?: number;
502
+ /**
503
+ * 消息接收者ID
504
+ */
505
+ ReceiverId?: string;
506
+ /**
507
+ * 消息生成时间,毫秒
508
+ */
509
+ SendTime?: string;
510
+ }
446
511
  /**
447
512
  * 用于返回审核任务输出的标签
448
513
  */
@@ -1518,6 +1518,11 @@ export interface DatasourceInfo {
1518
1518
  注意:此字段可能返回 null,表示取不到有效值。
1519
1519
  */
1520
1520
  DataOriginDatasourceId?: string;
1521
+ /**
1522
+ * 集群id
1523
+ 注意:此字段可能返回 null,表示取不到有效值。
1524
+ */
1525
+ ClusterId?: string;
1521
1526
  }
1522
1527
  /**
1523
1528
  * DeleteUserRoleProject请求参数结构体
@@ -354,11 +354,11 @@ export interface DescribeExtensionsResponse {
354
354
  /**
355
355
  * 查询总数
356
356
  */
357
- Total: number;
357
+ Total?: number;
358
358
  /**
359
359
  * 话机信息列表
360
360
  */
361
- ExtensionList: Array<ExtensionInfo>;
361
+ ExtensionList?: Array<ExtensionInfo>;
362
362
  /**
363
363
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
364
364
  */
@@ -539,11 +539,11 @@ export interface DescribeAutoCalloutTasksResponse {
539
539
  /**
540
540
  * 总数
541
541
  */
542
- TotalCount: number;
542
+ TotalCount?: number;
543
543
  /**
544
544
  * 任务列表
545
545
  */
546
- Tasks: Array<AutoCalloutTaskInfo>;
546
+ Tasks?: Array<AutoCalloutTaskInfo>;
547
547
  /**
548
548
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
549
549
  */
@@ -784,36 +784,36 @@ export interface DescribeAutoCalloutTaskResponse {
784
784
  /**
785
785
  * 任务名
786
786
  */
787
- Name: string;
787
+ Name?: string;
788
788
  /**
789
789
  * 任务描述
790
790
  */
791
- Description: string;
791
+ Description?: string;
792
792
  /**
793
793
  * 任务起始时间戳
794
794
  */
795
- NotBefore: number;
795
+ NotBefore?: number;
796
796
  /**
797
797
  * 任务结束时间戳
798
798
  注意:此字段可能返回 null,表示取不到有效值。
799
799
  */
800
- NotAfter: number;
800
+ NotAfter?: number;
801
801
  /**
802
802
  * 主叫列表
803
803
  */
804
- Callers: Array<string>;
804
+ Callers?: Array<string>;
805
805
  /**
806
806
  * 被叫信息列表
807
807
  */
808
- Callees: Array<AutoCalloutTaskCalleeInfo>;
808
+ Callees?: Array<AutoCalloutTaskCalleeInfo>;
809
809
  /**
810
810
  * 任务使用的IvrId
811
811
  */
812
- IvrId: number;
812
+ IvrId?: number;
813
813
  /**
814
814
  * 任务状态 0初始 1运行中 2已完成 3结束中 4已终止
815
815
  */
816
- State: number;
816
+ State?: number;
817
817
  /**
818
818
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
819
819
  */
@@ -1141,36 +1141,36 @@ export interface AutoCalloutTaskInfo {
1141
1141
  /**
1142
1142
  * 任务名
1143
1143
  */
1144
- Name: string;
1144
+ Name?: string;
1145
1145
  /**
1146
1146
  * 被叫数量
1147
1147
  */
1148
- CalleeCount: number;
1148
+ CalleeCount?: number;
1149
1149
  /**
1150
1150
  * 主叫号码列表
1151
1151
  */
1152
- Callers: Array<string>;
1152
+ Callers?: Array<string>;
1153
1153
  /**
1154
1154
  * 起始时间戳
1155
1155
  */
1156
- NotBefore: number;
1156
+ NotBefore?: number;
1157
1157
  /**
1158
1158
  * 结束时间戳
1159
1159
  注意:此字段可能返回 null,表示取不到有效值。
1160
1160
  */
1161
- NotAfter: number;
1161
+ NotAfter?: number;
1162
1162
  /**
1163
1163
  * 任务使用的IvrId
1164
1164
  */
1165
- IvrId: number;
1165
+ IvrId?: number;
1166
1166
  /**
1167
1167
  * 任务状态0初始 1运行中 2已完成 3结束中 4已结束
1168
1168
  */
1169
- State: number;
1169
+ State?: number;
1170
1170
  /**
1171
1171
  * 任务Id
1172
1172
  */
1173
- TaskId: number;
1173
+ TaskId?: number;
1174
1174
  }
1175
1175
  /**
1176
1176
  * 技能组信息
@@ -1554,6 +1554,8 @@ export interface TelCdrInfo {
1554
1554
 
1555
1555
  电话呼出 201 unknown 未知状态
1556
1556
 
1557
+ 电话呼出 202 notAnswer 未接听
1558
+
1557
1559
  电话呼出 203 userReject 拒接挂断
1558
1560
 
1559
1561
  电话呼出 204 powerOff 关机
@@ -1649,6 +1651,8 @@ export interface TelCdrInfo {
1649
1651
 
1650
1652
  电话呼出 201 unknown 未知状态
1651
1653
 
1654
+ 电话呼出 202 notAnswer 未接听
1655
+
1652
1656
  电话呼出 203 userReject 拒接挂断
1653
1657
 
1654
1658
  电话呼出 204 powerOff 关机
@@ -1667,7 +1671,6 @@ export interface TelCdrInfo {
1667
1671
 
1668
1672
  电话呼入&呼出 211 clientError 客户端错误
1669
1673
 
1670
-
1671
1674
  注意:此字段可能返回 null,表示取不到有效值。
1672
1675
  */
1673
1676
  EndStatusString?: string;
@@ -1878,15 +1881,15 @@ export interface CallInNumberMetrics {
1878
1881
  /**
1879
1882
  * 线路号码
1880
1883
  */
1881
- Number: string;
1884
+ Number?: string;
1882
1885
  /**
1883
1886
  * 线路相关指标
1884
1887
  */
1885
- Metrics: CallInMetrics;
1888
+ Metrics?: CallInMetrics;
1886
1889
  /**
1887
1890
  * 所属技能组相关指标
1888
1891
  */
1889
- SkillGroupMetrics: Array<CallInSkillGroupMetrics>;
1892
+ SkillGroupMetrics?: Array<CallInSkillGroupMetrics>;
1890
1893
  }
1891
1894
  /**
1892
1895
  * CreateExtension请求参数结构体
@@ -2345,7 +2348,7 @@ export interface DeleteStaffResponse {
2345
2348
  * 无法删除的状态为在线的客服列表
2346
2349
  注意:此字段可能返回 null,表示取不到有效值。
2347
2350
  */
2348
- OnlineStaffList: Array<string>;
2351
+ OnlineStaffList?: Array<string>;
2349
2352
  /**
2350
2353
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2351
2354
  */
@@ -2453,11 +2456,11 @@ export interface DescribePSTNActiveSessionListResponse {
2453
2456
  /**
2454
2457
  * 列表总条数
2455
2458
  */
2456
- Total: number;
2459
+ Total?: number;
2457
2460
  /**
2458
2461
  * 列表内容
2459
2462
  */
2460
- Sessions: Array<PSTNSessionInfo>;
2463
+ Sessions?: Array<PSTNSessionInfo>;
2461
2464
  /**
2462
2465
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2463
2466
  */
@@ -2611,7 +2614,7 @@ export interface DescribeTelSessionResponse {
2611
2614
  /**
2612
2615
  * 会话信息
2613
2616
  */
2614
- Session: PSTNSession;
2617
+ Session?: PSTNSession;
2615
2618
  /**
2616
2619
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2617
2620
  */