tencentcloud-sdk-nodejs 4.0.251 → 4.0.255

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 (114) hide show
  1. package/CHANGELOG.md +865 -521
  2. package/package.json +1 -1
  3. package/products.md +33 -33
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/asr/v20190614/asr_client.ts +1 -1
  6. package/src/services/asr/v20190614/asr_models.ts +6 -0
  7. package/src/services/billing/v20180709/billing_models.ts +51 -20
  8. package/src/services/ccc/v20200210/ccc_models.ts +6 -0
  9. package/src/services/cdn/v20180606/cdn_client.ts +5 -4
  10. package/src/services/cdn/v20180606/cdn_models.ts +91 -35
  11. package/src/services/cii/v20210408/cii_client.ts +13 -0
  12. package/src/services/cii/v20210408/cii_models.ts +82 -0
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +20 -7
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +216 -176
  15. package/src/services/clb/v20180317/clb_client.ts +20 -7
  16. package/src/services/clb/v20180317/clb_models.ts +25 -0
  17. package/src/services/cpdp/v20190820/cpdp_models.ts +53 -0
  18. package/src/services/cvm/v20170312/cvm_client.ts +17 -0
  19. package/src/services/cvm/v20170312/cvm_models.ts +30 -0
  20. package/src/services/cwp/v20180228/cwp_models.ts +27 -1
  21. package/src/services/dnspod/v20210323/dnspod_client.ts +82 -69
  22. package/src/services/dnspod/v20210323/dnspod_models.ts +1178 -1133
  23. package/src/services/emr/v20190103/emr_models.ts +62 -8
  24. package/src/services/faceid/v20180301/faceid_client.ts +1 -0
  25. package/src/services/faceid/v20180301/faceid_models.ts +46 -0
  26. package/src/services/ft/v20200304/ft_models.ts +8 -2
  27. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -1
  28. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +172 -84
  29. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
  30. package/src/services/mongodb/v20190725/mongodb_models.ts +5 -0
  31. package/src/services/mrs/v20200910/mrs_models.ts +6 -0
  32. package/src/services/postgres/v20170312/postgres_models.ts +4 -4
  33. package/src/services/redis/v20180412/redis_models.ts +4 -3
  34. package/src/services/rum/v20210622/rum_client.ts +27 -3
  35. package/src/services/rum/v20210622/rum_models.ts +270 -25
  36. package/src/services/scf/v20180416/scf_client.ts +13 -0
  37. package/src/services/scf/v20180416/scf_models.ts +82 -28
  38. package/src/services/ssl/v20191205/ssl_models.ts +1 -1
  39. package/src/services/tat/v20201028/tat_client.ts +16 -1
  40. package/src/services/tat/v20201028/tat_models.ts +31 -4
  41. package/src/services/tcss/v20201101/tcss_models.ts +80 -9
  42. package/src/services/tem/v20210701/tem_client.ts +12 -0
  43. package/src/services/tem/v20210701/tem_models.ts +35 -0
  44. package/src/services/thpc/v20211109/thpc_client.ts +2 -0
  45. package/src/services/thpc/v20211109/thpc_models.ts +40 -0
  46. package/src/services/tke/v20180525/tke_models.ts +6 -0
  47. package/src/services/vod/v20180717/vod_client.ts +5 -3
  48. package/src/services/vod/v20180717/vod_models.ts +244 -30
  49. package/tencentcloud/common/sdk_version.d.ts +1 -1
  50. package/tencentcloud/common/sdk_version.js +1 -1
  51. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  52. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  53. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -0
  54. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +50 -19
  55. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
  56. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  57. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +79 -31
  58. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
  59. package/tencentcloud/services/cii/v20210408/cii_client.js +6 -0
  60. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +70 -0
  61. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
  62. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
  63. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +186 -151
  64. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -3
  65. package/tencentcloud/services/clb/v20180317/clb_client.js +10 -3
  66. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
  67. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +44 -0
  68. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -1
  69. package/tencentcloud/services/cvm/v20170312/cvm_client.js +11 -0
  70. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +26 -0
  71. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
  72. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -5
  73. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -6
  74. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1048 -1009
  75. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +54 -8
  76. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
  77. package/tencentcloud/services/ft/v20200304/ft_models.d.ts +7 -2
  78. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -1
  79. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -0
  80. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +144 -68
  81. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
  82. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -0
  83. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +5 -0
  84. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +4 -4
  85. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -2
  86. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
  87. package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
  88. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +225 -25
  89. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +5 -1
  90. package/tencentcloud/services/scf/v20180416/scf_client.js +6 -0
  91. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +74 -27
  92. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
  93. package/tencentcloud/services/tat/v20201028/tat_client.d.ts +8 -1
  94. package/tencentcloud/services/tat/v20201028/tat_client.js +9 -0
  95. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +28 -4
  96. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +66 -9
  97. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
  98. package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
  99. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +30 -0
  100. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +34 -0
  101. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  102. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +4 -3
  103. package/tencentcloud/services/vod/v20180717/vod_client.js +4 -3
  104. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +176 -0
  105. package/test/cii.v20210408.test.js +10 -0
  106. package/test/ckafka.v20190819.test.js +10 -0
  107. package/test/clb.v20180317.test.js +12 -2
  108. package/test/cvm.v20170312.test.js +10 -0
  109. package/test/dnspod.v20210323.test.js +14 -4
  110. package/test/iotexplorer.v20190423.test.js +20 -0
  111. package/test/rum.v20210622.test.js +20 -0
  112. package/test/scf.v20180416.test.js +10 -0
  113. package/test/tat.v20201028.test.js +10 -0
  114. package/test/tem.v20210701.test.js +10 -0
