tencentcloud-sdk-nodejs 4.0.365 → 4.0.366

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 (34) hide show
  1. package/CHANGELOG.md +146 -0
  2. package/SERVICE_CHANGELOG.md +256 -11
  3. package/package.json +1 -1
  4. package/products.md +9 -9
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +13 -1
  7. package/src/services/cwp/v20180228/cwp_models.ts +5 -3
  8. package/src/services/dlc/v20210125/dlc_models.ts +5 -0
  9. package/src/services/iotvideo/v20201215/iotvideo_models.ts +1 -1
  10. package/src/services/tcss/v20201101/tcss_models.ts +18 -0
  11. package/src/services/trtc/v20190722/trtc_client.ts +7 -25
  12. package/src/services/trtc/v20190722/trtc_models.ts +0 -134
  13. package/src/services/tsf/v20180326/tsf_client.ts +204 -51
  14. package/src/services/tsf/v20180326/tsf_models.ts +968 -236
  15. package/src/services/vod/v20180717/vod_client.ts +7 -0
  16. package/src/services/vod/v20180717/vod_models.ts +33 -13
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +11 -1
  20. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +5 -3
  21. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
  22. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +1 -1
  23. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +15 -0
  24. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -11
  25. package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -13
  26. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -112
  27. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +61 -13
  28. package/tencentcloud/services/tsf/v20180326/tsf_client.js +90 -18
  29. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +842 -213
  30. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +6 -0
  31. package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
  32. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +28 -11
  33. package/test/trtc.v20190722.test.js +2 -12
  34. package/test/tsf.v20180326.test.js +132 -12
