tencentcloud-sdk-nodejs 4.0.575 → 4.0.576

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 (87) hide show
  1. package/CHANGELOG.md +273 -0
  2. package/SERVICE_CHANGELOG.md +380 -124
  3. package/package.json +1 -1
  4. package/products.md +23 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_models.ts +4 -4
  7. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  8. package/src/services/clb/v20180317/clb_models.ts +16 -0
  9. package/src/services/cls/v20201016/cls_models.ts +22 -0
  10. package/src/services/cwp/v20180228/cwp_client.ts +13 -0
  11. package/src/services/cwp/v20180228/cwp_models.ts +249 -0
  12. package/src/services/dbbrain/v20210527/dbbrain_client.ts +12 -0
  13. package/src/services/dbbrain/v20210527/dbbrain_models.ts +38 -2
  14. package/src/services/emr/v20190103/emr_client.ts +28 -1
  15. package/src/services/emr/v20190103/emr_models.ts +134 -5
  16. package/src/services/ess/v20201111/ess_client.ts +1 -1
  17. package/src/services/ess/v20201111/ess_models.ts +1 -1
  18. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  19. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  20. package/src/services/index.ts +1 -0
  21. package/src/services/lcic/v20220817/lcic_client.ts +14 -1
  22. package/src/services/lcic/v20220817/lcic_models.ts +130 -6
  23. package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
  24. package/src/services/mongodb/v20190725/mongodb_models.ts +13 -12
  25. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  26. package/src/services/monitor/v20180724/monitor_models.ts +59 -0
  27. package/src/services/ocr/v20181119/ocr_client.ts +25 -6
  28. package/src/services/ocr/v20181119/ocr_models.ts +282 -159
  29. package/src/services/rum/v20210622/rum_models.ts +10 -5
  30. package/src/services/teo/v20220901/teo_models.ts +18 -10
  31. package/src/services/tke/v20180525/tke_models.ts +5 -5
  32. package/src/services/tourism/index.ts +5 -0
  33. package/src/services/tourism/v20230215/index.ts +6 -0
  34. package/src/services/tourism/v20230215/tourism_client.ts +44 -0
  35. package/src/services/tourism/v20230215/tourism_models.ts +128 -0
  36. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  37. package/tencentcloud/common/sdk_version.d.ts +1 -1
  38. package/tencentcloud/common/sdk_version.js +1 -1
  39. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -4
  40. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  41. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +13 -0
  42. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +18 -0
  43. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +5 -1
  44. package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -0
  45. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +204 -0
  46. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  47. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  48. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +33 -2
  49. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +9 -1
  50. package/tencentcloud/services/emr/v20190103/emr_client.js +12 -0
  51. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +117 -4
  52. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  53. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  54. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  55. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  56. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  57. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  58. package/tencentcloud/services/index.d.ts +1 -0
  59. package/tencentcloud/services/index.js +2 -0
  60. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  61. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  62. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +110 -5
  63. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
  64. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
  65. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +12 -11
  66. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +50 -0
  67. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
  68. package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
  69. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +245 -137
  70. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +9 -5
  71. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +18 -10
  72. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -5
  73. package/tencentcloud/services/tourism/index.d.ts +6 -0
  74. package/tencentcloud/services/tourism/index.js +7 -0
  75. package/tencentcloud/services/tourism/v20230215/index.d.ts +6 -0
  76. package/tencentcloud/services/tourism/v20230215/index.js +9 -0
  77. package/tencentcloud/services/tourism/v20230215/tourism_client.d.ts +14 -0
  78. package/tencentcloud/services/tourism/v20230215/tourism_client.js +37 -0
  79. package/tencentcloud/services/tourism/v20230215/tourism_models.d.ts +95 -0
  80. package/tencentcloud/services/tourism/v20230215/tourism_models.js +18 -0
  81. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  82. package/test/cwp.v20180228.test.js +10 -0
  83. package/test/dbbrain.v20210527.test.js +10 -0
  84. package/test/emr.v20190103.test.js +20 -0
  85. package/test/lcic.v20220817.test.js +10 -0
  86. package/test/ocr.v20181119.test.js +10 -0
  87. package/test/tourism.v20230215.test.js +31 -0
