tencentcloud-sdk-nodejs 4.0.930 → 4.0.932

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 (58) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/SERVICE_CHANGELOG.md +155 -67
  3. package/package.json +1 -1
  4. package/products.md +21 -21
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bi/v20220105/bi_models.ts +4 -0
  7. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  8. package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
  9. package/src/services/cls/v20201016/cls_models.ts +0 -1
  10. package/src/services/cynosdb/v20190107/cynosdb_client.ts +24 -12
  11. package/src/services/cynosdb/v20190107/cynosdb_models.ts +52 -0
  12. package/src/services/dlc/v20210125/dlc_models.ts +20 -11
  13. package/src/services/dsgc/v20190723/dsgc_models.ts +13 -0
  14. package/src/services/ecc/v20181213/ecc_client.ts +2 -3
  15. package/src/services/ess/v20201111/ess_client.ts +3 -3
  16. package/src/services/facefusion/v20220927/facefusion_models.ts +14 -7
  17. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
  18. package/src/services/redis/v20180412/redis_models.ts +13 -13
  19. package/src/services/tcr/v20190924/tcr_models.ts +3 -3
  20. package/src/services/thpc/v20230321/thpc_client.ts +183 -146
  21. package/src/services/thpc/v20230321/thpc_models.ts +1244 -1092
  22. package/src/services/tse/v20201207/tse_models.ts +2 -1
  23. package/src/services/vclm/v20240523/vclm_models.ts +7 -3
  24. package/src/services/vrs/v20200824/vrs_client.ts +1 -0
  25. package/src/services/vrs/v20200824/vrs_models.ts +1 -0
  26. package/src/services/vtc/v20240223/vtc_models.ts +4 -0
  27. package/src/services/waf/v20180125/waf_models.ts +3 -3
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +4 -0
  31. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  32. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
  33. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +0 -1
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +50 -0
  37. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -11
  38. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +13 -0
  39. package/tencentcloud/services/ecc/v20181213/ecc_client.d.ts +1 -2
  40. package/tencentcloud/services/ecc/v20181213/ecc_client.js +1 -2
  41. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
  42. package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
  43. package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +14 -7
  44. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
  45. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +13 -13
  46. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +3 -3
  47. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +47 -35
  48. package/tencentcloud/services/thpc/v20230321/thpc_client.js +68 -50
  49. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1223 -1078
  50. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -1
  51. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +7 -3
  52. package/tencentcloud/services/vrs/v20200824/vrs_client.d.ts +1 -0
  53. package/tencentcloud/services/vrs/v20200824/vrs_client.js +1 -0
  54. package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +1 -0
  55. package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +4 -0
  56. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +3 -3
  57. package/test/cynosdb.v20190107.test.js +14 -4
  58. package/test/thpc.v20230321.test.js +64 -34
@@ -7438,7 +7438,8 @@ export interface CreateEngineRequest {
7438
7438
  - ap-jakarta:雅加达
7439
7439
  - ap-singapore:新加坡
7440
7440
  北美区 参考值
7441
- - na-toronto:多伦多
7441
+ - na-siliconvalley:硅谷
7442
+ - na-ashburn: 弗吉尼亚
7442
7443
  金融专区 参考值
7443
7444
  - ap-beijing-fsi:北京金融
7444
7445
  - ap-shanghai-fsi:上海金融
@@ -6,17 +6,17 @@ export interface AsrTimestamps {
6
6
  * 文本片段
7
7
  注意:此字段可能返回 null,表示取不到有效值。
8
8
  */
9
- Text?: string;
9
+ Text: string;
10
10
  /**
11
11
  * 开始时间
12
12
  注意:此字段可能返回 null,表示取不到有效值。
13
13
  */
14
- StartMs?: number;
14
+ StartMs: number;
15
15
  /**
16
16
  * 结束时间
17
17
  注意:此字段可能返回 null,表示取不到有效值。
18
18
  */
19
- EndMs?: number;
19
+ EndMs: number;
20
20
  }
21
21
  /**
22
22
  * SubmitVideoStylizationJob请求参数结构体
@@ -340,6 +340,10 @@ export interface SubmitVideoTranslateJobRequest {
340
340
  * 是否开启口型驱动,0:不开启,1:开启。默认开启。
341
341
  */
342
342
  LipSync?: number;
343
+ /**
344
+ * 音色 Id
345
+ */
346
+ VoiceType?: string;
343
347
  }
344
348
  /**
345
349
  * SubmitPortraitSingJob返回参数结构体
@@ -44,6 +44,7 @@ export declare class Client extends AbstractClient {
44
44
  * 本接口用于获取声音复刻训练文本信息。
45
45
  请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
46
46
  • 签名方法参考 公共参数 中签名方法v3。
47
+ • 当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
47
48
  */
48
49
  GetTrainingText(req: GetTrainingTextRequest, cb?: (error: string, rep: GetTrainingTextResponse) => void): Promise<GetTrainingTextResponse>;
49
50
  }
