tencentcloud-sdk-nodejs 4.0.285 → 4.0.289

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 (122) hide show
  1. package/CHANGELOG.md +494 -0
  2. package/SERVICE_CHANGELOG.md +505 -5
  3. package/package.json +1 -1
  4. package/products.md +33 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -0
  7. package/src/services/ame/v20190916/ame_models.ts +35 -4
  8. package/src/services/antiddos/v20200309/antiddos_client.ts +327 -68
  9. package/src/services/antiddos/v20200309/antiddos_models.ts +1382 -244
  10. package/src/services/ccc/v20200210/ccc_client.ts +128 -91
  11. package/src/services/ccc/v20200210/ccc_models.ts +183 -6
  12. package/src/services/cdb/v20170320/cdb_models.ts +32 -5
  13. package/src/services/cdn/v20180606/cdn_client.ts +4 -2
  14. package/src/services/cfs/v20190719/cfs_models.ts +5 -0
  15. package/src/services/cii/v20210408/cii_client.ts +2 -2
  16. package/src/services/cii/v20210408/cii_models.ts +14 -6
  17. package/src/services/clb/v20180317/clb_models.ts +4 -3
  18. package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +12 -0
  19. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +15 -0
  20. package/src/services/dbbrain/v20210527/dbbrain_client.ts +15 -2
  21. package/src/services/dbbrain/v20210527/dbbrain_models.ts +122 -22
  22. package/src/services/ecdn/v20191012/ecdn_client.ts +8 -4
  23. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  24. package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
  25. package/src/services/ic/v20190307/ic_models.ts +1 -1
  26. package/src/services/iecp/v20210914/iecp_models.ts +6 -0
  27. package/src/services/index.ts +1 -0
  28. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +12 -0
  29. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
  30. package/src/services/ivld/v20210903/ivld_models.ts +10 -0
  31. package/src/services/lighthouse/v20200324/lighthouse_client.ts +21 -4
  32. package/src/services/lighthouse/v20200324/lighthouse_models.ts +209 -36
  33. package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
  34. package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
  35. package/src/services/organization/v20210331/organization_models.ts +2 -2
  36. package/src/services/rum/v20210622/rum_client.ts +585 -47
  37. package/src/services/rum/v20210622/rum_models.ts +3049 -338
  38. package/src/services/smh/index.ts +5 -0
  39. package/src/services/smh/v20210712/index.ts +6 -0
  40. package/src/services/smh/v20210712/smh_client.ts +155 -0
  41. package/src/services/smh/v20210712/smh_models.ts +655 -0
  42. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  43. package/src/services/ssm/v20190923/ssm_models.ts +3 -3
  44. package/src/services/tat/v20201028/tat_models.ts +1 -1
  45. package/src/services/tcm/v20210413/tcm_models.ts +10 -0
  46. package/src/services/tcss/v20201101/tcss_models.ts +13 -2
  47. package/src/services/tke/v20180525/tke_models.ts +35 -2
  48. package/src/services/vod/v20180717/vod_models.ts +3 -3
  49. package/src/services/vpc/v20170312/vpc_client.ts +4 -4
  50. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  51. package/tencentcloud/common/sdk_version.d.ts +1 -1
  52. package/tencentcloud/common/sdk_version.js +1 -1
  53. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +29 -2
  54. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +103 -19
  55. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +153 -27
  56. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1205 -244
  57. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +47 -35
  58. package/tencentcloud/services/ccc/v20200210/ccc_client.js +69 -51
  59. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +154 -5
  60. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +27 -5
  61. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -1
  62. package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -1
  63. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
  64. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +2 -2
  65. package/tencentcloud/services/cii/v20210408/cii_client.js +2 -2
  66. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +11 -3
  67. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
  68. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +5 -1
  69. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -0
  70. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +13 -0
  71. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  72. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  73. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +104 -21
  74. package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
  75. package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
  76. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  77. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
  78. package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
  79. package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -0
  80. package/tencentcloud/services/index.d.ts +1 -0
  81. package/tencentcloud/services/index.js +2 -0
  82. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  83. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  84. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +40 -0
  85. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +8 -0
  86. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +5 -1
  87. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +6 -0
  88. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +179 -33
  89. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
  90. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
  91. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
  92. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +2 -2
  93. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +198 -13
  94. package/tencentcloud/services/rum/v20210622/rum_client.js +289 -18
  95. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2593 -328
  96. package/tencentcloud/services/smh/index.d.ts +6 -0
  97. package/tencentcloud/services/smh/index.js +7 -0
  98. package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
  99. package/tencentcloud/services/smh/v20210712/index.js +9 -0
  100. package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
  101. package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
  102. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
  103. package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
  104. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  105. package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +3 -3
  106. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
  107. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +8 -0
  108. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +11 -2
  109. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
  110. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
  111. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +4 -4
  112. package/tencentcloud/services/vpc/v20170312/vpc_client.js +4 -4
  113. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  114. package/test/antiddos.v20200309.test.js +228 -18
  115. package/test/ccc.v20200210.test.js +66 -36
  116. package/test/cloudaudit.v20190319.test.js +10 -0
  117. package/test/dbbrain.v20210527.test.js +10 -0
  118. package/test/iotexplorer.v20190423.test.js +10 -0
  119. package/test/lighthouse.v20200324.test.js +10 -0
  120. package/test/mariadb.v20170312.test.js +10 -0
  121. package/test/rum.v20210622.test.js +442 -12
  122. package/test/smh.v20210712.test.js +121 -0
