tencentcloud-sdk-nodejs 4.0.429 → 4.0.430

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 (42) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/SERVICE_CHANGELOG.md +162 -255
  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/antiddos/v20200309/antiddos_client.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +1 -1
  8. package/src/services/cpdp/v20190820/cpdp_client.ts +59 -6
  9. package/src/services/cpdp/v20190820/cpdp_models.ts +414 -0
  10. package/src/services/dcdb/v20180411/dcdb_client.ts +6 -18
  11. package/src/services/dcdb/v20180411/dcdb_models.ts +0 -155
  12. package/src/services/monitor/v20180724/monitor_models.ts +6 -0
  13. package/src/services/ocr/v20181119/ocr_client.ts +2 -0
  14. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  15. package/src/services/teo/v20220106/teo_models.ts +1 -0
  16. package/src/services/tiia/v20190529/tiia_models.ts +30 -0
  17. package/src/services/tmt/v20180321/tmt_models.ts +6 -0
  18. package/src/services/trtc/v20190722/trtc_client.ts +1 -1
  19. package/src/services/trtc/v20190722/trtc_models.ts +8 -8
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
  24. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1 -1
  25. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +19 -3
  26. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +27 -3
  27. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +351 -0
  28. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -7
  29. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -9
  30. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -126
  31. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5 -0
  32. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
  33. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
  34. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  35. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +1 -0
  36. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +25 -0
  37. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +5 -0
  38. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
  39. package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
  40. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +8 -8
  41. package/test/cpdp.v20190820.test.js +42 -2
  42. package/test/dcdb.v20180411.test.js +2 -12
@@ -4034,7 +4034,7 @@ export interface MLIDPassportOCRResponse {
4034
4034
  */
4035
4035
  IssuingCountry: string;
4036
4036
  /**
4037
- * 国籍
4037
+ * 国家地区代码
4038
4038
  */
4039
4039
  Nationality: string;
4040
4040
  /**
@@ -2164,6 +2164,7 @@ export interface RuleAction {
2164
2164
  <li> ClientIpHeader;</li>
2165
2165
  <li> TlsVersion;</li>
2166
2166
  <li> OcspStapling。</li>
2167
+ <li> HTTP/2 访问(Http2)。</li>
2167
2168
  注意:此字段可能返回 null,表示取不到有效值。
2168
2169
  */
2169
2170
  NormalAction?: RuleNormalAction;
@@ -1089,6 +1089,21 @@ export interface CarPlateContent {
1089
1089
  注意:此字段可能返回 null,表示取不到有效值。
1090
1090
  */
1091
1091
  PlateLocation: Array<Coord>;
1092
+ /**
1093
+ * 判断车牌是否遮挡。
1094
+ 注意:此字段可能返回 null,表示取不到有效值。
1095
+ */
1096
+ PlateStatus: string;
1097
+ /**
1098
+ * 车牌遮挡的置信度,0-100。
1099
+ 注意:此字段可能返回 null,表示取不到有效值。
1100
+ */
1101
+ PlateStatusConfidence: number;
1102
+ /**
1103
+ * 车牌角度。
1104
+ 注意:此字段可能返回 null,表示取不到有效值。
1105
+ */
1106
+ PlateAngle: number;
1092
1107
  }
1093
1108
  /**
1094
1109
  * DetectLabelPro请求参数结构体
@@ -1309,6 +1324,16 @@ export interface CarTagItem {
1309
1324
  注意:此字段可能返回 null,表示取不到有效值。
1310
1325
  */
1311
1326
  ColorConfidence: number;
1327
+ /**
1328
+ * 车辆朝向,仅车辆识别(增强版)支持
1329
+ 注意:此字段可能返回 null,表示取不到有效值。
1330
+ */
1331
+ Orientation: string;
1332
+ /**
1333
+ * 车辆朝向置信度,0-100,仅车辆识别(增强版)支持
1334
+ 注意:此字段可能返回 null,表示取不到有效值。
1335
+ */
1336
+ OrientationConfidence: number;
1312
1337
  }
1313
1338
  /**
1314
1339
  * 百科词条信息
@@ -84,6 +84,11 @@ export interface GetFileTranslateData {
84
84
  注意:此字段可能返回 null,表示取不到有效值。
85
85
  */
86
86
  Message: string;
87
+ /**
88
+ * 翻译进度
89
+ 注意:此字段可能返回 null,表示取不到有效值。
90
+ */
91
+ Progress: number;
87
92
  }
88
93
  /**
89
94
  * SpeechTranslate返回参数结构体
@@ -75,7 +75,7 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
75
75
 
76
76
  您可以通过此接口实现如下目标:
77
77
  * 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
78
- * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储
78
+ * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储,目前仅支持云点播存储(CloudVod)
79
79
  * 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
80
80
  * 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
81
81
 
@@ -113,7 +113,7 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
113
113
 
114
114
  您可以通过此接口实现如下目标:
115
115
  * 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
116
- * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储
116
+ * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储,目前仅支持云点播存储(CloudVod)
117
117
  * 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
118
118
  * 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
119
119
 
@@ -556,7 +556,7 @@ export interface DescribeRoomInfoRequest {
556
556
  */
557
557
  export interface StorageParams {
558
558
  /**
559
- * 第三方云存储的账号信息。
559
+ * 第三方云存储的账号信息(暂不支持)。
560
560
  */
561
561
  CloudStorage?: CloudStorage;
562
562
  /**
@@ -669,23 +669,23 @@ export interface TrtcTimeNewUsage {
669
669
  */
670
670
  VoiceUserNum: number;
671
671
  /**
672
- * 音视频通话时长。单位:秒。
672
+ * 音视频通话收费时长。单位:秒。
673
673
  */
674
674
  VideoTime: number;
675
675
  /**
676
- * 标清视频通话时长。单位:秒。
676
+ * 标清视频通话收费时长。单位:秒。
677
677
  */
678
678
  Class1VideoTime: number;
679
679
  /**
680
- * 高清视频通话时长。单位:秒。
680
+ * 高清视频通话收费时长。单位:秒。
681
681
  */
682
682
  Class2VideoTime: number;
683
683
  /**
684
- * 超高清视频通话时长。单位:秒。
684
+ * 超高清视频通话收费时长。单位:秒。
685
685
  */
686
686
  Class3VideoTime: number;
687
687
  /**
688
- * 音频通话时长。单位:秒。
688
+ * 音频通话收费时长。单位:秒。
689
689
  */
690
690
  AudioTime: number;
691
691
  /**
@@ -693,11 +693,11 @@ export interface TrtcTimeNewUsage {
693
693
  */
694
694
  Bandwidth: number;
695
695
  /**
696
- * 2k视频通话时长。单位:秒。
696
+ * 2k视频通话收费时长。单位:秒。
697
697
  */
698
698
  Video2KTime: number;
699
699
  /**
700
- * 4k视频通话时长。单位:秒。
700
+ * 4k视频通话收费时长。单位:秒。
701
701
  */
702
702
  Video4KTime: number;
703
703
  }
@@ -728,6 +728,26 @@ it("cpdp.v20190820.CreatePayMerchant", async function () {
728
728
  }
729
729
  })
730
730
 
731
+ it("cpdp.v20190820.QueryOpenBankSettleOrder", async function () {
732
+ try {
733
+ const data = await client.QueryOpenBankSettleOrder({})
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
+
741
+ it("cpdp.v20190820.QueryBatchPaymentResult", async function () {
742
+ try {
743
+ const data = await client.QueryBatchPaymentResult({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
731
751
  it("cpdp.v20190820.GetPayRollAuthList", async function () {
732
752
  try {
733
753
  const data = await client.GetPayRollAuthList({})
@@ -788,6 +808,16 @@ it("cpdp.v20190820.QueryMemberBind", async function () {
788
808
  }
789
809
  })
790
810
 
811
+ it("cpdp.v20190820.ApplyOpenBankSubMerchantSignOnline", async function () {
812
+ try {
813
+ const data = await client.ApplyOpenBankSubMerchantSignOnline({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
791
821
  it("cpdp.v20190820.UnifiedOrder", async function () {
792
822
  try {
793
823
  const data = await client.UnifiedOrder({})
@@ -1768,9 +1798,9 @@ it("cpdp.v20190820.DistributeQueryReceiver", async function () {
1768
1798
  }
1769
1799
  })
1770
1800
 
1771
- it("cpdp.v20190820.QueryBatchPaymentResult", async function () {
1801
+ it("cpdp.v20190820.ApplyOpenBankSettleOrder", async function () {
1772
1802
  try {
1773
- const data = await client.QueryBatchPaymentResult({})
1803
+ const data = await client.ApplyOpenBankSettleOrder({})
1774
1804
  expect(data).to.be.ok
1775
1805
  } catch(error) {
1776
1806
  expect(error.requestId).to.be.ok
@@ -1828,6 +1858,16 @@ it("cpdp.v20190820.DistributeAddReceiver", async function () {
1828
1858
  }
1829
1859
  })
1830
1860
 
1861
+ it("cpdp.v20190820.QueryOpenBankSubMerchantSignOnline", async function () {
1862
+ try {
1863
+ const data = await client.QueryOpenBankSubMerchantSignOnline({})
1864
+ expect(data).to.be.ok
1865
+ } catch(error) {
1866
+ expect(error.requestId).to.be.ok
1867
+ expect(error.code).to.be.ok
1868
+ }
1869
+ })
1870
+
1831
1871
  it("cpdp.v20190820.RefundMemberTransaction", async function () {
1832
1872
  try {
1833
1873
  const data = await client.RefundMemberTransaction({})
@@ -118,16 +118,6 @@ it("dcdb.v20180411.ModifyAccountDescription", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("dcdb.v20180411.DescribeOrders", async function () {
122
- try {
123
- const data = await client.DescribeOrders({})
124
- expect(data).to.be.ok
125
- } catch(error) {
126
- expect(error.requestId).to.be.ok
127
- expect(error.code).to.be.ok
128
- }
129
- })
130
-
131
121
  it("dcdb.v20180411.DescribeUserTasks", async function () {
132
122
  try {
133
123
  const data = await client.DescribeUserTasks({})
@@ -208,9 +198,9 @@ it("dcdb.v20180411.InitDCDBInstances", async function () {
208
198
  }
209
199
  })
210
200
 
211
- it("dcdb.v20180411.CreateDedicatedClusterDCDBInstance", async function () {
201
+ it("dcdb.v20180411.DescribeOrders", async function () {
212
202
  try {
213
- const data = await client.CreateDedicatedClusterDCDBInstance({})
203
+ const data = await client.DescribeOrders({})
214
204
  expect(data).to.be.ok
215
205
  } catch(error) {
216
206
  expect(error.requestId).to.be.ok