tencentcloud-sdk-nodejs 4.0.734 → 4.0.735

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 (69) hide show
  1. package/CHANGELOG.md +348 -0
  2. package/SERVICE_CHANGELOG.md +548 -621
  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/ams/v20201229/ams_models.ts +18 -18
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +101 -59
  8. package/src/services/ccc/v20200210/ccc_models.ts +2 -2
  9. package/src/services/csip/v20221121/csip_client.ts +1 -1
  10. package/src/services/csip/v20221121/csip_models.ts +13 -13
  11. package/src/services/dasb/v20191018/dasb_client.ts +13 -1
  12. package/src/services/dasb/v20191018/dasb_models.ts +100 -72
  13. package/src/services/dlc/v20210125/dlc_client.ts +22 -9
  14. package/src/services/dlc/v20210125/dlc_models.ts +119 -29
  15. package/src/services/dsgc/v20190723/dsgc_models.ts +87 -20
  16. package/src/services/dts/v20211206/dts_models.ts +14 -14
  17. package/src/services/ess/v20201111/ess_client.ts +2 -2
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  19. package/src/services/hai/v20230812/hai_client.ts +96 -2
  20. package/src/services/hai/v20230812/hai_models.ts +587 -12
  21. package/src/services/oceanus/v20190422/oceanus_models.ts +12 -0
  22. package/src/services/ocr/v20181119/ocr_models.ts +49 -1
  23. package/src/services/tione/v20211111/tione_client.ts +16 -3
  24. package/src/services/tione/v20211111/tione_models.ts +189 -35
  25. package/src/services/trtc/v20190722/trtc_models.ts +9 -1
  26. package/src/services/vod/v20180717/vod_client.ts +91 -37
  27. package/src/services/vod/v20180717/vod_models.ts +463 -113
  28. package/src/services/vrs/v20200824/vrs_client.ts +26 -12
  29. package/src/services/vrs/v20200824/vrs_models.ts +221 -155
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +18 -18
  33. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +101 -59
  34. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +2 -2
  35. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +1 -1
  36. package/tencentcloud/services/csip/v20221121/csip_client.js +1 -1
  37. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +13 -13
  38. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +5 -1
  39. package/tencentcloud/services/dasb/v20191018/dasb_client.js +6 -0
  40. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +98 -72
  41. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +7 -3
  42. package/tencentcloud/services/dlc/v20210125/dlc_client.js +9 -3
  43. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +116 -29
  44. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +87 -20
  45. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +14 -14
  46. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
  47. package/tencentcloud/services/ess/v20201111/ess_client.js +2 -2
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  49. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +29 -1
  50. package/tencentcloud/services/hai/v20230812/hai_client.js +42 -0
  51. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +563 -12
  52. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -0
  53. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +49 -1
  54. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +6 -2
  55. package/tencentcloud/services/tione/v20211111/tione_client.js +7 -1
  56. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +186 -35
  57. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +9 -1
  58. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +34 -18
  59. package/tencentcloud/services/vod/v20180717/vod_client.js +44 -20
  60. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +449 -113
  61. package/tencentcloud/services/vrs/v20200824/vrs_client.d.ts +5 -1
  62. package/tencentcloud/services/vrs/v20200824/vrs_client.js +6 -0
  63. package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +210 -148
  64. package/test/dasb.v20191018.test.js +10 -0
  65. package/test/dlc.v20210125.test.js +12 -2
  66. package/test/hai.v20230812.test.js +70 -0
  67. package/test/tione.v20211111.test.js +10 -0
  68. package/test/vod.v20180717.test.js +46 -6
  69. package/test/vrs.v20200824.test.js +10 -0
@@ -18,26 +18,30 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- TrainingTexts,
22
21
  CancelVRSTaskRequest,
23
- CancelVRSTaskResponse,
24
22
  DescribeVRSTaskStatusResponse,
