tencentcloud-sdk-nodejs 4.0.666 → 4.0.668
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 +335 -0
- package/SERVICE_CHANGELOG.md +342 -61
- package/package.json +1 -1
- package/products.md +118 -118
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +8 -4
- package/src/services/cam/v20190116/cam_models.ts +11 -11
- package/src/services/cdb/v20170320/cdb_client.ts +13 -30
- package/src/services/cdb/v20170320/cdb_models.ts +1 -55
- package/src/services/cls/v20201016/cls_client.ts +4 -2
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +5 -3
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/ecm/v20190719/ecm_models.ts +4 -0
- package/src/services/ess/v20201111/ess_client.ts +2 -3
- package/src/services/ess/v20201111/ess_models.ts +108 -140
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +55 -27
- package/src/services/faceid/v20180301/faceid_client.ts +6 -3
- package/src/services/faceid/v20180301/faceid_models.ts +114 -33
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +24 -12
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +56 -0
- package/src/services/lcic/v20220817/lcic_client.ts +15 -3
- package/src/services/lcic/v20220817/lcic_models.ts +32 -12
- package/src/services/mps/v20190612/mps_client.ts +1 -0
- package/src/services/mps/v20190612/mps_models.ts +45 -13
- package/src/services/ms/v20180408/ms_client.ts +127 -91
- package/src/services/ms/v20180408/ms_models.ts +145 -8
- package/src/services/nlp/v20190408/nlp_client.ts +15 -0
- package/src/services/nlp/v20190408/nlp_models.ts +117 -0
- package/src/services/privatedns/v20201028/privatedns_models.ts +5 -5
- package/src/services/redis/v20180412/redis_models.ts +89 -65
- package/src/services/ssa/v20180608/ssa_models.ts +2 -2
- package/src/services/tione/v20211111/tione_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +5 -1
- package/src/services/wedata/v20210820/wedata_models.ts +5 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -4
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +11 -11
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -13
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -16
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -52
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +2 -0
- package/tencentcloud/services/cls/v20201016/cls_client.js +2 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +5 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +0 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +0 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +108 -140
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +54 -27
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +111 -33
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +9 -5
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +12 -6
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +54 -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 +30 -12
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +44 -13
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +51 -39
- package/tencentcloud/services/ms/v20180408/ms_client.js +72 -54
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +139 -8
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +5 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +6 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +112 -0
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +5 -5
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +89 -65
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +2 -2
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +5 -1
- package/test/cdb.v20170320.test.js +4 -14
- package/test/iotvideo.v20211125.test.js +14 -4
- package/test/lcic.v20220817.test.js +10 -0
- package/test/ms.v20180408.test.js +66 -36
- package/test/nlp.v20190408.test.js +10 -0
|
@@ -191,6 +191,16 @@ export interface DeleteSupervisorRequest {
|
|
|
191
191
|
Users: Array<string>
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
/**
|
|
195
|
+
* DeleteUser请求参数结构体
|
|
196
|
+
*/
|
|
197
|
+
export interface DeleteUserRequest {
|
|
198
|
+
/**
|
|
199
|
+
* 待删除用户的ID
|
|
200
|
+
*/
|
|
201
|
+
UserId: string
|
|
202
|
+
}
|
|
203
|
+
|
|
194
204
|
/**
|
|
195
205
|
* DescribeSupervisors返回参数结构体
|
|
196
206
|
*/
|
|
@@ -218,9 +228,9 @@ export interface DescribeSupervisorsResponse {
|
|
|
218
228
|
}
|
|
219
229
|
|
|
220
230
|
/**
|
|
221
|
-
*
|
|
231
|
+
* DeleteUser返回参数结构体
|
|
222
232
|
*/
|
|
223
|
-
export interface
|
|
233
|
+
export interface DeleteUserResponse {
|
|
224
234
|
/**
|
|
225
235
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
226
236
|
*/
|
|
@@ -971,6 +981,16 @@ export interface DescribeAppDetailRequest {
|
|
|
971
981
|
DeveloperId: string
|
|
972
982
|
}
|
|
973
983
|
|
|
984
|
+
/**
|
|
985
|
+
* KickUserFromRoom返回参数结构体
|
|
986
|
+
*/
|
|
987
|
+
export interface KickUserFromRoomResponse {
|
|
988
|
+
/**
|
|
989
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
990
|
+
*/
|
|
991
|
+
RequestId?: string
|
|
992
|
+
}
|
|
993
|
+
|
|
974
994
|
/**
|
|
975
995
|
* DeleteGroup请求参数结构体
|
|
976
996
|
*/
|
|
@@ -2115,21 +2135,17 @@ export interface MessageList {
|
|
|
2115
2135
|
}
|
|
2116
2136
|
|
|
2117
2137
|
/**
|
|
2118
|
-
*
|
|
2138
|
+
* DescribeGroup请求参数结构体
|
|
2119
2139
|
*/
|
|
2120
|
-
export interface
|
|
2140
|
+
export interface DescribeGroupRequest {
|
|
2121
2141
|
/**
|
|
2122
|
-
* 群组ID
|
|
2142
|
+
* 群组ID
|
|
2123
2143
|
*/
|
|
2124
2144
|
GroupId: string
|
|
2125
2145
|
/**
|
|
2126
2146
|
* 低代码平台应用ID
|
|
2127
2147
|
*/
|
|
2128
2148
|
SdkAppId: number
|
|
2129
|
-
/**
|
|
2130
|
-
* 成员列表,最大值200
|
|
2131
|
-
*/
|
|
2132
|
-
MemberIds: Array<string>
|
|
2133
2149
|
}
|
|
2134
2150
|
|
|
2135
2151
|
/**
|
|
@@ -2824,17 +2840,21 @@ export interface BatchCreateGroupWithMembersRequest {
|
|
|
2824
2840
|
}
|
|
2825
2841
|
|
|
2826
2842
|
/**
|
|
2827
|
-
*
|
|
2843
|
+
* DeleteGroupMember请求参数结构体
|
|
2828
2844
|
*/
|
|
2829
|
-
export interface
|
|
2845
|
+
export interface DeleteGroupMemberRequest {
|
|
2830
2846
|
/**
|
|
2831
|
-
* 群组ID
|
|
2847
|
+
* 群组ID,联合群组无法删除群组成员
|
|
2832
2848
|
*/
|
|
2833
2849
|
GroupId: string
|
|
2834
2850
|
/**
|
|
2835
2851
|
* 低代码平台应用ID
|
|
2836
2852
|
*/
|
|
2837
2853
|
SdkAppId: number
|
|
2854
|
+
/**
|
|
2855
|
+
* 成员列表,最大值200
|
|
2856
|
+
*/
|
|
2857
|
+
MemberIds: Array<string>
|
|
2838
2858
|
}
|
|
2839
2859
|
|
|
2840
2860
|
/**
|
|
@@ -199,6 +199,11 @@ export interface OverrideTranscodeParameter {
|
|
|
199
199
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
200
|
*/
|
|
201
201
|
StdExtInfo?: string
|
|
202
|
+
/**
|
|
203
|
+
* 要插入的字幕文件。
|
|
204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
205
|
+
*/
|
|
206
|
+
AddOnSubtitles?: Array<AddOnSubtitle>
|
|
202
207
|
}
|
|
203
208
|
|
|
204
209
|
/**
|
|
@@ -8735,18 +8740,22 @@ export interface UserDefineConfigureInfoForUpdate {
|
|
|
8735
8740
|
export interface S3OutputStorage {
|
|
8736
8741
|
/**
|
|
8737
8742
|
* S3 bucket。
|
|
8743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8738
8744
|
*/
|
|
8739
8745
|
S3Bucket: string
|
|
8740
8746
|
/**
|
|
8741
8747
|
* S3 bucket 对应的区域。
|
|
8748
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8742
8749
|
*/
|
|
8743
8750
|
S3Region: string
|
|
8744
8751
|
/**
|
|
8745
8752
|
* AWS 内网上传 媒体资源的秘钥id。
|
|
8753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8746
8754
|
*/
|
|
8747
8755
|
S3SecretId?: string
|
|
8748
8756
|
/**
|
|
8749
8757
|
* AWS 内网上传 媒体资源的秘钥key。
|
|
8758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8750
8759
|
*/
|
|
8751
8760
|
S3SecretKey?: string
|
|
8752
8761
|
}
|
|
@@ -9801,6 +9810,11 @@ export interface AdaptiveDynamicStreamingTaskInput {
|
|
|
9801
9810
|
* 转自适应码流(仅 HLS)后,分片文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`。
|
|
9802
9811
|
*/
|
|
9803
9812
|
SegmentObjectName?: string
|
|
9813
|
+
/**
|
|
9814
|
+
* 要插入的字幕文件。
|
|
9815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9816
|
+
*/
|
|
9817
|
+
AddOnSubtitles?: Array<AddOnSubtitle>
|
|
9804
9818
|
}
|
|
9805
9819
|
|
|
9806
9820
|
/**
|
|
@@ -10618,43 +10632,43 @@ export interface MediaVideoStreamItem {
|
|
|
10618
10632
|
/**
|
|
10619
10633
|
* 视频流的码率,单位:bps。
|
|
10620
10634
|
*/
|
|
10621
|
-
Bitrate
|
|
10635
|
+
Bitrate?: number
|
|
10622
10636
|
/**
|
|
10623
10637
|
* 视频流的高度,单位:px。
|
|
10624
10638
|
*/
|
|
10625
|
-
Height
|
|
10639
|
+
Height?: number
|
|
10626
10640
|
/**
|
|
10627
10641
|
* 视频流的宽度,单位:px。
|
|
10628
10642
|
*/
|
|
10629
|
-
Width
|
|
10643
|
+
Width?: number
|
|
10630
10644
|
/**
|
|
10631
10645
|
* 视频流的编码格式,例如 h264。
|
|
10632
10646
|
*/
|
|
10633
|
-
Codec
|
|
10647
|
+
Codec?: string
|
|
10634
10648
|
/**
|
|
10635
10649
|
* 帧率,单位:hz。
|
|
10636
10650
|
*/
|
|
10637
|
-
Fps
|
|
10651
|
+
Fps?: number
|
|
10638
10652
|
/**
|
|
10639
10653
|
* 色彩空间。
|
|
10640
10654
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10641
10655
|
*/
|
|
10642
|
-
ColorPrimaries
|
|
10656
|
+
ColorPrimaries?: string
|
|
10643
10657
|
/**
|
|
10644
10658
|
* 色彩空间。
|
|
10645
10659
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10646
10660
|
*/
|
|
10647
|
-
ColorSpace
|
|
10661
|
+
ColorSpace?: string
|
|
10648
10662
|
/**
|
|
10649
10663
|
* 色彩空间。
|
|
10650
10664
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10651
10665
|
*/
|
|
10652
|
-
ColorTransfer
|
|
10666
|
+
ColorTransfer?: string
|
|
10653
10667
|
/**
|
|
10654
10668
|
* HDR类型。
|
|
10655
10669
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10656
10670
|
*/
|
|
10657
|
-
HdrType
|
|
10671
|
+
HdrType?: string
|
|
10658
10672
|
/**
|
|
10659
10673
|
* 视频Codecs。
|
|
10660
10674
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -10993,20 +11007,20 @@ export interface MediaAudioStreamItem {
|
|
|
10993
11007
|
/**
|
|
10994
11008
|
* 音频流的码率,单位:bps。
|
|
10995
11009
|
*/
|
|
10996
|
-
Bitrate
|
|
11010
|
+
Bitrate?: number
|
|
10997
11011
|
/**
|
|
10998
11012
|
* 音频流的采样率,单位:hz。
|
|
10999
11013
|
*/
|
|
11000
|
-
SamplingRate
|
|
11014
|
+
SamplingRate?: number
|
|
11001
11015
|
/**
|
|
11002
11016
|
* 音频流的编码格式,例如 aac。
|
|
11003
11017
|
*/
|
|
11004
|
-
Codec
|
|
11018
|
+
Codec?: string
|
|
11005
11019
|
/**
|
|
11006
11020
|
* 音频声道数,例如 2。
|
|
11007
11021
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11008
11022
|
*/
|
|
11009
|
-
Channel
|
|
11023
|
+
Channel?: number
|
|
11010
11024
|
/**
|
|
11011
11025
|
* 音频Codecs。
|
|
11012
11026
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -11239,6 +11253,24 @@ export interface DescribeWordSamplesRequest {
|
|
|
11239
11253
|
Limit?: number
|
|
11240
11254
|
}
|
|
11241
11255
|
|
|
11256
|
+
/**
|
|
11257
|
+
* 外挂字幕。
|
|
11258
|
+
*/
|
|
11259
|
+
export interface AddOnSubtitle {
|
|
11260
|
+
/**
|
|
11261
|
+
* 插入形式,可选值:
|
|
11262
|
+
<li>subtitle-stream:插入字幕轨道</li>
|
|
11263
|
+
<li>close-caption:编码到SEI帧</li>
|
|
11264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11265
|
+
*/
|
|
11266
|
+
Type?: string
|
|
11267
|
+
/**
|
|
11268
|
+
* 字幕文件。
|
|
11269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11270
|
+
*/
|
|
11271
|
+
Subtitle?: MediaInputInfo
|
|
11272
|
+
}
|
|
11273
|
+
|
|
11242
11274
|
/**
|
|
11243
11275
|
* Aws SQS 队列信息
|
|
11244
11276
|
*/
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
CreateResourceInstancesRequest,
|
|
27
27
|
DescribeShieldInstancesResponse,
|
|
28
28
|
ShieldInfo,
|
|
29
|
+
UpdateClientStateRequest,
|
|
29
30
|
SDKPlan,
|
|
30
31
|
DescribeShieldResultRequest,
|
|
31
32
|
CancelEncryptTaskResponse,
|
|
@@ -33,10 +34,14 @@ import {
|
|
|
33
34
|
CreateCosSecKeyInstanceRequest,
|
|
34
35
|
IOSPlan,
|
|
35
36
|
DescribeUserBaseInfoInstanceResponse,
|
|
37
|
+
UpdateLocalTaskResultResponse,
|
|
36
38
|
Filter,
|
|
37
39
|
CreateShieldPlanInstanceRequest,
|
|
38
40
|
CreateEncryptInstanceResponse,
|
|
39
41
|
SDKResult,
|
|
42
|
+
RequestLocalTaskResponse,
|
|
43
|
+
UpdateLocalTaskResultRequest,
|
|
44
|
+
ShieldPlanInfo,
|
|
40
45
|
CreateBindInstanceRequest,
|
|
41
46
|
CreateShieldInstanceResponse,
|
|
42
47
|
AppletPlan,
|
|
@@ -65,7 +70,7 @@ import {
|
|
|
65
70
|
DescribeEncryptPlanResponse,
|
|
66
71
|
CreateResourceInstancesResponse,
|
|
67
72
|
AppDetailInfo,
|
|
68
|
-
|
|
73
|
+
RequestLocalTaskRequest,
|
|
69
74
|
DescribeOrderInstancesRequest,
|
|
70
75
|
DescribeResourceInstancesRequest,
|
|
71
76
|
CreateOrderInstanceRequest,
|
|
@@ -82,6 +87,7 @@ import {
|
|
|
82
87
|
DescribeShieldResultResponse,
|
|
83
88
|
CreateBindInstanceResponse,
|
|
84
89
|
BindInfo,
|
|
90
|
+
UpdateClientStateResponse,
|
|
85
91
|
OptPluginListItem,
|
|
86
92
|
EncryptResults,
|
|
87
93
|
} from "./ms_models"
|
|
@@ -95,6 +101,102 @@ export class Client extends AbstractClient {
|
|
|
95
101
|
super("ms.tencentcloudapi.com", "2018-04-08", clientConfig)
|
|
96
102
|
}
|
|
97
103
|
|
|
104
|
+
/**
|
|
105
|
+
* client任务请求地址
|
|
106
|
+
*/
|
|
107
|
+
async RequestLocalTask(
|
|
108
|
+
req: RequestLocalTaskRequest,
|
|
109
|
+
cb?: (error: string, rep: RequestLocalTaskResponse) => void
|
|
110
|
+
): Promise<RequestLocalTaskResponse> {
|
|
111
|
+
return this.request("RequestLocalTask", req, cb)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 获取某个用户的所有资源信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
116
|
+
*/
|
|
117
|
+
async DescribeResourceInstances(
|
|
118
|
+
req: DescribeResourceInstancesRequest,
|
|
119
|
+
cb?: (error: string, rep: DescribeResourceInstancesResponse) => void
|
|
120
|
+
): Promise<DescribeResourceInstancesResponse> {
|
|
121
|
+
return this.request("DescribeResourceInstances", req, cb)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 查询加固策略。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
126
|
+
*/
|
|
127
|
+
async DescribeShieldPlanInstance(
|
|
128
|
+
req: DescribeShieldPlanInstanceRequest,
|
|
129
|
+
cb?: (error: string, rep: DescribeShieldPlanInstanceResponse) => void
|
|
130
|
+
): Promise<DescribeShieldPlanInstanceResponse> {
|
|
131
|
+
return this.request("DescribeShieldPlanInstance", req, cb)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 本接口用于查看app列表。
|
|
136
|
+
可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
137
|
+
|
|
138
|
+
*/
|
|
139
|
+
async DescribeShieldInstances(
|
|
140
|
+
req: DescribeShieldInstancesRequest,
|
|
141
|
+
cb?: (error: string, rep: DescribeShieldInstancesResponse) => void
|
|
142
|
+
): Promise<DescribeShieldInstancesResponse> {
|
|
143
|
+
return this.request("DescribeShieldInstances", req, cb)
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* 移动安全-网址检测服务
|
|
148
|
+
*/
|
|
149
|
+
async DescribeUrlDetectionResult(
|
|
150
|
+
req: DescribeUrlDetectionResultRequest,
|
|
151
|
+
cb?: (error: string, rep: DescribeUrlDetectionResultResponse) => void
|
|
152
|
+
): Promise<DescribeUrlDetectionResultResponse> {
|
|
153
|
+
return this.request("DescribeUrlDetectionResult", req, cb)
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于创建加固任务。
|
|
158
|
+
*/
|
|
159
|
+
async CreateEncryptInstance(
|
|
160
|
+
req: CreateEncryptInstanceRequest,
|
|
161
|
+
cb?: (error: string, rep: CreateEncryptInstanceResponse) => void
|
|
162
|
+
): Promise<CreateEncryptInstanceResponse> {
|
|
163
|
+
return this.request("CreateEncryptInstance", req, cb)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。入参中的条件过滤字段均为精准匹配。
|
|
168
|
+
*/
|
|
169
|
+
async DescribeEncryptPlan(
|
|
170
|
+
req: DescribeEncryptPlanRequest,
|
|
171
|
+
cb?: (error: string, rep: DescribeEncryptPlanResponse) => void
|
|
172
|
+
): Promise<DescribeEncryptPlanResponse> {
|
|
173
|
+
return this.request("DescribeEncryptPlan", req, cb)
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。 接口返回的结果为:创建订单后,订单审批状态信息,以及与订单关联的资源状态等信息,入参中的条件过滤字段均为精准匹配。
|
|
178
|
+
接口功能点:
|
|
179
|
+
1.支持多订单分页查询;
|
|
180
|
+
2.支持唯一订单号精准匹配查询;
|
|
181
|
+
3.支持唯一资源号精准匹配查询;
|
|
182
|
+
*/
|
|
183
|
+
async DescribeOrderInstances(
|
|
184
|
+
req: DescribeOrderInstancesRequest,
|
|
185
|
+
cb?: (error: string, rep: DescribeOrderInstancesResponse) => void
|
|
186
|
+
): Promise<DescribeOrderInstancesResponse> {
|
|
187
|
+
return this.request("DescribeOrderInstances", req, cb)
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* 更新本地任务结果
|
|
192
|
+
*/
|
|
193
|
+
async UpdateLocalTaskResult(
|
|
194
|
+
req: UpdateLocalTaskResultRequest,
|
|
195
|
+
cb?: (error: string, rep: UpdateLocalTaskResultResponse) => void
|
|
196
|
+
): Promise<UpdateLocalTaskResultResponse> {
|
|
197
|
+
return this.request("UpdateLocalTaskResult", req, cb)
|
|
198
|
+
}
|
|
199
|
+
|
|
98
200
|
/**
|
|
99
201
|
* 对资源进行策略新增。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
100
202
|
*/
|
|
@@ -105,16 +207,6 @@ export class Client extends AbstractClient {
|
|
|
105
207
|
return this.request("CreateShieldPlanInstance", req, cb)
|
|
106
208
|
}
|
|
107
209
|
|
|
108
|
-
/**
|
|
109
|
-
* 删除一个或者多个app加固信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
110
|
-
*/
|
|
111
|
-
async DeleteShieldInstances(
|
|
112
|
-
req: DeleteShieldInstancesRequest,
|
|
113
|
-
cb?: (error: string, rep: DeleteShieldInstancesResponse) => void
|
|
114
|
-
): Promise<DeleteShieldInstancesResponse> {
|
|
115
|
-
return this.request("DeleteShieldInstances", req, cb)
|
|
116
|
-
}
|
|
117
|
-
|
|
118
210
|
/**
|
|
119
211
|
* 用户可以使用该接口自建资源,只支持白名单用户
|
|
120
212
|
*/
|
|
@@ -136,33 +228,23 @@ export class Client extends AbstractClient {
|
|
|
136
228
|
}
|
|
137
229
|
|
|
138
230
|
/**
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
async CreateCosSecKeyInstance(
|
|
142
|
-
req: CreateCosSecKeyInstanceRequest,
|
|
143
|
-
cb?: (error: string, rep: CreateCosSecKeyInstanceResponse) => void
|
|
144
|
-
): Promise<CreateCosSecKeyInstanceResponse> {
|
|
145
|
-
return this.request("CreateCosSecKeyInstance", req, cb)
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* 获取某个用户的所有资源信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
231
|
+
* 用户通过该接口提交应用进行应用加固,加固后需通过DescribeShieldResult接口查询加固结果。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
150
232
|
*/
|
|
151
|
-
async
|
|
152
|
-
req:
|
|
153
|
-
cb?: (error: string, rep:
|
|
154
|
-
): Promise<
|
|
155
|
-
return this.request("
|
|
233
|
+
async CreateShieldInstance(
|
|
234
|
+
req: CreateShieldInstanceRequest,
|
|
235
|
+
cb?: (error: string, rep: CreateShieldInstanceResponse) => void
|
|
236
|
+
): Promise<CreateShieldInstanceResponse> {
|
|
237
|
+
return this.request("CreateShieldInstance", req, cb)
|
|
156
238
|
}
|
|
157
239
|
|
|
158
240
|
/**
|
|
159
|
-
*
|
|
241
|
+
* 删除一个或者多个app加固信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
160
242
|
*/
|
|
161
|
-
async
|
|
162
|
-
req:
|
|
163
|
-
cb?: (error: string, rep:
|
|
164
|
-
): Promise<
|
|
165
|
-
return this.request("
|
|
243
|
+
async DeleteShieldInstances(
|
|
244
|
+
req: DeleteShieldInstancesRequest,
|
|
245
|
+
cb?: (error: string, rep: DeleteShieldInstancesResponse) => void
|
|
246
|
+
): Promise<DeleteShieldInstancesResponse> {
|
|
247
|
+
return this.request("DeleteShieldInstances", req, cb)
|
|
166
248
|
}
|
|
167
249
|
|
|
168
250
|
/**
|
|
@@ -176,35 +258,23 @@ export class Client extends AbstractClient {
|
|
|
176
258
|
}
|
|
177
259
|
|
|
178
260
|
/**
|
|
179
|
-
*
|
|
261
|
+
* 更新client状态
|
|
180
262
|
*/
|
|
181
|
-
async
|
|
182
|
-
req:
|
|
183
|
-
cb?: (error: string, rep:
|
|
184
|
-
): Promise<
|
|
185
|
-
return this.request("
|
|
263
|
+
async UpdateClientState(
|
|
264
|
+
req: UpdateClientStateRequest,
|
|
265
|
+
cb?: (error: string, rep: UpdateClientStateResponse) => void
|
|
266
|
+
): Promise<UpdateClientStateResponse> {
|
|
267
|
+
return this.request("UpdateClientState", req, cb)
|
|
186
268
|
}
|
|
187
269
|
|
|
188
270
|
/**
|
|
189
|
-
|
|
190
|
-
可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
|
|
191
|
-
|
|
192
|
-
*/
|
|
193
|
-
async DescribeShieldInstances(
|
|
194
|
-
req: DescribeShieldInstancesRequest,
|
|
195
|
-
cb?: (error: string, rep: DescribeShieldInstancesResponse) => void
|
|
196
|
-
): Promise<DescribeShieldInstancesResponse> {
|
|
197
|
-
return this.request("DescribeShieldInstances", req, cb)
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* 移动安全-网址检测服务
|
|
271
|
+
* 获取云COS文件存储临时密钥,密钥仅限于临时上传文件,有访问限制和时效性,请保管好临时密钥。
|
|
202
272
|
*/
|
|
203
|
-
async
|
|
204
|
-
req:
|
|
205
|
-
cb?: (error: string, rep:
|
|
206
|
-
): Promise<
|
|
207
|
-
return this.request("
|
|
273
|
+
async CreateCosSecKeyInstance(
|
|
274
|
+
req: CreateCosSecKeyInstanceRequest,
|
|
275
|
+
cb?: (error: string, rep: CreateCosSecKeyInstanceResponse) => void
|
|
276
|
+
): Promise<CreateCosSecKeyInstanceResponse> {
|
|
277
|
+
return this.request("CreateCosSecKeyInstance", req, cb)
|
|
208
278
|
}
|
|
209
279
|
|
|
210
280
|
/**
|
|
@@ -247,40 +317,6 @@ export class Client extends AbstractClient {
|
|
|
247
317
|
return this.request("DescribeEncryptInstances", req, cb)
|
|
248
318
|
}
|
|
249
319
|
|
|
250
|
-
/**
|
|
251
|
-
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于创建加固任务。
|
|
252
|
-
*/
|
|
253
|
-
async CreateEncryptInstance(
|
|
254
|
-
req: CreateEncryptInstanceRequest,
|
|
255
|
-
cb?: (error: string, rep: CreateEncryptInstanceResponse) => void
|
|
256
|
-
): Promise<CreateEncryptInstanceResponse> {
|
|
257
|
-
return this.request("CreateEncryptInstance", req, cb)
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。入参中的条件过滤字段均为精准匹配。
|
|
262
|
-
*/
|
|
263
|
-
async DescribeEncryptPlan(
|
|
264
|
-
req: DescribeEncryptPlanRequest,
|
|
265
|
-
cb?: (error: string, rep: DescribeEncryptPlanResponse) => void
|
|
266
|
-
): Promise<DescribeEncryptPlanResponse> {
|
|
267
|
-
return this.request("DescribeEncryptPlan", req, cb)
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。 接口返回的结果为:创建订单后,订单审批状态信息,以及与订单关联的资源状态等信息,入参中的条件过滤字段均为精准匹配。
|
|
272
|
-
接口功能点:
|
|
273
|
-
1.支持多订单分页查询;
|
|
274
|
-
2.支持唯一订单号精准匹配查询;
|
|
275
|
-
3.支持唯一资源号精准匹配查询;
|
|
276
|
-
*/
|
|
277
|
-
async DescribeOrderInstances(
|
|
278
|
-
req: DescribeOrderInstancesRequest,
|
|
279
|
-
cb?: (error: string, rep: DescribeOrderInstancesResponse) => void
|
|
280
|
-
): Promise<DescribeOrderInstancesResponse> {
|
|
281
|
-
return this.request("DescribeOrderInstances", req, cb)
|
|
282
|
-
}
|
|
283
|
-
|
|
284
320
|
/**
|
|
285
321
|
* 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。
|
|
286
322
|
订单类型有:免费试用、按年收费、按次收费。
|