@@ -980,6 +980,27 @@ export interface TimeSlice {
980
980
  Timestamp: number
981
981
  }
982
982
 
983
+ /**
984
+ * DeleteDBDiagReportTasks请求参数结构体
985
+ */
986
+ export interface DeleteDBDiagReportTasksRequest {
987
+ /**
988
+ * 需要删除的任务id列表
989
+ */
990
+ AsyncRequestIds: Array<number>
991
+
992
+ /**
993
+ * 实例ID
994
+ */
995
+ InstanceId: string
996
+
997
+ /**
998
+ * 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL, "mongodb" - 云数据库 CynosDB for MySQL,
999
+ 默认值为"mysql"。
1000
+ */
1001
+ Product: string
1002
+ }
1003
+
983
1004
  /**
984
1005
  * ModifyDiagDBInstanceConf请求参数结构体
985
1006
  */
@@ -1311,6 +1332,21 @@ export interface CreateKillTaskRequest {
1311
1332
  Product?: string
1312
1333
  }
1313
1334
 
1335
+ /**
1336
+ * DeleteDBDiagReportTasks返回参数结构体
1337
+ */
1338
+ export interface DeleteDBDiagReportTasksResponse {
1339
+ /**
1340
+ * 任务删除状态, 0-删除成功
1341
+ */
1342
+ Status?: number
1343
+
1344
+ /**
1345
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1346
+ */
1347
+ RequestId?: string
1348
+ }
1349
+
1314
1350
  /**
1315
1351
  * DescribeProxyProcessStatistics返回参数结构体
1316
1352
  */
