tencentcloud-sdk-nodejs 4.0.239 → 4.0.243

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 (80) hide show
  1. package/CHANGELOG.md +419 -108
  2. package/package.json +1 -1
  3. package/products.md +25 -25
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +171 -0
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +2 -2
  8. package/src/services/as/v20180419/as_models.ts +18 -9
  9. package/src/services/billing/v20180709/billing_models.ts +13 -1
  10. package/src/services/cdb/v20170320/cdb_client.ts +6 -4
  11. package/src/services/cdn/v20180606/cdn_client.ts +1 -0
  12. package/src/services/cdn/v20180606/cdn_models.ts +57 -0
  13. package/src/services/cii/v20210408/cii_client.ts +15 -0
  14. package/src/services/cii/v20210408/cii_models.ts +31 -0
  15. package/src/services/ckafka/v20190819/ckafka_models.ts +12 -12
  16. package/src/services/cvm/v20170312/cvm_models.ts +2 -1
  17. package/src/services/cwp/v20180228/cwp_models.ts +4 -4
  18. package/src/services/ecm/v20190719/ecm_client.ts +38 -23
  19. package/src/services/ecm/v20190719/ecm_models.ts +199 -94
  20. package/src/services/faceid/v20180301/faceid_models.ts +45 -14
  21. package/src/services/iotvideo/v20201215/iotvideo_client.ts +30 -6
  22. package/src/services/iotvideo/v20201215/iotvideo_models.ts +90 -0
  23. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +18 -0
  24. package/src/services/mariadb/v20170312/mariadb_models.ts +1 -1
  25. package/src/services/mps/v20190612/mps_models.ts +6 -0
  26. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  27. package/src/services/ocr/v20181119/ocr_models.ts +10 -10
  28. package/src/services/postgres/v20170312/postgres_client.ts +2 -1
  29. package/src/services/postgres/v20170312/postgres_models.ts +89 -12
  30. package/src/services/ssa/v20180608/ssa_client.ts +35 -5
  31. package/src/services/ssa/v20180608/ssa_models.ts +364 -35
  32. package/src/services/tat/v20201028/tat_models.ts +13 -0
  33. package/src/services/tdmq/v20200217/tdmq_client.ts +700 -440
  34. package/src/services/tdmq/v20200217/tdmq_models.ts +1488 -279
  35. package/src/services/tiw/v20190919/tiw_models.ts +24 -2
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
  39. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
  40. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +140 -0
  41. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +2 -2
  42. package/tencentcloud/services/as/v20180419/as_models.d.ts +17 -8
  43. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +11 -1
  44. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -1
  45. package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -1
  46. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +49 -0
  47. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
  48. package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
  49. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +27 -0
  50. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +12 -12
  51. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -1
  52. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +4 -4
  53. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +11 -7
  54. package/tencentcloud/services/ecm/v20190719/ecm_client.js +14 -8
  55. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +170 -81
  56. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +42 -14
  57. package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.d.ts +11 -3
  58. package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.js +15 -3
  59. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +76 -0
  60. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +15 -0
  61. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -1
  62. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
  63. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  64. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  65. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -10
  66. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +74 -9
  67. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +9 -1
  68. package/tencentcloud/services/ssa/v20180608/ssa_client.js +12 -0
  69. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +312 -32
  70. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +11 -0
  71. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +221 -137
  72. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +330 -204
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1254 -234
  74. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +21 -1
  75. package/test/antiddos.v20200309.test.js +10 -0
  76. package/test/cii.v20210408.test.js +10 -0
  77. package/test/ecm.v20190719.test.js +14 -4
  78. package/test/iotvideo.v20201215.test.js +22 -2
  79. package/test/ssa.v20180608.test.js +20 -0
  80. package/test/tdmq.v20200217.test.js +346 -136
@@ -149,7 +149,9 @@ export interface StartWhiteboardPushRequest {
149
149
  */
150
150
  SdkAppId: number;
151
151
  /**
152
- * 需要推流白板的房间号,取值范围: (1, 4294967295)
152
+ * 需要推流的白板房间号,取值范围: (1, 4294967295)
153
+
154
+ 在没有指定TRTCRoomId和TRTCRoomIdStr的情况下,默认会以RoomId作为白板流进行推流的TRTC房间号。
153
155
  */
154
156
  RoomId: number;
155
157
  /**
@@ -244,6 +246,24 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
244
246
  * 内部参数,不需要关注此参数
245
247
  */
246
248
  ExtraData?: string;
249
+ /**
250
+ * **内部体验字段,若需要体验可以提工单申请开通体验**
251
+
252
+ TRTC数字类型房间号,取值范围: (1, 4294967295)。
253
+
254
+ 在同时指定了RoomId与TRTCRoomId的情况下,优先使用TRTCRoomId作为白板流进行推流的TRTC房间号。
255
+
256
+ 当指定了TRTCRoomIdStr的情况下,此字段将被忽略。
257
+ */
258
+ TRTCRoomId?: number;
259
+ /**
260
+ * **内部体验字段,若需要体验可以提工单申请开通体验**
261
+
262
+ TRTC字符串类型房间号。
263
+
264
+ 在指定了TRTCRoomIdStr的情况下,会优先使用TRTCRoomIdStr作为白板流进行推流的TRTC房间号。
265
+ */
266
+ TRTCRoomIdStr?: string;
247
267
  }