@@ -2696,6 +2696,12 @@ Pending是创建中,Running是 运行中。
2696
2696
  注意:此字段可能返回 null,表示取不到有效值。
2697
2697
  */
2698
2698
  AutoCreatedEipId?: string
2699
+
2700
+ /**
2701
+ * 容器状态是否持久化
2702
+ 注意:此字段可能返回 null,表示取不到有效值。
2703
+ */
2704
+ PersistStatus?: boolean
2699
2705
  }
2700
2706
 
2701
2707
  /**
@@ -216,6 +216,7 @@ import {
216
216
  SegmentConfigureInfoForUpdate,
217
217
  UserDefineConfigureInfo,
218
218
  AiRecognitionTaskSegmentSegmentItem,
219
+ RestoreMediaTask,
219
220
  AiReviewPornOcrTaskInput,
220
221
  OcrWordsConfigureInfo,
221
222
  CreateSuperPlayerConfigResponse,
@@ -1218,7 +1219,8 @@ export class Client extends AbstractClient {
1218
1219
 
1219
1220
  /**
1220
1221
  * 该接口用于查询指定日期范围内每天的播放统计数据。
1221
- * 可以查询最近30天的播放统计数据。
1222
+ * 可以查询最近一年的播放统计数据。
1223
+ * 结束日期和起始日期的时间跨度最大为90天。
1222
1224
  */
