tencentcloud-sdk-nodejs 4.0.412 → 4.0.415

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 (124) hide show
  1. package/CHANGELOG.md +813 -0
  2. package/SERVICE_CHANGELOG.md +1108 -212
  3. package/package.json +1 -1
  4. package/products.md +34 -34
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_client.ts +13 -13
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +78 -43
  8. package/src/services/as/v20180419/as_models.ts +18 -0
  9. package/src/services/bm/v20180423/bm_models.ts +2 -2
  10. package/src/services/captcha/v20190722/captcha_models.ts +4 -1
  11. package/src/services/ccc/v20200210/ccc_client.ts +0 -14
  12. package/src/services/ccc/v20200210/ccc_models.ts +25 -40
  13. package/src/services/cfw/v20190904/cfw_models.ts +2 -2
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +10 -0
  15. package/src/services/cls/v20201016/cls_models.ts +17 -1
  16. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -0
  17. package/src/services/cpdp/v20190820/cpdp_models.ts +25 -0
  18. package/src/services/ess/v20201111/ess_client.ts +1 -0
  19. package/src/services/ess/v20201111/ess_models.ts +56 -28
  20. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -2
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +51 -26
  22. package/src/services/faceid/v20180301/faceid_models.ts +1 -1
  23. package/src/services/gme/v20180711/gme_client.ts +185 -111
  24. package/src/services/gme/v20180711/gme_models.ts +312 -71
  25. package/src/services/iai/v20200303/iai_models.ts +1 -1
  26. package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
  27. package/src/services/lighthouse/v20200324/lighthouse_models.ts +79 -7
  28. package/src/services/live/v20180801/live_models.ts +6 -0
  29. package/src/services/mongodb/v20190725/mongodb_client.ts +0 -15
  30. package/src/services/mongodb/v20190725/mongodb_models.ts +0 -55
  31. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  32. package/src/services/monitor/v20180724/monitor_models.ts +25 -0
  33. package/src/services/organization/v20181225/organization_models.ts +1 -1
  34. package/src/services/postgres/v20170312/postgres_client.ts +1 -1
  35. package/src/services/redis/v20180412/redis_client.ts +12 -0
  36. package/src/services/redis/v20180412/redis_models.ts +25 -0
  37. package/src/services/sqlserver/v20180328/sqlserver_models.ts +40 -0
  38. package/src/services/taf/v20200210/taf_client.ts +20 -37
  39. package/src/services/taf/v20200210/taf_models.ts +154 -224
  40. package/src/services/tbaas/v20180416/tbaas_client.ts +77 -175
  41. package/src/services/tbaas/v20180416/tbaas_models.ts +978 -1343
  42. package/src/services/tcss/v20201101/tcss_models.ts +54 -0
  43. package/src/services/tem/v20210701/tem_client.ts +14 -1
  44. package/src/services/tem/v20210701/tem_models.ts +183 -87
  45. package/src/services/teo/v20220106/teo_client.ts +8 -7
  46. package/src/services/teo/v20220106/teo_models.ts +536 -355
  47. package/src/services/tione/v20211111/tione_models.ts +23 -1
  48. package/src/services/tke/v20180525/tke_models.ts +6 -0
  49. package/src/services/tse/v20201207/tse_client.ts +16 -2
  50. package/src/services/tse/v20201207/tse_models.ts +93 -17
  51. package/src/services/vod/v20180717/vod_client.ts +49 -33
  52. package/src/services/vod/v20180717/vod_models.ts +78 -21
  53. package/src/services/vpc/v20170312/vpc_models.ts +29 -0
  54. package/tencentcloud/common/sdk_version.d.ts +1 -1
  55. package/tencentcloud/common/sdk_version.js +1 -1
  56. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -5
  57. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -6
  58. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +68 -40
  59. package/tencentcloud/services/as/v20180419/as_models.d.ts +15 -0
  60. package/tencentcloud/services/bm/v20180423/bm_models.d.ts +2 -2
  61. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -1
  62. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -7
  63. package/tencentcloud/services/ccc/v20200210/ccc_client.js +0 -8
  64. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +20 -34
  65. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2 -2
  66. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +8 -0
  67. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -1
  68. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +21 -0
  69. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -0
  70. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -0
  71. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +50 -24
  72. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
  74. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +46 -23
  75. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
  76. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +68 -44
  77. package/tencentcloud/services/gme/v20180711/gme_client.js +94 -58
  78. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +273 -66
  79. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
  80. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +67 -5
  81. package/tencentcloud/services/live/v20180801/live_models.d.ts +5 -0
  82. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -7
  83. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +0 -8
  84. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +0 -47
  85. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -0
  86. package/tencentcloud/services/organization/v20181225/organization_models.d.ts +1 -1
  87. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
  88. package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
  89. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  90. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  91. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +22 -0
  92. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -0
  93. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +5 -11
  94. package/tencentcloud/services/taf/v20200210/taf_client.js +6 -14
  95. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +136 -197
  96. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +7 -49
  97. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +9 -65
  98. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +905 -1211
  99. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +47 -0
  100. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
  101. package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
  102. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +151 -70
  103. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +7 -7
  104. package/tencentcloud/services/teo/v20220106/teo_client.js +7 -7
  105. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +452 -288
  106. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +19 -1
  107. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  108. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
  109. package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
  110. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +81 -16
  111. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +23 -15
  112. package/tencentcloud/services/vod/v20180717/vod_client.js +28 -18
  113. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +67 -18
  114. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +24 -0
  115. package/test/antiddos.v20200309.test.js +10 -10
  116. package/test/ccc.v20200210.test.js +0 -10
  117. package/test/gme.v20180711.test.js +90 -30
  118. package/test/mongodb.v20190725.test.js +0 -10
  119. package/test/redis.v20180412.test.js +10 -0
  120. package/test/taf.v20200210.test.js +8 -18
  121. package/test/tbaas.v20180416.test.js +6 -76
  122. package/test/tem.v20210701.test.js +10 -0
  123. package/test/tse.v20201207.test.js +10 -0
  124. package/test/vod.v20180717.test.js +18 -8
