tencentcloud-sdk-nodejs 4.0.297 → 4.0.298

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 (56) hide show
  1. package/CHANGELOG.md +168 -0
  2. package/SERVICE_CHANGELOG.md +267 -61
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +616 -44
  8. package/src/services/as/v20180419/as_models.ts +1 -1
  9. package/src/services/cam/v20190116/cam_client.ts +12 -0
  10. package/src/services/cam/v20190116/cam_models.ts +30 -0
  11. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  12. package/src/services/cls/v20201016/cls_client.ts +1 -1
  13. package/src/services/cls/v20201016/cls_models.ts +37 -27
  14. package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
  15. package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
  16. package/src/services/gme/v20180711/gme_client.ts +36 -0
  17. package/src/services/gme/v20180711/gme_models.ts +126 -0
  18. package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
  19. package/src/services/mariadb/v20170312/mariadb_models.ts +233 -173
  20. package/src/services/rum/v20210622/rum_models.ts +1 -1
  21. package/src/services/tem/v20210701/tem_models.ts +5 -0
  22. package/src/services/tsf/v20180326/tsf_client.ts +128 -15
  23. package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
  27. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
  28. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +519 -40
  29. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  30. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  31. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  32. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +25 -0
  33. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  34. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  35. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  36. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -25
  37. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
  38. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
  39. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
  40. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
  41. package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
  42. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
  43. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
  44. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
  45. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +198 -146
  46. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  47. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
  48. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
  49. package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
  50. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
  51. package/test/apigateway.v20180808.test.js +50 -0
  52. package/test/cam.v20190116.test.js +10 -0
  53. package/test/dcdb.v20180411.test.js +24 -4
  54. package/test/gme.v20180711.test.js +30 -0
  55. package/test/mariadb.v20170312.test.js +20 -0
  56. package/test/tsf.v20180326.test.js +84 -4
