tencentcloud-sdk-nodejs 4.0.855 → 4.0.857
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.
- package/CHANGELOG.md +293 -0
- package/SERVICE_CHANGELOG.md +267 -71
- package/package.json +1 -1
- package/products.md +22 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +19 -19
- package/src/services/bi/v20220105/bi_models.ts +48 -0
- package/src/services/cam/v20190116/cam_models.ts +35 -35
- package/src/services/ccc/v20200210/ccc_models.ts +46 -6
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +20 -12
- package/src/services/cls/v20201016/cls_models.ts +7 -7
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +19 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -5
- package/src/services/emr/v20190103/emr_client.ts +48 -20
- package/src/services/emr/v20190103/emr_models.ts +249 -10
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +9 -0
- package/src/services/index.ts +2 -0
- package/src/services/rce/v20201103/rce_client.ts +2 -14
- package/src/services/rce/v20201103/rce_models.ts +59 -90
- package/src/services/tcss/v20201101/tcss_models.ts +5 -5
- package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +5 -5
- package/src/services/trtc/v20190722/trtc_client.ts +12 -6
- package/src/services/trtc/v20190722/trtc_models.ts +10 -8
- package/src/services/vcg/index.ts +5 -0
- package/src/services/vcg/v20240404/index.ts +6 -0
- package/src/services/vcg/v20240404/vcg_client.ts +55 -0
- package/src/services/vcg/v20240404/vcg_models.ts +90 -0
- package/src/services/vod/v20180717/vod_models.ts +4 -0
- package/src/services/vtc/index.ts +5 -0
- package/src/services/vtc/v20240223/index.ts +6 -0
- package/src/services/vtc/v20240223/vtc_client.ts +70 -0
- package/src/services/vtc/v20240223/vtc_models.ts +219 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +19 -19
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +48 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +35 -35
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -6
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +20 -12
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +7 -7
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +5 -5
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -7
- package/tencentcloud/services/emr/v20190103/emr_client.js +21 -9
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +241 -10
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +9 -0
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +1 -5
- package/tencentcloud/services/rce/v20201103/rce_client.js +0 -6
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +59 -88
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +5 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +3 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +3 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -5
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -6
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +12 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +10 -8
- package/tencentcloud/services/vcg/index.d.ts +6 -0
- package/tencentcloud/services/vcg/index.js +7 -0
- package/tencentcloud/services/vcg/v20240404/index.d.ts +6 -0
- package/tencentcloud/services/vcg/v20240404/index.js +9 -0
- package/tencentcloud/services/vcg/v20240404/vcg_client.d.ts +18 -0
- package/tencentcloud/services/vcg/v20240404/vcg_client.js +43 -0
- package/tencentcloud/services/vcg/v20240404/vcg_models.d.ts +70 -0
- package/tencentcloud/services/vcg/v20240404/vcg_models.js +18 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -0
- package/tencentcloud/services/vtc/index.d.ts +6 -0
- package/tencentcloud/services/vtc/index.js +7 -0
- package/tencentcloud/services/vtc/v20240223/index.d.ts +6 -0
- package/tencentcloud/services/vtc/v20240223/index.js +9 -0
- package/tencentcloud/services/vtc/v20240223/vtc_client.d.ts +22 -0
- package/tencentcloud/services/vtc/v20240223/vtc_client.js +49 -0
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +194 -0
- package/tencentcloud/services/vtc/v20240223/vtc_models.js +18 -0
- package/test/emr.v20190103.test.js +26 -6
- package/test/rce.v20201103.test.js +0 -10
- package/test/vcg.v20240404.test.js +41 -0
- package/test/vtc.v20240223.test.js +51 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 文本片段及其时间戳
|
|
3
|
+
*/
|
|
4
|
+
export interface AsrTimestamps {
|
|
5
|
+
/**
|
|
6
|
+
* 文本片段
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
Text?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 开始时间
|
|
12
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13
|
+
*/
|
|
14
|
+
StartMs?: number;
|
|
15
|
+
/**
|
|
16
|
+
* 结束时间
|
|
17
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18
|
+
*/
|
|
19
|
+
EndMs?: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* ConfirmVideoTranslateJob请求参数结构体
|
|
23
|
+
*/
|
|
24
|
+
export interface ConfirmVideoTranslateJobRequest {
|
|
25
|
+
/**
|
|
26
|
+
* 视频翻译任务 ID
|
|
27
|
+
*/
|
|
28
|
+
JobId: string;
|
|
29
|
+
/**
|
|
30
|
+
* 待确认文本
|
|
31
|
+
*/
|
|
32
|
+
TranslateResults: Array<AudioTranslateResult>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SubmitVideoTranslateJob请求参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface SubmitVideoTranslateJobRequest {
|
|
38
|
+
/**
|
|
39
|
+
* 视频地址URL。
|
|
40
|
+
*/
|
|
41
|
+
VideoUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* 源语言:zh, en
|
|
44
|
+
*/
|
|
45
|
+
SrcLang: string;
|
|
46
|
+
/**
|
|
47
|
+
* 目标语言:zh, en
|
|
48
|
+
*/
|
|
49
|
+
DstLang: string;
|
|
50
|
+
/**
|
|
51
|
+
* 当音频 URL 不为空时,默认以音频驱动视频任务口型
|
|
52
|
+
*/
|
|
53
|
+
AudioUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* 是否需要确认翻译结果0:不需要,1:需要
|
|
56
|
+
*/
|
|
57
|
+
Confirm?: number;
|
|
58
|
+
/**
|
|
59
|
+
* 是否开启口型驱动,0:不开启,1:开启。默认开启。
|
|
60
|
+
*/
|
|
61
|
+
LipSync?: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* ConfirmVideoTranslateJob返回参数结构体
|
|
65
|
+
*/
|
|
66
|
+
export interface ConfirmVideoTranslateJobResponse {
|
|
67
|
+
/**
|
|
68
|
+
* 视频翻译任务 ID
|
|
69
|
+
*/
|
|
70
|
+
JobId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* 音频转换任务 ID
|
|
73
|
+
*/
|
|
74
|
+
TaskId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* 音频翻译结果确认 session
|
|
77
|
+
*/
|
|
78
|
+
SessionId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
81
|
+
*/
|
|
82
|
+
RequestId?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* DescribeVideoTranslateJob请求参数结构体
|
|
86
|
+
*/
|
|
87
|
+
export interface DescribeVideoTranslateJobRequest {
|
|
88
|
+
/**
|
|
89
|
+
* JobId。
|
|
90
|
+
*/
|
|
91
|
+
JobId: string;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* SubmitVideoTranslateJob返回参数结构体
|
|
95
|
+
*/
|
|
96
|
+
export interface SubmitVideoTranslateJobResponse {
|
|
97
|
+
/**
|
|
98
|
+
* 任务ID。
|
|
99
|
+
*/
|
|
100
|
+
JobId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
103
|
+
*/
|
|
104
|
+
RequestId?: string;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* 音频翻译结果。
|
|
108
|
+
*/
|
|
109
|
+
export interface TranslateResult {
|
|
110
|
+
/**
|
|
111
|
+
* 翻译源文字。
|
|
112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
113
|
+
*/
|
|
114
|
+
SourceText?: string;
|
|
115
|
+
/**
|
|
116
|
+
* 翻译后文字。
|
|
117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
118
|
+
*/
|
|
119
|
+
TargetText?: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* 音频翻译结果
|
|
123
|
+
*/
|
|
124
|
+
export interface AudioTranslateResult {
|
|
125
|
+
/**
|
|
126
|
+
* 原文本
|
|
127
|
+
*/
|
|
128
|
+
SourceText: string;
|
|
129
|
+
/**
|
|
130
|
+
* 目标文本
|
|
131
|
+
*/
|
|
132
|
+
TargetText: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* DescribeVideoTranslateJob返回参数结构体
|
|
136
|
+
*/
|
|
137
|
+
export interface DescribeVideoTranslateJobResponse {
|
|
138
|
+
/**
|
|
139
|
+
* 任务状态。 1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
|
|
140
|
+
*/
|
|
141
|
+
JobStatus?: number;
|
|
142
|
+
/**
|
|
143
|
+
* 任务错误码。
|
|
144
|
+
*/
|
|
145
|
+
JobErrorCode?: string;
|
|
146
|
+
/**
|
|
147
|
+
* 任务错误信息。
|
|
148
|
+
*/
|
|
149
|
+
JobErrorMsg?: string;
|
|
150
|
+
/**
|
|
151
|
+
* 视频翻译结果。
|
|
152
|
+
*/
|
|
153
|
+
ResultVideoUrl?: string;
|
|
154
|
+
/**
|
|
155
|
+
* 音频翻译结果。
|
|
156
|
+
*/
|
|
157
|
+
TranslateResults?: Array<TranslateResult>;
|
|
158
|
+
/**
|
|
159
|
+
* 是否需要确认翻译结果。0:不需要,1:需要
|
|
160
|
+
*/
|
|
161
|
+
JobConfirm?: number;
|
|
162
|
+
/**
|
|
163
|
+
* 音频任务 ID
|
|
164
|
+
*/
|
|
165
|
+
JobAudioTaskId?: string;
|
|
166
|
+
/**
|
|
167
|
+
* 视频审核任务ID
|
|
168
|
+
*/
|
|
169
|
+
JobVideoModerationId?: string;
|
|
170
|
+
/**
|
|
171
|
+
* 视频生成任务 ID
|
|
172
|
+
*/
|
|
173
|
+
JobVideoId?: string;
|
|
174
|
+
/**
|
|
175
|
+
* 视频素材原始 URL
|
|
176
|
+
*/
|
|
177
|
+
OriginalVideoUrl?: string;
|
|
178
|
+
/**
|
|
179
|
+
* 文本片段及其时间戳
|
|
180
|
+
*/
|
|
181
|
+
AsrTimestamps?: Array<AsrTimestamps>;
|
|
182
|
+
/**
|
|
183
|
+
* 提交视频翻译任务时的 requestId
|
|
184
|
+
*/
|
|
185
|
+
JobSubmitReqId?: string;
|
|
186
|
+
/**
|
|
187
|
+
* 音频审核任务 ID
|
|
188
|
+
*/
|
|
189
|
+
JobAudioModerationId?: string;
|
|
190
|
+
/**
|
|
191
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
192
|
+
*/
|
|
193
|
+
RequestId?: string;
|
|
194
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -148,6 +148,16 @@ it("emr.v20190103.ModifyUserManagerPwd", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("emr.v20190103.DescribeHBaseTableOverview", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeHBaseTableOverview({})
|
|
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("emr.v20190103.DescribeInstances", async function () {
|
|
152
162
|
try {
|
|
153
163
|
const data = await client.DescribeInstances({})
|
|
@@ -268,6 +278,16 @@ it("emr.v20190103.SyncPodState", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("emr.v20190103.StartStopServiceOrMonitor", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.StartStopServiceOrMonitor({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
271
291
|
it("emr.v20190103.CreateInstance", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.CreateInstance({})
|
|
@@ -288,9 +308,9 @@ it("emr.v20190103.InquiryPriceCreateInstance", async function () {
|
|
|
288
308
|
}
|
|
289
309
|
})
|
|
290
310
|
|
|
291
|
-
it("emr.v20190103.
|
|
311
|
+
it("emr.v20190103.AddMetricScaleStrategy", async function () {
|
|
292
312
|
try {
|
|
293
|
-
const data = await client.
|
|
313
|
+
const data = await client.AddMetricScaleStrategy({})
|
|
294
314
|
expect(data).to.be.ok
|
|
295
315
|
} catch(error) {
|
|
296
316
|
expect(error.requestId).to.be.ok
|
|
@@ -318,9 +338,9 @@ it("emr.v20190103.DescribeHiveQueries", async function () {
|
|
|
318
338
|
}
|
|
319
339
|
})
|
|
320
340
|
|
|
321
|
-
it("emr.v20190103.
|
|
341
|
+
it("emr.v20190103.DescribeEmrOverviewMetrics", async function () {
|
|
322
342
|
try {
|
|
323
|
-
const data = await client.
|
|
343
|
+
const data = await client.DescribeEmrOverviewMetrics({})
|
|
324
344
|
expect(data).to.be.ok
|
|
325
345
|
} catch(error) {
|
|
326
346
|
expect(error.requestId).to.be.ok
|
|
@@ -358,9 +378,9 @@ it("emr.v20190103.DescribeAutoScaleStrategies", async function () {
|
|
|
358
378
|
}
|
|
359
379
|
})
|
|
360
380
|
|
|
361
|
-
it("emr.v20190103.
|
|
381
|
+
it("emr.v20190103.DescribeResourceSchedule", async function () {
|
|
362
382
|
try {
|
|
363
|
-
const data = await client.
|
|
383
|
+
const data = await client.DescribeResourceSchedule({})
|
|
364
384
|
expect(data).to.be.ok
|
|
365
385
|
} catch(error) {
|
|
366
386
|
expect(error.requestId).to.be.ok
|
|
@@ -18,16 +18,6 @@ const client = new tencentcloud.rce.v20201103.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("rce.v20201103.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("rce.v20201103.DescribeRiskAssessment", async function () {
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.DescribeRiskAssessment({})
|
|
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
21
|
it("rce.v20201103.ManageMarketingRisk", async function () {
|
|
32
22
|
try {
|
|
33
23
|
const data = await client.ManageMarketingRisk({})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.vcg.v20240404.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("vcg.v20240404.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("vcg.v20240404.SubmitVideoStylizationJob", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.SubmitVideoStylizationJob({})
|
|
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("vcg.v20240404.DescribeVideoStylizationJob", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeVideoStylizationJob({})
|
|
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
|
+
})
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.vtc.v20240223.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("vtc.v20240223.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("vtc.v20240223.SubmitVideoTranslateJob", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.SubmitVideoTranslateJob({})
|
|
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("vtc.v20240223.DescribeVideoTranslateJob", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeVideoTranslateJob({})
|
|
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("vtc.v20240223.ConfirmVideoTranslateJob", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ConfirmVideoTranslateJob({})
|
|
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
|
+
|
|
51
|
+
})
|