1223
1225
  async DescribeDailyMediaPlayStat(
1224
1226
  req: DescribeDailyMediaPlayStatRequest,
@@ -1249,7 +1251,7 @@ export class Client extends AbstractClient {
1249
1251
 
1250
1252
  /**
1251
1253
  * 该接口用于查询每日播放Top100 的媒体文件的播放统计数据。
1252
- * 可以查询最近30天的播放统计数据。
1254
+ * 可以查询最近一年的播放统计数据。
1253
1255
  * 可以按播放次数或者播放流量查询。
1254
1256
  * 播放次数统计说明:
1255
1257
  1. HLS 文件:访问 M3U8 文件时统计播放次数;访问 TS 文件不统计播放次数。
@@ -1932,7 +1934,7 @@ export class Client extends AbstractClient {
1932
1934
 
1933
1935
  /**
1934
1936
  * 该接口用于查询播放统计文件的下载地址。
1935
- * 可以查询最近30天的播放统计文件下载地址。
1937
+ * 可以查询最近一年的播放统计文件下载地址,查询的起始日期和结束日期的时间跨度不超过90天。
1936
1938
  * 云点播每天对前一天的 CDN 请求日志进行分析处理,生成播放统计文件。
1937
1939
  * 播放统计文件内容包含媒体文件的播放次数、播放流量等统计信息。
1938
1940
  * 播放次数统计说明:
@@ -672,9 +672,20 @@ export interface AiReviewProhibitedOcrTaskOutput {
672
672
  Suggestion: string
673
673
 
674
674
  /**
675
- * Ocr 文字有涉违禁嫌疑的视频片段列表。
676
- */
675
+ * Ocr 文字有涉违禁嫌疑的视频片段列表。
676
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
677
+ */
677
678
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
679
+
680
+ /**
681
+ * Ocr 文字有涉违禁嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
682
+ */
683
+ SegmentSetFileUrl: string
684
+
685
+ /**
686
+ * Ocr 文字有涉违禁嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
687
+ */
688
+ SegmentSetFileUrlExpireTime: string
678
689
  }
679
690
 
680
691
  /**
@@ -758,9 +769,20 @@ export interface ModifyEventConfigResponse {
758
769
  */
759
770
  export interface AiAnalysisTaskCoverOutput {
760
771
  /**
761
- * 智能封面列表。
762
- */
772
+ * 智能封面列表。
773
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 CoverSetFileUrl 对应的文件中获取。
774
+ */
763
775
  CoverSet: Array<MediaAiAnalysisCoverItem>
776
+
777
+ /**
778
+ * 智能封面列表文件 URL。文件的内容为 JSON,数据结构与 CoverSet 字段一致。 (文件不会永久存储,到达 CoverSetFileUrlExpireTime 时间点后文件将被删除)。
779
+ */
780
+ CoverSetFileUrl: string
781
+
782
+ /**
783
+ * 智能封面列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
784
+ */
785
+ CoverSetFileUrlExpireTime: string
764
786
  }
765
787
 
766
788
  /**
@@ -2562,9 +2584,20 @@ export interface DescribeEventConfigRequest {
2562
2584
  */
2563
2585
  export interface AiAnalysisTaskClassificationOutput {
2564
2586
  /**
2565
- * 视频智能分类列表。
2566
- */
2587
+ * 视频智能分类列表。
2588
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ClassificationSetFileUrl 对应的文件中获取。
2589
+ */
2567
2590
  ClassificationSet: Array<MediaAiAnalysisClassificationItem>
2591
+
2592
+ /**
2593
+ * 视频智能分类列表文件 URL。文件的内容为 JSON,数据结构与 ClassificationSet 字段一致。 (文件不会永久存储,到达 ClassificationSetFileUrlExpireTime 时间点后文件将被删除)。
2594
+ */
2595
+ ClassificationSetFileUrl: string
2596
+
2597
+ /**
2598
+ * 视频智能分类列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
2599
+ */
2600
+ ClassificationSetFileUrlExpireTime: string
2568
2601
  }
2569
2602
 
2570
2603
  /**
@@ -4241,9 +4274,20 @@ export interface AiReviewPornAsrTaskOutput {
4241
4274
  Suggestion: string
4242
4275
 
4243
4276
  /**
4244
- * Asr 文字有涉黄嫌疑的视频片段列表。
4245
- */
4277
+ * Asr 文字有涉黄嫌疑的视频片段列表。
4278
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
4279
+ */
4246
4280
  SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
4281
+
4282
+ /**
4283
+ * Asr 文字有涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
4284
+ */
4285
+ SegmentSetFileUrl: string
4286
+
4287
+ /**
4288
+ * Asr 文字有涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4289
+ */
4290
+ SegmentSetFileUrlExpireTime: string
4247
4291
  }
4248
4292
 