@@ -34,61 +34,88 @@ class Client extends abstract_client_1.AbstractClient {
34
34
  return this.request("DescribeFilterResult", req, cb);
35
35
  }
36
36
  /**
37
- * 更新自定义送检房间号
37
+ * 根据日期查询识别结果列表
38
38
  */
39
- async UpdateScanRooms(req, cb) {
40
- return this.request("UpdateScanRooms", req, cb);
39
+ async DescribeFilterResultList(req, cb) {
40
+ return this.request("DescribeFilterResultList", req, cb);
41
41
  }
42
42
  /**
43
- * 本接口(CreateApp)用于创建一个GME应用。
43
+ * 删除自定义送检用户
44
44
  */
45
- async CreateApp(req, cb) {
46
- return this.request("CreateApp", req, cb);
45
+ async DeleteScanUser(req, cb) {
46
+ return this.request("DeleteScanUser", req, cb);
47
47
  }
48
48
  /**
49
- * 本接口(DescribeScanResultList)用于查询语音检测结果,查询任务列表最多支持100个。
50
- <p style="color:red">如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果</p>
49
+ * 更新自定义送检用户号
51
50
  */
52
- async DescribeScanResultList(req, cb) {
53
- return this.request("DescribeScanResultList", req, cb);
51
+ async UpdateScanUsers(req, cb) {
52
+ return this.request("UpdateScanUsers", req, cb);
54
53
  }
55
54
  /**
56
- * 本接口用于识别涉黄等违规音频,成功会回调配置在应用的回调地址。回调示例如下:
57
- {"BizId":0,"FileId":"test_file_id","FileName":"test_file_name","FileUrl":"test_file_url","OpenId":"test_open_id","TimeStamp":"0000-00-00 00:00:00","Data":[{"Type":1,"Word":"xx"}]}
58
- Type表示过滤类型,1:色情,2:谩骂
55
+ * 查询语音消息转文本自学习模型列表
59
56
  */
60
- async VoiceFilter(req, cb) {
61
- return this.request("VoiceFilter", req, cb);
57
+ async GetCustomizationList(req, cb) {
58
+ return this.request("GetCustomizationList", req, cb);
62
59
  }
63
60
  /**
64
- * 本接口(DescribeApplicationData)用于获取数据详情信息,最多可拉取最近90天的数据。
61
+ * 修改房间信息
65
62
  */
66
- async DescribeApplicationData(req, cb) {
67
- return this.request("DescribeApplicationData", req, cb);
63
+ async ModifyRoomInfo(req, cb) {
64
+ return this.request("ModifyRoomInfo", req, cb);
68
65
  }
69
66
  /**
70
- * 根据日期查询识别结果列表
67
+ * 拉取用户在房间得进出时间
71
68
  */
72
- async DescribeFilterResultList(req, cb) {
73
- return this.request("DescribeFilterResultList", req, cb);
69
+ async DescribeUserInAndOutTime(req, cb) {
70
+ return this.request("DescribeUserInAndOutTime", req, cb);
74
71
  }
75
72
  /**
76
- * 删除自定义送检用户
73
+ * 获取房间内用户信息
77
74
  */
78
- async DeleteScanUser(req, cb) {
79
- return this.request("DeleteScanUser", req, cb);
75
+ async DescribeRoomInfo(req, cb) {
76
+ return this.request("DescribeRoomInfo", req, cb);
80
77
  }
81
78
  /**
82
- * 更新自定义送检用户号
79
+ * 更新自定义送检房间号
83
80
  */
84
- async UpdateScanUsers(req, cb) {
85
- return this.request("UpdateScanUsers", req, cb);
81
+ async UpdateScanRooms(req, cb) {
82
+ return this.request("UpdateScanRooms", req, cb);
86
83
  }
87
84
  /**
88
- * 本接口(DescribeAppStatistics)用于获取某个GME应用的用量数据。包括实时语音,语音消息及转文本,语音分析等。最长查询周期为最近30天。
85
+ * 本接口用于识别涉黄等违规音频,成功会回调配置在应用的回调地址。回调示例如下:
86
+ {"BizId":0,"FileId":"test_file_id","FileName":"test_file_name","FileUrl":"test_file_url","OpenId":"test_open_id","TimeStamp":"0000-00-00 00:00:00","Data":[{"Type":1,"Word":"xx"}]}
87
+ Type表示过滤类型,1:色情,2:谩骂
89
88
  */
90
- async DescribeAppStatistics(req, cb) {
91
- return this.request("DescribeAppStatistics", req, cb);
89
+ async VoiceFilter(req, cb) {
90
+ return this.request("VoiceFilter", req, cb);
91
+ }
92
+ /**
93
+ * 用户使用该接口可以创建语音消息转文本自学习模型,以供识别调用
94
+ */
95
+ async CreateCustomization(req, cb) {
96
+ return this.request("CreateCustomization", req, cb);
97
+ }
98
+ /**
99
+ * 用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
100
+ </br>
101
+ <h4><b>接口功能说明:</b></h4>
102
+ <li>支持对语音文件进行检测,判断是否为未成年人。</li>
103
+ <li>支持批量提交检测子任务。检测子任务列表最多支持100个。</li>
104
+ </br>
105
+ <h4><b>音频文件限制说明:</b></h4>
106
+ <li>音频文件大小限制:10 M</li>
107
+ <li>音频文件时长限制:3分钟</li>
108
+ <li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
109
+ </br>
110
+ */
111
+ async CreateAgeDetectTask(req, cb) {
112
+ return this.request("CreateAgeDetectTask", req, cb);
113
+ }
114
+ /**
115
+ * 本接口(DescribeApplicationData)用于获取数据详情信息,最多可拉取最近90天的数据。
116
+ */
117
+ async DescribeApplicationData(req, cb) {
118
+ return this.request("DescribeApplicationData", req, cb);
92
119
  }
93
120
  /**
94
121
  * 本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音分析服务。
@@ -230,12 +257,6 @@ Type表示过滤类型,1:色情,2:谩骂
230
257
  async ScanVoice(req, cb) {
231
258
  return this.request("ScanVoice", req, cb);
232
259
  }
233
- /**
234
- * 修改房间信息
235
- */
236
- async ModifyRoomInfo(req, cb) {
237
- return this.request("ModifyRoomInfo", req, cb);
238
- }
239
260
  /**
240
261
  * 新增自定义送检用户
241
262
  */
@@ -243,26 +264,16 @@ Type表示过滤类型,1:色情,2:谩骂
243
264
  return this.request("CreateScanUser", req, cb);
244
265
  }
245
266
  /**
246
- * 用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
247
- </br>
248
- <h4><b>接口功能说明:</b></h4>
249
- <li>支持对语音文件进行检测,判断是否为未成年人。</li>
250
- <li>支持批量提交检测子任务。检测子任务列表最多支持100个。</li>
251
- </br>
252
- <h4><b>音频文件限制说明:</b></h4>
253
- <li>音频文件大小限制:10 M</li>
254
- <li>音频文件时长限制:3分钟</li>
255
- <li>音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg</li>
256
- </br>
267
+ * 本接口(DescribeAppStatistics)用于获取某个GME应用的用量数据。包括实时语音,语音消息及转文本,语音分析等。最长查询周期为最近30天。
257
268
  */
258
- async CreateAgeDetectTask(req, cb) {
259
- return this.request("CreateAgeDetectTask", req, cb);
269
+ async DescribeAppStatistics(req, cb) {
270
+ return this.request("DescribeAppStatistics", req, cb);
260
271
  }
261
272
  /**
262
- * 本接口(ModifyAppStatus)用于修改应用总开关状态。
273
+ * 用户通过该接口可以更新语音消息转文本自学习模型。
263
274
  */
264
- async ModifyAppStatus(req, cb) {
265
- return this.request("ModifyAppStatus", req, cb);
275
+ async ModifyCustomization(req, cb) {
276
+ return this.request("ModifyCustomization", req, cb);
266
277
  }
267
278
  /**
268
279
  * 获取用户自定义送检信息
@@ -271,16 +282,41 @@ Type表示过滤类型,1:色情,2:谩骂
271
282
  return this.request("DescribeRealtimeScanConfig", req, cb);
272
283
  }
273
284
  /**
274
- * 拉取用户在房间得进出时间
285
+ * 本接口(CreateApp)用于创建一个GME应用。
275
286
  */
276
- async DescribeUserInAndOutTime(req, cb) {
277
- return this.request("DescribeUserInAndOutTime", req, cb);
287
+ async CreateApp(req, cb) {
288
+ return this.request("CreateApp", req, cb);
278
289
  }
279
290
  /**
280
- * 获取房间内用户信息
291
+ * 本接口(DescribeScanResultList)用于查询语音检测结果,查询任务列表最多支持100个。
292
+ <p style="color:red">如果在提交语音检测任务时未设置 Callback 字段,则需要通过本接口获取检测结果</p>
281
293
  */
282
- async DescribeRoomInfo(req, cb) {
283
- return this.request("DescribeRoomInfo", req, cb);
294
+ async DescribeScanResultList(req, cb) {
295
+ return this.request("DescribeScanResultList", req, cb);
296
+ }
297
+ /**
298
+ * 通过该接口,用户可以修改语音消息转文本自学习模型状态,上下线自学习模型
299
+ */
300
+ async ModifyCustomizationState(req, cb) {
301
+ return this.request("ModifyCustomizationState", req, cb);
302
+ }
303
+ /**
304
+ * 修改用户麦克风状态。
305
+ */
306
+ async ModifyUserMicStatus(req, cb) {
307
+ return this.request("ModifyUserMicStatus", req, cb);
308
+ }
309
+ /**
310
+ * 用户通过该接口可以删除语音消息转文本自学习模型
311
+ */
312
+ async DeleteCustomization(req, cb) {
313
+ return this.request("DeleteCustomization", req, cb);
314
+ }
315
+ /**
316
+ * 本接口(ModifyAppStatus)用于修改应用总开关状态。
317
+ */
318
+ async ModifyAppStatus(req, cb) {
319
+ return this.request("ModifyAppStatus", req, cb);
284
320
  }
285
321
  /**
286
322
  * 查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
@@ -1,3 +1,16 @@
1
+ /**
2
+ * CreateCustomization返回参数结构体
3
+ */
4
+ export interface CreateCustomizationResponse {
5
+ /**
6
+ * 模型ID
7
+ */
8
+ ModelId: string;
9
+ /**
10
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11
+ */
12
+ RequestId?: string;
13
+ }
1
14
  /**
2
15
  * ScanVoice返回参数结构体
3
16
  */
@@ -93,6 +106,19 @@ export interface DescribeApplicationDataRequest {
93
106
  */
94
107
  EndDate: string;
95
108
  }
109
+ /**
110
+ * 用户麦克风状态
111
+ */
112
+ export interface UserMicStatus {
113
+ /**
114
+ * 用户ID
115
+ */
116
+ Uid: number;
117
+ /**
118
+ * 是否开麦 。1闭麦 2开麦
119
+ */
120
+ EnableMic: number;
121
+ }
96
122
  /**
97
123
  * VoiceFilter请求参数结构体
98
124
  */
@@ -172,6 +198,40 @@ export interface DescribeRealtimeScanConfigResponse {
172
198
  */
173
199
  RequestId?: string;
174
200
  }
201
+ /**
202
+ * ModifyUserMicStatus请求参数结构体
203
+ */
204
+ export interface ModifyUserMicStatusRequest {
205
+ /**
206
+ * 应用ID
207
+ */
208
+ BizId: number;
209
+ /**
210
+ * 房间ID
211
+ */
212
+ RoomId: string;
213
+ /**
214
+ * 用户麦克风状态,数组长度不超过20
215
+ */
216
+ Users: Array<UserMicStatus>;
217
+ }
218
+ /**
219
+ * 语音消息转文本自学习模型配置
220
+ */
221
+ export interface CustomizationConfigs {
222
+ /**
223
+ * 应用 ID,登录控制台创建应用得到的AppID
224
+ */
225
+ BizId: number;
226
+ /**
227
+ * 模型ID
228
+ */
229
+ ModelId: string;
230
+ /**
231
+ * 模型状态,-1下线状态,1上线状态, 0训练中, -2训练失败
232
+ */
233
+ ModelState: number;
234
+ }
175
235
  /**
176
236
  * 语音消息用量统计信息
177
237
  */
@@ -200,6 +260,19 @@ export interface RoomUser {
200
260
  */
201
261
  StrRoomId: string;
202
262
  }
263
+ /**
264
+ * CreateCustomization请求参数结构体
265
+ */
266
+ export interface CreateCustomizationRequest {
267
+ /**
268
+ * 应用 ID,登录控制台创建应用得到的AppID
269
+ */
270
+ BizId: number;
271
+ /**
272
+ * 文本文件的下载地址,服务会从该地址下载文件,目前仅支持腾讯云cos
273
+ */
274
+ TextUrl: string;
275
+ }
203
276
  /**
204
277
  * DescribeRoomInfo请求参数结构体
205
278
  */
@@ -274,6 +347,23 @@ export interface DescribeScanResultListRequest {
274
347
  */
275
348
  Limit?: number;
276
349
  }
350
+ /**
351
+ * ModifyCustomizationState返回参数结构体
352
+ */
353
+ export interface ModifyCustomizationStateResponse {
354
+ /**
355
+ * 自学习模型ID
356
+ */
357
+ ModelId: string;
358
+ /**
359
+ * 返回值。0为成功,非0为失败。
360
+ */
361
+ ErrorCode: number;
362
+ /**
363
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
364
+ */
365
+ RequestId?: string;
366
+ }
277
367
  /**
278
368
  * CreateAgeDetectTask请求参数结构体
279
369
  */
@@ -322,6 +412,27 @@ export interface RealTimeSpeechStatisticsItem {
322
412
  */
323
413
  OverseaDuration: number;
324
414
  }
415
+ /**
416
+ * DescribeAppStatistics请求参数结构体
417
+ */
418
+ export interface DescribeAppStatisticsRequest {
419
+ /**
420
+ * GME应用ID
421
+ */
422
+ BizId: number;
423
+ /**
424
+ * 数据开始时间,东八区时间,格式: 年-月-日,如: 2018-07-13
425
+ */
426
+ StartDate: string;
427
+ /**
428
+ * 数据结束时间,东八区时间,格式: 年-月-日,如: 2018-07-13
429
+ */
430
+ EndDate: string;
431
+ /**
432
+ * 要查询的服务列表,取值:RealTimeSpeech/VoiceMessage/VoiceFilter
433
+ */
434
+ Services: Array<string>;
435
+ }
325
436
  /**
326
437
  * CreateScanUser请求参数结构体
327
438
  */
@@ -336,13 +447,42 @@ export interface CreateScanUserRequest {
336
447
  UserId?: number;
337
448
  }
338
449
  /**
339
- * VoiceFilter返回参数结构体
450
+ * ModifyCustomizationState请求参数结构体
340
451
  */
341
- export interface VoiceFilterResponse {
452
+ export interface ModifyCustomizationStateRequest {
342
453
  /**
343
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
454
+ * 自学习模型ID
344
455
  */
345
- RequestId?: string;
456
+ ModelId: string;
457
+ /**
458
+ * 想要变换的模型状态,-1代表下线,1代表上线
459
+ */
460
+ ToState: number;
461
+ /**
462
+ * 应用 ID,登录控制台创建应用得到的AppID
463
+ */
464
+ BizId: number;
465
+ }
466
+ /**
467
+ * 语音检测任务列表
468
+ */
469
+ export interface Task {
470
+ /**
471
+ * 数据的唯一ID
472
+ */
473
+ DataId: string;
474
+ /**
475
+ * 数据文件的url,为 urlencode 编码,流式则为拉流地址
476
+ */
477
+ Url: string;
478
+ /**
479
+ * gme实时语音房间ID,通过gme实时语音进行语音分析时输入
480
+ */
481
+ RoomId?: string;
482
+ /**
483
+ * gme实时语音用户ID,通过gme实时语音进行语音分析时输入
484
+ */
485
+ OpenId?: string;
346
486
  }
347
487
  /**
348
488
  * 标签列表
@@ -360,17 +500,29 @@ export interface Tag {
360
500
  TagValue?: string;
361
501
  }
362
502
  /**
363
- * 年龄语音识别子任务
503
+ * DescribeFilterResultList请求参数结构体
364
504
  */
365
- export interface AgeDetectTask {
505
+ export interface DescribeFilterResultListRequest {
366
506
  /**
367
- * 数据唯一ID
507
+ * 应用ID
368
508
  */
369
- DataId: string;
509
+ BizId: number;
370
510
  /**
371
- * 数据文件的url,为 urlencode 编码,音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg
511
+ * 开始时间,格式为 年-月-日,如: 2018-07-11
372
512
  */
373
- Url: string;
513
+ StartDate: string;
514
+ /**
515
+ * 结束时间,格式为 年-月-日,如: 2018-07-11
516
+ */
517
+ EndDate: string;
518
+ /**
519
+ * 偏移量,默认值为0。
520
+ */
521
+ Offset?: number;
522
+ /**
523
+ * 返回数量,默认值为10,最大值为100。
524
+ */
525
+ Limit?: number;
374
526
  }
375
527
  /**
376
528
  * DescribeAgeDetectTask返回参数结构体
@@ -406,6 +558,23 @@ export interface VoiceMessageConf {
406
558
  */
407
559
  Language?: string;
408
560
  }
561
+ /**
562
+ * ModifyUserMicStatus返回参数结构体
563
+ */
564
+ export interface ModifyUserMicStatusResponse {
565
+ /**
566
+ * 返回结果:0为成功,非0为失败
567
+ */
568
+ Result: number;
569
+ /**
570
+ * 错误信息
571
+ */
572
+ ErrMsg: string;
573
+ /**
574
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
575
+ */
576
+ RequestId?: string;
577
+ }
409
578
  /**
410
579
  * 应用统计数据
411
580
  */
@@ -517,38 +686,44 @@ export interface UpdateScanRoomsResponse {
517
686
  RequestId?: string;
518
687
  }
519
688
  /**
520
- * DescribeApplicationData返回参数结构体
689
+ * UpdateScanUsers返回参数结构体
521
690
  */
522
- export interface DescribeApplicationDataResponse {
691
+ export interface UpdateScanUsersResponse {
523
692
  /**
524
- * 应用统计数据
693
+ * 返回结果码
525
694
  */
526
- Data: ApplicationDataStatistics;
695
+ ErrorCode: number;
527
696
  /**
528
697
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
529
698
  */
530
699
  RequestId?: string;
531
700
  }
532
701
  /**
533
- * 语音检测任务列表
702
+ * DescribeApplicationData返回参数结构体
534
703
  */
535
- export interface Task {
704
+ export interface DescribeApplicationDataResponse {
536
705
  /**
537
- * 数据的唯一ID
706
+ * 应用统计数据
538
707
  */
539
- DataId: string;
708
+ Data: ApplicationDataStatistics;
540
709
  /**
541
- * 数据文件的url,为 urlencode 编码,流式则为拉流地址
710
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
542
711
  */
543
- Url: string;
712
+ RequestId?: string;
713
+ }
714
+ /**
715
+ * GetCustomizationList返回参数结构体
716
+ */
717
+ export interface GetCustomizationListResponse {
544
718
  /**
545
- * gme实时语音房间ID,通过gme实时语音进行语音分析时输入
719
+ * 语音消息转文本自学习模型配置
720
+ 注意:此字段可能返回 null,表示取不到有效值。
546
721
  */
547
- RoomId?: string;
722
+ CustomizationConfigs: Array<CustomizationConfigs>;
548
723
  /**
549
- * gme实时语音用户ID,通过gme实时语音进行语音分析时输入
724
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
550
725
  */
551
- OpenId?: string;
726
+ RequestId?: string;
552
727
  }
553
728
  /**
554
729
  * DeleteScanUser返回参数结构体
@@ -564,17 +739,21 @@ export interface DeleteScanUserResponse {
564
739
  RequestId?: string;
565
740
  }
566
741
  /**
567
- * UpdateScanUsers返回参数结构体
742
+ * ModifyCustomization请求参数结构体
568
743
  */
569
- export interface UpdateScanUsersResponse {
744
+ export interface ModifyCustomizationRequest {
570
745
  /**
571
- * 返回结果码
746
+ * 应用 ID,登录控制台创建应用得到的AppID
572
747
  */
573
- ErrorCode: number;
748
+ BizId: number;
574
749
  /**
575
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
750
+ * 文本文件
576
751
  */
577
- RequestId?: string;
752
+ TextUrl: string;
753
+ /**
754
+ * 要修改的模型ID
755
+ */
756
+ ModelId: string;
578
757
  }
579
758
  /**
580
759
  * 语音过滤用量统计数据
@@ -655,23 +834,52 @@ export interface DescribeAgeDetectTaskRequest {
655
834
  TaskId: string;
656
835
  }
657
836
  /**
658
- * ModifyRoomInfo请求参数结构体
837
+ * DeleteCustomization返回参数结构体
659
838
  */
660
- export interface ModifyRoomInfoRequest {
839
+ export interface DeleteCustomizationResponse {
661
840
  /**
662
- * 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
841
+ * 返回值。0为成功,非0为失败。
663
842
  */
664
- SdkAppId: number;
843
+ ErrorCode: number;
665
844
  /**
666
- * 房间id
845
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
667
846
  */
668
- RoomId: number;
847
+ RequestId?: string;
848
+ }
849
+ /**
850
+ * VoiceFilter返回参数结构体
851
+ */
852
+ export interface VoiceFilterResponse {
669
853
  /**
670
- * 301 启动推流
671
- 302 停止推流
672
- 303 重置RTMP连接
854
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
673
855
  */
674
- OperationType: number;
856
+ RequestId?: string;
857
+ }
858
+ /**
859
+ * GetCustomizationList请求参数结构体
860
+ */
861
+ export interface GetCustomizationListRequest {
862
+ /**
863
+ * 应用 ID,登录控制台创建应用得到的AppID
864
+ */
865
+ BizId: number;
866
+ }
867
+ /**
868
+ * ModifyCustomization返回参数结构体
869
+ */
870
+ export interface ModifyCustomizationResponse {
871
+ /**
872
+ * 返回值。0为成功,非0为失败。
873
+ */
874
+ ErrorCode: number;
875
+ /**
876
+ * 自学习模型ID
877
+ */
878
+ ModelId: string;
879
+ /**
880
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
881
+ */
882
+ RequestId?: string;
675
883
  }
676
884
  /**
677
885
  * DescribeUserInAndOutTime返回参数结构体
@@ -828,29 +1036,36 @@ export interface DescribeScanResult {
828
1036
  BizId: number;
829
1037
  }
830
1038
  /**
831
- * DescribeFilterResultList请求参数结构体
1039
+ * 年龄语音识别子任务
832
1040
  */
833
- export interface DescribeFilterResultListRequest {
1041
+ export interface AgeDetectTask {
834
1042
  /**
835
- * 应用ID
1043
+ * 数据唯一ID
836
1044
  */
837
- BizId: number;
1045
+ DataId: string;
838
1046
  /**
839
- * 开始时间,格式为 年-月-日,如: 2018-07-11
1047
+ * 数据文件的url,为 urlencode 编码,音频文件格式支持的类型:.wav、.m4a、.amr、.mp3、.aac、.wma、.ogg
840
1048
  */
841
- StartDate: string;
1049
+ Url: string;
1050
+ }
1051
+ /**
1052
+ * ModifyRoomInfo请求参数结构体
1053
+ */
1054
+ export interface ModifyRoomInfoRequest {
842
1055
  /**
843
- * 结束时间,格式为 年-月-日,如: 2018-07-11
1056
+ * 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
844
1057
  */
845
- EndDate: string;
1058
+ SdkAppId: number;
846
1059
  /**
847
- * 偏移量,默认值为0。
1060
+ * 房间id
848
1061
  */
849
- Offset?: number;
1062
+ RoomId: number;
850
1063
  /**
851
- * 返回数量,默认值为10,最大值为100。
1064
+ * 301 启动推流
1065
+ 302 停止推流
1066
+ 303 重置RTMP连接
852
1067
  */
853
- Limit?: number;
1068
+ OperationType: number;
854
1069
  }
855
1070
  /**
856
1071
  * 过滤结果
@@ -1010,25 +1225,17 @@ export interface CreateAppResponse {
1010
1225
  RequestId?: string;
1011
1226
  }
1012
1227
  /**
1013
- * DescribeAppStatistics请求参数结构体
1228
+ * DeleteCustomization请求参数结构体
1014
1229
  */
1015
- export interface DescribeAppStatisticsRequest {
1230
+ export interface DeleteCustomizationRequest {
1016
1231
  /**
1017
- * GME应用ID
1232
+ * 要删除的模型ID
1018
1233
  */
1019
- BizId: number;
1234
+ ModelId: string;
1020
1235
  /**
1021
- * 数据开始时间,东八区时间,格式: 年-月-日,如: 2018-07-13
1236
+ * 应用 ID,登录控制台创建应用得到的AppID
1022
1237
  */
1023
- StartDate: string;
1024
- /**
1025
- * 数据结束时间,东八区时间,格式: 年-月-日,如: 2018-07-13
1026
- */
1027
- EndDate: string;
1028
- /**
1029
- * 要查询的服务列表,取值:RealTimeSpeech/VoiceMessage/VoiceFilter
1030
- */
1031
- Services: Array<string>;
1238
+ BizId: number;
1032
1239
  }
1033
1240
  /**
1034
1241
  * 语音检测结果,Code 为 0 时返回