tencentcloud-sdk-nodejs 4.0.643 → 4.0.644

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 +354 -0
  2. package/SERVICE_CHANGELOG.md +457 -119
  3. package/package.json +1 -1
  4. package/products.md +25 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +35 -26
  7. package/src/services/asr/v20190614/asr_client.ts +2 -2
  8. package/src/services/asr/v20190614/asr_models.ts +7 -0
  9. package/src/services/batch/v20170312/batch_models.ts +1 -1
  10. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  11. package/src/services/cdn/v20180606/cdn_models.ts +10 -10
  12. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
  13. package/src/services/ckafka/v20190819/ckafka_models.ts +22 -0
  14. package/src/services/csip/v20221121/csip_models.ts +5 -0
  15. package/src/services/cvm/v20170312/cvm_models.ts +8 -5
  16. package/src/services/cwp/v20180228/cwp_client.ts +0 -14
  17. package/src/services/cwp/v20180228/cwp_models.ts +0 -28
  18. package/src/services/dlc/v20210125/dlc_models.ts +34 -34
  19. package/src/services/domain/v20180808/domain_models.ts +5 -3
  20. package/src/services/ess/v20201111/ess_models.ts +6 -0
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -0
  22. package/src/services/goosefs/v20220519/goosefs_client.ts +40 -1
  23. package/src/services/goosefs/v20220519/goosefs_models.ts +134 -10
  24. package/src/services/nlp/v20190408/nlp_models.ts +1 -1
  25. package/src/services/ocr/v20181119/ocr_client.ts +2 -2
  26. package/src/services/ocr/v20181119/ocr_models.ts +2 -2
  27. package/src/services/redis/v20180412/redis_models.ts +8 -8
  28. package/src/services/trro/v20220325/trro_models.ts +74 -14
  29. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  30. package/src/services/vrs/v20200824/vrs_client.ts +47 -21
  31. package/src/services/vrs/v20200824/vrs_models.ts +141 -51
  32. package/src/services/wav/v20210129/wav_models.ts +4 -0
  33. package/tencentcloud/common/sdk_version.d.ts +1 -1
  34. package/tencentcloud/common/sdk_version.js +1 -1
  35. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +35 -26
  36. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
  37. package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
  38. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +7 -0
  39. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
  40. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  41. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  42. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -10
  43. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +21 -0
  44. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +5 -0
  45. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -5
  46. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -7
  47. package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -8
  48. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +0 -26
  49. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +34 -34
  50. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +5 -3
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -0
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
  53. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +13 -1
  54. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +18 -0
  55. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +125 -10
  56. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
  57. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -2
  58. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -2
  59. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
  60. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +8 -8
  61. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +74 -14
  62. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  63. package/tencentcloud/services/vrs/v20200824/vrs_client.d.ts +17 -9
  64. package/tencentcloud/services/vrs/v20200824/vrs_client.js +22 -10
  65. package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +135 -51
  66. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +4 -0
  67. package/test/cwp.v20180228.test.js +0 -10
  68. package/test/goosefs.v20220519.test.js +30 -0
  69. package/test/vrs.v20200824.test.js +24 -4