23
+ GetTrainingTextRequest,
24
+ DownloadVRSModelRequest,
25
+ DownloadVRSModelResponse,
26
+ GetVRSVoiceTypesResponse,
27
+ CancelVRSTaskResponse,
25
28
  CreateVRSTaskResponse,
26
- DownloadVRSModelRsp,
29
+ GetVRSVoiceTypesRequest,
30
+ DescribeVRSTaskStatusRespData,
31
+ VoiceTypeListData,
32
+ Words,
27
33
  CreateVRSTaskRespData,
28
- DetectionEnvAndSoundQualityRespData,
29
34
  GetTrainingTextResponse,
30
- Words,
31
35
  DescribeVRSTaskStatusRequest,
32
- DetectEnvAndSoundQualityRequest,
33
- DescribeVRSTaskStatusRespData,
34
- DownloadVRSModelResponse,
35
- DownloadVRSModelRequest,
36
- TrainingText,
37
- CancelVRSTaskRsp,
38
- GetTrainingTextRequest,
36
+ DownloadVRSModelRsp,
39
37
  CreateVRSTaskRequest,
38
+ TrainingText,
40
39
  DetectEnvAndSoundQualityResponse,
40
+ DetectionEnvAndSoundQualityRespData,
41
+ VoiceTypeInfo,
42
+ DetectEnvAndSoundQualityRequest,
43
+ TrainingTexts,
44
+ CancelVRSTaskRsp,
41
45
  } from "./vrs_models"
42
46
 
43
47
  /**
@@ -107,6 +111,16 @@ export class Client extends AbstractClient {
107
111
  return this.request("CreateVRSTask", req, cb)
108
112
  }
109
113
 
114
+ /**
115
+ * 查询复刻音色
116
+ */
117
+ async GetVRSVoiceTypes(
118
+ req?: GetVRSVoiceTypesRequest,
119
+ cb?: (error: string, rep: GetVRSVoiceTypesResponse) => void
120
+ ): Promise<GetVRSVoiceTypesResponse> {
121
+ return this.request("GetVRSVoiceTypes", req, cb)
122
+ }
123
+
110
124
  /**
111
125
  * 本接口用于获取声音复刻训练文本信息。
112
126
  请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
@@ -15,17 +15,6 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
- /**
19
- * 训练文本列表
20
- */
21
- export interface TrainingTexts {
22
- /**
23
- * 训练文本列表
24
- 注意:此字段可能返回 null,表示取不到有效值。
25
- */
26
- TrainingTextList?: Array<TrainingText>
27
- }
28
-
29
18
  /**
30
19
  * CancelVRSTask请求参数结构体
31
20
  */
@@ -37,13 +26,13 @@ export interface CancelVRSTaskRequest {
37
26
  }
38
27
 
39
28
  /**
40
- * CancelVRSTask返回参数结构体
29
+ * DescribeVRSTaskStatus返回参数结构体
41
30
  */