@@ -3358,12 +3394,12 @@ export interface DescribeSlowLogTopSqlsResponse {
3358
3394
  /**
3359
3395
  * 符合条件的记录总数。
3360
3396
  */
3361
- TotalCount: number
3397
+ TotalCount?: number
3362
3398
 
3363
3399
  /**
3364
3400
  * 慢日志 top sql 列表
3365
3401
  */
3366
- Rows: Array<SlowLogTopSqlItem>
3402
+ Rows?: Array<SlowLogTopSqlItem>
3367
3403
 
3368
3404
  /**
3369
3405
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -57,6 +57,7 @@ import {
57
57
  InquiryPriceRenewInstanceResponse,
58
58
  DescribeJobFlowRequest,
59
59
  InquiryPriceCreateInstanceResponse,
60
+ StartStopServiceOrMonitorRequest,
60
61
  TerminateInstanceRequest,
61
62
  JobFlowResourceSpec,
62
63
  Configuration,
@@ -68,6 +69,7 @@ import {
68
69
  DescribeUsersForUserManagerRequest,
69
70
  RenewInstancesInfo,
70
71
  RunJobFlowResponse,
72
+ StartStopServiceOrMonitorResponse,
71
73
  MultiDisk,
72
74
  PodNewParameter,
73
75
  SearchItem,
@@ -79,6 +81,7 @@ import {
79
81
  ScaleOutNodeConfig,
80
82
  DeleteUserManagerUserListRequest,
81
83
  DescribeResourceScheduleResponse,
84
+ TerminateClusterNodesResponse,
82
85
  ModifyResourceSchedulerRequest,
83
86
  LoginSettings,
84
87
  RunJobFlowRequest,
@@ -91,15 +94,17 @@ import {
91
94
  BootstrapAction,
92
95
  DescribeCvmQuotaRequest,
93
96
  DescribeClusterNodesRequest,
94
- SyncPodStateRequest,
97
+ ComponentBasicRestartInfo,
95
98
  CreateInstanceRequest,
96
99
  Execution,
97
100
  UpdateInstanceSettings,
98
101
  ScriptBootstrapActionConfig,
99
102
  DescribeInstancesRequest,
100
103
  InquiryPriceUpdateInstanceRequest,
104
+ TerminateClusterNodesRequest,
101
105
  DescribeInstancesListRequest,
102
106
  OutterResource,
107
+ OpScope,
103
108
  DeleteUserManagerUserListResponse,
104
109
  ModifyResourcePoolsResponse,
105
110
  TerminateTasksResponse,
@@ -112,6 +117,7 @@ import {
112
117
  MultiDiskMC,
113
118
  AddUsersForUserManagerRequest,
114
119
  ZoneResourceConfiguration,
120
+ SyncPodStateRequest,
115
121
  CustomMetaInfo,
116
122
  ApplicationStatics,
117
123
  InquiryPriceCreateInstanceRequest,
@@ -140,6 +146,7 @@ import {
140
146
  ShortNodeInfo,
141
147
  EmrPrice,
142
148
  NodeHardwareInfo,
149
+ ServiceBasicRestartInfo,
143
150
  ScaleOutClusterResponse,
144
151
  JobFlowResource,
145
152
  ModifyResourcePoolsRequest,
@@ -266,6 +273,16 @@ export class Client extends AbstractClient {
266
273
  return this.request("RunJobFlow", req, cb)
267
274
  }
268
275
 
276
+ /**
277
+ * 销毁集群节点
278
+ */
279
+ async TerminateClusterNodes(
280
+ req: TerminateClusterNodesRequest,
281
+ cb?: (error: string, rep: TerminateClusterNodesResponse) => void
282
+ ): Promise<TerminateClusterNodesResponse> {
283
+ return this.request("TerminateClusterNodes", req, cb)
284
+ }
285
+
269
286
  /**
270
287
  * 该接口支持安装了OpenLdap组件的集群。
271
288
  批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。
@@ -379,6 +396,16 @@ export class Client extends AbstractClient {
379
396
  return this.request("ModifyResourceScheduleConfig", req, cb)
380
397
  }
381
398
 
399
+ /**
400
+ * 用于启动或停止监控或服务
401
+ */
402
+ async StartStopServiceOrMonitor(
403
+ req: StartStopServiceOrMonitorRequest,
404
+ cb?: (error: string, rep: StartStopServiceOrMonitorResponse) => void
405
+ ): Promise<StartStopServiceOrMonitorResponse> {
406
+ return this.request("StartStopServiceOrMonitor", req, cb)
407
+ }
408
+
382
409
  /**
383
410
  * 缩容Task节点
384
411
  */
@@ -1802,6 +1802,31 @@ export interface InquiryPriceCreateInstanceResponse {
1802
1802
  RequestId?: string
1803
1803
  }
1804
1804
 
1805
+ /**
1806
+ * StartStopServiceOrMonitor请求参数结构体
1807
+ */
1808
+ export interface StartStopServiceOrMonitorRequest {
1809
+ /**
1810
+ * 集群ID
1811
+ */
1812
+ InstanceId: string
1813
+
1814
+ /**
1815
+ * 操作类型,当前支持
1816
+ <li>StartService:启动服务</li>
1817
+ <li>StopService:停止服务</li>
1818
+ <li>StartMonitor:退出维护</li>
1819
+ <li>StopMonitor:进入维护</li>
1820
+
1821
+ */
1822
+ OpType: string
1823
+
1824
+ /**
1825
+ * 操作范围
1826
+ */
1827
+ OpScope: OpScope
1828
+ }
1829
+
1805
1830
  /**
1806
1831
  * TerminateInstance请求参数结构体
1807
1832
  */
@@ -2208,6 +2233,16 @@ export interface RunJobFlowResponse {
2208
2233
  RequestId?: string
2209
2234
  }
2210
2235
 
2236
+ /**
2237
+ * StartStopServiceOrMonitor返回参数结构体
2238
+ */
2239
+ export interface StartStopServiceOrMonitorResponse {
2240
+ /**
2241
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2242
+ */
2243
+ RequestId?: string
2244
+ }
2245
+
2211
2246
  /**
2212
2247
  * 多云盘参数
2213
2248
  */
@@ -2584,6 +2619,21 @@ export interface DescribeResourceScheduleResponse {
2584
2619
  RequestId?: string
2585
2620
  }
2586
2621
 
2622
+ /**
2623
+ * TerminateClusterNodes返回参数结构体
2624
+ */
2625
+ export interface TerminateClusterNodesResponse {
2626
+ /**
2627
+ * 缩容流程ID。
2628
+ */
2629
+ FlowId?: number
2630
+
2631
+ /**
2632
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2633
+ */
2634
+ RequestId?: string
2635
+ }
2636
+
2587
2637
  /**
2588
2638
  * ModifyResourceScheduler请求参数结构体
2589
2639
  */
@@ -3077,13 +3127,20 @@ export interface DescribeClusterNodesRequest {
3077
3127
  }
3078
3128
 
3079
3129
  /**
3080
- * SyncPodState请求参数结构体
3130
+ * 操作的进程范围
3081
3131
  */
3082
- export interface SyncPodStateRequest {
3132
+ export interface ComponentBasicRestartInfo {
3083
3133
  /**
3084
- * EmrService中pod状态信息
3085
- */
3086
- Message: PodState
3134
+ * 进程名,必填,如NameNode
3135
+ 注意:此字段可能返回 null,表示取不到有效值。
3136
+ */
3137
+ ComponentName?: string
3138
+
3139
+ /**
3140
+ * 操作的IP列表
3141
+ 注意:此字段可能返回 null,表示取不到有效值。
3142
+ */
3143
+ IpList?: Array<string>
3087
3144
  }
3088
3145
 
3089
3146
  /**
@@ -3456,6 +3513,42 @@ export interface InquiryPriceUpdateInstanceRequest {
3456
3513
  ResourceIdList?: Array<string>
3457
3514
  }
3458
3515
 
3516
+ /**
3517
+ * TerminateClusterNodes请求参数结构体
3518
+ */
3519
+ export interface TerminateClusterNodesRequest {
3520
+ /**
3521
+ * 实例ID
3522
+ */
3523
+ InstanceId: string
3524
+
3525
+ /**
3526
+ * 销毁资源列表
3527
+ */
3528
+ CvmInstanceIds: Array<string>
3529
+
3530
+ /**
3531
+ * 销毁节点类型取值范围:
3532
+ <li>MASTER</li>
3533
+ <li>TASK</li>
3534
+ <li>CORE</li>
3535
+ <li>ROUTER</li>
3536
+ */
3537
+ NodeFlag: string
3538
+
3539
+ /**
3540
+ * 优雅缩容开关
3541
+ <li>true:开启</li>
3542
+ <li>false:不开启</li>
3543
+ */
3544
+ GraceDownFlag?: boolean
3545
+
3546
+ /**
3547
+ * 优雅缩容等待时间,时间范围60到1800 单位秒
3548
+ */
3549
+ GraceDownTime?: number
3550
+ }
3551
+
3459
3552
  /**
3460
3553
  * DescribeInstancesList请求参数结构体
3461
3554
  */
@@ -3550,6 +3643,17 @@ export interface OutterResource {
3550
3643
  InstanceType: string
3551
3644
  }
3552
3645
 
3646
+ /**
3647
+ * 操作范围
3648
+ */
3649
+ export interface OpScope {
3650
+ /**
3651
+ * 操作范围,要操作的服务信息
3652
+ 注意:此字段可能返回 null,表示取不到有效值。
3653
+ */
3654
+ ServiceInfoList?: Array<ServiceBasicRestartInfo>
3655
+ }
3656
+
3553
3657
  /**
3554
3658
  * DeleteUserManagerUserList返回参数结构体
3555
3659
  */
@@ -3906,6 +4010,16 @@ export interface ZoneResourceConfiguration {
3906
4010
  ZoneTag?: string
3907
4011
  }
3908
4012
 
4013
+ /**
4014
+ * SyncPodState请求参数结构体
4015
+ */
4016
+ export interface SyncPodStateRequest {
4017
+ /**
4018
+ * EmrService中pod状态信息
4019
+ */
4020
+ Message: PodState
4021
+ }
4022
+
3909
4023
  /**
3910
4024
  * 用户自建Hive-MetaDB信息
3911
4025
  */
@@ -5151,6 +5265,21 @@ export interface NodeHardwareInfo {
5151
5265
  TradeVersion?: number
5152
5266
  }
5153
5267
 
5268
+ /**
5269
+ * 操作的服务范围
5270
+ */
5271
+ export interface ServiceBasicRestartInfo {
5272
+ /**
5273
+ * 服务名,必填,如HDFS
5274
+ */
5275
+ ServiceName?: string
5276
+
5277
+ /**
5278
+ * 如果没传,则表示所有进程
5279
+ */
5280
+ ComponentInfoList?: Array<ComponentBasicRestartInfo>
5281
+ }
5282
+
5154
5283
  /**
5155
5284
  * ScaleOutCluster返回参数结构体
5156
5285
  */
@@ -505,7 +505,7 @@ callbackinfo包含: 回调地址和签名key
505
505
  }
506
506
 
507
507
  /**
508
- * 创建文件转换任务
508
+ * 上传了word、excel文件后,通过该接口发起文件转换任务,将word、excel文件转换为pdf文件。
509
509
  */
510
510
  async CreateConvertTaskApi(
511
511
  req: CreateConvertTaskApiRequest,
@@ -1535,7 +1535,7 @@ export interface CreateConvertTaskApiResponse {
1535
1535
  /**
1536
1536
  * 转换任务Id
1537
1537
  */
1538
- TaskId: string
1538
+ TaskId?: string
1539
1539
 
1540
1540
  /**
1541
1541
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -245,7 +245,7 @@ export class Client extends AbstractClient {
245
245
  }
246
246
 
247
247
  /**
248
- * 创建文件转换任务
248
+ * 上传了word、excel文件后,通过该接口发起文件转换任务,将word、excel文件转换为pdf文件。
249
249
  */
250
250
  async ChannelCreateConvertTaskApi(
251
251
  req: ChannelCreateConvertTaskApiRequest,
@@ -166,7 +166,7 @@ export interface DeleteProxyGroupRequest {
166
166
  /**
167
167
  * 需要删除的通道组ID。
168
168
  */
169
- GroupId?: string
169
+ GroupId: string
170
170
 
171
171
  /**
172
172
  * 强制删除标识。其中:
@@ -205,6 +205,7 @@ export { tke } from "./tke"
205
205
  export { tkgdq } from "./tkgdq"
206
206
  export { tms } from "./tms"
207
207
  export { tmt } from "./tmt"
208
+ export { tourism } from "./tourism"
208
209
  export { trdp } from "./trdp"
209
210
  export { trp } from "./trp"
210
211
  export { trro } from "./trro"
@@ -33,7 +33,7 @@ import {
33
33
  BatchCreateGroupWithMembersResponse,
34
34
  GetRoomEventResponse,
35
35
  MemberRecord,
36
- DeleteAppCustomContentRequest,
36
+ GetRoomsRequest,
37
37
  BatchAddGroupMemberResponse,
38
38
  ModifyUserProfileResponse,
39
39
  GetWatermarkResponse,
@@ -41,6 +41,7 @@ import {
41
41
  BatchRegisterResponse,
42
42
  BindDocumentToRoomResponse,
43
43
  CreateGroupWithSubGroupRequest,
44
+ RoomItem,
44
45
  SetWatermarkRequest,
45
46
  DescribeRoomRequest,
46
47
  BatchCreateRoomResponse,
@@ -113,7 +114,9 @@ import {
113
114
  DescribeDocumentsByRoomResponse,
114
115
  LoginOriginIdResponse,
115
116
  DescribeQuestionListResponse,
117
+ GetRoomsResponse,
116
118
  QuestionInfo,
119
+ DeleteAppCustomContentRequest,
117
120
  DescribeDeveloperRequest,
118
121
  AppCustomContent,
119
122
  DeleteGroupResponse,
@@ -564,6 +567,16 @@ export class Client extends AbstractClient {
564
567
  return this.request("BatchDeleteRecord", req, cb)
565
568
  }
566
569
 
570
+ /**
571
+ * 获取房间列表
572
+ */
573
+ async GetRooms(
574
+ req: GetRoomsRequest,
575
+ cb?: (error: string, rep: GetRoomsResponse) => void
576
+ ): Promise<GetRoomsResponse> {
577
+ return this.request("GetRooms", req, cb)
578
+ }
579
+
567
580
  /**
568
581
  * 删除房间
569
582
  */
@@ -440,18 +440,34 @@ export interface MemberRecord {
440
440
  }
441
441
 
442
442
  /**
443
- * DeleteAppCustomContent请求参数结构体
443
+ * GetRooms请求参数结构体
444
444
  */
445
- export interface DeleteAppCustomContentRequest {
445
+ export interface GetRoomsRequest {
446
446
  /**
447
- * 应用ID
448
- */
447
+ * 低代码平台的SdkAppId
448
+
449
+ */
449
450
  SdkAppId: number
450
451
 
451
452
  /**
452
- * 指定需要删除的已设置的scene场景自定义元素,如果为空则删除应用下已设置的所有自定义元素。
453
+ * 开始时间。默认以当前时间减去半小时作为开始时间。
453
454
  */
454
- Scenes?: Array<string>
455
+ StartTime?: number
456
+
457
+ /**
458
+ * 结束时间。默认以当前时间加上半小时作为结束时间。
459
+ */
460
+ EndTime?: number
461
+
462
+ /**
463
+ * 分页查询当前页数,从1开始递增
464
+ */
465
+ Page?: number
466
+
467
+ /**
468
+ * 默认是10条
469
+ */
470
+ Limit?: number
455
471
  }
456
472
 
457
473
  /**
@@ -574,6 +590,79 @@ export interface CreateGroupWithSubGroupRequest {
574
590
  TeacherId?: string
575
591
  }
576
592
 
593
+ /**
594
+ * 房间列表
595
+ */
596
+ export interface RoomItem {
597
+ /**
598
+ * 名称
599
+ 注意:此字段可能返回 null,表示取不到有效值。
600
+ */
601
+ Name?: string
602
+
603
+ /**
604
+ * 房间ID
605
+ 注意:此字段可能返回 null,表示取不到有效值。
606
+ */
607
+ RoomId?: number
608
+
609
+ /**
610
+ * 房间状态。0 未开始 ;1进行中 ;2 已结束
611
+ 注意:此字段可能返回 null,表示取不到有效值。
612
+ */
613
+ Status?: number
614
+
615
+ /**
616
+ * 开始时间
617
+ 注意:此字段可能返回 null,表示取不到有效值。
618
+ */
619
+ StartTime?: number
620
+
621
+ /**
622
+ * 结束时间
623
+ 注意:此字段可能返回 null,表示取不到有效值。
624
+ */
625
+ EndTime?: number
626
+
627
+ /**
628
+ * 实际开始时间
629
+ 注意:此字段可能返回 null,表示取不到有效值。
630
+ */
631
+ RealStartTime?: number
632
+
633
+ /**
634
+ * 实际结束时间
635
+ 注意:此字段可能返回 null,表示取不到有效值。
636
+ */
637
+ RealEndTime?: number
638
+
639
+ /**
640
+ * 分辨率。1 标清
641
+ 2 高清
642
+ 3 全高清
643
+ 注意:此字段可能返回 null,表示取不到有效值。
644
+ */
645
+ Resolution?: number
646
+
647
+ /**
648
+ * 最大允许连麦人数
649
+ 注意:此字段可能返回 null,表示取不到有效值。
650
+ */
651
+ MaxRTCMember?: number
652
+
653
+ /**
654
+ * 房间录制地址。已废弃,使用新字段 RecordUrl
655
+ 注意:此字段可能返回 null,表示取不到有效值。
656
+ */
657
+ ReplayUrl?: string
658
+
659
+ /**
660
+ * 录制地址(协议为https)。仅在房间结束后存在。
661
+ 注意:此字段可能返回 null,表示取不到有效值。
662
+ */
663
+ RecordUrl?: string
664
+ }
665
+
577
666
  /**
578
667
  * SetWatermark请求参数结构体
579
668
  */
@@ -2424,6 +2513,26 @@ export interface DescribeQuestionListResponse {
2424
2513
  RequestId?: string
2425
2514
  }
2426
2515
 
2516
+ /**
2517
+ * GetRooms返回参数结构体
2518
+ */
2519
+ export interface GetRoomsResponse {
2520
+ /**
2521
+ * 总数
2522
+ */
2523
+ Total?: number
2524
+
2525
+ /**
2526
+ * 房间列表
2527
+ */
2528
+ Rooms?: Array<RoomItem>
2529
+
2530
+ /**
2531
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2532
+ */
2533
+ RequestId?: string
2534
+ }
2535
+
2427
2536
  /**
2428
2537
  * 房间问答答案详情
2429
2538
  */
@@ -2455,6 +2564,21 @@ export interface QuestionInfo {
2455
2564
  AnswerStats?: Array<AnswerStat>
2456
2565
  }
2457
2566
 
2567
+ /**
2568
+ * DeleteAppCustomContent请求参数结构体
2569
+ */
2570
+ export interface DeleteAppCustomContentRequest {
2571
+ /**
2572
+ * 应用ID。
2573
+ */
2574
+ SdkAppId: number
2575
+
2576
+ /**
2577
+ * 指定需要删除的已设置的scene场景自定义元素,如果为空则删除应用下已设置的所有自定义元素。
2578
+ */
2579
+ Scenes?: Array<string>
2580
+ }
2581
+
2458
2582
  /**
2459
2583
  * DescribeDeveloper请求参数结构体
2460
2584
  */
@@ -168,7 +168,7 @@ export class Client extends AbstractClient {
168
168
  }
169
169
 
170
170
  /**
171
- * 本接口(DescribeClientConnections)用于查询实例客户端连接信息,包括连接IP和连接数量。
171
+ * 本接口(DescribeClientConnections)用于查询实例客户端连接信息,包括连接 IP 和连接数量。
172
172
  */
173
173
  async DescribeClientConnections(
174
174
  req: DescribeClientConnectionsRequest,
@@ -258,7 +258,7 @@ export class Client extends AbstractClient {
258
258
  }
259
259
 
260
260
  /**
261
- * 本接口(CreateAccountUser)用于创建mongodb实例账号。
261
+ * 本接口(CreateAccountUser)用于自定义实例访问账号。
262
262
  */
263
263
  async CreateAccountUser(
264
264
  req: CreateAccountUserRequest,
@@ -419,7 +419,7 @@ export class Client extends AbstractClient {
419
419
  }
420
420
 
421
421
  /**
422
- * 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
422
+ * 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
423
423
  */
424
424
  async DescribeAccountUsers(
425
425
  req: DescribeAccountUsersRequest,