@@ -18,9 +18,29 @@ const client = new tencentcloud.ccc.v20200210.Client({
18
18
  })
19
19
  describe("ccc.v20200210.test.js", function () {
20
20
 
21
- it("ccc.v20200210.DescribeStaffStatusMetrics", async function () {
21
+ it("ccc.v20200210.DescribeStaffInfoList", async function () {
22
22
  try {
23
- const data = await client.DescribeStaffStatusMetrics({})
23
+ const data = await client.DescribeStaffInfoList({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
32
+ try {
33
+ const data = await client.DescribePSTNActiveSessionList({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("ccc.v20200210.BindStaffSkillGroupList", async function () {
42
+ try {
43
+ const data = await client.BindStaffSkillGroupList({})
24
44
  expect(data).to.be.ok
25
45
  } catch(error) {
26
46
  expect(error.requestId).to.be.ok
@@ -48,9 +68,9 @@ it("ccc.v20200210.DescribeIMCdrs", async function () {
48
68
  }
49
69
  })
50
70
 
51
- it("ccc.v20200210.DescribeTelSession", async function () {
71
+ it("ccc.v20200210.DeleteStaff", async function () {
52
72
  try {
53
- const data = await client.DescribeTelSession({})
73
+ const data = await client.DeleteStaff({})
54
74
  expect(data).to.be.ok
55
75
  } catch(error) {
56
76
  expect(error.requestId).to.be.ok
@@ -58,9 +78,9 @@ it("ccc.v20200210.DescribeTelSession", async function () {
58
78
  }
59
79
  })
60
80
 
61
- it("ccc.v20200210.CreateUserSig", async function () {
81
+ it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
62
82
  try {
63
- const data = await client.CreateUserSig({})
83
+ const data = await client.DescribeAutoCalloutTasks({})
64
84
  expect(data).to.be.ok
65
85
  } catch(error) {
66
86
  expect(error.requestId).to.be.ok
@@ -68,9 +88,9 @@ it("ccc.v20200210.CreateUserSig", async function () {
68
88
  }
69
89
  })
70
90
 
71
- it("ccc.v20200210.DeleteStaff", async function () {
91
+ it("ccc.v20200210.CreateStaff", async function () {
72
92
  try {
73
- const data = await client.DeleteStaff({})
93
+ const data = await client.CreateStaff({})
74
94
  expect(data).to.be.ok
75
95
  } catch(error) {
76
96
  expect(error.requestId).to.be.ok
@@ -78,9 +98,9 @@ it("ccc.v20200210.DeleteStaff", async function () {
78
98
  }
79
99
  })
80
100
 
81
- it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
101
+ it("ccc.v20200210.DescribeTelSession", async function () {
82
102
  try {
83
- const data = await client.DescribeSkillGroupInfoList({})
103
+ const data = await client.DescribeTelSession({})
84
104
  expect(data).to.be.ok
85
105
  } catch(error) {
86
106
  expect(error.requestId).to.be.ok
@@ -88,9 +108,9 @@ it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
88
108
  }
89
109
  })
90
110
 
91
- it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
111
+ it("ccc.v20200210.CreateCallOutSession", async function () {
92
112
  try {
93
- const data = await client.DescribeAutoCalloutTasks({})
113
+ const data = await client.CreateCallOutSession({})
94
114
  expect(data).to.be.ok
95
115
  } catch(error) {
96
116
  expect(error.requestId).to.be.ok
@@ -98,9 +118,9 @@ it("ccc.v20200210.DescribeAutoCalloutTasks", async function () {
98
118
  }
99
119
  })
100
120
 
101
- it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
121
+ it("ccc.v20200210.DescribeAutoCalloutTask", async function () {
102
122
  try {
103
- const data = await client.DescribeCCCBuyInfoList({})
123
+ const data = await client.DescribeAutoCalloutTask({})
104
124
  expect(data).to.be.ok
105
125
  } catch(error) {
106
126
  expect(error.requestId).to.be.ok
@@ -108,9 +128,9 @@ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
108
128
  }
109
129
  })
110
130
 
111
- it("ccc.v20200210.DescribeTelCallInfo", async function () {
131
+ it("ccc.v20200210.DescribeTelCdr", async function () {
112
132
  try {
113
- const data = await client.DescribeTelCallInfo({})
133
+ const data = await client.DescribeTelCdr({})
114
134
  expect(data).to.be.ok
115
135
  } catch(error) {
116
136
  expect(error.requestId).to.be.ok
@@ -118,9 +138,9 @@ it("ccc.v20200210.DescribeTelCallInfo", async function () {
118
138
  }
119
139
  })
120
140
 
121
- it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
141
+ it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
122
142
  try {
123
- const data = await client.UnbindStaffSkillGroupList({})
143
+ const data = await client.DescribeSkillGroupInfoList({})
124
144
  expect(data).to.be.ok
125
145
  } catch(error) {
126
146
  expect(error.requestId).to.be.ok
@@ -128,9 +148,9 @@ it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
128
148
  }
129
149
  })
130
150
 
131
- it("ccc.v20200210.DescribeCallInMetrics", async function () {
151
+ it("ccc.v20200210.StopAutoCalloutTask", async function () {
132
152
  try {
133
- const data = await client.DescribeCallInMetrics({})
153
+ const data = await client.StopAutoCalloutTask({})
134
154
  expect(data).to.be.ok
135
155
  } catch(error) {
136
156
  expect(error.requestId).to.be.ok
@@ -138,9 +158,9 @@ it("ccc.v20200210.DescribeCallInMetrics", async function () {
138
158
  }
139
159
  })
140
160
 
141
- it("ccc.v20200210.CreateSDKLoginToken", async function () {
161
+ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
142
162
  try {
143
- const data = await client.CreateSDKLoginToken({})
163
+ const data = await client.DescribeCCCBuyInfoList({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -148,9 +168,9 @@ it("ccc.v20200210.CreateSDKLoginToken", async function () {
148
168
  }
149
169
  })
150
170
 
151
- it("ccc.v20200210.DescribeSeatUserList", async function () {
171
+ it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
152
172
  try {
153
- const data = await client.DescribeSeatUserList({})
173
+ const data = await client.UnbindStaffSkillGroupList({})
154
174
  expect(data).to.be.ok
155
175
  } catch(error) {
156
176
  expect(error.requestId).to.be.ok
@@ -158,9 +178,9 @@ it("ccc.v20200210.DescribeSeatUserList", async function () {
158
178
  }
159
179
  })
160
180
 
161
- it("ccc.v20200210.CreateCallOutSession", async function () {
181
+ it("ccc.v20200210.DescribeStaffStatusMetrics", async function () {
162
182
  try {
163
- const data = await client.CreateCallOutSession({})
183
+ const data = await client.DescribeStaffStatusMetrics({})
164
184
  expect(data).to.be.ok
165
185
  } catch(error) {
166
186
  expect(error.requestId).to.be.ok
@@ -168,9 +188,9 @@ it("ccc.v20200210.CreateCallOutSession", async function () {
168
188
  }
169
189
  })
170
190
 
171
- it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
191
+ it("ccc.v20200210.DescribeTelCallInfo", async function () {
172
192
  try {
173
- const data = await client.DescribePSTNActiveSessionList({})
193
+ const data = await client.DescribeTelCallInfo({})
174
194
  expect(data).to.be.ok
175
195
  } catch(error) {
176
196
  expect(error.requestId).to.be.ok
@@ -178,9 +198,9 @@ it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
178
198
  }
179
199
  })
180
200
 
181
- it("ccc.v20200210.DescribeStaffInfoList", async function () {
201
+ it("ccc.v20200210.CreateAutoCalloutTask", async function () {
182
202
  try {
183
- const data = await client.DescribeStaffInfoList({})
203
+ const data = await client.CreateAutoCalloutTask({})
184
204
  expect(data).to.be.ok
185
205
  } catch(error) {
186
206
  expect(error.requestId).to.be.ok
@@ -188,9 +208,9 @@ it("ccc.v20200210.DescribeStaffInfoList", async function () {
188
208
  }
189
209
  })
190
210
 
191
- it("ccc.v20200210.CreateStaff", async function () {
211
+ it("ccc.v20200210.CreateUserSig", async function () {
192
212
  try {
193
- const data = await client.CreateStaff({})
213
+ const data = await client.CreateUserSig({})
194
214
  expect(data).to.be.ok
195
215
  } catch(error) {
196
216
  expect(error.requestId).to.be.ok
@@ -198,9 +218,9 @@ it("ccc.v20200210.CreateStaff", async function () {
198
218
  }
199
219
  })
200
220
 
201
- it("ccc.v20200210.BindStaffSkillGroupList", async function () {
221
+ it("ccc.v20200210.DescribeCallInMetrics", async function () {
202
222
  try {
203
- const data = await client.BindStaffSkillGroupList({})
223
+ const data = await client.DescribeCallInMetrics({})
204
224
  expect(data).to.be.ok
205
225
  } catch(error) {
206
226
  expect(error.requestId).to.be.ok
@@ -208,9 +228,19 @@ it("ccc.v20200210.BindStaffSkillGroupList", async function () {
208
228
  }
209
229
  })
210
230
 
211
- it("ccc.v20200210.DescribeTelCdr", async function () {
231
+ it("ccc.v20200210.CreateSDKLoginToken", async function () {
212
232
  try {
213
- const data = await client.DescribeTelCdr({})
233
+ const data = await client.CreateSDKLoginToken({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
241
+ it("ccc.v20200210.DescribeSeatUserList", async function () {
242
+ try {
243
+ const data = await client.DescribeSeatUserList({})
214
244
  expect(data).to.be.ok
215
245
  } catch(error) {
216
246
  expect(error.requestId).to.be.ok
@@ -78,6 +78,16 @@ it("cloudaudit.v20190319.StopLogging", async function () {
78
78
  }
79
79
  })
80
80
 
81
+ it("cloudaudit.v20190319.DescribeAuditTracks", async function () {
82
+ try {
83
+ const data = await client.DescribeAuditTracks({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
81
91
  it("cloudaudit.v20190319.InquireAuditCredit", async function () {
82
92
  try {
83
93
  const data = await client.InquireAuditCredit({})
@@ -338,4 +338,14 @@ it("dbbrain.v20210527.CreateDBDiagReportUrl", async function () {
338
338
  }
339
339
  })
340
340
 
341
+ it("dbbrain.v20210527.DescribeProxySessionKillTasks", async function () {
342
+ try {
343
+ const data = await client.DescribeProxySessionKillTasks({})
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
+
341
351
  })
@@ -268,6 +268,16 @@ it("iotexplorer.v20190423.EnableTopicRule", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("iotexplorer.v20190423.DescribeGatewaySubDeviceList", async function () {
272
+ try {
273
+ const data = await client.DescribeGatewaySubDeviceList({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
271
281
  it("iotexplorer.v20190423.SearchStudioProduct", async function () {
272
282
  try {
273
283
  const data = await client.SearchStudioProduct({})
@@ -648,6 +648,16 @@ it("lighthouse.v20200324.RebootInstances", async function () {
648
648
  }
649
649
  })
650
650
 
651
+ it("lighthouse.v20200324.CreateInstances", async function () {
652
+ try {
653
+ const data = await client.CreateInstances({})
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
+
651
661
  it("lighthouse.v20200324.CreateBlueprint", async function () {
652
662
  try {
653
663
  const data = await client.CreateBlueprint({})
@@ -538,6 +538,16 @@ it("mariadb.v20170312.DescribeDBSecurityGroups", async function () {
538
538
  }
539
539
  })
540
540
 
541
+ it("mariadb.v20170312.DescribeDatabaseTable", async function () {
542
+ try {
543
+ const data = await client.DescribeDatabaseTable({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
541
551
  it("mariadb.v20170312.CancelDcnJob", async function () {
542
552
  try {
543
553
  const data = await client.CancelDcnJob({})