@@ -897,7 +897,7 @@ export interface ExecuteScalingPolicyResponse {
897
897
  /**
898
898
  * 伸缩活动ID
899
899
  */
900
- ActivityId?: string
900
+ ActivityId: string
901
901
 
902
902
  /**
903
903
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -43,6 +43,8 @@ import {
43
43
  UpdateRoleDescriptionResponse,
44
44
  GetAccountSummaryRequest,
45
45
  DetachUserPolicyRequest,
46
+ GetUserAppIdResponse,
47
+ GetUserAppIdRequest,
46
48
  ListGroupsResponse,
47
49
  ListPolicyVersionsRequest,
48
50
  GetCustomMFATokenInfoRequest,
@@ -199,6 +201,16 @@ export class Client extends AbstractClient {
199
201
  super("cam.tencentcloudapi.com", "2019-01-16", clientConfig)
200
202
  }
201
203
 
204
+ /**
205
+ * 获取用户AppId
206
+ */
207
+ async GetUserAppId(
208
+ req?: GetUserAppIdRequest,
209
+ cb?: (error: string, rep: GetUserAppIdResponse) => void
210
+ ): Promise<GetUserAppIdResponse> {
211
+ return this.request("GetUserAppId", req, cb)
212
+ }
213
+
202
214
  /**
203
215
  * 设置子用户的登录保护和敏感操作校验方式
204
216
  */
@@ -480,6 +480,36 @@ export interface DetachUserPolicyRequest {
480
480
  DetachUin: number
481
481
  }
482
482
 
483
+ /**
484
+ * GetUserAppId返回参数结构体
485
+ */
486
+ export interface GetUserAppIdResponse {
487
+ /**
488
+ * 当前账号Uin
489
+ */
490
+ Uin?: string
491
+
492
+ /**
493
+ * 当前账号OwnerUin
494
+ */
495
+ OwnerUin?: string
496
+
497
+ /**
498
+ * 当前账号AppId
499
+ */
500
+ AppId?: number
501
+
502
+ /**
503
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
504
+ */
505
+ RequestId?: string
506
+ }
507
+
508
+ /**
509
+ * GetUserAppId请求参数结构体
510
+ */
511
+ export type GetUserAppIdRequest = null
512
+
483
513
  /**
484
514
  * ListGroups返回参数结构体
485
515
  */
@@ -6216,7 +6216,7 @@ export interface RoInstanceInfo {
6216
6216
  InstanceId: string
6217
6217
 
6218
6218
  /**
6219
- * RO实例状态,可能返回值:0-创建中,1-运行中,4-删除中
6219
+ * RO实例状态,可能返回值:0-创建中,1-运行中,3-异地RO(仅在使用DescribeDBInstances查询主实例信息时,返回值中异地RO的状态恒等于3,其他场景下无此值),4-删除中
6220
6220
  */
6221
6221
  Status: number
6222
6222
 
@@ -489,7 +489,7 @@ export class Client extends AbstractClient {
489
489
  }
490
490
 
491
491
  /**
492
- * 本接口用于搜索日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过15
492
+ * 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15
493
493
  */
494
494
  async SearchLog(
495
495
  req: SearchLogRequest,
@@ -345,46 +345,51 @@ export interface LogItem {
345
345
  */
346
346
  export interface SearchLogResponse {
347
347
  /**
348
- * 加载后续内容的Context,过期时间1小时
348
+ * 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
349
349
  */
350
350
  Context: string
351
351
 
352
352
  /**
353
- * 原始日志查询结果是否全部返回。查询语句(Query)包含SQL时该参数无意义
354
- */
353
+ * 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
354
+ 注意:仅当检索分析语句(Query)不包含SQL时有效
355
+ */
355
356
  ListOver: boolean
356
357
 
357
358
  /**
358
- * 返回的是否为分析结果
359
+ * 返回的是否为统计分析(即SQL)结果
359
360
  */
360
361
  Analysis: boolean
361
362
 
362
363
  /**
363
- * 如果Analysis为True,则返回分析结果的列名,否则为空
364
+ * 匹配检索条件的原始日志
364
365
  注意:此字段可能返回 null,表示取不到有效值。
365
366
  */
366
- ColNames: Array<string>
367
+ Results: Array<LogInfo>
367
368
 
368
369
  /**
369
- * 日志查询结果;当Analysis为True时,可能返回为null
370
+ * 日志统计分析结果的列名
371
+ 当UseNewAnalysis为false时生效
370
372
  注意:此字段可能返回 null,表示取不到有效值。
371
373
  */
372
- Results: Array<LogInfo>
374
+ ColNames: Array<string>
373
375
 
374
376
  /**
375
- * 日志分析结果;当Analysis为False时,可能返回为null
377
+ * 日志统计分析结果
378
+ 当UseNewAnalysis为false时生效
376
379
  注意:此字段可能返回 null,表示取不到有效值。
377
380
  */
378
381
  AnalysisResults: Array<LogItems>
379
382
 
380
383
  /**
381
- * 新的日志分析结果; UseNewAnalysis为true有效
384
+ * 日志统计分析结果
385
+ 当UseNewAnalysis为true时生效
382
386
  注意:此字段可能返回 null,表示取不到有效值。
383
387
  */
384
388
  AnalysisRecords: Array<string>
385
389
 
386
390
  /**
387
- * 日志分析的列属性; UseNewAnalysis为true有效
391
+ * 日志统计分析结果的列属性
392
+ 当UseNewAnalysis为true时生效
388
393
  注意:此字段可能返回 null,表示取不到有效值。
389
394
  */
390
395
  Columns: Array<Column>
@@ -3300,50 +3305,55 @@ export interface MonitorTime {
3300
3305
  */
3301
3306
  export interface SearchLogRequest {
3302
3307
  /**
3303
- * 要查询的日志主题ID
3308
+ * 要检索分析的日志主题ID
3304
3309
  */
3305
3310
  TopicId: string
3306
3311
 
3307
3312
  /**
3308
- * 要查询的日志的起始时间,Unix时间戳,单位ms
3313
+ * 要检索分析的日志的起始时间,Unix时间戳(毫秒)
3309
3314
  */
3310
3315
  From: number
3311
3316
 
3312
3317
  /**
3313
- * 要查询的日志的结束时间,Unix时间戳,单位ms
3318
+ * 要检索分析的日志的结束时间,Unix时间戳(毫秒)
3314
3319
  */
3315
3320
  To: number
3316
3321
 
3317
3322
  /**
3318
- * 查询语句,语句长度最大为12KB
3319
- 查询语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code>|</code>及SQL语句
3323
+ * 检索分析语句,最大长度为12KB
3324
+ 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
3320
3325
  */
3321
3326
  Query: string
3322
3327
 
3323
3328
  /**
3324
- * 仅当查询语句(Query)不包含SQL时有效
3325
- 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数
3326
- SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
3329
+ * 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数
3330
+ 注意:
3331
+ * 仅当检索分析语句(Query)不包含SQL时有效
3332
+ * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
3327
3333
  */
3328
3334
  Limit?: number
3329
3335
 
3330
3336
  /**
3331
- * 仅当查询语句(Query)不包含SQL时有效
3332
- 透传上次接口返回的Context值,可获取后续日志,总计最多可获取1万条原始日志。过期时间1小时
3333
- SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
3337
+ * 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时
3338
+ 注意:
3339
+ * 仅当检索分析语句(Query)不包含SQL时有效
3340
+ * SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
3334
3341
  */
3335
3342
  Context?: string
3336
3343
 
3337
3344
  /**
3338
- * 仅当查询语句(Query)不包含SQL时有效。
3339
- 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
3340
- SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY 语法</a>
3345
+ * 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
3346
+ 注意:
3347
+ * 仅当检索分析语句(Query)不包含SQL时有效
3348
+ * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
3341
3349
  */
3342
3350
  Sort?: string
3343
3351
 
3344
3352
  /**
3345
- * 为true代表使用新的检索结果返回方式,响应参数AnalysisRecords和Columns有效;为false时代表使用老检索结果返回方式, AnalysisResults和ColNames有效
3346
- */
3353
+ * 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
3354
+ 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
3355
+ 两种返回方式在编码格式上有少量区别,建议使用true
3356
+ */
3347
3357
  UseNewAnalysis?: boolean
3348
3358
  }
3349
3359
 
@@ -29,6 +29,7 @@ import {
29
29
  DescribeAccountsRequest,
30
30
  SpecConfig,
31
31
  ModifyRealServerAccessStrategyResponse,
32
+ ActiveHourDCDBInstanceResponse,
32
33
  DescribeDCDBPriceResponse,
33
34
  AssociateSecurityGroupsRequest,
34
35
  FlushBinlogResponse,
@@ -41,6 +42,7 @@ import {
41
42
  DescribeDBSlowLogsRequest,
42
43
  CreateAccountRequest,
43
44
  DescribeDBParametersResponse,
45
+ IsolateHourDCDBInstanceRequest,
44
46
  DescribeFlowResponse,
45
47
  CloneAccountResponse,
46
48
  ModifyAccountDescriptionResponse,
@@ -109,6 +111,7 @@ import {
109
111
  Database,
110
112
  GrantAccountPrivilegesResponse,
111
113
  CancelDcnJobRequest,
114
+ IsolateHourDCDBInstanceResponse,
112
115
  ShardInfo,
113
116
  OpenDBExtranetAccessRequest,
114
117
  DescribeDCDBSaleInfoResponse,
@@ -144,6 +147,7 @@ import {
144
147
  DestroyHourDCDBInstanceResponse,
145
148
  ConstraintRange,
146
149
  LogFileInfo,
150
+ ActiveHourDCDBInstanceRequest,
147
151
  DisassociateSecurityGroupsRequest,
148
152
  DBAccount,
149
153
  DescribeDatabaseTableResponse,
@@ -183,13 +187,13 @@ export class Client extends AbstractClient {
183
187
  }
184
188
 
185
189
  /**
186
- * 本接口(DescribeOrders)用于查询分布式数据库订单信息。传入订单ID来查询订单关联的分布式数据库实例,和对应的任务流程ID。
190
+ * 解隔离DCDB后付费实例
187
191
  */
188
- async DescribeOrders(
189
- req: DescribeOrdersRequest,
190
- cb?: (error: string, rep: DescribeOrdersResponse) => void
191
- ): Promise<DescribeOrdersResponse> {
192
- return this.request("DescribeOrders", req, cb)
192
+ async ActiveHourDCDBInstance(
193
+ req: ActiveHourDCDBInstanceRequest,
194
+ cb?: (error: string, rep: ActiveHourDCDBInstanceResponse) => void
195
+ ): Promise<ActiveHourDCDBInstanceResponse> {
196
+ return this.request("ActiveHourDCDBInstance", req, cb)
193
197
  }
194
198
 
195
199
  /**
@@ -280,6 +284,16 @@ export class Client extends AbstractClient {
280
284
  return this.request("ModifyAccountDescription", req, cb)
281
285
  }
282
286
 
287
+ /**
288
+ * 本接口(DescribeOrders)用于查询分布式数据库订单信息。传入订单ID来查询订单关联的分布式数据库实例,和对应的任务流程ID。
289
+ */
290
+ async DescribeOrders(
291
+ req: DescribeOrdersRequest,
292
+ cb?: (error: string, rep: DescribeOrdersResponse) => void
293
+ ): Promise<DescribeOrdersResponse> {
294
+ return this.request("DescribeOrders", req, cb)
295
+ }
296
+
283
297
  /**
284
298
  * 本接口(DescribeUserTasks)用于拉取用户任务列表
285
299
  */
@@ -431,13 +445,13 @@ export class Client extends AbstractClient {
431
445
  }
432
446
 
433
447
  /**
434
- * 本接口(UpgradeDCDBInstance)用于升级分布式数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
448
+ * 隔离DCDB后付费实例
435
449
  */
436
- async UpgradeDCDBInstance(
437
- req: UpgradeDCDBInstanceRequest,
438
- cb?: (error: string, rep: UpgradeDCDBInstanceResponse) => void
439
- ): Promise<UpgradeDCDBInstanceResponse> {
440
- return this.request("UpgradeDCDBInstance", req, cb)
450
+ async IsolateHourDCDBInstance(
451
+ req: IsolateHourDCDBInstanceRequest,
452
+ cb?: (error: string, rep: IsolateHourDCDBInstanceResponse) => void
453
+ ): Promise<IsolateHourDCDBInstanceResponse> {
454
+ return this.request("IsolateHourDCDBInstance", req, cb)
441
455
  }
442
456
 
443
457
  /**
@@ -702,6 +716,16 @@ export class Client extends AbstractClient {
702
716
  return this.request("DisassociateSecurityGroups", req, cb)
703
717
  }
704
718
 
719
+ /**
720
+ * 本接口(UpgradeDCDBInstance)用于升级分布式数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
721
+ */
722
+ async UpgradeDCDBInstance(
723
+ req: UpgradeDCDBInstanceRequest,
724
+ cb?: (error: string, rep: UpgradeDCDBInstanceResponse) => void
725
+ ): Promise<UpgradeDCDBInstanceResponse> {
726
+ return this.request("UpgradeDCDBInstance", req, cb)
727
+ }
728
+
705
729
  /**
706
730
  * 本接口(DescribeDCDBRenewalPrice)用于在续费分布式数据库实例时,查询续费的价格。
707
731
  */
@@ -212,6 +212,26 @@ export interface ModifyRealServerAccessStrategyResponse {
212
212
  RequestId?: string
213
213
  }
214
214
 
215
+ /**
216
+ * ActiveHourDCDBInstance返回参数结构体
217
+ */
218
+ export interface ActiveHourDCDBInstanceResponse {
219
+ /**
220
+ * 解隔离成功的实例id列表
221
+ */
222
+ SuccessInstanceIds?: Array<string>
223
+
224
+ /**
225
+ * 解隔离失败的实例id列表
226
+ */
227
+ FailedInstanceIds?: Array<string>
228
+
229
+ /**
230
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
231
+ */
232
+ RequestId?: string
233
+ }
234
+
215
235
  /**
216
236
  * DescribeDCDBPrice返回参数结构体
217
237
  */
@@ -505,6 +525,16 @@ export interface DescribeDBParametersResponse {
505
525
  RequestId?: string
506
526
  }
507
527
 
528
+ /**
529
+ * IsolateHourDCDBInstance请求参数结构体
530
+ */
531
+ export interface IsolateHourDCDBInstanceRequest {
532
+ /**
533
+ * 实例uuid列表
534
+ */
535
+ InstanceIds: Array<string>
536
+ }
537
+
508
538
  /**
509
539
  * DescribeFlow返回参数结构体
510
540
  */
@@ -2404,6 +2434,26 @@ export interface CancelDcnJobRequest {
2404
2434
  InstanceId: string
2405
2435
  }
2406
2436
 
2437
+ /**
2438
+ * IsolateHourDCDBInstance返回参数结构体
2439
+ */
2440
+ export interface IsolateHourDCDBInstanceResponse {
2441
+ /**
2442
+ * 隔离成功的实例id列表
2443
+ */
2444
+ SuccessInstanceIds?: Array<string>
2445
+
2446
+ /**
2447
+ * 隔离失败的实例id列表
2448
+ */
2449
+ FailedInstanceIds?: Array<string>
2450
+
2451
+ /**
2452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2453
+ */
2454
+ RequestId?: string
2455
+ }
2456
+
2407
2457
  /**
2408
2458
  * 分片信息
2409
2459
  */
@@ -3440,6 +3490,16 @@ export interface LogFileInfo {
3440
3490
  FileName: string
3441
3491
  }
3442
3492
 
3493
+ /**
3494
+ * ActiveHourDCDBInstance请求参数结构体
3495
+ */
3496
+ export interface ActiveHourDCDBInstanceRequest {
3497
+ /**
3498
+ * 待升级的实例ID列表。形如:["dcdbt-ow728lmc"],可以通过 DescribeDCDBInstances 查询实例详情获得。
3499
+ */
3500
+ InstanceIds: Array<string>
3501
+ }
3502
+
3443
3503
  /**
3444
3504
  * DisassociateSecurityGroups请求参数结构体
3445
3505
  */
@@ -26,10 +26,13 @@ import {
26
26
  DescribeApplicationDataRequest,
27
27
  VoiceFilterRequest,
28
28
  CreateAgeDetectTaskResponse,
29
+ DescribeRealtimeScanConfigResponse,
29
30
  VoiceMessageStatisticsItem,
30
31
  RoomUser,
31
32
  DescribeRoomInfoRequest,
33
+ UpdateScanRoomsRequest,
32
34
  AgeDetectTaskResult,
35
+ DescribeRealtimeScanConfigRequest,
33
36
  DescribeScanResultListRequest,
34
37
  CreateAgeDetectTaskRequest,
35
38
  RealTimeSpeechStatisticsItem,
@@ -42,8 +45,10 @@ import {
42
45
  DescribeFilterResultListResponse,
43
46
  ModifyAppStatusResp,
44
47
  DescribeAppStatisticsResponse,
48
+ UpdateScanRoomsResponse,
45
49
  DescribeApplicationDataResponse,
46
50
  Task,
51
+ UpdateScanUsersResponse,
47
52
  VoiceFilterStatisticsItem,
48
53
  CreateAppResp,
49
54
  DescribeRoomInfoResponse,
@@ -67,6 +72,7 @@ import {
67
72
  ModifyAppStatusResponse,
68
73
  ScanVoiceRequest,
69
74
  VoiceFilterConf,
75
+ UpdateScanUsersRequest,
70
76
  StatisticsItem,
71
77
  DescribeFilterResultRequest,
72
78
  DescribeUserInAndOutTimeRequest,
@@ -91,6 +97,16 @@ export class Client extends AbstractClient {
91
97
  return this.request("DescribeFilterResult", req, cb)
92
98
  }
93
99
 
100
+ /**
101
+ * 更新自定义送检房间号
102
+ */
103
+ async UpdateScanRooms(
104
+ req: UpdateScanRoomsRequest,
105
+ cb?: (error: string, rep: UpdateScanRoomsResponse) => void
106
+ ): Promise<UpdateScanRoomsResponse> {
107
+ return this.request("UpdateScanRooms", req, cb)
108
+ }
109
+
94
110
  /**
95
111
  * 本接口(CreateApp)用于创建一个GME应用。
96
112
  */
@@ -144,6 +160,16 @@ Type表示过滤类型,1:色情,2:谩骂
144
160
  return this.request("DescribeFilterResultList", req, cb)
145
161
  }
146
162
 
163
+ /**
164
+ * 更新自定义送检用户号
165
+ */
166
+ async UpdateScanUsers(
167
+ req: UpdateScanUsersRequest,
168
+ cb?: (error: string, rep: UpdateScanUsersResponse) => void
169
+ ): Promise<UpdateScanUsersResponse> {
170
+ return this.request("UpdateScanUsers", req, cb)
171
+ }
172
+
147
173
  /**
148
174
  * 本接口(DescribeAppStatistics)用于获取某个GME应用的用量数据。包括实时语音,语音消息及转文本,语音分析等。最长查询周期为最近30天。
149
175
  */
@@ -338,6 +364,16 @@ Type表示过滤类型,1:色情,2:谩骂
338
364
  return this.request("ModifyAppStatus", req, cb)
339
365
  }
340
366
 
367
+ /**
368
+ * 获取用户自定义送检信息
369
+ */
370
+ async DescribeRealtimeScanConfig(
371
+ req: DescribeRealtimeScanConfigRequest,
372
+ cb?: (error: string, rep: DescribeRealtimeScanConfigResponse) => void
373
+ ): Promise<DescribeRealtimeScanConfigResponse> {
374
+ return this.request("DescribeRealtimeScanConfig", req, cb)
375
+ }
376
+
341
377
  /**
342
378
  * 拉取用户在房间得进出时间
343
379
  */
@@ -175,6 +175,51 @@ export interface CreateAgeDetectTaskResponse {
175
175
  RequestId?: string
176
176
  }
177
177
 
178
+ /**
179
+ * DescribeRealtimeScanConfig返回参数结构体
180
+ */
181
+ export interface DescribeRealtimeScanConfigResponse {
182
+ /**
183
+ * 返回结果码
184
+ */
185
+ ErrorCode: number
186
+
187
+ /**
188
+ * 应用ID
189
+ */
190
+ BizId: number
191
+
192
+ /**
193
+ * 送检类型
194
+ */
195
+ AuditType: number
196
+
197
+ /**
198
+ * 用户号正则
199
+ */
200
+ UserIdRegex: Array<string>
201
+
202
+ /**
203
+ * 房间号正则
204
+ */
205
+ RoomIdRegex: Array<string>
206
+
207
+ /**
208
+ * 用户号字符串,逗号分隔
209
+ */
210
+ UserIdString: string
211
+
212
+ /**
213
+ * 房间号字符串,逗号分隔
214
+ */
215
+ RoomIdString: string
216
+
217
+ /**
218
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
219
+ */
220
+ RequestId?: string
221
+ }
222
+
178
223
  /**
179
224
  * 语音消息用量统计信息
180
225
  */
@@ -227,6 +272,26 @@ export interface DescribeRoomInfoRequest {
227
272
  StrRoomIds?: Array<string>
228
273
  }
229
274
 
275
+ /**
276
+ * UpdateScanRooms请求参数结构体
277
+ */
278
+ export interface UpdateScanRoomsRequest {
279
+ /**
280
+ * 应用ID
281
+ */
282
+ BizId: number
283
+
284
+ /**
285
+ * 字符串房间号,逗号分隔
286
+ */
287
+ RoomIdString?: string
288
+
289
+ /**
290
+ * 正则表达式房间号,["^6.*"]6开头的房间号
291
+ */
292
+ RoomIdRegex?: Array<string>
293
+ }
294
+
230
295
  /**
231
296
  * 年龄语音任务结果
232
297
  */
@@ -252,6 +317,16 @@ export interface AgeDetectTaskResult {
252
317
  Age: number
253
318
  }
254
319
 
320
+ /**
321
+ * DescribeRealtimeScanConfig请求参数结构体
322
+ */
323
+ export interface DescribeRealtimeScanConfigRequest {
324
+ /**
325
+ * 应用ID
326
+ */
327
+ BizId: number
328
+ }
329
+
255
330
  /**
256
331
  * DescribeScanResultList请求参数结构体
257
332
  */
@@ -532,6 +607,22 @@ export interface DescribeAppStatisticsResponse {
532
607
  RequestId?: string
533
608
  }
534
609
 
610
+ /**
611
+ * UpdateScanRooms返回参数结构体
612
+ */
613
+ export interface UpdateScanRoomsResponse {
614
+ /**
615
+ * 返回结果码
616
+ 注意:此字段可能返回 null,表示取不到有效值。
617
+ */
618
+ ErrorCode: number
619
+
620
+ /**
621
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
622
+ */
623
+ RequestId?: string
624
+ }
625
+
535
626
  /**
536
627
  * DescribeApplicationData返回参数结构体
537
628
  */
@@ -572,6 +663,21 @@ export interface Task {
572
663
  OpenId?: string
573
664
  }
574
665
 
666
+ /**
667
+ * UpdateScanUsers返回参数结构体
668
+ */
669
+ export interface UpdateScanUsersResponse {
670
+ /**
671
+ * 返回结果码
672
+ */
673
+ ErrorCode: number
674
+
675
+ /**
676
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
677
+ */
678
+ RequestId?: string
679
+ }
680
+
575
681
  /**
576
682
  * 语音过滤用量统计数据
577
683
  */
@@ -1187,6 +1293,26 @@ export interface VoiceFilterConf {
1187
1293
  Status?: string
1188
1294
  }
1189
1295
 
1296
+ /**
1297
+ * UpdateScanUsers请求参数结构体
1298
+ */
1299
+ export interface UpdateScanUsersRequest {
1300
+ /**
1301
+ * 应用ID
1302
+ */
1303
+ BizId: number
1304
+
1305
+ /**
1306
+ * 字符串用户号,逗号分隔
1307
+ */
1308
+ UserIdString?: string
1309
+
1310
+ /**
1311
+ * 正则表达式用户号,["^6.*"]6开头的用户号
1312
+ */
1313
+ UserIdRegex?: Array<string>
1314
+ }
1315
+
1190
1316
  /**
1191
1317
  * 用量数据单元
1192
1318
  */