@lansweeper/data-platform-outbound-grpc 0.1.57 → 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 +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +947 -0
- package/gen-proto/outbound_pb.js +7671 -2
- package/generated-go/outbound.pb.go +6974 -4656
- package/generated-go/outbound_grpc.pb.go +1 -1
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +226 -0
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
|
@@ -148,6 +148,7 @@ message Asset {
|
|
|
148
148
|
optional Motherboard motherboard = 21;
|
|
149
149
|
optional Bios bios = 46;
|
|
150
150
|
repeated ComputerBattery computer_battery = 45;
|
|
151
|
+
repeated PortableBattery portable_battery = 53;
|
|
151
152
|
repeated OpticalDrive optical_drive = 24;
|
|
152
153
|
repeated HardDrive hard_drive = 25;
|
|
153
154
|
repeated DriveVolume drive_volume = 38;
|
|
@@ -158,6 +159,18 @@ message Asset {
|
|
|
158
159
|
repeated PointingDevice pointing_device = 29;
|
|
159
160
|
repeated ComputerBus computer_bus = 47;
|
|
160
161
|
repeated ComputerInfrared computer_infrared = 48;
|
|
162
|
+
repeated ParallelPort parallel_port = 50;
|
|
163
|
+
repeated SerialPort serial_port = 51;
|
|
164
|
+
repeated PcmciaController pcmcia = 52;
|
|
165
|
+
repeated PortConnector port_connector = 54;
|
|
166
|
+
repeated ScsiController scsi_controller = 55;
|
|
167
|
+
optional ComputerSystemProduct computer_system_product = 56;
|
|
168
|
+
repeated TrustedPlatformModule tpm = 57;
|
|
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;
|
|
161
174
|
|
|
162
175
|
repeated AutoRunCommand auto_run_command = 34;
|
|
163
176
|
optional BootConfig boot_config = 35;
|
|
@@ -1170,6 +1183,219 @@ message MemoryArray {
|
|
|
1170
1183
|
optional MappedValue use= 6; // Windows
|
|
1171
1184
|
}
|
|
1172
1185
|
|
|
1186
|
+
/**
|
|
1187
|
+
* ParallelPort, only Windows atm.
|
|
1188
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-parallelport
|
|
1189
|
+
*/
|
|
1190
|
+
message ParallelPort {
|
|
1191
|
+
optional string caption = 1;
|
|
1192
|
+
optional MappedValue availability = 2;
|
|
1193
|
+
optional MappedValue protocol_supported = 3;
|
|
1194
|
+
optional MappedValue config_manager_error_code = 4;
|
|
1195
|
+
optional string pnp_device_id = 5;
|
|
1196
|
+
optional bool config_manager_user_config = 6;
|
|
1197
|
+
optional bool os_auto_discovered = 7;
|
|
1198
|
+
optional bool power_management_supported = 8;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* SerialPort, only Windows atm.
|
|
1203
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-serialport
|
|
1204
|
+
*/
|
|
1205
|
+
message SerialPort {
|
|
1206
|
+
optional MappedValue availability = 1;
|
|
1207
|
+
optional bool binary = 2;
|
|
1208
|
+
optional string caption = 3;
|
|
1209
|
+
optional string device_id = 4;
|
|
1210
|
+
optional int32 max_baud_rate = 5;
|
|
1211
|
+
optional int32 maximum_input_buffer_size = 6;
|
|
1212
|
+
optional int32 maximum_output_buffer_size = 7;
|
|
1213
|
+
optional bool os_auto_discovered = 8;
|
|
1214
|
+
optional string pnp_device_id = 9;
|
|
1215
|
+
optional string provider_type = 10;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* PcmciaController, only Windows atm.
|
|
1220
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-pcmciacontroller
|
|
1221
|
+
*/
|
|
1222
|
+
message PcmciaController {
|
|
1223
|
+
optional string caption = 1;
|
|
1224
|
+
optional MappedValue protocol_supported = 2;
|
|
1225
|
+
optional MappedValue config_manager_error_code = 3;
|
|
1226
|
+
optional bool config_manager_user_config = 4;
|
|
1227
|
+
optional string device_id = 5;
|
|
1228
|
+
optional string manufacturer = 6;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* PortConnector, only Windows atm.
|
|
1233
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-portconnector
|
|
1234
|
+
*/
|
|
1235
|
+
message PortConnector {
|
|
1236
|
+
repeated MappedValue connector_type = 1;
|
|
1237
|
+
optional string external_reference_designator = 2;
|
|
1238
|
+
optional string internal_reference_designator = 3;
|
|
1239
|
+
optional MappedValue port_type = 4;
|
|
1240
|
+
optional string tag = 5;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* ScsiController, only Windows atm.
|
|
1245
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-scsicontroller
|
|
1246
|
+
*/
|
|
1247
|
+
message ScsiController {
|
|
1248
|
+
optional MappedValue availability = 1;
|
|
1249
|
+
optional string caption = 2;
|
|
1250
|
+
optional string device_id = 3;
|
|
1251
|
+
optional string driver_name = 4;
|
|
1252
|
+
optional string manufacturer = 5;
|
|
1253
|
+
optional MappedValue protocol_supported = 6;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* ComputerSystemProduct, only Windows atm.
|
|
1258
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystemproduct
|
|
1259
|
+
*/
|
|
1260
|
+
message ComputerSystemProduct {
|
|
1261
|
+
optional string identifying_number = 1;
|
|
1262
|
+
optional string name = 2;
|
|
1263
|
+
optional string uuid = 3;
|
|
1264
|
+
optional string vendor = 4;
|
|
1265
|
+
optional string version = 5;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* TrustedPlatformModule, only Windows atm.
|
|
1270
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/secprov/win32-tpm
|
|
1271
|
+
*/
|
|
1272
|
+
message TrustedPlatformModule {
|
|
1273
|
+
optional bool is_initial_value_activated = 1;
|
|
1274
|
+
optional bool is_initial_value_enabled = 2;
|
|
1275
|
+
optional bool is_initial_value_owned = 3;
|
|
1276
|
+
optional string spec_version = 4;
|
|
1277
|
+
optional string manufacturer_version = 5;
|
|
1278
|
+
optional string manufacturer_version_info = 6;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
This integer value can be translated to a string value by interpreting each byte as an ASCII character.
|
|
1282
|
+
For example, an integer value of 1414548736 can be divided into these 4 bytes: 0x54, 0x50, 0x4D, and 0x00.
|
|
1283
|
+
Assuming the string is interpreted from left to right, this integer value translated to a string value of "TPM".
|
|
1284
|
+
*/
|
|
1285
|
+
optional string manufacturer_id = 7;
|
|
1286
|
+
|
|
1287
|
+
optional string manufacturer_version_full20 = 8;
|
|
1288
|
+
optional string manufacturer_id_txt = 9;
|
|
1289
|
+
optional string physical_presence_version_info = 10;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* ComputerConnectedUsbController, only Windows atm.
|
|
1294
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-usbcontroller
|
|
1295
|
+
*/
|
|
1296
|
+
message ComputerConnectedUsbController {
|
|
1297
|
+
optional string caption = 1;
|
|
1298
|
+
optional string device_id = 2;
|
|
1299
|
+
optional string manufacturer = 3;
|
|
1300
|
+
optional MappedValue protocol_supported = 4;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Windows only atm.
|
|
1305
|
+
*/
|
|
1306
|
+
message ComputerConnectedUsbDeviceInfo {
|
|
1307
|
+
string device_key = 1;
|
|
1308
|
+
string device_value = 2;
|
|
1309
|
+
string manufacturer = 3;
|
|
1310
|
+
}
|
|
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
|
+
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* PortableBattery, only Windows atm.
|
|
1380
|
+
* WMI mappings at: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-portablebattery
|
|
1381
|
+
*/
|
|
1382
|
+
message PortableBattery {
|
|
1383
|
+
optional int32 capacity_multiplier = 1;
|
|
1384
|
+
optional MappedValue chemistry = 2;
|
|
1385
|
+
optional int32 design_capacity = 3;
|
|
1386
|
+
optional int64 design_voltage = 4;
|
|
1387
|
+
optional string device_id = 5;
|
|
1388
|
+
optional string location = 6;
|
|
1389
|
+
optional string manufacture_date = 7;
|
|
1390
|
+
optional string manufacturer = 8;
|
|
1391
|
+
optional int32 max_battery_error = 9;
|
|
1392
|
+
optional string name = 10;
|
|
1393
|
+
optional string smart_battery_version = 11;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1173
1399
|
/**
|
|
1174
1400
|
* A Mapped value is a numeric field that can optionally have a text looked up value.
|
|
1175
1401
|
* Typical in WMI fields.
|