4249
4293
  /**
@@ -5307,6 +5351,49 @@ export interface AiRecognitionTaskSegmentSegmentItem {
5307
5351
  SpecialInfo: string
5308
5352
  }
5309
5353
 
5354
+ /**
5355
+ * 取回视频任务信息
5356
+ */
5357
+ export interface RestoreMediaTask {
5358
+ /**
5359
+ * 文件ID。
5360
+ */
5361
+ FileId: string
5362
+
5363
+ /**
5364
+ * 文件原始存储类型。
5365
+ */
5366
+ OriginalStorageClass: string
5367
+
5368
+ /**
5369
+ * 文件目标存储类型。对于临时取回,目标存储类型与原始存储类型相同。
5370
+ */
5371
+ TargetStorageClass: string
5372
+
5373
+ /**
5374
+ * 取回模式,取值:
5375
+ <li>Expedited:极速模式</li>
5376
+ <li>Standard:标准模式</li>
5377
+ <li>Bulk:批量模式</li>
5378
+ */
5379
+ RestoreTier: string
5380
+
5381
+ /**
5382
+ * 临时取回副本有效期,单位:天。对于永久取回,取值为0。
5383
+ */
5384
+ RestoreDay: number
5385
+
5386
+ /**
5387
+ * 该字段已废弃。
5388
+ */
5389
+ Status: number
5390
+
5391
+ /**
5392
+ * 该字段已废弃。
5393
+ */
5394
+ Message: string
5395
+ }
5396
+
5310
5397
  /**
5311
5398
  * 内容审核 Ocr 文字鉴黄任务输入参数类型
5312
5399
  */
@@ -5350,9 +5437,20 @@ export interface CreateSuperPlayerConfigResponse {
5350
5437
  */
5351
5438
  export interface AiAnalysisTaskFrameTagOutput {
5352
5439
  /**
5353
- * 视频按帧标签列表。
5354
- */
5440
+ * 视频按帧标签列表。
5441
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
5442
+ */
5355
5443
  SegmentSet: Array<MediaAiAnalysisFrameTagSegmentItem>
5444
+
5445
+ /**
5446
+ * 视频按帧标签列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
5447
+ */
5448
+ SegmentSetFileUrl: string
5449
+
5450
+ /**
5451
+ * 视频按帧标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
5452
+ */
5453
+ SegmentSetFileUrlExpireTime: string
5356
5454
  }
5357
5455
 
5358
5456
  /**
@@ -5636,9 +5734,20 @@ export interface SearchMediaResponse {
5636
5734
  */
5637
5735
  export interface AiAnalysisTaskTagOutput {
5638
5736
  /**
5639
- * 视频智能标签列表。
5640
- */
5737
+ * 视频智能标签列表。
5738
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 TagSetFileUrl 对应的文件中获取。
5739
+ */
5641
5740
  TagSet: Array<MediaAiAnalysisTagItem>
5741
+
5742
+ /**
5743
+ * 视频智能标签列表文件 URL。文件的内容为 JSON,数据结构与 TagSet 字段一致。 (文件不会永久存储,到达 TagSetFileUrlExpireTime 时间点后文件将被删除)。
5744
+ */
5745
+ TagSetFileUrl: string
5746
+
5747
+ /**
5748
+ * 视频智能标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
5749
+ */
5750
+ TagSetFileUrlExpireTime: string
5642
5751
  }
5643
5752
 
5644
5753
  /**
@@ -5646,9 +5755,20 @@ export interface AiAnalysisTaskTagOutput {
5646
5755
  */
5647
5756
  export interface AiAnalysisTaskHighlightOutput {
5648
5757
  /**
5649
- * 视频智能精彩片段列表。
5650
- */
5758
+ * 视频智能精彩片段列表。
5759
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 HighlightSetFileUrl 对应的文件中获取。
5760
+ */
5651
5761
  HighlightSet: Array<MediaAiAnalysisHighlightItem>
5762
+
5763
+ /**
5764
+ * 视频智能精彩片段列表文件 URL。文件的内容为 JSON,数据结构与 HighlightSet 字段一致。 (文件不会永久存储,到达 HighlightSetFileUrlExpireTime 时间点后文件将被删除)。
5765
+ */
5766
+ HighlightSetFileUrl: string
5767
+
5768
+ /**
5769
+ * 视频智能精彩片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
5770
+ */
5771
+ HighlightSetFileUrlExpireTime: string
5652
5772
  }
5653
5773
 
5654
5774
  /**
@@ -7623,9 +7743,20 @@ export interface AiReviewTerrorismTaskOutput {
7623
7743
  Label: string
7624
7744
 
7625
7745
  /**
7626
- * 有暴恐嫌疑的视频片段列表。
7627
- */
7746
+ * 有暴恐嫌疑的视频片段列表。
7747
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
7748
+ */
7628
7749
  SegmentSet: Array<MediaContentReviewSegmentItem>
7750
+
7751
+ /**
7752
+ * 暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
7753
+ */
7754
+ SegmentSetFileUrl: string
7755
+
7756
+ /**
7757
+ * 暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7758
+ */
7759
+ SegmentSetFileUrlExpireTime: string
7629
7760
  }
