tencentcloud-sdk-nodejs-rce 4.1.263 → 4.1.273

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.
@@ -1,6 +1,8 @@
1
- import { v20250425 } from "./v20250425";
1
+ import { v20260130 } from "./v20260130";
2
2
  import { v20201103 } from "./v20201103";
3
+ import { v20250425 } from "./v20250425";
3
4
  export const rce = {
4
- v20250425: v20250425,
5
+ v20260130: v20260130,
5
6
  v20201103: v20201103,
7
+ v20250425: v20250425,
6
8
  };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./rce_models";
2
+ import { Client } from "./rce_client";
3
+ export const v20260130 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1,15 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("rce.tencentcloudapi.com", "2026-01-30", clientConfig);
5
+ }
6
+ async AssessDeviceRiskPro(req, cb) {
7
+ return this.request("AssessDeviceRiskPro", req, cb);
8
+ }
9
+ async AssessDeviceRiskPremiumPro(req, cb) {
10
+ return this.request("AssessDeviceRiskPremiumPro", req, cb);
11
+ }
12
+ async AssessEnvironmentRisk(req, cb) {
13
+ return this.request("AssessEnvironmentRisk", req, cb);
14
+ }
15
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-rce",
3
- "version": "4.1.263",
3
+ "version": "4.1.273",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,10 +1,14 @@
1
1
  export declare const rce: {
2
- v20250425: {
3
- Client: typeof import("./v20250425/rce_client").Client;
4
- Models: typeof import("./v20250425/rce_models");
2
+ v20260130: {
3
+ Client: typeof import("./v20260130/rce_client").Client;
4
+ Models: typeof import("./v20260130/rce_models");
5
5
  };
6
6
  v20201103: {
7
7
  Client: typeof import("./v20201103/rce_client").Client;
8
8
  Models: typeof import("./v20201103/rce_models");
9
9
  };
10
+ v20250425: {
11
+ Client: typeof import("./v20250425/rce_client").Client;
12
+ Models: typeof import("./v20250425/rce_models");
13
+ };
10
14
  };
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.rce = void 0;
4
- const v20250425_1 = require("./v20250425");
4
+ const v20260130_1 = require("./v20260130");
5
5
  const v20201103_1 = require("./v20201103");
6
+ const v20250425_1 = require("./v20250425");
6
7
  exports.rce = {
7
- v20250425: v20250425_1.v20250425,
8
+ v20260130: v20260130_1.v20260130,
8
9
  v20201103: v20201103_1.v20201103,
10
+ v20250425: v20250425_1.v20250425,
9
11
  };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./rce_models";
2
+ import { Client } from "./rce_client";
3
+ export declare const v20260130: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20260130 = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./rce_models"));
6
+ const rce_client_1 = require("./rce_client");
7
+ exports.v20260130 = {
8
+ Client: rce_client_1.Client,
9
+ Models: Models,
10
+ };
@@ -0,0 +1,21 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ import { AssessEnvironmentRiskResponse, AssessDeviceRiskPremiumProResponse, AssessDeviceRiskProRequest, AssessDeviceRiskPremiumProRequest, AssessDeviceRiskProResponse, AssessEnvironmentRiskRequest } from "./rce_models";
3
+ /**
4
+ * rce client
5
+ * @class
6
+ */
7
+ export declare class Client extends TencentCloudCommon.AbstractClient {
8
+ constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
+ /**
10
+ * 设备风险评估-基础版
11
+ */
12
+ AssessDeviceRiskPro(req: AssessDeviceRiskProRequest, cb?: (error: string, rep: AssessDeviceRiskProResponse) => void): Promise<AssessDeviceRiskProResponse>;
13
+ /**
14
+ * 设备风险评估-高级版
15
+ */
16
+ AssessDeviceRiskPremiumPro(req: AssessDeviceRiskPremiumProRequest, cb?: (error: string, rep: AssessDeviceRiskPremiumProResponse) => void): Promise<AssessDeviceRiskPremiumProResponse>;
17
+ /**
18
+ * 环境风险评估
19
+ */
20
+ AssessEnvironmentRisk(req: AssessEnvironmentRiskRequest, cb?: (error: string, rep: AssessEnvironmentRiskResponse) => void): Promise<AssessEnvironmentRiskResponse>;
21
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
5
+ /* eslint-disable @typescript-eslint/no-unused-vars */
6
+ /*
7
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing,
16
+ * software distributed under the License is distributed on an
17
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
+ * KIND, either express or implied. See the License for the
19
+ * specific language governing permissions and limitations
20
+ * under the License.
21
+ */
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
23
+ /**
24
+ * rce client
25
+ * @class
26
+ */
27
+ class Client extends TencentCloudCommon.AbstractClient {
28
+ constructor(clientConfig) {
29
+ super("rce.tencentcloudapi.com", "2026-01-30", clientConfig);
30
+ }
31
+ /**
32
+ * 设备风险评估-基础版
33
+ */
34
+ async AssessDeviceRiskPro(req, cb) {
35
+ return this.request("AssessDeviceRiskPro", req, cb);
36
+ }
37
+ /**
38
+ * 设备风险评估-高级版
39
+ */
40
+ async AssessDeviceRiskPremiumPro(req, cb) {
41
+ return this.request("AssessDeviceRiskPremiumPro", req, cb);
42
+ }
43
+ /**
44
+ * 环境风险评估
45
+ */
46
+ async AssessEnvironmentRisk(req, cb) {
47
+ return this.request("AssessEnvironmentRisk", req, cb);
48
+ }
49
+ }
50
+ exports.Client = Client;
@@ -0,0 +1,325 @@
1
+ /**
2
+ * 风险标签
3
+ */
4
+ export interface RiskLabel {
5
+ /**
6
+ * <p>风险ID</p>
7
+ */
8
+ Id?: string;
9
+ /**
10
+ * <p>风险描述</p>
11
+ */
12
+ Reason?: string;
13
+ }
14
+ /**
15
+ * 环境基础信息
16
+ */
17
+ export interface Environment {
18
+ /**
19
+ * <p>IP地理位置信息</p>
20
+ */
21
+ Location?: IPLocation;
22
+ /**
23
+ * <p>IP基础网络信息</p>
24
+ */
25
+ Network?: IPNetwork;
26
+ }
27
+ /**
28
+ * 环境风险评估返回结果
29
+ */
30
+ export interface AssessEnvironmentRiskRsp {
31
+ /**
32
+ * <p>IP环境风险分信息</p>
33
+ */
34
+ Score?: DataScore;
35
+ /**
36
+ * <p>IP环境基础信息</p>
37
+ */
38
+ Environment?: Environment;
39
+ }
40
+ /**
41
+ * IP地理位置信息
42
+ */
43
+ export interface IPLocation {
44
+ /**
45
+ * <p>IP地址所属国家</p>
46
+ */
47
+ Country?: string;
48
+ /**
49
+ * <p>IP地址所属省份</p>
50
+ */
51
+ Region?: string;
52
+ /**
53
+ * <p>IP地址所属城市</p>
54
+ */
55
+ City?: string;
56
+ /**
57
+ * <p>IP地址所属地区</p>
58
+ */
59
+ District?: string;
60
+ /**
61
+ * <p>IP地址的经度</p>
62
+ */
63
+ Longitude?: string;
64
+ /**
65
+ * <p>IP地址的纬度</p>
66
+ */
67
+ Latitude?: string;
68
+ /**
69
+ * <p>IP地址所属时区</p>
70
+ */
71
+ Timezone?: string;
72
+ /**
73
+ * <p>IP地址的邮政编码</p>
74
+ */
75
+ ZipCode?: string;
76
+ }
77
+ /**
78
+ * 风险分信息
79
+ */
80
+ export interface DataScore {
81
+ /**
82
+ * <p>风险等级</p>
83
+ */
84
+ RiskLevel?: number;
85
+ /**
86
+ * <p>风险标签</p>
87
+ */
88
+ RiskLabels?: Array<RiskLabel>;
89
+ }
90
+ /**
91
+ * 设备风险评估基础版返回结果
92
+ */
93
+ export interface AssessDeviceRiskRsp {
94
+ /**
95
+ * <p>设备风险分信息</p>
96
+ */
97
+ Score?: DataScore;
98
+ /**
99
+ * <p>设备基础信息</p>
100
+ */
101
+ Device?: Device;
102
+ }
103
+ /**
104
+ * AssessEnvironmentRisk返回参数结构体
105
+ */
106
+ export interface AssessEnvironmentRiskResponse {
107
+ /**
108
+ * <p>环境风险评估返回结果</p>
109
+ */
110
+ Data?: AssessEnvironmentRiskRsp;
111
+ /**
112
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
113
+ */
114
+ RequestId?: string;
115
+ }
116
+ /**
117
+ * AssessDeviceRiskPremiumPro返回参数结构体
118
+ */
119
+ export interface AssessDeviceRiskPremiumProResponse {
120
+ /**
121
+ * <p>设备风险评估高级版返回结果</p>
122
+ */
123
+ Data?: AssessDeviceRiskPremiumRsp;
124
+ /**
125
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
126
+ */
127
+ RequestId?: string;
128
+ }
129
+ /**
130
+ * AssessDeviceRiskPro请求参数结构体
131
+ */
132
+ export interface AssessDeviceRiskProRequest {
133
+ /**
134
+ * <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
135
+ */
136
+ DeviceToken: string;
137
+ /**
138
+ * <p>客户端 IP 地址</p>
139
+ */
140
+ UserIp?: string;
141
+ }
142
+ /**
143
+ * AssessDeviceRiskPremiumPro请求参数结构体
144
+ */
145
+ export interface AssessDeviceRiskPremiumProRequest {
146
+ /**
147
+ * <p>用户设备指纹token标识,在您的网站或者应用程序中集成设备指纹的SDK后获取</p>
148
+ */
149
+ DeviceToken: string;
150
+ /**
151
+ * <p>客户端 IP 地址</p>
152
+ */
153
+ UserIp?: string;
154
+ }
155
+ /**
156
+ * AssessDeviceRiskPro返回参数结构体
157
+ */
158
+ export interface AssessDeviceRiskProResponse {
159
+ /**
160
+ * <p>设备风险评估基础版返回结果</p>
161
+ */
162
+ Data?: AssessDeviceRiskRsp;
163
+ /**
164
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
165
+ */
166
+ RequestId?: string;
167
+ }
168
+ /**
169
+ * IP基础网络信息
170
+ */
171
+ export interface IPNetwork {
172
+ /**
173
+ * <p>互联网服务提供商</p>
174
+ */
175
+ ISP?: string;
176
+ /**
177
+ * <p>自治系统号</p>
178
+ */
179
+ ASN?: string;
180
+ /**
181
+ * <p>IP注册组织名称</p>
182
+ */
183
+ Organization?: string;
184
+ /**
185
+ * <p>是否保留IP</p>
186
+ */
187
+ IsReserved?: boolean;
188
+ /**
189
+ * <p>是否网关IP</p>
190
+ */
191
+ IsGateway?: boolean;
192
+ /**
193
+ * <p>是否任播网络</p>
194
+ */
195
+ IsAnycast?: boolean;
196
+ /**
197
+ * <p>是否移动网络</p>
198
+ */
199
+ IsMobile?: boolean;
200
+ /**
201
+ * <p>是否动态IP</p>
202
+ */
203
+ IsDynamic?: boolean;
204
+ /**
205
+ * <p>是否网络出口</p>
206
+ */
207
+ IsEgress?: boolean;
208
+ /**
209
+ * <p>是否域名解析</p>
210
+ */
211
+ IsDNS?: boolean;
212
+ /**
213
+ * <p>是否教育机构</p>
214
+ */
215
+ IsEducation?: boolean;
216
+ /**
217
+ * <p>是否组织机构</p>
218
+ */
219
+ IsInstitution?: boolean;
220
+ /**
221
+ * <p>是否企业专线</p>
222
+ */
223
+ IsCompany?: boolean;
224
+ /**
225
+ * <p>是否家用宽带</p>
226
+ */
227
+ IsResidence?: boolean;
228
+ /**
229
+ * <p>是否云服务</p>
230
+ */
231
+ IsCloudService?: boolean;
232
+ /**
233
+ * <p>是否基础设施</p>
234
+ */
235
+ IsInfrastructure?: boolean;
236
+ /**
237
+ * <p>是否邮箱服务</p>
238
+ */
239
+ IsMXServer?: boolean;
240
+ }
241
+ /**
242
+ * 设备风险评估高级版返回结果
243
+ */
244
+ export interface AssessDeviceRiskPremiumRsp {
245
+ /**
246
+ * <p>决策信息</p>
247
+ */
248
+ Decision?: Decision;
249
+ /**
250
+ * <p>设备风险分信息</p>
251
+ */
252
+ Score?: DataScore;
253
+ /**
254
+ * <p>设备基础信息</p>
255
+ */
256
+ Device?: Device;
257
+ /**
258
+ * <p>IP环境基础信息</p>
259
+ 注意:此字段可能返回 null,表示取不到有效值。
260
+ */
261
+ Environment?: Environment;
262
+ }
263
+ /**
264
+ * AssessEnvironmentRisk请求参数结构体
265
+ */
266
+ export interface AssessEnvironmentRiskRequest {
267
+ /**
268
+ * <p>客户端 IP 地址</p>
269
+ */
270
+ UserIp: string;
271
+ }
272
+ /**
273
+ * 设备基础信息
274
+ */
275
+ export interface Device {
276
+ /**
277
+ * <p>设备ID</p>
278
+ */
279
+ DeviceId?: string;
280
+ /**
281
+ * <p>App版本信息</p>
282
+ */
283
+ AppVersion?: string;
284
+ /**
285
+ * <p>品牌</p>
286
+ */
287
+ Brand?: string;
288
+ /**
289
+ * <p>客户端IP</p>
290
+ */
291
+ ClientIp?: string;
292
+ /**
293
+ * <p>机型</p>
294
+ */
295
+ Model?: string;
296
+ /**
297
+ * <p>网络类型</p>
298
+ */
299
+ NetworkType?: string;
300
+ /**
301
+ * <p>应用包名</p>
302
+ */
303
+ PackageName?: string;
304
+ /**
305
+ * <p>平台</p><p>枚举值:</p><ul><li>2: Android</li><li>3: IOS</li><li>4: H5</li><li>5: 微信小程序</li></ul>
306
+ */
307
+ Platform?: string;
308
+ /**
309
+ * <p>系统版本</p>
310
+ */
311
+ SystemVersion?: string;
312
+ /**
313
+ * <p>SDK版本</p>
314
+ */
315
+ SdkBuildVersion?: string;
316
+ }
317
+ /**
318
+ * 决策信息
319
+ */
320
+ export interface Decision {
321
+ /**
322
+ * <p>决策结果</p><ul><li>pass:通过</li><li>review:复审</li><li>reject:拒绝</li></ul>
323
+ */
324
+ DecisionResult?: string;
325
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });