@lansweeper/data-platform-outbound-grpc 0.1.58 → 0.1.59
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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +357 -29
- package/gen-proto/outbound_pb.js +2756 -96
- package/generated-go/outbound.pb.go +4636 -3900
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +73 -5
package/java.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "cd5c9691e3125f54b0f0cec1a126a573d52b6a37"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -166,8 +166,11 @@ message Asset {
|
|
|
166
166
|
repeated ScsiController scsi_controller = 55;
|
|
167
167
|
optional ComputerSystemProduct computer_system_product = 56;
|
|
168
168
|
repeated TrustedPlatformModule tpm = 57;
|
|
169
|
-
repeated
|
|
170
|
-
repeated
|
|
169
|
+
repeated ComputerConnectedUsbController usb_controller = 58;
|
|
170
|
+
repeated ComputerConnectedUsbDeviceInfo usb_device_info = 59;
|
|
171
|
+
repeated ComputerConnectedModem modem = 60;
|
|
172
|
+
repeated ComputerConnectedPrinter printer = 61;
|
|
173
|
+
repeated ComputerConnectedTapeDrive tape_drive = 62;
|
|
171
174
|
|
|
172
175
|
repeated AutoRunCommand auto_run_command = 34;
|
|
173
176
|
optional BootConfig boot_config = 35;
|
|
@@ -1287,10 +1290,10 @@ message TrustedPlatformModule {
|
|
|
1287
1290
|
}
|
|
1288
1291
|
|
|
1289
1292
|
/**
|
|
1290
|
-
*
|
|
1293
|
+
* ComputerConnectedUsbController, only Windows atm.
|
|
1291
1294
|
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-usbcontroller
|
|
1292
1295
|
*/
|
|
1293
|
-
message
|
|
1296
|
+
message ComputerConnectedUsbController {
|
|
1294
1297
|
optional string caption = 1;
|
|
1295
1298
|
optional string device_id = 2;
|
|
1296
1299
|
optional string manufacturer = 3;
|
|
@@ -1300,12 +1303,77 @@ message UsbController {
|
|
|
1300
1303
|
/**
|
|
1301
1304
|
* Windows only atm.
|
|
1302
1305
|
*/
|
|
1303
|
-
message
|
|
1306
|
+
message ComputerConnectedUsbDeviceInfo {
|
|
1304
1307
|
string device_key = 1;
|
|
1305
1308
|
string device_value = 2;
|
|
1306
1309
|
string manufacturer = 3;
|
|
1307
1310
|
}
|
|
1308
1311
|
|
|
1312
|
+
/**
|
|
1313
|
+
* Modem on computers: windows and mac.
|
|
1314
|
+
*/
|
|
1315
|
+
message ComputerConnectedModem {
|
|
1316
|
+
optional string attached_to = 1;
|
|
1317
|
+
optional string caption = 2; // mac: name
|
|
1318
|
+
optional string country_info = 3; // windows: country_selected, mac: country_info
|
|
1319
|
+
optional string device_id = 4;
|
|
1320
|
+
optional string device_type = 5; // mac: interface_type
|
|
1321
|
+
optional int32 max_baud_rate_to_phone = 6;
|
|
1322
|
+
optional int32 max_baud_rate_to_serial_port = 7;
|
|
1323
|
+
optional string modem_inf_path = 8;
|
|
1324
|
+
optional string modem_inf_section = 9;
|
|
1325
|
+
optional string provider_name = 10;
|
|
1326
|
+
|
|
1327
|
+
optional string hw_version = 11; // mac only
|
|
1328
|
+
optional string interface_type = 12; // mac only
|
|
1329
|
+
optional string model = 13; // mac only
|
|
1330
|
+
optional string modulation = 14; // mac only
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Windows computer: a Printer connected to the computer.
|
|
1335
|
+
*/
|
|
1336
|
+
message ComputerConnectedPrinter {
|
|
1337
|
+
repeated string capability_descriptions = 2;
|
|
1338
|
+
optional string caption = 3;
|
|
1339
|
+
optional string device_id = 4;
|
|
1340
|
+
optional string location = 6;
|
|
1341
|
+
optional string port_name = 7;
|
|
1342
|
+
optional string print_job_data_type = 8;
|
|
1343
|
+
optional string print_processor = 9;
|
|
1344
|
+
optional string share_name = 10;
|
|
1345
|
+
optional string status = 11;
|
|
1346
|
+
optional string comment = 13;
|
|
1347
|
+
|
|
1348
|
+
optional int32 horizontal_resolution = 5;
|
|
1349
|
+
optional int32 vertical_resolution = 12;
|
|
1350
|
+
|
|
1351
|
+
optional bool enable_bidi = 14;
|
|
1352
|
+
optional bool local = 15;
|
|
1353
|
+
optional bool network = 16;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Windows computer: a Tape connected to the computer.
|
|
1358
|
+
*/
|
|
1359
|
+
message ComputerConnectedTapeDrive {
|
|
1360
|
+
optional MappedValue availability = 1;
|
|
1361
|
+
repeated MappedValue capabilities = 2;
|
|
1362
|
+
optional string caption = 3;
|
|
1363
|
+
optional bool compression = 4;
|
|
1364
|
+
optional int64 default_block_size = 5;
|
|
1365
|
+
optional string device_id = 6;
|
|
1366
|
+
optional string manufacturer = 7;
|
|
1367
|
+
optional int64 max_block_size = 8;
|
|
1368
|
+
optional int64 max_media_size = 9;
|
|
1369
|
+
optional int32 max_partition_count = 10;
|
|
1370
|
+
optional string media_type = 11;
|
|
1371
|
+
optional int64 min_block_size = 12;
|
|
1372
|
+
optional bool needs_cleaning = 13;
|
|
1373
|
+
optional int32 number_of_media_supported = 14;
|
|
1374
|
+
optional int32 padding = 15;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1309
1377
|
|
|
1310
1378
|
/**
|
|
1311
1379
|
* PortableBattery, only Windows atm.
|