7630
7761
 
7631
7762
  /**
@@ -7750,9 +7881,20 @@ export interface AiReviewTerrorismOcrTaskOutput {
7750
7881
  Suggestion: string
7751
7882
 
7752
7883
  /**
7753
- * Ocr 文字有涉恐嫌疑的视频片段列表。
7754
- */
7884
+ * Ocr 文字有涉恐嫌疑的视频片段列表。
7885
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
7886
+ */
7755
7887
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
7888
+
7889
+ /**
7890
+ * Ocr 文字有涉恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
7891
+ */
7892
+ SegmentSetFileUrl: string
7893
+
7894
+ /**
7895
+ * Ocr 文字有涉恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7896
+ */
7897
+ SegmentSetFileUrlExpireTime: string
7756
7898
  }
7757
7899
 
7758
7900
  /**
@@ -8799,9 +8941,20 @@ export interface AiReviewPornOcrTaskOutput {
8799
8941
  Suggestion: string
8800
8942
 
8801
8943
  /**
8802
- * Ocr 文字有涉黄嫌疑的视频片段列表。
8803
- */
8944
+ * Ocr 文字有涉黄嫌疑的视频片段列表。
8945
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
8946
+ */
8804
8947
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
8948
+
8949
+ /**
8950
+ * Ocr 文字有涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
8951
+ */
8952
+ SegmentSetFileUrl: string
8953
+
8954
+ /**
8955
+ * Ocr 文字有涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
8956
+ */
8957
+ SegmentSetFileUrlExpireTime: string
8805
8958
  }
8806
8959
 
8807
8960
  /**
@@ -9494,9 +9647,20 @@ export interface AiReviewProhibitedAsrTaskOutput {
9494
9647
  Suggestion: string
9495
9648
 
9496
9649
  /**
9497
- * Asr 文字有涉违禁嫌疑的视频片段列表。
9498
- */
9650
+ * Asr 文字有涉违禁嫌疑的视频片段列表。
9651
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
9652
+ */
9499
9653
  SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
9654
+
9655
+ /**
9656
+ * Asr 文字有涉违禁嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
9657
+ */
9658
+ SegmentSetFileUrl: string
9659
+
9660
+ /**
9661
+ * Asr 文字有涉违禁嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
9662
+ */
9663
+ SegmentSetFileUrlExpireTime: string
9500
9664
  }
9501
9665
 
9502
9666
  /**
@@ -10297,6 +10461,12 @@ export interface EventContent {
10297
10461
  注意:此字段可能返回 null,表示取不到有效值。
10298
10462
  */
10299
10463
  WechatMiniProgramPublishCompleteEvent: WechatMiniProgramPublishTask
10464
+
10465
+ /**
10466
+ * 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
10467
+ 注意:此字段可能返回 null,表示取不到有效值。
10468
+ */
10469
+ RestoreMediaCompleteEvent: RestoreMediaTask
10300
10470
  }
10301
10471
 
10302
10472
  /**
@@ -10385,9 +10555,20 @@ export interface AiReviewPoliticalAsrTaskOutput {
10385
10555
  Suggestion: string
10386
10556
 
10387
10557
  /**
10388
- * Asr 文字有涉政、敏感嫌疑的视频片段列表。
10389
- */
10558
+ * Asr 文字有涉政、敏感嫌疑的视频片段列表。
10559
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
10560
+ */
10390
10561
  SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
10562
+
10563
+ /**
10564
+ * Asr 文字有涉政、敏感嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
10565
+ */
10566
+ SegmentSetFileUrl: string
10567
+
10568
+ /**
10569
+ * Asr 文字有涉政、敏感嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
10570
+ */
10571
+ SegmentSetFileUrlExpireTime: string
10391
10572
  }
10392
10573
 