@@ -76,6 +76,7 @@ class Client extends abstract_client_1.AbstractClient {
76
76
  * 本接口用于获取声音复刻训练文本信息。
77
77
  请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
78
78
  • 签名方法参考 公共参数 中签名方法v3。
79
+ • 当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
79
80
  */
80
81
  async GetTrainingText(req, cb) {
81
82
  return this.request("GetTrainingText", req, cb);
@@ -329,6 +329,7 @@ export interface CreateVRSTaskRequest {
329
329
  export interface TrainingText {
330
330
  /**
331
331
  * 文本ID
332
+ 当复刻类型为一句话声音复刻时,生成的TextId有效期为7天,且在成功创建一次复刻任务后失效。
332
333
  注意:此字段可能返回 null,表示取不到有效值。
333
334
  */
334
335
  TextId?: string;
@@ -59,6 +59,10 @@ export interface SubmitVideoTranslateJobRequest {
59
59
  * 是否开启口型驱动,0:不开启,1:开启。默认开启。
60
60
  */
61
61
  LipSync?: number;
62
+ /**
63
+ * 音色 ID
64
+ */
65
+ VoiceType?: string;
62
66
  }
63
67
  /**
64
68
  * ConfirmVideoTranslateJob返回参数结构体
@@ -4667,7 +4667,7 @@ export interface CreateAccessExportResponse {
4667
4667
  /**
4668
4668
  * 日志导出ID。
4669
4669
  */
4670
- ExportId: string;
4670
+ ExportId?: string;
4671
4671
  /**
4672
4672
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4673
4673
  */
@@ -5809,7 +5809,7 @@ export interface GetAttackTotalCountRequest {
5809
5809
  */
5810
5810
  EndTime: string;
5811
5811
  /**
5812
- * 查询的域名,全部域名不指定
5812
+ * 查询的域名,全部域名填all
5813
5813
  */
5814
5814
  Domain: string;
5815
5815
  /**
@@ -9088,7 +9088,7 @@ export interface GetAttackTotalCountResponse {
9088
9088
  /**
9089
9089
  * 攻击总次数
9090
9090
  */
9091
- TotalCount: number;
9091
+ TotalCount?: number;
9092
9092
  /**
9093
9093
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9094
9094
  */
@@ -368,9 +368,9 @@ it("cynosdb.v20190107.DescribeClusterInstanceGrps", async function () {
368
368
  }
369
369
  })
370
370
 
371
- it("cynosdb.v20190107.OfflineCluster", async function () {
371
+ it("cynosdb.v20190107.DescribeIsolatedInstances", async function () {
372
372
  try {
373
- const data = await client.OfflineCluster({})
373
+ const data = await client.DescribeIsolatedInstances({})
374
374
  expect(data).to.be.ok
375
375
  } catch(error) {
376
376
  expect(error.requestId).to.be.ok
@@ -698,6 +698,16 @@ it("cynosdb.v20190107.SwitchClusterZone", async function () {
698
698
  }
699
699
  })
700
700
 
701
+ it("cynosdb.v20190107.SearchClusterDatabases", async function () {
702
+ try {
703
+ const data = await client.SearchClusterDatabases({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
701
711
  it("cynosdb.v20190107.AddInstances", async function () {
702
712
  try {
703
713
  const data = await client.AddInstances({})
@@ -1068,9 +1078,9 @@ it("cynosdb.v20190107.ReloadBalanceProxyNode", async function () {
1068
1078
  }
1069
1079
  })
1070
1080
 
1071
- it("cynosdb.v20190107.SearchClusterDatabases", async function () {
1081
+ it("cynosdb.v20190107.OfflineCluster", async function () {
1072
1082
  try {
1073
- const data = await client.SearchClusterDatabases({})
1083
+ const data = await client.OfflineCluster({})
1074
1084
  expect(data).to.be.ok
1075
1085
  } catch(error) {
1076
1086
  expect(error.requestId).to.be.ok
@@ -18,9 +18,9 @@ const client = new tencentcloud.thpc.v20230321.Client({
18
18
  })
19
19
  describe("thpc.v20230321.test.js", function () {
20
20
 
21
- it("thpc.v20230321.DescribeClusterStorageOption", async function () {
21
+ it("thpc.v20230321.DeleteNodes", async function () {
22
22
  try {
23
- const data = await client.DescribeClusterStorageOption({})
23
+ const data = await client.DeleteNodes({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("thpc.v20230321.DescribeClusterStorageOption", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("thpc.v20230321.DeleteNodes", async function () {
31
+ it("thpc.v20230321.TerminateWorkspaces", async function () {
32
32
  try {
33
- const data = await client.DeleteNodes({})
33
+ const data = await client.TerminateWorkspaces({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("thpc.v20230321.DeleteNodes", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("thpc.v20230321.ModifyInitNodeScripts", async function () {
41
+ it("thpc.v20230321.ModifyWorkspacesAttribute", async function () {
42
42
  try {
43
- const data = await client.ModifyInitNodeScripts({})
43
+ const data = await client.ModifyWorkspacesAttribute({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("thpc.v20230321.CreateCluster", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("thpc.v20230321.DeleteCluster", async function () {
61
+ it("thpc.v20230321.CreateWorkspaces", async function () {
62
62
  try {
63
- const data = await client.DeleteCluster({})
63
+ const data = await client.CreateWorkspaces({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("thpc.v20230321.DeleteCluster", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("thpc.v20230321.SetAutoScalingConfiguration", async function () {
71
+ it("thpc.v20230321.DescribeQueues", async function () {
72
72
  try {
73
- const data = await client.SetAutoScalingConfiguration({})
73
+ const data = await client.DescribeQueues({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("thpc.v20230321.SetAutoScalingConfiguration", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("thpc.v20230321.AddQueue", async function () {
81
+ it("thpc.v20230321.AddNodes", async function () {
82
82
  try {
83
- const data = await client.AddQueue({})
83
+ const data = await client.AddNodes({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("thpc.v20230321.AddQueue", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("thpc.v20230321.DescribeNodes", async function () {
91
+ it("thpc.v20230321.DetachNodes", async function () {
92
92
  try {
93
- const data = await client.DescribeNodes({})
93
+ const data = await client.DetachNodes({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("thpc.v20230321.DescribeNodes", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("thpc.v20230321.CreateWorkspaces", async function () {
101
+ it("thpc.v20230321.DeleteCluster", async function () {
102
102
  try {
103
- const data = await client.CreateWorkspaces({})
103
+ const data = await client.DeleteCluster({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("thpc.v20230321.CreateWorkspaces", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("thpc.v20230321.DescribeInitNodeScripts", async function () {
111
+ it("thpc.v20230321.DeleteClusterStorageOption", async function () {
112
112
  try {
113
- const data = await client.DescribeInitNodeScripts({})
113
+ const data = await client.DeleteClusterStorageOption({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("thpc.v20230321.DescribeInitNodeScripts", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("thpc.v20230321.AttachNodes", async function () {
121
+ it("thpc.v20230321.DescribeWorkspaces", async function () {
122
122
  try {
123
- const data = await client.AttachNodes({})
123
+ const data = await client.DescribeWorkspaces({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("thpc.v20230321.AttachNodes", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("thpc.v20230321.DeleteClusterStorageOption", async function () {
131
+ it("thpc.v20230321.DescribeNodes", async function () {
132
132
  try {
133
- const data = await client.DeleteClusterStorageOption({})
133
+ const data = await client.DescribeNodes({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,9 @@ it("thpc.v20230321.DeleteClusterStorageOption", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("thpc.v20230321.AddNodes", async function () {
141
+ it("thpc.v20230321.DescribeClusters", async function () {
142
142
  try {
143
- const data = await client.AddNodes({})
143
+ const data = await client.DescribeClusters({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("thpc.v20230321.AddNodes", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
151
+ it("thpc.v20230321.SetAutoScalingConfiguration", async function () {
152
152
  try {
153
- const data = await client.DescribeAutoScalingConfiguration({})
153
+ const data = await client.SetAutoScalingConfiguration({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -158,9 +158,9 @@ it("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
158
158
  }
159
159
  })
160
160
 
161
- it("thpc.v20230321.DescribeClusters", async function () {
161
+ it("thpc.v20230321.AddQueue", async function () {
162
162
  try {
163
- const data = await client.DescribeClusters({})
163
+ const data = await client.AddQueue({})
164
164
  expect(data).to.be.ok
165
165
  } catch(error) {
166
166
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("thpc.v20230321.DescribeClusters", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("thpc.v20230321.DetachNodes", async function () {
171
+ it("thpc.v20230321.DescribeInitNodeScripts", async function () {
172
172
  try {
173
- const data = await client.DetachNodes({})
173
+ const data = await client.DescribeInitNodeScripts({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -178,9 +178,19 @@ it("thpc.v20230321.DetachNodes", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("thpc.v20230321.AddClusterStorageOption", async function () {
181
+ it("thpc.v20230321.AttachNodes", async function () {
182
182
  try {
183
- const data = await client.AddClusterStorageOption({})
183
+ const data = await client.AttachNodes({})
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
+
191
+ it("thpc.v20230321.DescribeAutoScalingConfiguration", async function () {
192
+ try {
193
+ const data = await client.DescribeAutoScalingConfiguration({})
184
194
  expect(data).to.be.ok
185
195
  } catch(error) {
186
196
  expect(error.requestId).to.be.ok
@@ -198,9 +208,29 @@ it("thpc.v20230321.DescribeClusterActivities", async function () {
198
208
  }
199
209
  })
200
210
 
201
- it("thpc.v20230321.DescribeQueues", async function () {
211
+ it("thpc.v20230321.DescribeClusterStorageOption", async function () {
202
212
  try {
203
- const data = await client.DescribeQueues({})
213
+ const data = await client.DescribeClusterStorageOption({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("thpc.v20230321.ModifyInitNodeScripts", async function () {
222
+ try {
223
+ const data = await client.ModifyInitNodeScripts({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("thpc.v20230321.AddClusterStorageOption", async function () {
232
+ try {
233
+ const data = await client.AddClusterStorageOption({})
204
234
  expect(data).to.be.ok
205
235
  } catch(error) {
206
236
  expect(error.requestId).to.be.ok