@@ -762,59 +762,119 @@ export interface SessionDeviceDetail {
762
762
  /**
763
763
  * 设备类型:field或remote
764
764
  */
765
- DeviceType: string;
765
+ DeviceType?: string;
766
766
  /**
767
767
  * 起始点位时间,单位:秒
768
768
  */
769
- StartTime: number;
769
+ StartTime?: number;
770
770
  /**
771
771
  * 结束点位时间,单位:秒
772
772
  */
773
- EndTime: number;
773
+ EndTime?: number;
774
774
  /**
775
775
  * 会话ID
776
776
  */
777
- SessionId: string;
777
+ SessionId?: string;
778
778
  /**
779
779
  * 码率,单位:kbps
780
780
  */
781
- Rate: Array<number>;
781
+ Rate?: Array<number>;
782
782
  /**
783
783
  * 帧率
784
784
  */
785
- Fps: Array<number>;
785
+ Fps?: Array<number>;
786
786
  /**
787
787
  * 丢包率,单位:%
788
788
  */
789
- Lost: Array<number>;
789
+ Lost?: Array<number>;
790
790
  /**
791
791
  * 网络时延,单位:ms
792
792
  */
793
- NetworkLatency: Array<number>;
793
+ NetworkLatency?: Array<number>;
794
794
  /**
795
795
  * 视频时延,单位:ms
796
796
  */
797
- VideoLatency: Array<number>;
797
+ VideoLatency?: Array<number>;
798
798
  /**
799
799
  * CPU使用率,单位:%
800
800
  */
801
- CpuUsed: Array<number>;
801
+ CpuUsed?: Array<number>;
802
802
  /**
803
803
  * 内存使用率,单位:%
804
804
  */
805
- MemUsed: Array<number>;
805
+ MemUsed?: Array<number>;
806
806
  /**
807
807
  * 时间偏移量,单位:秒
808
808
  */
809
- TimeOffset: Array<number>;
809
+ TimeOffset?: Array<number>;
810
810
  /**
811
811
  * 项目ID
812
812
  */
813
- ProjectId: string;
813
+ ProjectId?: string;
814
814
  /**
815
815
  * 设备ID
816
816
  */
817
- DeviceId: string;
817
+ DeviceId?: string;
818
+ /**
819
+ * sdk版本
820
+ 注意:此字段可能返回 null,表示取不到有效值。
821
+ */
822
+ Ver?: string;
823
+ /**
824
+ * 模式(p2p/server)
825
+ 注意:此字段可能返回 null,表示取不到有效值。
826
+ */
827
+ SdkMode?: string;
828
+ /**
829
+ * 解码耗时,单位:ms
830
+ 注意:此字段可能返回 null,表示取不到有效值。
831
+ */
832
+ DecodeCost?: Array<number>;
833
+ /**
834
+ * 渲染耗时,单位:ms
835
+ 注意:此字段可能返回 null,表示取不到有效值。
836
+ */
837
+ RenderConst?: Array<number>;
838
+ /**
839
+ * 卡顿k100
840
+ 注意:此字段可能返回 null,表示取不到有效值。
841
+ */
842
+ K100?: Array<number>;
843
+ /**
844
+ * 卡顿k150
845
+ 注意:此字段可能返回 null,表示取不到有效值。
846
+ */
847
+ K150?: Array<number>;
848
+ /**
849
+ * nack请求数
850
+ 注意:此字段可能返回 null,表示取不到有效值。
851
+ */
852
+ NACK?: Array<number>;
853
+ /**
854
+ * 服务端调控码率,单位:kbps
855
+ 注意:此字段可能返回 null,表示取不到有效值。
856
+ */
857
+ BitRateEstimate?: Array<number>;
858
+ /**
859
+ * 宽度
860
+ 注意:此字段可能返回 null,表示取不到有效值。
861
+ */
862
+ Width?: number;
863
+ /**
864
+ * 高度
865
+ 注意:此字段可能返回 null,表示取不到有效值。
866
+ */
867
+ Height?: number;
868
+ /**
869
+ * 编码耗时,单位:ms
870
+ 注意:此字段可能返回 null,表示取不到有效值。
871
+ */
872
+ EncodeCost?: Array<number>;
873
+ /**
874
+ * 采集耗时,单位:ms
875
+ 注意:此字段可能返回 null,表示取不到有效值。
876
+ */
877
+ CaptureCost?: Array<number>;
818
878
  }
819
879
  /**
820
880
  * GetDeviceLicense返回参数结构体
@@ -1247,7 +1247,7 @@ export interface StartMCUMixTranscodeRequest {
1247
1247
  */
1248
1248
  LayoutParams: LayoutParams;
1249
1249
  /**
1250
- * 第三方CDN转推参数。
1250
+ * 第三方CDN转推参数。如需转推至腾讯云云直播,此参数无需填写,会默认转推
1251
1251
  */
1252
1252
  PublishCdnParams?: PublishCdnParams;
1253
1253
  }