10393
10574
  /**
@@ -10783,9 +10964,20 @@ export interface AiReviewPornTaskOutput {
10783
10964
  Label: string
10784
10965
 
10785
10966
  /**
10786
- * 有涉黄嫌疑的视频片段列表。
10787
- */
10967
+ * 有涉黄嫌疑的视频片段列表。
10968
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
10969
+ */
10788
10970
  SegmentSet: Array<MediaContentReviewSegmentItem>
10971
+
10972
+ /**
10973
+ * 涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
10974
+ */
10975
+ SegmentSetFileUrl: string
10976
+
10977
+ /**
10978
+ * 涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
10979
+ */
10980
+ SegmentSetFileUrlExpireTime: string
10789
10981
  }
10790
10982
 
10791
10983
  /**
@@ -12050,9 +12242,20 @@ violation_photo:
12050
12242
  Label: string
12051
12243
 
12052
12244
  /**
12053
- * 有涉政嫌疑的视频片段列表。
12054
- */
12245
+ * 有涉政嫌疑的视频片段列表。
12246
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
12247
+ */
12055
12248
  SegmentSet: Array<MediaContentReviewPoliticalSegmentItem>
12249
+
12250
+ /**
12251
+ * 涉政嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
12252
+ */
12253
+ SegmentSetFileUrl: string
12254
+
12255
+ /**
12256
+ * 涉政嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
12257
+ */
12258
+ SegmentSetFileUrlExpireTime: string
12056
12259
  }
12057
12260
 
12058
12261
  /**
@@ -14677,9 +14880,20 @@ export interface AiReviewPoliticalOcrTaskOutput {
14677
14880
  Suggestion: string
14678
14881
 
14679
14882
  /**
14680
- * Ocr 文字有涉政、敏感嫌疑的视频片段列表。
14681
- */
14883
+ * Ocr 文字有涉政、敏感嫌疑的视频片段列表。
14884
+ <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
14885
+ */
14682
14886
  SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
14887
+
14888
+ /**
14889
+ * Ocr 文字有涉政、敏感嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
14890
+ */
14891
+ SegmentSetFileUrl: string
14892
+
14893
+ /**
14894
+ * Ocr 文字有涉政、敏感嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
14895
+ */
14896
+ SegmentSetFileUrlExpireTime: string
14683
14897
  }
14684
14898
 
14685
14899
  /**
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.251";
1
+ export declare const sdkVersion = "4.0.255";
@@ -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.251";
4
+ exports.sdkVersion = "4.0.255";
@@ -103,7 +103,7 @@ export declare class Client extends AbstractClient {
103
103
  */
104
104
  ModifyCustomization(req: ModifyCustomizationRequest, cb?: (error: string, rep: ModifyCustomizationResponse) => void): Promise<ModifyCustomizationResponse>;
105
105
  /**
106
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、mp3;采样率支持8000Hz或者16000Hz;采样精度支持16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
106
+ * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、mp3;采样率支持8000Hz或者16000Hz;采样精度支持16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
107
107
  */
108
108
  SentenceRecognition(req: SentenceRecognitionRequest, cb?: (error: string, rep: SentenceRecognitionResponse) => void): Promise<SentenceRecognitionResponse>;
109
109
  /**
@@ -157,7 +157,7 @@ class Client extends abstract_client_1.AbstractClient {
157
157
  return this.request("ModifyCustomization", req, cb);
158
158
  }
159
159
  /**
160
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、mp3;采样率支持8000Hz或者16000Hz;采样精度支持16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
160
+ * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、mp3;采样率支持8000Hz或者16000Hz;采样精度支持16bits;声道支持单声道。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:25次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。
161
161
  */
162
162
  async SentenceRecognition(req, cb) {
163
163
  return this.request("SentenceRecognition", req, cb);
@@ -627,6 +627,11 @@ export interface TaskStatus {
627
627
  注意:此字段可能返回 null,表示取不到有效值。
628
628
  */
629
629
  ResultDetail: Array<SentenceDetail>;
630
+ /**
631
+ * 音频时长(秒)。
632
+ 注意:此字段可能返回 null,表示取不到有效值。
633
+ */
634
+ AudioDuration: number;
630
635
  }
631
636
  /**
632
637
  * DeleteAsrVocab请求参数结构体