tencentcloud-sdk-nodejs 4.0.359 → 4.0.360
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 +111 -0
- package/SERVICE_CHANGELOG.md +134 -71
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +30 -17
- package/src/services/apigateway/v20180808/apigateway_models.ts +74 -22
- package/src/services/dlc/v20210125/dlc_models.ts +6 -0
- package/src/services/live/v20180801/live_client.ts +15 -2
- package/src/services/live/v20180801/live_models.ts +105 -37
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +2 -1
- package/src/services/ocr/v20181119/ocr_models.ts +28 -3
- package/src/services/teo/v20220106/teo_client.ts +19 -6
- package/src/services/teo/v20220106/teo_models.ts +81 -0
- package/src/services/tiia/v20190529/tiia_client.ts +17 -10
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +10 -6
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +13 -7
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +65 -20
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +5 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +5 -1
- package/tencentcloud/services/live/v20180801/live_client.js +6 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +91 -32
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +24 -3
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +7 -3
- package/tencentcloud/services/teo/v20220106/teo_client.js +9 -3
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +69 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +17 -10
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +17 -10
- package/test/apigateway.v20180808.test.js +14 -4
- package/test/live.v20180801.test.js +10 -0
- package/test/teo.v20220106.test.js +12 -2
|
@@ -309,28 +309,18 @@ export interface UnReleaseServiceRequest {
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
*
|
|
312
|
+
* DescribeExclusiveInstancesStatus返回参数结构体
|
|
313
313
|
*/
|
|
314
|
-
export interface
|
|
315
|
-
/**
|
|
316
|
-
* 要解绑的API网关插件ID。
|
|
317
|
-
*/
|
|
318
|
-
PluginId: string
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* 要操作的服务ID。
|
|
322
|
-
*/
|
|
323
|
-
ServiceId: string
|
|
324
|
-
|
|
314
|
+
export interface DescribeExclusiveInstancesStatusResponse {
|
|
325
315
|
/**
|
|
326
|
-
*
|
|
316
|
+
* 独享实例列表查询结果
|
|
327
317
|
*/
|
|
328
|
-
|
|
318
|
+
Result: InstanceSummary
|
|
329
319
|
|
|
330
320
|
/**
|
|
331
|
-
*
|
|
321
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
332
322
|
*/
|
|
333
|
-
|
|
323
|
+
RequestId?: string
|
|
334
324
|
}
|
|
335
325
|
|
|
336
326
|
/**
|
|
@@ -2233,18 +2223,28 @@ export interface DescribePluginRequest {
|
|
|
2233
2223
|
}
|
|
2234
2224
|
|
|
2235
2225
|
/**
|
|
2236
|
-
*
|
|
2226
|
+
* DetachPlugin请求参数结构体
|
|
2237
2227
|
*/
|
|
2238
|
-
export interface
|
|
2228
|
+
export interface DetachPluginRequest {
|
|
2239
2229
|
/**
|
|
2240
|
-
*
|
|
2230
|
+
* 要解绑的API网关插件ID。
|
|
2241
2231
|
*/
|
|
2242
|
-
|
|
2232
|
+
PluginId: string
|
|
2243
2233
|
|
|
2244
2234
|
/**
|
|
2245
|
-
*
|
|
2235
|
+
* 要操作的服务ID。
|
|
2246
2236
|
*/
|
|
2247
|
-
|
|
2237
|
+
ServiceId: string
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* 要操作API的环境。
|
|
2241
|
+
*/
|
|
2242
|
+
EnvironmentName: string
|
|
2243
|
+
|
|
2244
|
+
/**
|
|
2245
|
+
* 要解绑的API ID。
|
|
2246
|
+
*/
|
|
2247
|
+
ApiId: string
|
|
2248
2248
|
}
|
|
2249
2249
|
|
|
2250
2250
|
/**
|
|
@@ -2914,6 +2914,23 @@ export interface ResponseErrorCodeReq {
|
|
|
2914
2914
|
NeedConvert?: boolean
|
|
2915
2915
|
}
|
|
2916
2916
|
|
|
2917
|
+
/**
|
|
2918
|
+
* 专享查询列表
|
|
2919
|
+
*/
|
|
2920
|
+
export interface InstanceSummary {
|
|
2921
|
+
/**
|
|
2922
|
+
* 专享实例总数
|
|
2923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2924
|
+
*/
|
|
2925
|
+
TotalCount: number
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* 专享实例列表
|
|
2929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2930
|
+
*/
|
|
2931
|
+
InstanceSet: Array<InstanceInfo>
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2917
2934
|
/**
|
|
2918
2935
|
* CreateService请求参数结构体
|
|
2919
2936
|
*/
|
|
@@ -5645,6 +5662,21 @@ export interface ModifyServiceEnvironmentStrategyRequest {
|
|
|
5645
5662
|
EnvironmentNames: Array<string>
|
|
5646
5663
|
}
|
|
5647
5664
|
|
|
5665
|
+
/**
|
|
5666
|
+
* api文档下载
|
|
5667
|
+
*/
|
|
5668
|
+
export interface DocumentSDK {
|
|
5669
|
+
/**
|
|
5670
|
+
* 生成的 document 会存放到 COS 中,此出参返回产生文件的下载链接。
|
|
5671
|
+
*/
|
|
5672
|
+
DocumentURL: string
|
|
5673
|
+
|
|
5674
|
+
/**
|
|
5675
|
+
* 生成的 SDK 会存放到 COS 中,此出参返回产生 SDK 文件的下载链接。
|
|
5676
|
+
*/
|
|
5677
|
+
SdkURL: string
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5648
5680
|
/**
|
|
5649
5681
|
* CreateAPIDoc请求参数结构体
|
|
5650
5682
|
*/
|
|
@@ -7390,6 +7422,26 @@ export interface UpdateApiAppKeyResponse {
|
|
|
7390
7422
|
RequestId?: string
|
|
7391
7423
|
}
|
|
7392
7424
|
|
|
7425
|
+
/**
|
|
7426
|
+
* DescribeExclusiveInstancesStatus请求参数结构体
|
|
7427
|
+
*/
|
|
7428
|
+
export interface DescribeExclusiveInstancesStatusRequest {
|
|
7429
|
+
/**
|
|
7430
|
+
* 分页查询,limit
|
|
7431
|
+
*/
|
|
7432
|
+
Limit: number
|
|
7433
|
+
|
|
7434
|
+
/**
|
|
7435
|
+
* 分页查询,offset
|
|
7436
|
+
*/
|
|
7437
|
+
Offset: number
|
|
7438
|
+
|
|
7439
|
+
/**
|
|
7440
|
+
* 过滤条件
|
|
7441
|
+
*/
|
|
7442
|
+
Filters?: Array<Filter>
|
|
7443
|
+
}
|
|
7444
|
+
|
|
7393
7445
|
/**
|
|
7394
7446
|
* 独享实例详情
|
|
7395
7447
|
*/
|
|
@@ -1902,6 +1902,12 @@ string|tinyint|smallint|int|bigint|boolean|float|double|decimal|timestamp|date|b
|
|
|
1902
1902
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1903
1903
|
*/
|
|
1904
1904
|
ModifiedTime?: string
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* 是否为分区字段
|
|
1908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1909
|
+
*/
|
|
1910
|
+
IsPartition?: boolean
|
|
1905
1911
|
}
|
|
1906
1912
|
|
|
1907
1913
|
/**
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
ConcurrentRecordStreamNum,
|
|
56
56
|
DescribeStreamPlayInfoListResponse,
|
|
57
57
|
DescribeScreenShotSheetNumListResponse,
|
|
58
|
+
ForbidLiveStreamResponse,
|
|
58
59
|
DescribeLiveCertRequest,
|
|
59
60
|
CreateLivePullStreamTaskResponse,
|
|
60
61
|
ModifyLivePushAuthKeyRequest,
|
|
@@ -126,9 +127,11 @@ import {
|
|
|
126
127
|
ModifyLivePlayDomainResponse,
|
|
127
128
|
CancelCommonMixStreamResponse,
|
|
128
129
|
DescribeConcurrentRecordStreamNumResponse,
|
|
130
|
+
DescribeLiveTimeShiftBillInfoListRequest,
|
|
129
131
|
RecordTask,
|
|
130
132
|
DescribeLiveCertsResponse,
|
|
131
133
|
CommonMixInputParam,
|
|
134
|
+
WatermarkInfo,
|
|
132
135
|
DescribeProvinceIspPlayInfoListResponse,
|
|
133
136
|
DescribeLiveRecordTemplatesResponse,
|
|
134
137
|
DescribeScreenshotTaskRequest,
|
|
@@ -192,7 +195,7 @@ import {
|
|
|
192
195
|
DescribeStreamPushInfoListResponse,
|
|
193
196
|
DescribeLiveStreamPushInfoListRequest,
|
|
194
197
|
DescribeLiveWatermarksResponse,
|
|
195
|
-
|
|
198
|
+
TimeShiftBillData,
|
|
196
199
|
DescribeLiveForbidStreamListRequest,
|
|
197
200
|
DescribeLiveDomainPlayInfoListRequest,
|
|
198
201
|
CreatePullStreamConfigResponse,
|
|
@@ -213,7 +216,7 @@ import {
|
|
|
213
216
|
SnapshotTemplateInfo,
|
|
214
217
|
DeleteLiveSnapshotRuleResponse,
|
|
215
218
|
CreateLiveRecordRequest,
|
|
216
|
-
|
|
219
|
+
DescribeLiveTimeShiftBillInfoListResponse,
|
|
217
220
|
BandwidthInfo,
|
|
218
221
|
DescribeLogDownloadListResponse,
|
|
219
222
|
CancelCommonMixStreamRequest,
|
|
@@ -1262,6 +1265,16 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
|
|
|
1262
1265
|
return this.request("DescribePlayErrorCodeDetailInfoList", req, cb)
|
|
1263
1266
|
}
|
|
1264
1267
|
|
|
1268
|
+
/**
|
|
1269
|
+
* 提供给客户对账,按天统计,维度:推流域名、时移文件时长(累加)、配置天数(不累加)、时移总时长(累加)。
|
|
1270
|
+
*/
|
|
1271
|
+
async DescribeLiveTimeShiftBillInfoList(
|
|
1272
|
+
req: DescribeLiveTimeShiftBillInfoListRequest,
|
|
1273
|
+
cb?: (error: string, rep: DescribeLiveTimeShiftBillInfoListResponse) => void
|
|
1274
|
+
): Promise<DescribeLiveTimeShiftBillInfoListResponse> {
|
|
1275
|
+
return this.request("DescribeLiveTimeShiftBillInfoList", req, cb)
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1265
1278
|
/**
|
|
1266
1279
|
* 返回已经推过流的流列表。<br>
|
|
1267
1280
|
注意:分页最多支持查询1万条记录,可通过调整查询时间范围来获取更多数据。
|
|
@@ -1022,6 +1022,16 @@ export interface DescribeScreenShotSheetNumListResponse {
|
|
|
1022
1022
|
RequestId?: string
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
+
/**
|
|
1026
|
+
* ForbidLiveStream返回参数结构体
|
|
1027
|
+
*/
|
|
1028
|
+
export interface ForbidLiveStreamResponse {
|
|
1029
|
+
/**
|
|
1030
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1031
|
+
*/
|
|
1032
|
+
RequestId?: string
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1025
1035
|
/**
|
|
1026
1036
|
* DescribeLiveCert请求参数结构体
|
|
1027
1037
|
*/
|
|
@@ -2931,6 +2941,34 @@ export interface DescribeConcurrentRecordStreamNumResponse {
|
|
|
2931
2941
|
RequestId?: string
|
|
2932
2942
|
}
|
|
2933
2943
|
|
|
2944
|
+
/**
|
|
2945
|
+
* DescribeLiveTimeShiftBillInfoList请求参数结构体
|
|
2946
|
+
*/
|
|
2947
|
+
export interface DescribeLiveTimeShiftBillInfoListRequest {
|
|
2948
|
+
/**
|
|
2949
|
+
* UTC开始时间,支持最近三个月的查询,查询时间最长跨度为一个月。
|
|
2950
|
+
|
|
2951
|
+
使用 UTC 格式时间,
|
|
2952
|
+
例如:2019-01-08T10:00:00Z。
|
|
2953
|
+
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
2954
|
+
*/
|
|
2955
|
+
StartTime: string
|
|
2956
|
+
|
|
2957
|
+
/**
|
|
2958
|
+
* UTC结束时间,支持最近三个月的查询,查询时间最长跨度为一个月。
|
|
2959
|
+
|
|
2960
|
+
使用 UTC 格式时间,
|
|
2961
|
+
例如:2019-01-08T10:00:00Z。
|
|
2962
|
+
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
2963
|
+
*/
|
|
2964
|
+
EndTime: string
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* 推流域名列表,若不传递此参数,则表示查询总体数据。
|
|
2968
|
+
*/
|
|
2969
|
+
PushDomains?: Array<string>
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2934
2972
|
/**
|
|
2935
2973
|
* 录制任务
|
|
2936
2974
|
*/
|
|
@@ -3013,6 +3051,56 @@ export interface CommonMixInputParam {
|
|
|
3013
3051
|
CropParams?: CommonMixCropParams
|
|
3014
3052
|
}
|
|
3015
3053
|
|
|
3054
|
+
/**
|
|
3055
|
+
* 水印信息。
|
|
3056
|
+
*/
|
|
3057
|
+
export interface WatermarkInfo {
|
|
3058
|
+
/**
|
|
3059
|
+
* 水印 ID。
|
|
3060
|
+
*/
|
|
3061
|
+
WatermarkId: number
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* 水印图片 URL。
|
|
3065
|
+
*/
|
|
3066
|
+
PictureUrl: string
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* 显示位置,X 轴偏移。
|
|
3070
|
+
*/
|
|
3071
|
+
XPosition: number
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* 显示位置,Y 轴偏移。
|
|
3075
|
+
*/
|
|
3076
|
+
YPosition: number
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* 水印名称。
|
|
3080
|
+
*/
|
|
3081
|
+
WatermarkName: string
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* 当前状态。0:未使用,1:使用中。
|
|
3085
|
+
*/
|
|
3086
|
+
Status: number
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* 添加时间。
|
|
3090
|
+
*/
|
|
3091
|
+
CreateTime: string
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* 水印宽。
|
|
3095
|
+
*/
|
|
3096
|
+
Width: number
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* 水印高。
|
|
3100
|
+
*/
|
|
3101
|
+
Height: number
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3016
3104
|
/**
|
|
3017
3105
|
* DescribeProvinceIspPlayInfoList返回参数结构体
|
|
3018
3106
|
*/
|
|
@@ -4827,53 +4915,28 @@ export interface DescribeLiveWatermarksResponse {
|
|
|
4827
4915
|
}
|
|
4828
4916
|
|
|
4829
4917
|
/**
|
|
4830
|
-
*
|
|
4918
|
+
* 时移计费明细数据。
|
|
4831
4919
|
*/
|
|
4832
|
-
export interface
|
|
4833
|
-
/**
|
|
4834
|
-
* 水印 ID。
|
|
4835
|
-
*/
|
|
4836
|
-
WatermarkId: number
|
|
4837
|
-
|
|
4838
|
-
/**
|
|
4839
|
-
* 水印图片 URL。
|
|
4840
|
-
*/
|
|
4841
|
-
PictureUrl: string
|
|
4842
|
-
|
|
4920
|
+
export interface TimeShiftBillData {
|
|
4843
4921
|
/**
|
|
4844
|
-
*
|
|
4845
|
-
*/
|
|
4846
|
-
XPosition: number
|
|
4847
|
-
|
|
4848
|
-
/**
|
|
4849
|
-
* 显示位置,Y 轴偏移。
|
|
4850
|
-
*/
|
|
4851
|
-
YPosition: number
|
|
4852
|
-
|
|
4853
|
-
/**
|
|
4854
|
-
* 水印名称。
|
|
4855
|
-
*/
|
|
4856
|
-
WatermarkName: string
|
|
4857
|
-
|
|
4858
|
-
/**
|
|
4859
|
-
* 当前状态。0:未使用,1:使用中。
|
|
4922
|
+
* 推流域名。
|
|
4860
4923
|
*/
|
|
4861
|
-
|
|
4924
|
+
Domain: string
|
|
4862
4925
|
|
|
4863
4926
|
/**
|
|
4864
|
-
*
|
|
4927
|
+
* 时移时长,单位分钟。
|
|
4865
4928
|
*/
|
|
4866
|
-
|
|
4929
|
+
Duration: number
|
|
4867
4930
|
|
|
4868
4931
|
/**
|
|
4869
|
-
*
|
|
4932
|
+
* 时移配置天数,单位天。
|
|
4870
4933
|
*/
|
|
4871
|
-
|
|
4934
|
+
StoragePeriod: number
|
|
4872
4935
|
|
|
4873
4936
|
/**
|
|
4874
|
-
*
|
|
4937
|
+
* 时间点,格式: yyyy-mm-ddTHH:MM:SSZ。
|
|
4875
4938
|
*/
|
|
4876
|
-
|
|
4939
|
+
Time: string
|
|
4877
4940
|
}
|
|
4878
4941
|
|
|
4879
4942
|
/**
|
|
@@ -5453,9 +5516,14 @@ eg. record_interval=3600&storage_time=2592000。
|
|
|
5453
5516
|
}
|
|
5454
5517
|
|
|
5455
5518
|
/**
|
|
5456
|
-
*
|
|
5519
|
+
* DescribeLiveTimeShiftBillInfoList返回参数结构体
|
|
5457
5520
|
*/
|
|
5458
|
-
export interface
|
|
5521
|
+
export interface DescribeLiveTimeShiftBillInfoListResponse {
|
|
5522
|
+
/**
|
|
5523
|
+
* 时移计费明细数据。
|
|
5524
|
+
*/
|
|
5525
|
+
DataInfoList: Array<TimeShiftBillData>
|
|
5526
|
+
|
|
5459
5527
|
/**
|
|
5460
5528
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5461
5529
|
*/
|
|
@@ -3295,7 +3295,7 @@ export interface DescribeAlarmHistoriesRequest {
|
|
|
3295
3295
|
EndTime?: number
|
|
3296
3296
|
|
|
3297
3297
|
/**
|
|
3298
|
-
*
|
|
3298
|
+
* 根据监控类型过滤,不选默认查所有类型。"MT_QCE"=云产品监控,支持的枚举值有:"MT_QCE"=云产品监控;"MT_TAW"=应用性能观测;"MT_RUM"=前端性能监控;"MT_PROBE"=云拨测
|
|
3299
3299
|
*/
|
|
3300
3300
|
MonitorTypes?: Array<string>
|
|
3301
3301
|
|
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
VehicleRegCertInfo,
|
|
52
52
|
VehicleLicenseOCRRequest,
|
|
53
53
|
EnterpriseLicenseOCRResponse,
|
|
54
|
+
SealInfo,
|
|
54
55
|
RecognizePhilippinesVoteIDOCRRequest,
|
|
55
56
|
InvoiceGeneralInfo,
|
|
56
57
|
WordCoordPoint,
|
|
@@ -911,7 +912,7 @@ export class Client extends AbstractClient {
|
|
|
911
912
|
}
|
|
912
913
|
|
|
913
914
|
/**
|
|
914
|
-
*
|
|
915
|
+
* 本接口支持各类印章识别,包括发票章,财务章等,适用于公文,票据等场景。
|
|
915
916
|
*/
|
|
916
917
|
async SealOCR(
|
|
917
918
|
req: SealOCRRequest,
|
|
@@ -1162,6 +1162,26 @@ export interface EnterpriseLicenseOCRResponse {
|
|
|
1162
1162
|
RequestId?: string
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
|
+
/**
|
|
1166
|
+
* 印章信息
|
|
1167
|
+
*/
|
|
1168
|
+
export interface SealInfo {
|
|
1169
|
+
/**
|
|
1170
|
+
* 印章主体内容
|
|
1171
|
+
*/
|
|
1172
|
+
SealBody: string
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* 印章坐标
|
|
1176
|
+
*/
|
|
1177
|
+
Location: Rect
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* 印章其它文本内容
|
|
1181
|
+
*/
|
|
1182
|
+
OtherTexts: Array<string>
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1165
1185
|
/**
|
|
1166
1186
|
* RecognizePhilippinesVoteIDOCR请求参数结构体
|
|
1167
1187
|
*/
|
|
@@ -4764,17 +4784,22 @@ export interface SealOCRResponse {
|
|
|
4764
4784
|
/**
|
|
4765
4785
|
* 印章内容
|
|
4766
4786
|
*/
|
|
4767
|
-
SealBody
|
|
4787
|
+
SealBody: string
|
|
4768
4788
|
|
|
4769
4789
|
/**
|
|
4770
4790
|
* 印章坐标
|
|
4771
4791
|
*/
|
|
4772
|
-
Location
|
|
4792
|
+
Location: Rect
|
|
4773
4793
|
|
|
4774
4794
|
/**
|
|
4775
4795
|
* 其它文本内容
|
|
4776
4796
|
*/
|
|
4777
|
-
OtherTexts
|
|
4797
|
+
OtherTexts: Array<string>
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
* 全部印章信息
|
|
4801
|
+
*/
|
|
4802
|
+
SealInfos: Array<SealInfo>
|
|
4778
4803
|
|
|
4779
4804
|
/**
|
|
4780
4805
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -53,6 +53,7 @@ import {
|
|
|
53
53
|
Origin,
|
|
54
54
|
ModifyZoneStatusResponse,
|
|
55
55
|
DescribeSecurityPolicyManagedRulesRequest,
|
|
56
|
+
DescribeSecurityPortraitRulesRequest,
|
|
56
57
|
CertSort,
|
|
57
58
|
ModifySecurityPolicyResponse,
|
|
58
59
|
ModifyDDoSPolicyHostRequest,
|
|
@@ -69,6 +70,7 @@ import {
|
|
|
69
70
|
DeleteOriginGroupRequest,
|
|
70
71
|
ModifyHostsCertificateResponse,
|
|
71
72
|
CreateDnsRecordRequest,
|
|
73
|
+
PortraitManagedRuleDetail,
|
|
72
74
|
L7OfflineLog,
|
|
73
75
|
WafRule,
|
|
74
76
|
ApplicationProxyRule,
|
|
@@ -135,6 +137,7 @@ import {
|
|
|
135
137
|
DownloadL7LogsRequest,
|
|
136
138
|
DeleteLoadBalancingResponse,
|
|
137
139
|
CheckCertificateRequest,
|
|
140
|
+
DescribeSecurityPortraitRulesResponse,
|
|
138
141
|
CreateApplicationProxyRuleRequest,
|
|
139
142
|
DescribePrefetchTasksRequest,
|
|
140
143
|
ForceRedirect,
|
|
@@ -341,6 +344,16 @@ export class Client extends AbstractClient {
|
|
|
341
344
|
return this.request("DescribeSecurityPolicyManagedRules", req, cb)
|
|
342
345
|
}
|
|
343
346
|
|
|
347
|
+
/**
|
|
348
|
+
* 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点
|
|
349
|
+
*/
|
|
350
|
+
async ReclaimZone(
|
|
351
|
+
req: ReclaimZoneRequest,
|
|
352
|
+
cb?: (error: string, rep: ReclaimZoneResponse) => void
|
|
353
|
+
): Promise<ReclaimZoneResponse> {
|
|
354
|
+
return this.request("ReclaimZone", req, cb)
|
|
355
|
+
}
|
|
356
|
+
|
|
344
357
|
/**
|
|
345
358
|
* 用于修改域名证书
|
|
346
359
|
*/
|
|
@@ -592,13 +605,13 @@ export class Client extends AbstractClient {
|
|
|
592
605
|
}
|
|
593
606
|
|
|
594
607
|
/**
|
|
595
|
-
*
|
|
608
|
+
* 查询Bot用户画像规则
|
|
596
609
|
*/
|
|
597
|
-
async
|
|
598
|
-
req:
|
|
599
|
-
cb?: (error: string, rep:
|
|
600
|
-
): Promise<
|
|
601
|
-
return this.request("
|
|
610
|
+
async DescribeSecurityPortraitRules(
|
|
611
|
+
req: DescribeSecurityPortraitRulesRequest,
|
|
612
|
+
cb?: (error: string, rep: DescribeSecurityPortraitRulesResponse) => void
|
|
613
|
+
): Promise<DescribeSecurityPortraitRulesResponse> {
|
|
614
|
+
return this.request("DescribeSecurityPortraitRules", req, cb)
|
|
602
615
|
}
|
|
603
616
|
|
|
604
617
|
/**
|
|
@@ -1003,6 +1003,21 @@ export interface DescribeSecurityPolicyManagedRulesRequest {
|
|
|
1003
1003
|
PerPage: number
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
+
/**
|
|
1007
|
+
* DescribeSecurityPortraitRules请求参数结构体
|
|
1008
|
+
*/
|
|
1009
|
+
export interface DescribeSecurityPortraitRulesRequest {
|
|
1010
|
+
/**
|
|
1011
|
+
* 一级域名
|
|
1012
|
+
*/
|
|
1013
|
+
ZoneId: string
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* 子域名/应用名
|
|
1017
|
+
*/
|
|
1018
|
+
Entity: string
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1006
1021
|
/**
|
|
1007
1022
|
* 查询结果排序条件。
|
|
1008
1023
|
*/
|
|
@@ -1365,6 +1380,41 @@ export interface CreateDnsRecordRequest {
|
|
|
1365
1380
|
Priority?: number
|
|
1366
1381
|
}
|
|
1367
1382
|
|
|
1383
|
+
/**
|
|
1384
|
+
* 用户画像规则详情
|
|
1385
|
+
*/
|
|
1386
|
+
export interface PortraitManagedRuleDetail {
|
|
1387
|
+
/**
|
|
1388
|
+
* 规则唯一id
|
|
1389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1390
|
+
*/
|
|
1391
|
+
RuleId?: number
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* 规则的描述
|
|
1395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1396
|
+
*/
|
|
1397
|
+
Description?: string
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* 规则所属类型的名字, botdb(用户画像)
|
|
1401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1402
|
+
*/
|
|
1403
|
+
RuleTypeName?: string
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* 规则内的功能分类Id(扫描器,Bot行为等)
|
|
1407
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1408
|
+
*/
|
|
1409
|
+
ClassificationId?: number
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* 规则当前所属动作状态(block, alg, ...)
|
|
1413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1414
|
+
*/
|
|
1415
|
+
Status?: string
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1368
1418
|
/**
|
|
1369
1419
|
* 离线日志详细信息
|
|
1370
1420
|
*/
|
|
@@ -3148,6 +3198,31 @@ export interface CheckCertificateRequest {
|
|
|
3148
3198
|
PrivateKey: string
|
|
3149
3199
|
}
|
|
3150
3200
|
|
|
3201
|
+
/**
|
|
3202
|
+
* DescribeSecurityPortraitRules返回参数结构体
|
|
3203
|
+
*/
|
|
3204
|
+
export interface DescribeSecurityPortraitRulesResponse {
|
|
3205
|
+
/**
|
|
3206
|
+
* 本次返回的规则数
|
|
3207
|
+
*/
|
|
3208
|
+
Count: number
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* Bot用户画像规则
|
|
3212
|
+
*/
|
|
3213
|
+
Rules: Array<PortraitManagedRuleDetail>
|
|
3214
|
+
|
|
3215
|
+
/**
|
|
3216
|
+
* 总规则数
|
|
3217
|
+
*/
|
|
3218
|
+
Total: number
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3222
|
+
*/
|
|
3223
|
+
RequestId?: string
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3151
3226
|
/**
|
|
3152
3227
|
* CreateApplicationProxyRule请求参数结构体
|
|
3153
3228
|
*/
|
|
@@ -3419,6 +3494,12 @@ export interface BotPortraitRule {
|
|
|
3419
3494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3420
3495
|
*/
|
|
3421
3496
|
DropManagedIds?: Array<number>
|
|
3497
|
+
|
|
3498
|
+
/**
|
|
3499
|
+
* 本功能的开关
|
|
3500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3501
|
+
*/
|
|
3502
|
+
Switch?: string
|
|
3422
3503
|
}
|
|
3423
3504
|
|
|
3424
3505
|
/**
|