@@ -2358,7 +2358,7 @@ export interface StartMCUMixTranscodeByStrRoomIdRequest {
2358
2358
  */
2359
2359
  LayoutParams: LayoutParams;
2360
2360
  /**
2361
- * 第三方CDN转推参数。
2361
+ * 第三方CDN转推参数。如需转推至腾讯云云直播,此参数无需填写,会默认转推
2362
2362
  */
2363
2363
  PublishCdnParams?: PublishCdnParams;
2364
2364
  }
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeVRSTaskStatusResponse, CreateVRSTaskResponse, GetTrainingTextResponse, DescribeVRSTaskStatusRequest, DetectEnvAndSoundQualityRequest, DetectEnvAndSoundQualityResponse, GetTrainingTextRequest, CreateVRSTaskRequest } from "./vrs_models";
3
+ import { CancelVRSTaskRequest, CancelVRSTaskResponse, DescribeVRSTaskStatusResponse, CreateVRSTaskResponse, GetTrainingTextResponse, DescribeVRSTaskStatusRequest, DetectEnvAndSoundQualityRequest, DownloadVRSModelResponse, DownloadVRSModelRequest, GetTrainingTextRequest, CreateVRSTaskRequest, DetectEnvAndSoundQualityResponse } from "./vrs_models";
4
4
  /**
5
5
  * vrs client
6
6
  * @class
@@ -8,17 +8,13 @@ import { DescribeVRSTaskStatusResponse, CreateVRSTaskResponse, GetTrainingTextRe
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
10
  /**
11
- * 本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
12
- • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
13
- • 签名方法参考 公共参数 中签名方法v3。
11
+ * 下载声音复刻离线模型
14
12
  */
15
- CreateVRSTask(req: CreateVRSTaskRequest, cb?: (error: string, rep: CreateVRSTaskResponse) => void): Promise<CreateVRSTaskResponse>;
13
+ DownloadVRSModel(req: DownloadVRSModelRequest, cb?: (error: string, rep: DownloadVRSModelResponse) => void): Promise<DownloadVRSModelResponse>;
16
14
  /**
17
- * 本接口用于获取声音复刻训练文本信息。
18
- 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
19
- • 签名方法参考 公共参数 中签名方法v3。
15
+ * 声音复刻取消任务接口
20
16
  */
21
- GetTrainingText(req?: GetTrainingTextRequest, cb?: (error: string, rep: GetTrainingTextResponse) => void): Promise<GetTrainingTextResponse>;
17
+ CancelVRSTask(req: CancelVRSTaskRequest, cb?: (error: string, rep: CancelVRSTaskResponse) => void): Promise<CancelVRSTaskResponse>;
22
18
  /**
23
19
  * 本接口用于检测音频的环境和音频质量。
24
20
  • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
@@ -33,4 +29,16 @@ export declare class Client extends AbstractClient {
33
29
  • 签名方法参考 公共参数 中签名方法v3。
34
30
  */
35
31
  DescribeVRSTaskStatus(req: DescribeVRSTaskStatusRequest, cb?: (error: string, rep: DescribeVRSTaskStatusResponse) => void): Promise<DescribeVRSTaskStatusResponse>;
32
+ /**
33
+ * 本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
34
+ • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
35
+ • 签名方法参考 公共参数 中签名方法v3。
36
+ */
37
+ CreateVRSTask(req: CreateVRSTaskRequest, cb?: (error: string, rep: CreateVRSTaskResponse) => void): Promise<CreateVRSTaskResponse>;
38
+ /**
39
+ * 本接口用于获取声音复刻训练文本信息。
40
+ 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
41
+ • 签名方法参考 公共参数 中签名方法v3。
42
+ */
43
+ GetTrainingText(req?: GetTrainingTextRequest, cb?: (error: string, rep: GetTrainingTextResponse) => void): Promise<GetTrainingTextResponse>;
36
44
  }
@@ -28,20 +28,16 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("vrs.tencentcloudapi.com", "2020-08-24", clientConfig);
29
29
  }
30
30
  /**
31
- * 本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
32
- • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
33
- • 签名方法参考 公共参数 中签名方法v3。
31
+ * 下载声音复刻离线模型
34
32
  */