42
- export interface CancelVRSTaskResponse {
31
+ export interface DescribeVRSTaskStatusResponse {
43
32
  /**
44
- * 任务ID
33
+ * 声音复刻任务结果
45
34
  */
46
- Data?: CancelVRSTaskRsp
35
+ Data?: DescribeVRSTaskStatusRespData
47
36
  /**
48
37
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
49
38
  */
@@ -51,13 +40,28 @@ export interface CancelVRSTaskResponse {
51
40
  }
52
41
 
53
42
  /**
54
- * DescribeVRSTaskStatus返回参数结构体
43
+ * GetTrainingText请求参数结构体
55
44
  */
56
- export interface DescribeVRSTaskStatusResponse {
45
+ export type GetTrainingTextRequest = null
46
+
47
+ /**
48
+ * DownloadVRSModel请求参数结构体
49
+ */
50
+ export interface DownloadVRSModelRequest {
57
51
  /**
58
- * 声音复刻任务结果
52
+ * 任务ID
59
53
  */
60
- Data?: DescribeVRSTaskStatusRespData
54
+ TaskId: string
55
+ }
56
+
57
+ /**
58
+ * DownloadVRSModel返回参数结构体
59
+ */
60
+ export interface DownloadVRSModelResponse {
61
+ /**
62
+ * 响应
63
+ */
64
+ Data?: DownloadVRSModelRsp
61
65
  /**
62
66
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
63
67
  */
@@ -65,13 +69,13 @@ export interface DescribeVRSTaskStatusResponse {
65
69
  }
66
70
 
67
71
  /**
68
- * CreateVRSTask返回参数结构体
72
+ * GetVRSVoiceTypes返回参数结构体
69
73
  */
70
- export interface CreateVRSTaskResponse {
74
+ export interface GetVRSVoiceTypesResponse {
71
75
  /**
72
- * 创建任务结果
76
+ * 数据
73
77
  */
74
- Data?: CreateVRSTaskRespData
78
+ Data?: VoiceTypeListData
75
79
  /**
76
80
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
77
81
  */
@@ -79,92 +83,78 @@ export interface CreateVRSTaskResponse {
79
83
  }
80
84
 
81
85
  /**
82
- * 离线声音复刻模型下载响应
86
+ * CancelVRSTask返回参数结构体
83
87
  */
84
- export interface DownloadVRSModelRsp {
85
- /**
86
- * 模型cos地址
87
- 注意:此字段可能返回 null,表示取不到有效值。
88
- */
89
- Model?: string
88
+ export interface CancelVRSTaskResponse {
90
89
  /**
91
- * 音色名称
92
- 注意:此字段可能返回 null,表示取不到有效值。
90
+ * 任务ID
93
91
  */
94
- VoiceName?: string
92
+ Data?: CancelVRSTaskRsp
95
93
  /**
96
- * 音色性别:
97
- 1-male
98
- 2-female
99
- 注意:此字段可能返回 null,表示取不到有效值。
94
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
100
95
  */
101
- VoiceGender?: number
96
+ RequestId?: string
97
+ }
98
+
99
+ /**
100
+ * CreateVRSTask返回参数结构体
101
+ */
102
+ export interface CreateVRSTaskResponse {
102
103
  /**
103
- * 语言类型:
104
- 1-中文
105
- 注意:此字段可能返回 null,表示取不到有效值。
104
+ * 创建任务结果
106
105
  */
107
- VoiceLanguage?: number
106
+ Data?: CreateVRSTaskRespData
108
107
  /**
109
- * 任务ID
108
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
110
109
  */
111
- TaskId?: string
110
+ RequestId?: string
112
111
  }
113
112
 
114
113
  /**
115
- * 声音复刻任务创建响应
114
+ * GetVRSVoiceTypes请求参数结构体
116
115
  */
117
- export interface CreateVRSTaskRespData {
116
+ export type GetVRSVoiceTypesRequest = null
117
+
118
+ /**
119
+ * 任务结果
120
+ */
121
+ export interface DescribeVRSTaskStatusRespData {
118
122
  /**
119
123
  * 任务ID
120
124
  注意:此字段可能返回 null,表示取不到有效值。
121
125
  */
122
126
  TaskId?: string
123
- }
124
-
125
- /**
126
- * 环境检测和音频检测响应
127
- */
128
- export interface DetectionEnvAndSoundQualityRespData {
129
127
  /**
130
- * 音频ID (用于创建任务接口AudioIds),环境检测该值为空,仅在音质检测情况下返回
128
+ * 任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。
131
129
  注意:此字段可能返回 null,表示取不到有效值。
132
130
  */
133
- AudioId?: string
131
+ Status?: number
134
132
  /**
135
- * 检测code
136
-
137
- 0 表示当前语音通过
138
- -1 表示检测失败,需要重试
139
- -2 表示语音检测不通过,提示用户再重新录制一下(通常漏读,错读,或多读)
140
- -3 表示语音中噪声较大,不通过
133
+ * 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
141
134
  注意:此字段可能返回 null,表示取不到有效值。
142
135
  */
143
- DetectionCode?: number
136
+ StatusStr?: string
144
137
  /**
145
- * 检测提示信息
138
+ * 音色id
146
139
  注意:此字段可能返回 null,表示取不到有效值。
147
140
  */
148
- DetectionMsg?: string
141
+ VoiceType?: number
149
142
  /**
150
- * 检测提示信息
143
+ * 失败原因说明。
151
144
  注意:此字段可能返回 null,表示取不到有效值。
152
145
  */
153
- DetectionTip?: Array<Words>
146
+ ErrorMsg?: string
154
147
  }
155
148
 
156
149
  /**
157
- * GetTrainingText返回参数结构体
150
+ * 音色信息列表
158
151
  */
159
- export interface GetTrainingTextResponse {
152
+ export interface VoiceTypeListData {
160
153
  /**
161
- * 文本列表
162
- */
163
- Data?: TrainingTexts
164
- /**
165
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
154
+ * 音色信息列表
155
+ 注意:此字段可能返回 null,表示取不到有效值。
166
156
  */
167
- RequestId?: string
157
+ VoiceTypeList?: Array<VoiceTypeInfo>
168
158
  }
169
159
 
170
160
  /**
@@ -202,82 +192,24 @@ export interface Words {
202
192
  }
203
193
 
204
194
  /**
205
- * DescribeVRSTaskStatus请求参数结构体
206
- */
207
- export interface DescribeVRSTaskStatusRequest {
208
- /**
209
- * 任务ID
210
- */
211
- TaskId: string
212
- }
213
-
214
- /**
215
- * DetectEnvAndSoundQuality请求参数结构体
216
- */
217
- export interface DetectEnvAndSoundQualityRequest {
218
- /**
219
- * 标注文本信息 ID
220
- */
221
- TextId: string
222
- /**
223
- * 语音数据 要使用base64编码(采用python语言时注意读取文件时需要转成base64字符串编码,例如:str(base64.b64encode(open("input.aac", mode="rb").read()), encoding='utf-8') )。
224
- */
225
- AudioData: string
226
- /**
227
- * 音频格式,音频类型(wav,mp3,aac,m4a)
228
- */
229
- Codec: string
230
- /**
231
- * 1:环境检测 2:音质检测
232
- */
233
- TypeId: number
234
- /**
235
- * 音频采样率:
236
-
237
- 16000:16k(默认)
238
- */
239
- SampleRate?: number
240
- }
241
-
242
- /**
243
- * 任务结果
195
+ * 声音复刻任务创建响应
244
196
  */
245
- export interface DescribeVRSTaskStatusRespData {
197
+ export interface CreateVRSTaskRespData {
246
198
  /**
247
199
  * 任务ID
248
200
  注意:此字段可能返回 null,表示取不到有效值。
249
201
  */
250
202
  TaskId?: string
251
- /**
252
- * 任务状态码,0:任务等待,1:任务执行中,2:任务成功,3:任务失败。
253
- 注意:此字段可能返回 null,表示取不到有效值。
254
- */
255
- Status?: number
256
- /**
257
- * 任务状态,waiting:任务等待,doing:任务执行中,success:任务成功,failed:任务失败。
258
- 注意:此字段可能返回 null,表示取不到有效值。
259
- */
260
- StatusStr?: string
261
- /**
262
- * 音色id
263
- 注意:此字段可能返回 null,表示取不到有效值。
264
- */
265
- VoiceType?: number
266
- /**
267
- * 失败原因说明。
268
- 注意:此字段可能返回 null,表示取不到有效值。
269
- */
270
- ErrorMsg?: string
271
203
  }
272
204
 
273
205
  /**
274
- * DownloadVRSModel返回参数结构体
206
+ * GetTrainingText返回参数结构体
275
207
  */
276
- export interface DownloadVRSModelResponse {
208
+ export interface GetTrainingTextResponse {
277
209
  /**
278
- * 响应
210
+ * 文本列表
279
211
  */
280
- Data?: DownloadVRSModelRsp
212
+ Data?: TrainingTexts
281
213
  /**
282
214
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
283
215
  */
@@ -285,9 +217,9 @@ export interface DownloadVRSModelResponse {
285
217
  }
286
218
 
287
219
  /**
288
- * DownloadVRSModel请求参数结构体
220
+ * DescribeVRSTaskStatus请求参数结构体
289
221
  */
290
- export interface DownloadVRSModelRequest {
222
+ export interface DescribeVRSTaskStatusRequest {
291
223
  /**
292
224
  * 任务ID
293
225
  */
@@ -295,31 +227,38 @@ export interface DownloadVRSModelRequest {
295
227
  }
296
228
 
297
229
  /**
298
- * 训练文本
230
+ * 离线声音复刻模型下载响应
299
231
  */
300
- export interface TrainingText {
232
+ export interface DownloadVRSModelRsp {
301
233
  /**
302
- * 文本ID
234
+ * 模型cos地址
303
235
  注意:此字段可能返回 null,表示取不到有效值。
304
236
  */
305
- TextId?: string
237
+ Model?: string
306
238
  /**
307
- * 文本
239
+ * 音色名称
308
240
  注意:此字段可能返回 null,表示取不到有效值。
309
241
  */
310
- Text?: string
242
+ VoiceName?: string
243
+ /**
244
+ * 音色性别:
245
+ 1-male
246
+ 2-female
247
+ 注意:此字段可能返回 null,表示取不到有效值。
248
+ */
249
+ VoiceGender?: number
250
+ /**
251
+ * 语言类型:
252
+ 1-中文
253
+ 注意:此字段可能返回 null,表示取不到有效值。
254
+ */
255
+ VoiceLanguage?: number
256
+ /**
257
+ * 任务ID
258
+ */
259
+ TaskId?: string
311
260
  }
312
261
 
313
- /**
314
- * 取消任务响应
315
- */
316
- export type CancelVRSTaskRsp = null
317
-
318
- /**
319
- * GetTrainingText请求参数结构体
320
- */
321
- export type GetTrainingTextRequest = null
322
-
323
262
  /**
324
263
  * CreateVRSTask请求参数结构体
325
264
  */
@@ -380,6 +319,22 @@ export interface CreateVRSTaskRequest {
380
319
  VPRAudioId?: string
381
320
  }
382
321
 
322
+ /**
323
+ * 训练文本
324
+ */
325
+ export interface TrainingText {
326
+ /**
327
+ * 文本ID
328
+ 注意:此字段可能返回 null,表示取不到有效值。
329
+ */
330
+ TextId?: string
331
+ /**
332
+ * 文本
333
+ 注意:此字段可能返回 null,表示取不到有效值。
334
+ */
335
+ Text?: string
336
+ }
337
+
383
338
  /**
384
339
  * DetectEnvAndSoundQuality返回参数结构体
385
340
  */
@@ -393,3 +348,114 @@ export interface DetectEnvAndSoundQualityResponse {
393
348
  */
394
349
  RequestId?: string
395
350
  }
351
+
352
+ /**
353
+ * 环境检测和音频检测响应
354
+ */
355
+ export interface DetectionEnvAndSoundQualityRespData {
356
+ /**
357
+ * 音频ID (用于创建任务接口AudioIds),环境检测该值为空,仅在音质检测情况下返回
358
+ 注意:此字段可能返回 null,表示取不到有效值。
359
+ */
360
+ AudioId?: string
361
+ /**
362
+ * 检测code
363
+
364
+ 0 表示当前语音通过
365
+ -1 表示检测失败,需要重试
366
+ -2 表示语音检测不通过,提示用户再重新录制一下(通常漏读,错读,或多读)
367
+ -3 表示语音中噪声较大,不通过
368
+ 注意:此字段可能返回 null,表示取不到有效值。
369
+ */
370
+ DetectionCode?: number
371
+ /**
372
+ * 检测提示信息
373
+ 注意:此字段可能返回 null,表示取不到有效值。
374
+ */
375
+ DetectionMsg?: string
376
+ /**
377
+ * 检测提示信息
378
+ 注意:此字段可能返回 null,表示取不到有效值。
379
+ */
380
+ DetectionTip?: Array<Words>
381
+ }
382
+
383
+ /**
384
+ * 复刻音色详情
385
+ */
386
+ export interface VoiceTypeInfo {
387
+ /**
388
+ * 音色id
389
+ 注意:此字段可能返回 null,表示取不到有效值。
390
+ */
391
+ VoiceType?: number
392
+ /**
393
+ * 音色名称
394
+ 注意:此字段可能返回 null,表示取不到有效值。
395
+ */
396
+ VoiceName?: string
397
+ /**
398
+ * 音色性别: 1-male 2-female
399
+ 注意:此字段可能返回 null,表示取不到有效值。
400
+ */
401
+ VoiceGender?: number
402
+ /**
403
+ * 复刻类型: 0-轻量版复刻 1-基础版复刻
404
+ 注意:此字段可能返回 null,表示取不到有效值。
405
+ */
406
+ TaskType?: number
407
+ /**
408
+ * 复刻任务 ID
409
+ 注意:此字段可能返回 null,表示取不到有效值。
410
+ */
411
+ TaskID?: string
412
+ /**
413
+ * 创建时间
414
+ 注意:此字段可能返回 null,表示取不到有效值。
415
+ */
416
+ DateCreated?: string
417
+ }
418
+
419
+ /**
420
+ * DetectEnvAndSoundQuality请求参数结构体
421
+ */
422
+ export interface DetectEnvAndSoundQualityRequest {
423
+ /**
424
+ * 标注文本信息 ID
425
+ */
426
+ TextId: string
427
+ /**
428
+ * 语音数据 要使用base64编码(采用python语言时注意读取文件时需要转成base64字符串编码,例如:str(base64.b64encode(open("input.aac", mode="rb").read()), encoding='utf-8') )。
429
+ */
430
+ AudioData: string
431
+ /**
432
+ * 音频格式,音频类型(wav,mp3,aac,m4a)
433
+ */
434
+ Codec: string
435
+ /**
436
+ * 1:环境检测 2:音质检测
437
+ */
438
+ TypeId: number
439
+ /**
440
+ * 音频采样率:
441
+
442
+ 16000:16k(默认)
443
+ */
444
+ SampleRate?: number
445
+ }
446
+
447
+ /**
448
+ * 训练文本列表
449
+ */
450
+ export interface TrainingTexts {
451
+ /**
452
+ * 训练文本列表
453
+ 注意:此字段可能返回 null,表示取不到有效值。
454
+ */
455
+ TrainingTextList?: Array<TrainingText>
456
+ }
457
+
458
+ /**
459
+ * 取消任务响应
460
+ */
461
+ export type CancelVRSTaskRsp = null
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.734";
1
+ export declare const sdkVersion = "4.0.735";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.734";
4
+ exports.sdkVersion = "4.0.735";
@@ -3,40 +3,40 @@
3
3
  */
4
4
  export interface TextResult {
5
5
  /**
6
- * 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
6
+ * 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告。
7
7
  以及其他令人反感、不安全或不适宜的内容类型。
8
8
 
9
- 如音频中无复杂类型「TextResults」的返回则代表改音频中无相关违规内容;
9
+ 如音频中无复杂类型「TextResults」的返回则代表该音频中无相关违规内容;
10
10
  注意:此字段可能返回 null,表示取不到有效值。
11
11
  */
12
- Label: string;
12
+ Label?: string;
13
13
  /**
14
14
  * 命中的关键词,为空则代表该违规内容出自于模型的判断;
15
15
  注意:此字段可能返回 null,表示取不到有效值。
16
16
  */
17
- Keywords: Array<string>;
17
+ Keywords?: Array<string>;
18
18
  /**
19
19
  * 命中关键词库的库标识;
20
20
  注意:此字段可能返回 null,表示取不到有效值。
21
21
  */
22
- LibId: string;
22
+ LibId?: string;
23
23
  /**
24
24
  * 命中关键词库的名字;
25
25
  注意:此字段可能返回 null,表示取不到有效值。
26
26
  */
27
- LibName: string;
27
+ LibName?: string;
28
28
  /**
29
29
  * 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
30
30
  (如:Porn 99,则该样本属于色情的置信度非常高。)
31
31
  注意:此字段可能返回 null,表示取不到有效值。
32
32
  */
33
- Score: number;
33
+ Score?: number;
34
34
  /**
35
35
  * 建议您拿到判断结果后的执行操作。
36
36
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
37
37
  注意:此字段可能返回 null,表示取不到有效值。
38
38
  */
39
- Suggestion: string;
39
+ Suggestion?: string;
40
40
  /**
41
41
  * 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
42
42
 
@@ -44,13 +44,13 @@ export interface TextResult {
44
44
 
45
45
  2:自定义库;
46
46
  */
47
- LibType: number;
47
+ LibType?: number;
48
48
  /**
49
49
  * 该字段用于返回当前标签(Lable)下的二级标签。
50
50
  注意:此字段可能返回null,表示取不到有效值。
51
51
  注意:此字段可能返回 null,表示取不到有效值。
52
52
  */
53
- SubLabel: string;
53
+ SubLabel?: string;
54
54
  }
55
55
  /**
56
56
  * DescribeTasks请求参数结构体
@@ -583,34 +583,34 @@ export interface RecognitionResult {
583
583
  */
584
584
  export interface MoanResult {
585
585
  /**
586
- * 固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表改音频中无呻吟/娇喘相关违规内容;
586
+ * 固定取值为Moan(呻吟/娇喘),如音频中无复杂类型「MoanResult」的返回则代表该音频中无呻吟/娇喘相关违规内容;
587
587
  注意:此字段可能返回 null,表示取不到有效值。
588
588
  */
589
- Label: string;
589
+ Label?: string;
590
590
  /**
591
591
  * 机器判断当前分类的置信度,取值范围:0~100。分数越高,表示越有可能属于当前分类。
592
592
  (如:Moan 99,则该样本属于呻吟/娇喘的置信度非常高。)
593
593
  */
594
- Score: number;
594
+ Score?: number;
595
595
  /**
596
596
  * 建议您拿到判断结果后的执行操作。
597
597
  建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
598
598
  */
599
- Suggestion: string;
599
+ Suggestion?: string;
600
600
  /**
601
601
  * 违规事件开始时间,单位为秒(s);
602
602
  */
603
- StartTime: number;
603
+ StartTime?: number;
604
604
  /**
605
605
  * 违规事件结束时间,单位为秒(s);
606
606
  */
607
- EndTime: number;
607
+ EndTime?: number;
608
608
  /**
609
609
  * 该字段用于返回当前标签(Lable)下的二级标签。
610
610
  注意:此字段可能返回null,表示取不到有效值。
611
611
  注意:此字段可能返回 null,表示取不到有效值。
612
612
  */
613
- SubLabel: string;
613
+ SubLabel?: string;
614
614
  }
615
615
  /**
616
616
  * CancelTask返回参数结构体
@@ -834,7 +834,7 @@ export interface MediaInfo {
834
834
  */
835
835
  Codecs: string;
836
836
  /**
837
- * 该字段用于返回对传入的流媒体文件进行分片的片段时长,单位为秒。**默认值为15秒**,支持用户自定义配置。
837
+ * 该字段用于返回对传入的流媒体文件进行分片的片段时长,单位为毫秒。**默认值为15秒**,支持用户自定义配置。
838
838
  */
839
839
  Duration: number;
840
840
  /**