tencentcloud-sdk-nodejs-mps 4.1.122 → 4.1.126
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/README.md
CHANGED
|
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
|
|
|
62
62
|
|
|
63
63
|
1. clone 代码到本地:
|
|
64
64
|
```
|
|
65
|
+
git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
|
|
66
|
+
# 或者
|
|
65
67
|
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
66
68
|
# 或者
|
|
67
69
|
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
135
137
|
// ...
|
|
136
138
|
```
|
|
137
139
|
|
|
138
|
-
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](
|
|
140
|
+
实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
|
|
139
141
|
|
|
140
142
|
## Common Client
|
|
141
143
|
|
|
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
|
|
|
143
145
|
|
|
144
146
|
**注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
|
|
145
147
|
|
|
146
|
-
详细使用请参阅示例:[使用 Common Client 进行调用](
|
|
148
|
+
详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
|
|
147
149
|
|
|
148
150
|
## 更多示例
|
|
149
151
|
|
|
150
|
-
请参考 [examples](
|
|
152
|
+
请参考 [examples](examples) 目录。
|
|
151
153
|
|
|
152
154
|
# 相关配置
|
|
153
155
|
|
|
154
156
|
## 代理
|
|
155
157
|
|
|
156
|
-
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](
|
|
158
|
+
如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
|
|
157
159
|
|
|
158
160
|
# 凭证管理
|
|
159
161
|
|
package/package.json
CHANGED
|
@@ -3228,7 +3228,9 @@ export interface QualityControlResult {
|
|
|
3228
3228
|
LowVoice:低音,
|
|
3229
3229
|
HighVoice:爆音,
|
|
3230
3230
|
NoVoice:静音,
|
|
3231
|
-
LowEvaluation
|
|
3231
|
+
LowEvaluation:视频无参考评分(MOS)低于阈值,
|
|
3232
|
+
AudioEvaluation:音频无参考评分(MOS)低于阈值,
|
|
3233
|
+
AudioNoise:音频噪声。
|
|
3232
3234
|
*/
|
|
3233
3235
|
Type?: string;
|
|
3234
3236
|
/**
|
|
@@ -15684,9 +15686,16 @@ export interface ProhibitedOcrReviewTemplateInfoForUpdate {
|
|
|
15684
15686
|
*/
|
|
15685
15687
|
export interface DescribeTasksRequest {
|
|
15686
15688
|
/**
|
|
15687
|
-
*
|
|
15689
|
+
* 任务状态过滤条件,可选值:
|
|
15690
|
+
- WAITING(等待中)
|
|
15691
|
+
- PROCESSING(处理中)
|
|
15692
|
+
- FINISH(已完成)。
|
|
15688
15693
|
*/
|
|
15689
15694
|
Status: string;
|
|
15695
|
+
/**
|
|
15696
|
+
* 任务结束时子任务是否有失败。
|
|
15697
|
+
*/
|
|
15698
|
+
SubTaskHasFailed?: boolean;
|
|
15690
15699
|
/**
|
|
15691
15700
|
* 返回记录条数,默认值:10,最大值:100。
|
|
15692
15701
|
*/
|
|
@@ -16164,6 +16173,16 @@ export interface AddOnSubtitle {
|
|
|
16164
16173
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16165
16174
|
*/
|
|
16166
16175
|
SubtitleName?: string;
|
|
16176
|
+
/**
|
|
16177
|
+
* 字幕输出格式。取值{"WebVTT","TTML"}。
|
|
16178
|
+
默认值:"WebVTT"
|
|
16179
|
+
*/
|
|
16180
|
+
OutputFormat?: string;
|
|
16181
|
+
/**
|
|
16182
|
+
* 默认字幕轨道。为true时指定当前字幕为默认字幕轨道,最多可指定1条默认字幕轨道。
|
|
16183
|
+
默认值:false
|
|
16184
|
+
*/
|
|
16185
|
+
DefaultTrack?: boolean;
|
|
16167
16186
|
}
|
|
16168
16187
|
/**
|
|
16169
16188
|
* Aws SQS 队列信息
|