@@ -743,6 +743,12 @@ export declare class Client extends AbstractClient {
743
743
  10. 内容识别(视频片头片尾、人脸、文本全文、文本关键词、语音全文、语音关键词、物体)。
744
744
 
745
745
  如使用事件通知,事件通知的类型为 [任务流状态变更](https://cloud.tencent.com/document/product/266/9636)。
746
+
747
+ 使用溯源水印存在以下限制条件:
748
+ <li> 溯源水印仅支持图片水印; </li>
749
+ <li> 溯源水印仅支持水印重复类型为水印循环播放; </li>
750
+ <li> 溯源水印仅支持输出文件封装格式为 HLS; </li>
751
+ <li> 溯源水印的位置仅支持位于视频的上半部分。 </li>
746
752
  */
747
753
  ProcessMedia(req: ProcessMediaRequest, cb?: (error: string, rep: ProcessMediaResponse) => void): Promise<ProcessMediaResponse>;
748
754
  /**
@@ -1009,6 +1009,12 @@ class Client extends abstract_client_1.AbstractClient {
1009
1009
  10. 内容识别(视频片头片尾、人脸、文本全文、文本关键词、语音全文、语音关键词、物体)。
1010
1010
 
1011
1011
  如使用事件通知,事件通知的类型为 [任务流状态变更](https://cloud.tencent.com/document/product/266/9636)。
1012
+
1013
+ 使用溯源水印存在以下限制条件:
1014
+ <li> 溯源水印仅支持图片水印; </li>
1015
+ <li> 溯源水印仅支持水印重复类型为水印循环播放; </li>
1016
+ <li> 溯源水印仅支持输出文件封装格式为 HLS; </li>
1017
+ <li> 溯源水印的位置仅支持位于视频的上半部分。 </li>
1012
1018
  */
1013
1019
  async ProcessMedia(req, cb) {
1014
1020
  return this.request("ProcessMedia", req, cb);
@@ -2983,6 +2983,15 @@ export interface DeleteTranscodeTemplateRequest {
2983
2983
  */
2984
2984
  SubAppId?: number;
2985
2985
  }
2986
+ /**
2987
+ * 溯源水印参数
2988
+ */
2989
+ export interface TraceWatermarkInput {
2990
+ /**
2991
+ * 水印模板 ID。
2992
+ */
2993
+ Definition: number;
2994
+ }
2986
2995
  /**
2987
2996
  * 语音鉴别涉及令人反感的信息的任务控制参数。
2988
2997
  */
@@ -5296,6 +5305,10 @@ export interface ProcessMediaRequest {
5296
5305
  * 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
5297
5306
  */
5298
5307
  FileId: string;
5308
+ /**
5309
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5310
+ */
5311
+ SubAppId?: number;
5299
5312
  /**
5300
5313
  * 视频处理类型任务参数。
5301
5314
  */
@@ -5332,10 +5345,6 @@ export interface ProcessMediaRequest {
5332
5345
  * 保留字段,特殊用途时使用。
5333
5346
  */
5334
5347
  ExtInfo?: string;
5335
- /**
5336
- * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
5337
- */
5338
- SubAppId?: number;
5339
5348
  }
5340
5349
  /**
5341
5350
  * 图片画面智能识别涉及令人反感的信息的任务结果类型
@@ -6336,6 +6345,10 @@ export interface AdaptiveDynamicStreamingTaskInput {
6336
6345
  * 水印列表,支持多张图片或文字水印,最大可支持 10 张。
6337
6346
  */
6338
6347
  WatermarkSet?: Array<WatermarkInput>;
6348
+ /**
6349
+ * 溯源水印。
6350
+ */
6351
+ TraceWatermark?: TraceWatermarkInput;
6339
6352
  /**
6340
6353
  * 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。
6341
6354
  */
@@ -9004,20 +9017,17 @@ export interface TranscodeTaskInput {
9004
9017
  */
9005
9018
  WatermarkSet?: Array<WatermarkInput>;
9006
9019
  /**
9007
- * 马赛克列表,最大可支持 10 张。
9020
+ * 溯源水印。
9008
9021
  */
9009
- MosaicSet?: Array<MosaicInput>;
9022
+ TraceWatermark?: TraceWatermarkInput;
9010
9023
  /**
9011
9024
  * 片头片尾列表,支持多片头片尾,最大可支持 10 个。
9012
9025
  */
9013
9026
  HeadTailSet?: Array<HeadTailTaskInput>;
9014
9027
  /**
9015
- * 转码后的视频的起始时间偏移,单位:秒。
9016
- <li>不填或填0,表示转码后的视频从原始视频的起始位置开始;</li>
9017
- <li>当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;</li>
9018
- <li>当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。</li>
9028
+ * 马赛克列表,最大可支持 10 张。
9019
9029
  */
9020
- StartTimeOffset?: number;
9030
+ MosaicSet?: Array<MosaicInput>;
9021
9031
  /**
9022
9032
  * 转码后视频的终止时间偏移,单位:秒。
9023
9033
  <li>不填或填0,表示转码后的视频持续到原始视频的末尾终止;</li>
@@ -9025,6 +9035,13 @@ export interface TranscodeTaskInput {
9025
9035
  <li>当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。</li>
9026
9036
  */
9027
9037
  EndTimeOffset?: number;
9038
+ /**
9039
+ * 转码后的视频的起始时间偏移,单位:秒。
9040
+ <li>不填或填0,表示转码后的视频从原始视频的起始位置开始;</li>
9041
+ <li>当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;</li>
9042
+ <li>当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。</li>
9043
+ */
9044
+ StartTimeOffset?: number;
9028
9045
  }
9029
9046
  /**
9030
9047
  * ModifyAIRecognitionTemplate请求参数结构体
@@ -108,9 +108,9 @@ it("trtc.v20190722.DescribeCallDetail", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("trtc.v20190722.MeasureTrtcMcuExternal", async function () {
111
+ it("trtc.v20190722.ModifyCloudRecording", async function () {
112
112
  try {
113
- const data = await client.MeasureTrtcMcuExternal({})
113
+ const data = await client.ModifyCloudRecording({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -148,16 +148,6 @@ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("trtc.v20190722.ModifyCloudRecording", async function () {
152
- try {
153
- const data = await client.ModifyCloudRecording({})
154
- expect(data).to.be.ok
155
- } catch(error) {
156
- expect(error.requestId).to.be.ok
157
- expect(error.code).to.be.ok
158
- }
159
- })
160
-
161
151
  it("trtc.v20190722.ModifyPicture", async function () {
162
152
  try {
163
153
  const data = await client.ModifyPicture({})
@@ -58,9 +58,9 @@ it("tsf.v20180326.DescribeMicroservices", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("tsf.v20180326.ModifyContainerReplicas", async function () {
61
+ it("tsf.v20180326.DescribeApplicationBusinessLogConfig", async function () {
62
62
  try {
63
- const data = await client.ModifyContainerReplicas({})
63
+ const data = await client.DescribeApplicationBusinessLogConfig({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -308,6 +308,16 @@ it("tsf.v20180326.DescribeFileConfigs", async function () {
308
308
  }
309
309
  })
310
310
 
311
+ it("tsf.v20180326.ModifyContainerReplicas", async function () {
312
+ try {
313
+ const data = await client.ModifyContainerReplicas({})
314
+ expect(data).to.be.ok
315
+ } catch(error) {
316
+ expect(error.requestId).to.be.ok
317
+ expect(error.code).to.be.ok
318
+ }
319
+ })
320
+
311
321
  it("tsf.v20180326.DescribeSimpleClusters", async function () {
312
322
  try {
313
323
  const data = await client.DescribeSimpleClusters({})
@@ -328,6 +338,16 @@ it("tsf.v20180326.DescribeApiDetail", async function () {
328
338
  }
329
339
  })
330
340
 
341
+ it("tsf.v20180326.CreateContainGroup", async function () {
342
+ try {
343
+ const data = await client.CreateContainGroup({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
331
351
  it("tsf.v20180326.DescribeGroupsWithPlugin", async function () {
332
352
  try {
333
353
  const data = await client.DescribeGroupsWithPlugin({})
@@ -348,6 +368,16 @@ it("tsf.v20180326.DisableUnitRoute", async function () {
348
368
  }
349
369
  })
350
370
 
371
+ it("tsf.v20180326.DisassociateBusinessLogConfig", async function () {
372
+ try {
373
+ const data = await client.DisassociateBusinessLogConfig({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
351
381
  it("tsf.v20180326.CreateConfig", async function () {
352
382
  try {
353
383
  const data = await client.CreateConfig({})
@@ -478,6 +508,16 @@ it("tsf.v20180326.CreateUnitRule", async function () {
478
508
  }
479
509
  })
480
510
 
511
+ it("tsf.v20180326.UpdateRepository", async function () {
512
+ try {
513
+ const data = await client.UpdateRepository({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
481
521
  it("tsf.v20180326.DescribeGroupUseDetail", async function () {
482
522
  try {
483
523
  const data = await client.DescribeGroupUseDetail({})
@@ -498,9 +538,9 @@ it("tsf.v20180326.DescribePublicConfig", async function () {
498
538
  }
499
539
  })
500
540
 
501
- it("tsf.v20180326.UpdateRepository", async function () {
541
+ it("tsf.v20180326.ReassociateBusinessLogConfig", async function () {
502
542
  try {
503
- const data = await client.UpdateRepository({})
543
+ const data = await client.ReassociateBusinessLogConfig({})
504
544
  expect(data).to.be.ok
505
545
  } catch(error) {
506
546
  expect(error.requestId).to.be.ok
@@ -608,6 +648,16 @@ it("tsf.v20180326.StopContainerGroup", async function () {
608
648
  }
609
649
  })
610
650
 
651
+ it("tsf.v20180326.DescribeGroupBusinessLogConfigs", async function () {
652
+ try {
653
+ const data = await client.DescribeGroupBusinessLogConfigs({})
654
+ expect(data).to.be.ok
655
+ } catch(error) {
656
+ expect(error.requestId).to.be.ok
657
+ expect(error.code).to.be.ok
658
+ }
659
+ })
660
+
611
661
  it("tsf.v20180326.DescribeGroupRelease", async function () {
612
662
  try {
613
663
  const data = await client.DescribeGroupRelease({})
@@ -678,6 +728,16 @@ it("tsf.v20180326.UnbindApiGroup", async function () {
678
728
  }
679
729
  })
680
730
 
731
+ it("tsf.v20180326.DescribeGroupInstances", async function () {
732
+ try {
733
+ const data = await client.DescribeGroupInstances({})
734
+ expect(data).to.be.ok
735
+ } catch(error) {
736
+ expect(error.requestId).to.be.ok
737
+ expect(error.code).to.be.ok
738
+ }
739
+ })
740
+
681
741
  it("tsf.v20180326.CreateLaneRule", async function () {
682
742
  try {
683
743
  const data = await client.CreateLaneRule({})
@@ -708,6 +768,16 @@ it("tsf.v20180326.DescribeApiGroups", async function () {
708
768
  }
709
769
  })
710
770
 
771
+ it("tsf.v20180326.DescribeBusinessLogConfigs", async function () {
772
+ try {
773
+ const data = await client.DescribeBusinessLogConfigs({})
774
+ expect(data).to.be.ok
775
+ } catch(error) {
776
+ expect(error.requestId).to.be.ok
777
+ expect(error.code).to.be.ok
778
+ }
779
+ })
780
+
711
781
  it("tsf.v20180326.ReleaseConfig", async function () {
712
782
  try {
713
783
  const data = await client.ReleaseConfig({})
@@ -838,6 +908,16 @@ it("tsf.v20180326.DescribeInovcationIndicators", async function () {
838
908
  }
839
909
  })
840
910
 
911
+ it("tsf.v20180326.DescribeDeliveryConfigByGroupId", async function () {
912
+ try {
913
+ const data = await client.DescribeDeliveryConfigByGroupId({})
914
+ expect(data).to.be.ok
915
+ } catch(error) {
916
+ expect(error.requestId).to.be.ok
917
+ expect(error.code).to.be.ok
918
+ }
919
+ })
920
+
841
921
  it("tsf.v20180326.DescribeSimpleGroups", async function () {
842
922
  try {
843
923
  const data = await client.DescribeSimpleGroups({})
@@ -1048,9 +1128,9 @@ it("tsf.v20180326.DescribeTaskLastStatus", async function () {
1048
1128
  }
1049
1129
  })
1050
1130
 
1051
- it("tsf.v20180326.DescribeGroupInstances", async function () {
1131
+ it("tsf.v20180326.DescribeBusinessLogConfig", async function () {
1052
1132
  try {
1053
- const data = await client.DescribeGroupInstances({})
1133
+ const data = await client.DescribeBusinessLogConfig({})
1054
1134
  expect(data).to.be.ok
1055
1135
  } catch(error) {
1056
1136
  expect(error.requestId).to.be.ok
@@ -1058,9 +1138,9 @@ it("tsf.v20180326.DescribeGroupInstances", async function () {
1058
1138
  }
1059
1139
  })
1060
1140
 
1061
- it("tsf.v20180326.DeleteRepository", async function () {
1141
+ it("tsf.v20180326.DescribeGatewayAllGroupApis", async function () {
1062
1142
  try {
1063
- const data = await client.DeleteRepository({})
1143
+ const data = await client.DescribeGatewayAllGroupApis({})
1064
1144
  expect(data).to.be.ok
1065
1145
  } catch(error) {
1066
1146
  expect(error.requestId).to.be.ok
@@ -1108,6 +1188,16 @@ it("tsf.v20180326.DescribePathRewrite", async function () {
1108
1188
  }
1109
1189
  })
1110
1190
 
1191
+ it("tsf.v20180326.DisassociateKafkaConfig", async function () {
1192
+ try {
1193
+ const data = await client.DisassociateKafkaConfig({})
1194
+ expect(data).to.be.ok
1195
+ } catch(error) {
1196
+ expect(error.requestId).to.be.ok
1197
+ expect(error.code).to.be.ok
1198
+ }
1199
+ })
1200
+
1111
1201
  it("tsf.v20180326.DescribeInvocationMetricDataCurve", async function () {
1112
1202
  try {
1113
1203
  const data = await client.DescribeInvocationMetricDataCurve({})
@@ -1238,6 +1328,16 @@ it("tsf.v20180326.DeployGroup", async function () {
1238
1328
  }
1239
1329
  })
1240
1330
 
1331
+ it("tsf.v20180326.DescribeDeliveryConfigs", async function () {
1332
+ try {
1333
+ const data = await client.DescribeDeliveryConfigs({})
1334
+ expect(data).to.be.ok
1335
+ } catch(error) {
1336
+ expect(error.requestId).to.be.ok
1337
+ expect(error.code).to.be.ok
1338
+ }
1339
+ })
1340
+
1241
1341
  it("tsf.v20180326.UpdateApiGroup", async function () {
1242
1342
  try {
1243
1343
  const data = await client.UpdateApiGroup({})
@@ -1338,6 +1438,16 @@ it("tsf.v20180326.RedoTaskBatch", async function () {
1338
1438
  }
1339
1439
  })
1340
1440
 
1441
+ it("tsf.v20180326.AssociateBusinessLogConfig", async function () {
1442
+ try {
1443
+ const data = await client.AssociateBusinessLogConfig({})
1444
+ expect(data).to.be.ok
1445
+ } catch(error) {
1446
+ expect(error.requestId).to.be.ok
1447
+ expect(error.code).to.be.ok
1448
+ }
1449
+ })
1450
+
1341
1451
  it("tsf.v20180326.DescribePublicConfigReleaseLogs", async function () {
1342
1452
  try {
1343
1453
  const data = await client.DescribePublicConfigReleaseLogs({})
@@ -1408,9 +1518,9 @@ it("tsf.v20180326.DescribeJvmMonitor", async function () {
1408
1518
  }
1409
1519
  })
1410
1520
 
1411
- it("tsf.v20180326.DescribeGatewayAllGroupApis", async function () {
1521
+ it("tsf.v20180326.DeleteRepository", async function () {
1412
1522
  try {
1413
- const data = await client.DescribeGatewayAllGroupApis({})
1523
+ const data = await client.DeleteRepository({})
1414
1524
  expect(data).to.be.ok
1415
1525
  } catch(error) {
1416
1526
  expect(error.requestId).to.be.ok
@@ -1608,9 +1718,9 @@ it("tsf.v20180326.ChangeApiUsableStatus", async function () {
1608
1718
  }
1609
1719
  })
1610
1720
 
1611
- it("tsf.v20180326.CreateContainGroup", async function () {
1721
+ it("tsf.v20180326.DescribeDeliveryConfig", async function () {
1612
1722
  try {
1613
- const data = await client.CreateContainGroup({})
1723
+ const data = await client.DescribeDeliveryConfig({})
1614
1724
  expect(data).to.be.ok
1615
1725
  } catch(error) {
1616
1726
  expect(error.requestId).to.be.ok
@@ -1708,6 +1818,16 @@ it("tsf.v20180326.DescribePublicConfigReleases", async function () {
1708
1818
  }
1709
1819
  })
1710
1820
 
1821
+ it("tsf.v20180326.AssociateConfigWithGroup", async function () {
1822
+ try {
1823
+ const data = await client.AssociateConfigWithGroup({})
1824
+ expect(data).to.be.ok
1825
+ } catch(error) {
1826
+ expect(error.requestId).to.be.ok
1827
+ expect(error.code).to.be.ok
1828
+ }
1829
+ })
1830
+
1711
1831
  it("tsf.v20180326.DescribeLanes", async function () {
1712
1832
  try {
1713
1833
  const data = await client.DescribeLanes({})