35
- async CreateVRSTask(req, cb) {
36
- return this.request("CreateVRSTask", req, cb);
33
+ async DownloadVRSModel(req, cb) {
34
+ return this.request("DownloadVRSModel", req, cb);
37
35
  }
38
36
  /**
39
- * 本接口用于获取声音复刻训练文本信息。
40
- 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
41
- • 签名方法参考 公共参数 中签名方法v3。
37
+ * 声音复刻取消任务接口
42
38
  */
43
- async GetTrainingText(req, cb) {
44
- return this.request("GetTrainingText", req, cb);
39
+ async CancelVRSTask(req, cb) {
40
+ return this.request("CancelVRSTask", req, cb);
45
41
  }
46
42
  /**
47
43
  * 本接口用于检测音频的环境和音频质量。
@@ -61,5 +57,21 @@ class Client extends abstract_client_1.AbstractClient {
61
57
  async DescribeVRSTaskStatus(req, cb) {
62
58
  return this.request("DescribeVRSTaskStatus", req, cb);
63
59
  }
60
+ /**
61
+ * 本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
62
+ • 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
63
+ • 签名方法参考 公共参数 中签名方法v3。
64
+ */
65
+ async CreateVRSTask(req, cb) {
66
+ return this.request("CreateVRSTask", req, cb);
67
+ }
68
+ /**
69
+ * 本接口用于获取声音复刻训练文本信息。
70
+ 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
71
+ • 签名方法参考 公共参数 中签名方法v3。
72
+ */
73
+ async GetTrainingText(req, cb) {
74
+ return this.request("GetTrainingText", req, cb);
75
+ }
64
76
  }
65
77
  exports.Client = Client;
@@ -1,3 +1,35 @@
1
+ /**
2
+ * 训练文本列表
3
+ */
4
+ export interface TrainingTexts {
5
+ /**
6
+ * 训练文本列表
7
+ 注意:此字段可能返回 null,表示取不到有效值。
8
+ */
9
+ TrainingTextList?: Array<TrainingText>;
10
+ }
11
+ /**
12
+ * CancelVRSTask请求参数结构体
13
+ */
14
+ export interface CancelVRSTaskRequest {
15
+ /**
16
+ * 任务ID
17
+ */
18
+ TaskId: string;
19
+ }
20
+ /**
21
+ * CancelVRSTask返回参数结构体
22
+ */
23
+ export interface CancelVRSTaskResponse {
24
+ /**
25
+ * 任务ID
26
+ */
27
+ Data?: CancelVRSTaskRsp;
28
+ /**
29
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
30
+ */
31
+ RequestId?: string;
32
+ }
1
33
  /**
2
34
  * DescribeVRSTaskStatus返回参数结构体
3
35
  */
@@ -24,6 +56,38 @@ export interface CreateVRSTaskResponse {
24
56
  */
25
57
  RequestId?: string;
26
58
  }
59
+ /**
60
+ * 离线声音复刻模型下载响应
61
+ */
62
+ export interface DownloadVRSModelRsp {
63
+ /**
64
+ * 模型cos地址
65
+ 注意:此字段可能返回 null,表示取不到有效值。
66
+ */
67
+ Model?: string;
68
+ /**
69
+ * 音色名称
70
+ 注意:此字段可能返回 null,表示取不到有效值。
71
+ */
72
+ VoiceName?: string;
73
+ /**
74
+ * 音色性别:
75
+ 1-male
76
+ 2-female
77
+ 注意:此字段可能返回 null,表示取不到有效值。
78
+ */
79
+ VoiceGender?: number;
80
+ /**
81
+ * 语言类型:
82
+ 1-中文
83
+ 注意:此字段可能返回 null,表示取不到有效值。
84
+ */
85
+ VoiceLanguage?: number;
86
+ /**
87
+ * 任务ID
88
+ */
89
+ TaskId?: string;
90
+ }
27
91
  /**
28
92
  * 声音复刻任务创建响应
29
93
  */
@@ -77,6 +141,39 @@ export interface GetTrainingTextResponse {
77
141
  */
78
142
  RequestId?: string;
79
143
  }
144
+ /**
145
+ * 音频检测提示信息:
146
+ 1.检测字是否存在多读、 少读、 错读等
147
+ 2.检测准确度和流畅度
148
+ */
149
+ export interface Words {
150
+ /**
151
+ * 准确度 (<75则认为不合格)
152
+ 注意:此字段可能返回 null,表示取不到有效值。
153
+ */
154
+ PronAccuracy?: number;
155
+ /**
156
+ * 流畅度 (<0.95则认为不合格)
157
+ 注意:此字段可能返回 null,表示取不到有效值。
158
+ */
159
+ PronFluency?: number;
160
+ /**
161
+ * tag:
162
+ 0: match 匹配
163
+ 1: insert 多读
164
+ 2: delete 少读
165
+ 3: replace 错读
166
+ 4: oov 待评估字不在发音评估的词库
167
+ 5: unknown 未知错误
168
+ 注意:此字段可能返回 null,表示取不到有效值。
169
+ */
170
+ Tag?: number;
171
+ /**
172
+ * 字
173
+ 注意:此字段可能返回 null,表示取不到有效值。
174
+ */
175
+ Word?: string;
176
+ }
80
177
  /**
81
178
  * DescribeVRSTaskStatus请求参数结构体
82
179
  */
@@ -144,76 +241,46 @@ export interface DescribeVRSTaskStatusRespData {
144
241
  ErrorMsg?: string;
145
242
  }
146
243
  /**
147
- * 训练文本
244
+ * DownloadVRSModel返回参数结构体
148
245
  */
149
- export interface TrainingText {
246
+ export interface DownloadVRSModelResponse {
150
247
  /**
151
- * 文本ID
152
- 注意:此字段可能返回 null,表示取不到有效值。
248
+ * 响应
153
249
  */
154
- TextId?: string;
250
+ Data?: DownloadVRSModelRsp;
155
251
  /**
156
- * 文本
157
- 注意:此字段可能返回 null,表示取不到有效值。
252
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
158
253
  */
159
- Text?: string;
254
+ RequestId?: string;
160
255
  }
161
256
  /**
162
- * 音频检测提示信息:
163
- 1.检测字是否存在多读、 少读、 错读等
164
- 2.检测准确度和流畅度
257
+ * DownloadVRSModel请求参数结构体
165
258
  */
166
- export interface Words {
259
+ export interface DownloadVRSModelRequest {
167
260
  /**
168
- * 准确度 (<75则认为不合格)
169
- 注意:此字段可能返回 null,表示取不到有效值。
170
- */
171
- PronAccuracy?: number;
172
- /**
173
- * 流畅度 (<0.95则认为不合格)
174
- 注意:此字段可能返回 null,表示取不到有效值。
175
- */
176
- PronFluency?: number;
177
- /**
178
- * tag:
179
- 0: match 匹配
180
- 1: insert 多读
181
- 2: delete 少读
182
- 3: replace 错读
183
- 4: oov 待评估字不在发音评估的词库
184
- 5: unknown 未知错误
185
- 注意:此字段可能返回 null,表示取不到有效值。
186
- */
187
- Tag?: number;
188
- /**
189
- * 字
190
- 注意:此字段可能返回 null,表示取不到有效值。
261
+ * 任务ID
191
262
  */
192
- Word?: string;
263
+ TaskId: string;
193
264
  }
194
265
  /**
195
- * 训练文本列表
266
+ * 训练文本
196
267
  */
197
- export interface TrainingTexts {
268
+ export interface TrainingText {
198
269
  /**
199
- * 训练文本列表
270
+ * 文本ID
200
271
  注意:此字段可能返回 null,表示取不到有效值。
201
272
  */
202
- TrainingTextList?: Array<TrainingText>;
203
- }
204
- /**
205
- * DetectEnvAndSoundQuality返回参数结构体
206
- */
207
- export interface DetectEnvAndSoundQualityResponse {
208
- /**
209
- * 检测结果
210
- */
211
- Data?: DetectionEnvAndSoundQualityRespData;
273
+ TextId?: string;
212
274
  /**
213
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
275
+ * 文本
276
+ 注意:此字段可能返回 null,表示取不到有效值。
214
277
  */
215
- RequestId?: string;
278
+ Text?: string;
216
279
  }
280
+ /**
281
+ * 取消任务响应
282
+ */
283
+ export declare type CancelVRSTaskRsp = null;
217
284
  /**
218
285
  * GetTrainingText请求参数结构体
219
286
  */
@@ -263,4 +330,21 @@ export interface CreateVRSTaskRequest {
263
330
  回调采用POST请求方式,Content-Type为application/json,回调数据格式如下:{"TaskId":"xxxxxxxxxxxxxx","Status":2,"StatusStr":"success","VoiceType":xxxxx,"ErrorMsg":""}
264
331
  */
265
332
  CallbackUrl?: string;
333
+ /**
334
+ * 任务类型 1:在线 2:离线 默认为1
335
+ */
336
+ ModelType?: number;
337
+ }
338
+ /**
339
+ * DetectEnvAndSoundQuality返回参数结构体
340
+ */
341
+ export interface DetectEnvAndSoundQualityResponse {
342
+ /**
343
+ * 检测结果
344
+ */
345
+ Data?: DetectionEnvAndSoundQualityRespData;
346
+ /**
347
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
348
+ */
349
+ RequestId?: string;
266
350
  }
@@ -497,6 +497,10 @@ export interface ClueInfoDetail {
497
497
  * 线索创建时间戳,单位:秒
498
498
  */
499
499
  CreateTime?: string;
500
+ /**
501
+ * 线索创建时间戳,单位:秒
502
+ */
503
+ UpdateTime?: string;
500
504
  /**
501
505
  * 线索所处状态,101-待分配 201-待建档 301-已建档 401-已邀约 501-跟进中 601-已下订单 701-已成交 801-战败申请中 901-已战败 1001-未知状态 1101-转移申请中 1201-已完成
502
506
  */
@@ -128,16 +128,6 @@ it("cwp.v20180228.DescribeVulList", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("cwp.v20180228.DescribeSearchExportList", async function () {
132
- try {
133
- const data = await client.DescribeSearchExportList({})
134
- expect(data).to.be.ok
135
- } catch(error) {
136
- expect(error.requestId).to.be.ok
137
- expect(error.code).to.be.ok
138
- }
139
- })
140
-
141
131
  it("cwp.v20180228.DescribeAssetPlanTaskList", async function () {
142
132
  try {
143
133
  const data = await client.DescribeAssetPlanTaskList({})
@@ -18,6 +18,26 @@ const client = new tencentcloud.goosefs.v20220519.Client({
18
18
  })
19
19
  describe("goosefs.v20220519.test.js", function () {
20
20
 
21
+ it("goosefs.v20220519.DescribeClusterRoles", async function () {
22
+ try {
23
+ const data = await client.DescribeClusterRoles({})
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("goosefs.v20220519.DescribeClusterClientToken", async function () {
32
+ try {
33
+ const data = await client.DescribeClusterClientToken({})
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
+
21
41
  it("goosefs.v20220519.DescribeDataRepositoryTaskStatus", async function () {
22
42
  try {
23
43
  const data = await client.DescribeDataRepositoryTaskStatus({})
@@ -28,6 +48,16 @@ it("goosefs.v20220519.DescribeDataRepositoryTaskStatus", async function () {
28
48
  }
29
49
  })
30
50
 
51
+ it("goosefs.v20220519.DescribeClusterRoleToken", async function () {
52
+ try {
53
+ const data = await client.DescribeClusterRoleToken({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
31
61
  it("goosefs.v20220519.CreateDataRepositoryTask", async function () {
32
62
  try {
33
63
  const data = await client.CreateDataRepositoryTask({})
@@ -18,9 +18,9 @@ const client = new tencentcloud.vrs.v20200824.Client({
18
18
  })
19
19
  describe("vrs.v20200824.test.js", function () {
20
20
 
21
- it("vrs.v20200824.CreateVRSTask", async function () {
21
+ it("vrs.v20200824.DownloadVRSModel", async function () {
22
22
  try {
23
- const data = await client.CreateVRSTask({})
23
+ const data = await client.DownloadVRSModel({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("vrs.v20200824.CreateVRSTask", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("vrs.v20200824.GetTrainingText", async function () {
31
+ it("vrs.v20200824.CancelVRSTask", async function () {
32
32
  try {
33
- const data = await client.GetTrainingText({})
33
+ const data = await client.CancelVRSTask({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -58,4 +58,24 @@ it("vrs.v20200824.DescribeVRSTaskStatus", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("vrs.v20200824.CreateVRSTask", async function () {
62
+ try {
63
+ const data = await client.CreateVRSTask({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("vrs.v20200824.GetTrainingText", async function () {
72
+ try {
73
+ const data = await client.GetTrainingText({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
61
81
  })