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.
- package/CHANGELOG.md +273 -0
- package/SERVICE_CHANGELOG.md +380 -124
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +4 -4
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
- package/src/services/clb/v20180317/clb_models.ts +16 -0
- package/src/services/cls/v20201016/cls_models.ts +22 -0
- package/src/services/cwp/v20180228/cwp_client.ts +13 -0
- package/src/services/cwp/v20180228/cwp_models.ts +249 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +12 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +38 -2
- package/src/services/emr/v20190103/emr_client.ts +28 -1
- package/src/services/emr/v20190103/emr_models.ts +134 -5
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/gaap/v20180529/gaap_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_client.ts +14 -1
- package/src/services/lcic/v20220817/lcic_models.ts +130 -6
- package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +13 -12
- package/src/services/monitor/v20180724/monitor_client.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +59 -0
- package/src/services/ocr/v20181119/ocr_client.ts +25 -6
- package/src/services/ocr/v20181119/ocr_models.ts +282 -159
- package/src/services/rum/v20210622/rum_models.ts +10 -5
- package/src/services/teo/v20220901/teo_models.ts +18 -10
- package/src/services/tke/v20180525/tke_models.ts +5 -5
- package/src/services/tourism/index.ts +5 -0
- package/src/services/tourism/v20230215/index.ts +6 -0
- package/src/services/tourism/v20230215/tourism_client.ts +44 -0
- package/src/services/tourism/v20230215/tourism_models.ts +128 -0
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -4
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +13 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +18 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +5 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +204 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +33 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +9 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +12 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +117 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +110 -5
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +12 -11
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +50 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +245 -137
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +9 -5
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +18 -10
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -5
- package/tencentcloud/services/tourism/index.d.ts +6 -0
- package/tencentcloud/services/tourism/index.js +7 -0
- package/tencentcloud/services/tourism/v20230215/index.d.ts +6 -0
- package/tencentcloud/services/tourism/v20230215/index.js +9 -0
- package/tencentcloud/services/tourism/v20230215/tourism_client.d.ts +14 -0
- package/tencentcloud/services/tourism/v20230215/tourism_client.js +37 -0
- package/tencentcloud/services/tourism/v20230215/tourism_models.d.ts +95 -0
- package/tencentcloud/services/tourism/v20230215/tourism_models.js +18 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/test/cwp.v20180228.test.js +10 -0
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/emr.v20190103.test.js +20 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tourism.v20230215.test.js +31 -0
|
@@ -279,6 +279,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
279
279
|
async BatchDeleteRecord(req, cb) {
|
|
280
280
|
return this.request("BatchDeleteRecord", req, cb);
|
|
281
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* 获取房间列表
|
|
284
|
+
*/
|
|
285
|
+
async GetRooms(req, cb) {
|
|
286
|
+
return this.request("GetRooms", req, cb);
|
|
287
|
+
}
|
|
282
288
|
/**
|
|
283
289
|
* 删除房间
|
|
284
290
|
*/
|
|
@@ -357,17 +357,30 @@ export interface MemberRecord {
|
|
|
357
357
|
PerMemberMessageCount?: number;
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
360
|
+
* GetRooms请求参数结构体
|
|
361
361
|
*/
|
|
362
|
-
export interface
|
|
362
|
+
export interface GetRoomsRequest {
|
|
363
363
|
/**
|
|
364
|
-
*
|
|
364
|
+
* 低代码平台的SdkAppId。
|
|
365
|
+
|
|
365
366
|
*/
|
|
366
367
|
SdkAppId: number;
|
|
367
368
|
/**
|
|
368
|
-
*
|
|
369
|
+
* 开始时间。默认以当前时间减去半小时作为开始时间。
|
|
369
370
|
*/
|
|
370
|
-
|
|
371
|
+
StartTime?: number;
|
|
372
|
+
/**
|
|
373
|
+
* 结束时间。默认以当前时间加上半小时作为结束时间。
|
|
374
|
+
*/
|
|
375
|
+
EndTime?: number;
|
|
376
|
+
/**
|
|
377
|
+
* 分页查询当前页数,从1开始递增
|
|
378
|
+
*/
|
|
379
|
+
Page?: number;
|
|
380
|
+
/**
|
|
381
|
+
* 默认是10条
|
|
382
|
+
*/
|
|
383
|
+
Limit?: number;
|
|
371
384
|
}
|
|
372
385
|
/**
|
|
373
386
|
* BatchAddGroupMember返回参数结构体
|
|
@@ -473,6 +486,68 @@ export interface CreateGroupWithSubGroupRequest {
|
|
|
473
486
|
*/
|
|
474
487
|
TeacherId?: string;
|
|
475
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
* 房间列表
|
|
491
|
+
*/
|
|
492
|
+
export interface RoomItem {
|
|
493
|
+
/**
|
|
494
|
+
* 名称
|
|
495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
496
|
+
*/
|
|
497
|
+
Name?: string;
|
|
498
|
+
/**
|
|
499
|
+
* 房间ID
|
|
500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
501
|
+
*/
|
|
502
|
+
RoomId?: number;
|
|
503
|
+
/**
|
|
504
|
+
* 房间状态。0 未开始 ;1进行中 ;2 已结束
|
|
505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
506
|
+
*/
|
|
507
|
+
Status?: number;
|
|
508
|
+
/**
|
|
509
|
+
* 开始时间
|
|
510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
511
|
+
*/
|
|
512
|
+
StartTime?: number;
|
|
513
|
+
/**
|
|
514
|
+
* 结束时间
|
|
515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
516
|
+
*/
|
|
517
|
+
EndTime?: number;
|
|
518
|
+
/**
|
|
519
|
+
* 实际开始时间
|
|
520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
521
|
+
*/
|
|
522
|
+
RealStartTime?: number;
|
|
523
|
+
/**
|
|
524
|
+
* 实际结束时间
|
|
525
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
526
|
+
*/
|
|
527
|
+
RealEndTime?: number;
|
|
528
|
+
/**
|
|
529
|
+
* 分辨率。1 标清
|
|
530
|
+
2 高清
|
|
531
|
+
3 全高清
|
|
532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
533
|
+
*/
|
|
534
|
+
Resolution?: number;
|
|
535
|
+
/**
|
|
536
|
+
* 最大允许连麦人数
|
|
537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
538
|
+
*/
|
|
539
|
+
MaxRTCMember?: number;
|
|
540
|
+
/**
|
|
541
|
+
* 房间录制地址。已废弃,使用新字段 RecordUrl
|
|
542
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
543
|
+
*/
|
|
544
|
+
ReplayUrl?: string;
|
|
545
|
+
/**
|
|
546
|
+
* 录制地址(协议为https)。仅在房间结束后存在。
|
|
547
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
548
|
+
*/
|
|
549
|
+
RecordUrl?: string;
|
|
550
|
+
}
|
|
476
551
|
/**
|
|
477
552
|
* SetWatermark请求参数结构体
|
|
478
553
|
*/
|
|
@@ -2046,6 +2121,23 @@ export interface DescribeQuestionListResponse {
|
|
|
2046
2121
|
*/
|
|
2047
2122
|
RequestId?: string;
|
|
2048
2123
|
}
|
|
2124
|
+
/**
|
|
2125
|
+
* GetRooms返回参数结构体
|
|
2126
|
+
*/
|
|
2127
|
+
export interface GetRoomsResponse {
|
|
2128
|
+
/**
|
|
2129
|
+
* 总数
|
|
2130
|
+
*/
|
|
2131
|
+
Total?: number;
|
|
2132
|
+
/**
|
|
2133
|
+
* 房间列表
|
|
2134
|
+
*/
|
|
2135
|
+
Rooms?: Array<RoomItem>;
|
|
2136
|
+
/**
|
|
2137
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2138
|
+
*/
|
|
2139
|
+
RequestId?: string;
|
|
2140
|
+
}
|
|
2049
2141
|
/**
|
|
2050
2142
|
* 房间问答答案详情
|
|
2051
2143
|
*/
|
|
@@ -2072,6 +2164,19 @@ export interface QuestionInfo {
|
|
|
2072
2164
|
*/
|
|
2073
2165
|
AnswerStats?: Array<AnswerStat>;
|
|
2074
2166
|
}
|
|
2167
|
+
/**
|
|
2168
|
+
* DeleteAppCustomContent请求参数结构体
|
|
2169
|
+
*/
|
|
2170
|
+
export interface DeleteAppCustomContentRequest {
|
|
2171
|
+
/**
|
|
2172
|
+
* 应用ID。
|
|
2173
|
+
*/
|
|
2174
|
+
SdkAppId: number;
|
|
2175
|
+
/**
|
|
2176
|
+
* 指定需要删除的已设置的scene场景自定义元素,如果为空则删除应用下已设置的所有自定义元素。
|
|
2177
|
+
*/
|
|
2178
|
+
Scenes?: Array<string>;
|
|
2179
|
+
}
|
|
2075
2180
|
/**
|
|
2076
2181
|
* DescribeDeveloper请求参数结构体
|
|
2077
2182
|
*/
|
|
@@ -24,7 +24,7 @@ export declare class Client extends AbstractClient {
|
|
|
24
24
|
*/
|
|
25
25
|
DescribeCurrentOp(req: DescribeCurrentOpRequest, cb?: (error: string, rep: DescribeCurrentOpResponse) => void): Promise<DescribeCurrentOpResponse>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* 本接口(DescribeClientConnections)用于查询实例客户端连接信息,包括连接 IP 和连接数量。
|
|
28
28
|
*/
|
|
29
29
|
DescribeClientConnections(req: DescribeClientConnectionsRequest, cb?: (error: string, rep: DescribeClientConnectionsResponse) => void): Promise<DescribeClientConnectionsResponse>;
|
|
30
30
|
/**
|
|
@@ -60,7 +60,7 @@ export declare class Client extends AbstractClient {
|
|
|
60
60
|
*/
|
|
61
61
|
DescribeAsyncRequestInfo(req: DescribeAsyncRequestInfoRequest, cb?: (error: string, rep: DescribeAsyncRequestInfoResponse) => void): Promise<DescribeAsyncRequestInfoResponse>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* 本接口(CreateAccountUser)用于自定义实例访问账号。
|
|
64
64
|
*/
|
|
65
65
|
CreateAccountUser(req: CreateAccountUserRequest, cb?: (error: string, rep: CreateAccountUserResponse) => void): Promise<CreateAccountUserResponse>;
|
|
66
66
|
/**
|
|
@@ -125,7 +125,7 @@ export declare class Client extends AbstractClient {
|
|
|
125
125
|
*/
|
|
126
126
|
AssignProject(req: AssignProjectRequest, cb?: (error: string, rep: AssignProjectResponse) => void): Promise<AssignProjectResponse>;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
|
|
129
129
|
*/
|
|
130
130
|
DescribeAccountUsers(req: DescribeAccountUsersRequest, cb?: (error: string, rep: DescribeAccountUsersResponse) => void): Promise<DescribeAccountUsersResponse>;
|
|
131
131
|
/**
|
|
@@ -52,7 +52,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
52
52
|
return this.request("DescribeCurrentOp", req, cb);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 本接口(DescribeClientConnections)用于查询实例客户端连接信息,包括连接 IP 和连接数量。
|
|
56
56
|
*/
|
|
57
57
|
async DescribeClientConnections(req, cb) {
|
|
58
58
|
return this.request("DescribeClientConnections", req, cb);
|
|
@@ -106,7 +106,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
106
106
|
return this.request("DescribeAsyncRequestInfo", req, cb);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* 本接口(CreateAccountUser)用于自定义实例访问账号。
|
|
110
110
|
*/
|
|
111
111
|
async CreateAccountUser(req, cb) {
|
|
112
112
|
return this.request("CreateAccountUser", req, cb);
|
|
@@ -203,7 +203,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
203
203
|
return this.request("AssignProject", req, cb);
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
|
|
207
207
|
*/
|
|
208
208
|
async DescribeAccountUsers(req, cb) {
|
|
209
209
|
return this.request("DescribeAccountUsers", req, cb);
|
|
@@ -150,7 +150,7 @@ export interface DescribeCurrentOpResponse {
|
|
|
150
150
|
*/
|
|
151
151
|
export interface DescribeAccountUsersRequest {
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* 指定待获取账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
154
154
|
*/
|
|
155
155
|
InstanceId: string;
|
|
156
156
|
}
|
|
@@ -635,7 +635,7 @@ export interface CreateAccountUserResponse {
|
|
|
635
635
|
/**
|
|
636
636
|
* 创建任务ID。
|
|
637
637
|
*/
|
|
638
|
-
FlowId
|
|
638
|
+
FlowId?: number;
|
|
639
639
|
/**
|
|
640
640
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
641
641
|
*/
|
|
@@ -764,7 +764,7 @@ export interface BackupInfo {
|
|
|
764
764
|
*/
|
|
765
765
|
export interface DescribeDBInstancesRequest {
|
|
766
766
|
/**
|
|
767
|
-
* 实例ID列表。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
767
|
+
* 实例 ID 列表。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
768
768
|
*/
|
|
769
769
|
InstanceIds?: Array<string>;
|
|
770
770
|
/**
|
|
@@ -1031,7 +1031,7 @@ export interface CreateDBInstanceResponse {
|
|
|
1031
1031
|
*/
|
|
1032
1032
|
export interface CreateAccountUserRequest {
|
|
1033
1033
|
/**
|
|
1034
|
-
* 实例 ID。
|
|
1034
|
+
* 实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
1035
1035
|
*/
|
|
1036
1036
|
InstanceId: string;
|
|
1037
1037
|
/**
|
|
@@ -1112,7 +1112,7 @@ export interface DescribeAccountUsersResponse {
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* 实例账号列表。
|
|
1114
1114
|
*/
|
|
1115
|
-
Users
|
|
1115
|
+
Users?: Array<UserInfo>;
|
|
1116
1116
|
/**
|
|
1117
1117
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1118
1118
|
*/
|
|
@@ -1164,13 +1164,13 @@ export interface DescribeBackupDownloadTaskRequest {
|
|
|
1164
1164
|
*/
|
|
1165
1165
|
export interface DescribeClientConnectionsResponse {
|
|
1166
1166
|
/**
|
|
1167
|
-
* 客户端连接信息,包括客户端IP和对应IP的连接数量。
|
|
1167
|
+
* 客户端连接信息,包括客户端 IP 和对应 IP 的连接数量。
|
|
1168
1168
|
*/
|
|
1169
|
-
Clients
|
|
1169
|
+
Clients?: Array<ClientConnection>;
|
|
1170
1170
|
/**
|
|
1171
1171
|
* 满足条件的记录总条数,可用于分页查询。
|
|
1172
1172
|
*/
|
|
1173
|
-
TotalCount
|
|
1173
|
+
TotalCount?: number;
|
|
1174
1174
|
/**
|
|
1175
1175
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1176
1176
|
*/
|
|
@@ -1591,15 +1591,16 @@ export interface DescribeDBBackupsRequest {
|
|
|
1591
1591
|
*/
|
|
1592
1592
|
export interface DescribeClientConnectionsRequest {
|
|
1593
1593
|
/**
|
|
1594
|
-
*
|
|
1594
|
+
* 指定待查询的实例ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
|
1595
|
+
|
|
1595
1596
|
*/
|
|
1596
1597
|
InstanceId: string;
|
|
1597
1598
|
/**
|
|
1598
|
-
*
|
|
1599
|
+
* 单次请求返回的数量。最小值为1,最大值为1000,默认值为1000。
|
|
1599
1600
|
*/
|
|
1600
1601
|
Limit?: number;
|
|
1601
1602
|
/**
|
|
1602
|
-
* 偏移量,默认值为0。
|
|
1603
|
+
* 偏移量,默认值为0。Offset=Limit*(页码-1)。
|
|
1603
1604
|
*/
|
|
1604
1605
|
Offset?: number;
|
|
1605
1606
|
}
|
|
@@ -558,6 +558,21 @@ export interface PrometheusRecordRuleYamlItem {
|
|
|
558
558
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
559
559
|
*/
|
|
560
560
|
ClusterId: string;
|
|
561
|
+
/**
|
|
562
|
+
* 状态
|
|
563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
564
|
+
*/
|
|
565
|
+
Status?: number;
|
|
566
|
+
/**
|
|
567
|
+
* id
|
|
568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
+
*/
|
|
570
|
+
Id?: string;
|
|
571
|
+
/**
|
|
572
|
+
* 规则数量
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
*/
|
|
575
|
+
Count?: number;
|
|
561
576
|
}
|
|
562
577
|
/**
|
|
563
578
|
* k8s中标签,一般以数组的方式存在
|
|
@@ -651,6 +666,11 @@ export interface PrometheusConfigItem {
|
|
|
651
666
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
652
667
|
*/
|
|
653
668
|
TemplateId?: string;
|
|
669
|
+
/**
|
|
670
|
+
* 目标数
|
|
671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
672
|
+
*/
|
|
673
|
+
Targets?: Targets;
|
|
654
674
|
}
|
|
655
675
|
/**
|
|
656
676
|
* 告警策略详情
|
|
@@ -2328,6 +2348,11 @@ export interface DescribePrometheusGlobalConfigResponse {
|
|
|
2328
2348
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2329
2349
|
*/
|
|
2330
2350
|
RawJobs?: Array<PrometheusConfigItem>;
|
|
2351
|
+
/**
|
|
2352
|
+
* Probes列表以及对应targets信息
|
|
2353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2354
|
+
*/
|
|
2355
|
+
Probes?: Array<PrometheusConfigItem>;
|
|
2331
2356
|
/**
|
|
2332
2357
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2333
2358
|
*/
|
|
@@ -6849,6 +6874,31 @@ export interface MetricConfig {
|
|
|
6849
6874
|
*/
|
|
6850
6875
|
ContinuePeriod: Array<number>;
|
|
6851
6876
|
}
|
|
6877
|
+
/**
|
|
6878
|
+
* 抓取目标数
|
|
6879
|
+
*/
|
|
6880
|
+
export interface Targets {
|
|
6881
|
+
/**
|
|
6882
|
+
* 总数
|
|
6883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6884
|
+
*/
|
|
6885
|
+
Total?: number;
|
|
6886
|
+
/**
|
|
6887
|
+
* 在线数
|
|
6888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6889
|
+
*/
|
|
6890
|
+
Up?: number;
|
|
6891
|
+
/**
|
|
6892
|
+
* 不在线数
|
|
6893
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6894
|
+
*/
|
|
6895
|
+
Down?: number;
|
|
6896
|
+
/**
|
|
6897
|
+
* 未知状态数
|
|
6898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6899
|
+
*/
|
|
6900
|
+
Unknown?: number;
|
|
6901
|
+
}
|
|
6852
6902
|
/**
|
|
6853
6903
|
* DescribeAlarmEvents请求参数结构体
|
|
6854
6904
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VerifyBasicBizLicenseResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, QueryBarCodeRequest, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, ImageEnhancementRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -35,6 +35,12 @@ export declare class Client extends AbstractClient {
|
|
|
35
35
|
产品优势:直联中国物品编码中心,查询结果更加准确、可靠。
|
|
36
36
|
*/
|
|
37
37
|
QueryBarCode(req: QueryBarCodeRequest, cb?: (error: string, rep: QueryBarCodeResponse) => void): Promise<QueryBarCodeResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
|
40
|
+
|
|
41
|
+
默认接口请求频率限制:10次/秒。
|
|
42
|
+
*/
|
|
43
|
+
SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
|
|
38
44
|
/**
|
|
39
45
|
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围等关键字段。
|
|
40
46
|
|
|
@@ -63,6 +63,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
63
63
|
async QueryBarCode(req, cb) {
|
|
64
64
|
return this.request("QueryBarCode", req, cb);
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
|
68
|
+
|
|
69
|
+
默认接口请求频率限制:10次/秒。
|
|
70
|
+
*/
|
|
71
|
+
async SmartStructuralOCRV2(req, cb) {
|
|
72
|
+
return this.request("SmartStructuralOCRV2", req, cb);
|
|
73
|
+
}
|
|
66
74
|
/**
|
|
67
75
|
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围等关键字段。
|
|
68
76
|
|