tencentcloud-sdk-nodejs-ioa 4.1.28 → 4.1.56

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.
@@ -21,6 +21,12 @@ export class Client extends TencentCloudCommon.AbstractClient {
21
21
  async CreatePrivilegeCode(req, cb) {
22
22
  return this.request("CreatePrivilegeCode", req, cb);
23
23
  }
24
+ async DescribeSoftwareInformation(req, cb) {
25
+ return this.request("DescribeSoftwareInformation", req, cb);
26
+ }
27
+ async DescribeDeviceHardwareInfoList(req, cb) {
28
+ return this.request("DescribeDeviceHardwareInfoList", req, cb);
29
+ }
24
30
  async DescribeRootAccountGroup(req, cb) {
25
31
  return this.request("DescribeRootAccountGroup", req, cb);
26
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ioa",
3
- "version": "4.1.28",
3
+ "version": "4.1.56",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CreatePrivilegeCodeRequest, DescribeDLPFileDetectResultRequest, CreateDeviceVirtualGroupResponse, DescribeRootAccountGroupResponse, DescribeDevicesResponse, DescribeLocalAccountsResponse, DescribeRootAccountGroupRequest, DescribeAccountGroupsRequest, DescribeAccountGroupsResponse, DescribeSoftCensusListByDeviceResponse, DescribeLocalAccountsRequest, CreateDeviceVirtualGroupRequest, DescribeDevicesRequest, DescribeSoftCensusListByDeviceRequest, CreateDLPFileDetectionTaskResponse, DescribeDLPFileDetectResultResponse, CreateDLPFileDetectionTaskRequest, CreatePrivilegeCodeResponse } from "./ioa_models";
2
+ import { CreatePrivilegeCodeRequest, DescribeDLPFileDetectResultRequest, CreateDeviceVirtualGroupResponse, DescribeSoftwareInformationResponse, DescribeDeviceHardwareInfoListResponse, DescribeRootAccountGroupResponse, DescribeDevicesResponse, DescribeLocalAccountsResponse, DescribeRootAccountGroupRequest, DescribeAccountGroupsRequest, DescribeAccountGroupsResponse, DescribeSoftCensusListByDeviceResponse, DescribeLocalAccountsRequest, DescribeSoftwareInformationRequest, CreateDeviceVirtualGroupRequest, DescribeDevicesRequest, DescribeSoftCensusListByDeviceRequest, CreateDLPFileDetectionTaskResponse, DescribeDLPFileDetectResultResponse, CreateDLPFileDetectionTaskRequest, CreatePrivilegeCodeResponse, DescribeDeviceHardwareInfoListRequest } from "./ioa_models";
3
3
  /**
4
4
  * ioa client
5
5
  * @class
@@ -30,6 +30,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
30
30
  * 生成特权码,私有化调用path为:capi/Assets/Device/CreatePrivilegeCode,生成的特权码、卸载码,仅对该设备当天有效
31
31
  */
32
32
  CreatePrivilegeCode(req: CreatePrivilegeCodeRequest, cb?: (error: string, rep: CreatePrivilegeCodeResponse) => void): Promise<CreatePrivilegeCodeResponse>;
33
+ /**
34
+ * 查看指定终端的软件详情列表,私有化调用path为:capi/Software/DescribeSoftwareInformation
35
+ */
36
+ DescribeSoftwareInformation(req: DescribeSoftwareInformationRequest, cb?: (error: string, rep: DescribeSoftwareInformationResponse) => void): Promise<DescribeSoftwareInformationResponse>;
37
+ /**
38
+ * 查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
39
+ */
40
+ DescribeDeviceHardwareInfoList(req: DescribeDeviceHardwareInfoListRequest, cb?: (error: string, rep: DescribeDeviceHardwareInfoListResponse) => void): Promise<DescribeDeviceHardwareInfoListResponse>;
33
41
  /**
34
42
  * 查询账号根分组详情。对应“用户与授权管理”里内置不可见的全网根账号组,所有新建的目录,都挂在该全网根账号组下。
35
43
  */
@@ -64,6 +64,18 @@ class Client extends TencentCloudCommon.AbstractClient {
64
64
  async CreatePrivilegeCode(req, cb) {
65
65
  return this.request("CreatePrivilegeCode", req, cb);
66
66
  }
67
+ /**
68
+ * 查看指定终端的软件详情列表,私有化调用path为:capi/Software/DescribeSoftwareInformation
69
+ */
70
+ async DescribeSoftwareInformation(req, cb) {
71
+ return this.request("DescribeSoftwareInformation", req, cb);
72
+ }
73
+ /**
74
+ * 查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
75
+ */
76
+ async DescribeDeviceHardwareInfoList(req, cb) {
77
+ return this.request("DescribeDeviceHardwareInfoList", req, cb);
78
+ }
67
79
  /**
68
80
  * 查询账号根分组详情。对应“用户与授权管理”里内置不可见的全网根账号组,所有新建的目录,都挂在该全网根账号组下。
69
81
  */
@@ -11,6 +11,19 @@ export interface CreatePrivilegeCodeRequest {
11
11
  */
12
12
  Mid?: string;
13
13
  }
14
+ /**
15
+ * 终端硬件信息列表响应详情
16
+ */
17
+ export interface DescribeDeviceHardwareInfoListRspData {
18
+ /**
19
+ * 分页数据
20
+ */
21
+ Page?: Paging;
22
+ /**
23
+ * 终端硬件信息数据数组
24
+ */
25
+ Items?: Array<DescribeDeviceHardwareInfoItem>;
26
+ }
14
27
  /**
15
28
  * DescribeDLPFileDetectResult请求参数结构体
16
29
  */
@@ -141,6 +154,19 @@ export interface CreateDLPFileDetectionTaskData {
141
154
  */
142
155
  DLPFileDetectionTaskID?: string;
143
156
  }
157
+ /**
158
+ * DescribeSoftwareInformation返回参数结构体
159
+ */
160
+ export interface DescribeSoftwareInformationResponse {
161
+ /**
162
+ * 业务响应数据
163
+ */
164
+ Data?: DescribeSoftwareInformationPageData;
165
+ /**
166
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
167
+ */
168
+ RequestId?: string;
169
+ }
144
170
  /**
145
171
  * 自动划分规则数据
146
172
  */
@@ -154,6 +180,19 @@ export interface ComplexRule {
154
180
  */
155
181
  Relation?: string;
156
182
  }
183
+ /**
184
+ * DescribeDeviceHardwareInfoList返回参数结构体
185
+ */
186
+ export interface DescribeDeviceHardwareInfoListResponse {
187
+ /**
188
+ * 分页的data数据
189
+ */
190
+ Data?: DescribeDeviceHardwareInfoListRspData;
191
+ /**
192
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
193
+ */
194
+ RequestId?: string;
195
+ }
157
196
  /**
158
197
  * Sort 排序字段
159
198
  */
@@ -180,6 +219,75 @@ export interface DescribeRootAccountGroupResponse {
180
219
  */
181
220
  RequestId?: string;
182
221
  }
222
+ /**
223
+ * 终端硬件信息列表Item数据
224
+ */
225
+ export interface DescribeDeviceHardwareInfoItem {
226
+ /**
227
+ * 设备ID
228
+ */
229
+ Id?: number;
230
+ /**
231
+ * 设备唯一标识符
232
+ */
233
+ Mid?: string;
234
+ /**
235
+ * OS平台 0 Windows 1 Linux 2 macOS 4 Android 5 iOS
236
+ */
237
+ OsType?: number;
238
+ /**
239
+ * 终端名
240
+ */
241
+ Name?: string;
242
+ /**
243
+ * 终端用户名
244
+ */
245
+ UserName?: string;
246
+ /**
247
+ * 授权状态( 4未授权 5已授权)
248
+ */
249
+ Status?: number;
250
+ /**
251
+ * 设备所属分组ID
252
+ */
253
+ GroupId?: number;
254
+ /**
255
+ * 设备所属分组名
256
+ */
257
+ GroupName?: string;
258
+ /**
259
+ * 设备所属分组路径
260
+ */
261
+ GroupNamePath?: string;
262
+ /**
263
+ * 最近登录账户的姓名
264
+ */
265
+ AccountName?: string;
266
+ /**
267
+ * 出口IP
268
+ */
269
+ Ip?: string;
270
+ /**
271
+ * MAC地址
272
+ */
273
+ MacAddr?: string;
274
+ /**
275
+ * CPU品牌型号
276
+ */
277
+ Cpu?: string;
278
+ /**
279
+ * 内存信息
280
+ */
281
+ Memory?: string;
282
+ /**
283
+ * 硬盘信息
284
+ */
285
+ HardDiskSize?: string;
286
+ /**
287
+ * 显示器品牌型号
288
+ */
289
+ Monitor?: string;
290
+ }
183
291
  /**
184
292
  * 查询文件检测结果响应数据
185
293
  */
@@ -339,6 +447,43 @@ export interface RuleExpression {
339
447
  * DescribeRootAccountGroup请求参数结构体
340
448
  */
341
449
  export declare type DescribeRootAccountGroupRequest = null;
450
+ /**
451
+ * 软件详情响应对象集合
452
+ */
453
+ export interface SoftwareInformationData {
454
+ /**
455
+ * 软件名称
456
+ */
457
+ Name?: string;
458
+ /**
459
+ * 安装时间
460
+ */
461
+ InstallDate?: string;
462
+ /**
463
+ * 软件列表id(只支持32位)
464
+ */
465
+ SoftwareId?: number;
466
+ /**
467
+ * 唯一标识Mid
468
+ */
469
+ Mid?: string;
470
+ /**
471
+ * 软件版本
472
+ */
473
+ Version?: string;
474
+ /**
475
+ * 公司名
476
+ */
477
+ CorpName?: string;
478
+ /**
479
+ * 列表Id(只支持32位)
480
+ */
481
+ Id?: number;
482
+ /**
483
+ * 盗版风险(0:未支持,1:风险,2:未发现,3:未开启)
484
+ */
485
+ PiracyRisk?: number;
486
+ }
342
487
  /**
343
488
  * 账户分组详情响应数据
344
489
  */
@@ -473,6 +618,20 @@ export interface DescribeLocalAccountsRequest {
473
618
  */
474
619
  ShowFlag?: number;
475
620
  }
621
+ /**
622
+ * DescribeSoftwareInformation请求参数结构体
623
+ */
624
+ export interface DescribeSoftwareInformationRequest {
625
+ /**
626
+ * 终端唯一标识Mid
627
+ */
628
+ Mid?: string;
629
+ /**
630
+ * 过滤条件、分页参数
631
+ <li>Name - String - 过滤支持:是 - 操作符:eq,like - 排序支持:是 。</li>
632
+ */
633
+ Condition?: Condition;
634
+ }
476
635
  /**
477
636
  * CreateDeviceVirtualGroup请求参数结构体
478
637
  */
@@ -1005,6 +1164,19 @@ export interface DescribeLocalAccountsData {
1005
1164
  */
1006
1165
  LogoutTime?: string;
1007
1166
  }
1167
+ /**
1168
+ * 业务响应数据
1169
+ */
1170
+ export interface DescribeSoftwareInformationPageData {
1171
+ /**
1172
+ * 软件详情响应对象集合
1173
+ */
1174
+ Items?: Array<SoftwareInformationData>;
1175
+ /**
1176
+ * 分页公共对象
1177
+ */
1178
+ Page?: Paging;
1179
+ }
1008
1180
  /**
1009
1181
  * CreateDLPFileDetectionTask返回参数结构体
1010
1182
  */
@@ -1110,6 +1282,27 @@ export interface CreatePrivilegeCodeResponse {
1110
1282
  */
1111
1283
  RequestId?: string;
1112
1284
  }
1285
+ /**
1286
+ * DescribeDeviceHardwareInfoList请求参数结构体
1287
+ */
1288
+ export interface DescribeDeviceHardwareInfoListRequest {
1289
+ /**
1290
+ * 【必填】设备分组id(需要和OsType匹配),下面是私有化场景下默认id:id-名称-操作系统1 全网终端 Win2 未分组终端 Win30000000 服务器 Win40000101 全网终端 Linux40000102 未分组终端 Linux40000103 服务器 Linux40000201 全网终端 macOS40000202 未分组终端 macOS40000203 服务器 macOS40000401 全网终端 Android40000402 未分组终端 Android40000501 全网终端 iOS40000502 未分组终端 iOSSaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
1291
+ */
1292
+ GroupId: number;
1293
+ /**
1294
+ * 【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
1295
+ */
1296
+ OsType: number;
1297
+ /**
1298
+ * 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
1299
+ */
1300
+ DomainInstanceId?: string;
1301
+ /**
1302
+ * 过滤条件参数(字段含义请参考接口返回值) - Name, 类型String,支持操作:【eq,like,ilike】,支持排序 - UserName, 类型String,支持操作:【eq,like,ilike】,支持排序 - IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序 - MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序 - Ip, 类型String,支持操作:【eq,like,ilike】,支持排序 - Mid, 类型String,支持操作:【eq,like,ilike】,支持排序 ,支持排序分页参数 - PageNum 从1开始,小于等于0时使用默认参数 - PageSize 最大值5000,最好不超过100
1303
+ */
1304
+ Condition?: Condition;
1305
+ }
1113
1306
  /**
1114
1307
  * 响应返回的data
1115
1308
  */