248
268
  /**
249
269
  * 拼接视频中被忽略的时间段
@@ -148,6 +148,16 @@ it("antiddos.v20200309.DescribeListBlackWhiteIpList", async function () {
148
148
  }
149
149
  })
150
150
 
151
+ it("antiddos.v20200309.ModifyNewDomainRules", async function () {
152
+ try {
153
+ const data = await client.ModifyNewDomainRules({})
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
+
151
161
  it("antiddos.v20200309.DescribeListDDoSGeoIPBlockConfig", async function () {
152
162
  try {
153
163
  const data = await client.DescribeListDDoSGeoIPBlockConfig({})
@@ -38,6 +38,16 @@ it("cii.v20210408.DescribeStructureTaskResult", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("cii.v20210408.UploadMedicalFile", async function () {
42
+ try {
43
+ const data = await client.UploadMedicalFile({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
41
51
  it("cii.v20210408.CreateUnderwriteTaskById", async function () {
42
52
  try {
43
53
  const data = await client.CreateUnderwriteTaskById({})
@@ -268,9 +268,9 @@ it("ecm.v20190719.DisassociateSecurityGroups", async function () {
268
268
  }
269
269
  })
270
270
 
271
- it("ecm.v20190719.DeleteSecurityGroup", async function () {
271
+ it("ecm.v20190719.MigrateNetworkInterface", async function () {
272
272
  try {
273
- const data = await client.DeleteSecurityGroup({})
273
+ const data = await client.MigrateNetworkInterface({})
274
274
  expect(data).to.be.ok
275
275
  } catch(error) {
276
276
  expect(error.requestId).to.be.ok
@@ -628,6 +628,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
628
628
  }
629
629
  })
630
630
 
631
+ it("ecm.v20190719.DescribePriceRunInstance", async function () {
632
+ try {
633
+ const data = await client.DescribePriceRunInstance({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
631
641
  it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
632
642
  try {
633
643
  const data = await client.ModifyIpv6AddressesAttribute({})
@@ -1128,9 +1138,9 @@ it("ecm.v20190719.DescribeDisks", async function () {
1128
1138
  }
1129
1139
  })
1130
1140
 
1131
- it("ecm.v20190719.MigrateNetworkInterface", async function () {
1141
+ it("ecm.v20190719.DeleteSecurityGroup", async function () {
1132
1142
  try {
1133
- const data = await client.MigrateNetworkInterface({})
1143
+ const data = await client.DeleteSecurityGroup({})
1134
1144
  expect(data).to.be.ok
1135
1145
  } catch(error) {
1136
1146
  expect(error.requestId).to.be.ok
@@ -58,6 +58,16 @@ it("iotvideo.v20201215.DescribeDeviceData", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("iotvideo.v20201215.DescribeSDKLog", async function () {
62
+ try {
63
+ const data = await client.DescribeSDKLog({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
61
71
  it("iotvideo.v20201215.ModifyProduct", async function () {
62
72
  try {
63
73
  const data = await client.ModifyProduct({})
@@ -348,6 +358,16 @@ it("iotvideo.v20201215.DescribeFirmwareTaskStatistics", async function () {
348
358
  }
349
359
  })
350
360
 
361
+ it("iotvideo.v20201215.ModifyProductDynamicRegister", async function () {
362
+ try {
363
+ const data = await client.ModifyProductDynamicRegister({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
351
371
  it("iotvideo.v20201215.DescribeDeviceDataHistory", async function () {
352
372
  try {
353
373
  const data = await client.DescribeDeviceDataHistory({})
@@ -488,9 +508,9 @@ it("iotvideo.v20201215.DeleteProduct", async function () {
488
508
  }
489
509
  })
490
510
 
491
- it("iotvideo.v20201215.DescribeSDKLog", async function () {
511
+ it("iotvideo.v20201215.DescribeProductDynamicRegister", async function () {
492
512
  try {
493
- const data = await client.DescribeSDKLog({})
513
+ const data = await client.DescribeProductDynamicRegister({})
494
514
  expect(data).to.be.ok
495
515
  } catch(error) {
496
516
  expect(error.requestId).to.be.ok
@@ -168,6 +168,26 @@ it("ssa.v20180608.DescribeSafetyEventList", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("ssa.v20180608.DescribeSocAlertDetails", async function () {
172
+ try {
173
+ const data = await client.DescribeSocAlertDetails({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("ssa.v20180608.DescribeSocAlertList", async function () {
182
+ try {
183
+ const data = await client.DescribeSocAlertList({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
171
191
  it("ssa.v20180608.DescribeVulDetail", async function () {
172
192
  try {
173
193
  const data = await client.DescribeVulDetail({})