@lansweeper/data-platform-outbound-grpc 0.1.16 → 0.1.18
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 +10 -5
- package/gen-proto/outbound_pb.js +105 -63
- package/generated-go/outbound.pb.go +1020 -999
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +21 -5
|
@@ -313,6 +313,10 @@ export class Asset extends jspb.Message {
|
|
|
313
313
|
getSourceTagList(): Array<string>;
|
|
314
314
|
setSourceTagList(value: Array<string>): Asset;
|
|
315
315
|
addSourceTag(value: string, index?: number): string;
|
|
316
|
+
clearTagList(): void;
|
|
317
|
+
getTagList(): Array<string>;
|
|
318
|
+
setTagList(value: Array<string>): Asset;
|
|
319
|
+
addTag(value: string, index?: number): string;
|
|
316
320
|
|
|
317
321
|
hasCore(): boolean;
|
|
318
322
|
clearCore(): void;
|
|
@@ -343,6 +347,10 @@ export class Asset extends jspb.Message {
|
|
|
343
347
|
clearNetworkInterfaces(): void;
|
|
344
348
|
getNetworkInterfaces(): NetworkInterfaces | undefined;
|
|
345
349
|
setNetworkInterfaces(value?: NetworkInterfaces): Asset;
|
|
350
|
+
clearOsPatchList(): void;
|
|
351
|
+
getOsPatchList(): Array<OperatingSystemPatch>;
|
|
352
|
+
setOsPatchList(value: Array<OperatingSystemPatch>): Asset;
|
|
353
|
+
addOsPatch(value?: OperatingSystemPatch, index?: number): OperatingSystemPatch;
|
|
346
354
|
|
|
347
355
|
serializeBinary(): Uint8Array;
|
|
348
356
|
toObject(includeInstance?: boolean): Asset.AsObject;
|
|
@@ -362,12 +370,14 @@ export namespace Asset {
|
|
|
362
370
|
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
363
371
|
lastEnriched?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
364
372
|
sourceTagList: Array<string>,
|
|
373
|
+
tagList: Array<string>,
|
|
365
374
|
core?: CoreFields.AsObject,
|
|
366
375
|
hw?: HardwareInfo.AsObject,
|
|
367
376
|
os?: OperatingSystemInfo.AsObject,
|
|
368
377
|
softwareInventory?: SoftwareInventory.AsObject,
|
|
369
378
|
monitorInventory?: MonitorInventory.AsObject,
|
|
370
379
|
networkInterfaces?: NetworkInterfaces.AsObject,
|
|
380
|
+
osPatchList: Array<OperatingSystemPatch.AsObject>,
|
|
371
381
|
}
|
|
372
382
|
}
|
|
373
383
|
|
|
@@ -644,10 +654,6 @@ export class OperatingSystemInfo extends jspb.Message {
|
|
|
644
654
|
clearRank(): void;
|
|
645
655
|
getRank(): number | undefined;
|
|
646
656
|
setRank(value: number): OperatingSystemInfo;
|
|
647
|
-
clearPatchList(): void;
|
|
648
|
-
getPatchList(): Array<OperatingSystemPatch>;
|
|
649
|
-
setPatchList(value: Array<OperatingSystemPatch>): OperatingSystemInfo;
|
|
650
|
-
addPatch(value?: OperatingSystemPatch, index?: number): OperatingSystemPatch;
|
|
651
657
|
|
|
652
658
|
hasWindows(): boolean;
|
|
653
659
|
clearWindows(): void;
|
|
@@ -677,7 +683,6 @@ export namespace OperatingSystemInfo {
|
|
|
677
683
|
cpe?: string,
|
|
678
684
|
fwCpe?: string,
|
|
679
685
|
rank?: number,
|
|
680
|
-
patchList: Array<OperatingSystemPatch.AsObject>,
|
|
681
686
|
windows?: WindowsRawOperatingSystemInfo.AsObject,
|
|
682
687
|
}
|
|
683
688
|
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -334,7 +334,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
334
334
|
* @constructor
|
|
335
335
|
*/
|
|
336
336
|
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo = function(opt_data) {
|
|
337
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
337
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.oneofGroups_);
|
|
338
338
|
};
|
|
339
339
|
goog.inherits(proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo, jspb.Message);
|
|
340
340
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2768,7 +2768,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
|
|
|
2768
2768
|
* @private {!Array<number>}
|
|
2769
2769
|
* @const
|
|
2770
2770
|
*/
|
|
2771
|
-
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [12];
|
|
2771
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [12,14,13];
|
|
2772
2772
|
|
|
2773
2773
|
|
|
2774
2774
|
|
|
@@ -2807,12 +2807,15 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
|
|
|
2807
2807
|
lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2808
2808
|
lastEnriched: (f = msg.getLastEnriched()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2809
2809
|
sourceTagList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
2810
|
+
tagList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
2810
2811
|
core: (f = msg.getCore()) && proto.com.lansweeper.dp.outbound.v1.CoreFields.toObject(includeInstance, f),
|
|
2811
2812
|
hw: (f = msg.getHw()) && proto.com.lansweeper.dp.outbound.v1.HardwareInfo.toObject(includeInstance, f),
|
|
2812
2813
|
os: (f = msg.getOs()) && proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject(includeInstance, f),
|
|
2813
2814
|
softwareInventory: (f = msg.getSoftwareInventory()) && proto.com.lansweeper.dp.outbound.v1.SoftwareInventory.toObject(includeInstance, f),
|
|
2814
2815
|
monitorInventory: (f = msg.getMonitorInventory()) && proto.com.lansweeper.dp.outbound.v1.MonitorInventory.toObject(includeInstance, f),
|
|
2815
|
-
networkInterfaces: (f = msg.getNetworkInterfaces()) && proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.toObject(includeInstance, f)
|
|
2816
|
+
networkInterfaces: (f = msg.getNetworkInterfaces()) && proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.toObject(includeInstance, f),
|
|
2817
|
+
osPatchList: jspb.Message.toObjectList(msg.getOsPatchList(),
|
|
2818
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.toObject, includeInstance)
|
|
2816
2819
|
};
|
|
2817
2820
|
|
|
2818
2821
|
if (includeInstance) {
|
|
@@ -2878,6 +2881,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
2878
2881
|
var value = /** @type {string} */ (reader.readString());
|
|
2879
2882
|
msg.addSourceTag(value);
|
|
2880
2883
|
break;
|
|
2884
|
+
case 14:
|
|
2885
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2886
|
+
msg.addTag(value);
|
|
2887
|
+
break;
|
|
2881
2888
|
case 6:
|
|
2882
2889
|
var value = new proto.com.lansweeper.dp.outbound.v1.CoreFields;
|
|
2883
2890
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CoreFields.deserializeBinaryFromReader);
|
|
@@ -2908,6 +2915,11 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
|
|
|
2908
2915
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.deserializeBinaryFromReader);
|
|
2909
2916
|
msg.setNetworkInterfaces(value);
|
|
2910
2917
|
break;
|
|
2918
|
+
case 13:
|
|
2919
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch;
|
|
2920
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.deserializeBinaryFromReader);
|
|
2921
|
+
msg.addOsPatch(value);
|
|
2922
|
+
break;
|
|
2911
2923
|
default:
|
|
2912
2924
|
reader.skipField();
|
|
2913
2925
|
break;
|
|
@@ -2984,6 +2996,13 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
2984
2996
|
f
|
|
2985
2997
|
);
|
|
2986
2998
|
}
|
|
2999
|
+
f = message.getTagList();
|
|
3000
|
+
if (f.length > 0) {
|
|
3001
|
+
writer.writeRepeatedString(
|
|
3002
|
+
14,
|
|
3003
|
+
f
|
|
3004
|
+
);
|
|
3005
|
+
}
|
|
2987
3006
|
f = message.getCore();
|
|
2988
3007
|
if (f != null) {
|
|
2989
3008
|
writer.writeMessage(
|
|
@@ -3032,6 +3051,14 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
|
|
|
3032
3051
|
proto.com.lansweeper.dp.outbound.v1.NetworkInterfaces.serializeBinaryToWriter
|
|
3033
3052
|
);
|
|
3034
3053
|
}
|
|
3054
|
+
f = message.getOsPatchList();
|
|
3055
|
+
if (f.length > 0) {
|
|
3056
|
+
writer.writeRepeatedMessage(
|
|
3057
|
+
13,
|
|
3058
|
+
f,
|
|
3059
|
+
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.serializeBinaryToWriter
|
|
3060
|
+
);
|
|
3061
|
+
}
|
|
3035
3062
|
};
|
|
3036
3063
|
|
|
3037
3064
|
|
|
@@ -3257,6 +3284,43 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearSourceTagList = functio
|
|
|
3257
3284
|
};
|
|
3258
3285
|
|
|
3259
3286
|
|
|
3287
|
+
/**
|
|
3288
|
+
* repeated string tag = 14;
|
|
3289
|
+
* @return {!Array<string>}
|
|
3290
|
+
*/
|
|
3291
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getTagList = function() {
|
|
3292
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
/**
|
|
3297
|
+
* @param {!Array<string>} value
|
|
3298
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3299
|
+
*/
|
|
3300
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setTagList = function(value) {
|
|
3301
|
+
return jspb.Message.setField(this, 14, value || []);
|
|
3302
|
+
};
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* @param {string} value
|
|
3307
|
+
* @param {number=} opt_index
|
|
3308
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3309
|
+
*/
|
|
3310
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addTag = function(value, opt_index) {
|
|
3311
|
+
return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
|
|
3312
|
+
};
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* Clears the list making it empty but non-null.
|
|
3317
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3318
|
+
*/
|
|
3319
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearTagList = function() {
|
|
3320
|
+
return this.setTagList([]);
|
|
3321
|
+
};
|
|
3322
|
+
|
|
3323
|
+
|
|
3260
3324
|
/**
|
|
3261
3325
|
* optional CoreFields core = 6;
|
|
3262
3326
|
* @return {?proto.com.lansweeper.dp.outbound.v1.CoreFields}
|
|
@@ -3479,6 +3543,44 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasNetworkInterfaces = funct
|
|
|
3479
3543
|
};
|
|
3480
3544
|
|
|
3481
3545
|
|
|
3546
|
+
/**
|
|
3547
|
+
* repeated OperatingSystemPatch os_patch = 13;
|
|
3548
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>}
|
|
3549
|
+
*/
|
|
3550
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getOsPatchList = function() {
|
|
3551
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>} */ (
|
|
3552
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch, 13));
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
|
|
3556
|
+
/**
|
|
3557
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>} value
|
|
3558
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3559
|
+
*/
|
|
3560
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setOsPatchList = function(value) {
|
|
3561
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3562
|
+
};
|
|
3563
|
+
|
|
3564
|
+
|
|
3565
|
+
/**
|
|
3566
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch=} opt_value
|
|
3567
|
+
* @param {number=} opt_index
|
|
3568
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch}
|
|
3569
|
+
*/
|
|
3570
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addOsPatch = function(opt_value, opt_index) {
|
|
3571
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch, opt_index);
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Clears the list making it empty but non-null.
|
|
3577
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
|
|
3578
|
+
*/
|
|
3579
|
+
proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearOsPatchList = function() {
|
|
3580
|
+
return this.setOsPatchList([]);
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
|
|
3482
3584
|
|
|
3483
3585
|
|
|
3484
3586
|
|
|
@@ -5176,13 +5278,6 @@ proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo.prototype.hasSerialNumber =
|
|
|
5176
5278
|
|
|
5177
5279
|
|
|
5178
5280
|
|
|
5179
|
-
/**
|
|
5180
|
-
* List of repeated fields within this message type.
|
|
5181
|
-
* @private {!Array<number>}
|
|
5182
|
-
* @const
|
|
5183
|
-
*/
|
|
5184
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.repeatedFields_ = [9];
|
|
5185
|
-
|
|
5186
5281
|
/**
|
|
5187
5282
|
* Oneof group definitions for this message. Each group defines the field
|
|
5188
5283
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -5248,8 +5343,6 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject = function(incl
|
|
|
5248
5343
|
cpe: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5249
5344
|
fwCpe: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5250
5345
|
rank: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
5251
|
-
patchList: jspb.Message.toObjectList(msg.getPatchList(),
|
|
5252
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.toObject, includeInstance),
|
|
5253
5346
|
windows: (f = msg.getWindows()) && proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo.toObject(includeInstance, f)
|
|
5254
5347
|
};
|
|
5255
5348
|
|
|
@@ -5323,11 +5416,6 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.deserializeBinaryFromRea
|
|
|
5323
5416
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5324
5417
|
msg.setRank(value);
|
|
5325
5418
|
break;
|
|
5326
|
-
case 9:
|
|
5327
|
-
var value = new proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch;
|
|
5328
|
-
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.deserializeBinaryFromReader);
|
|
5329
|
-
msg.addPatch(value);
|
|
5330
|
-
break;
|
|
5331
5419
|
case 32:
|
|
5332
5420
|
var value = new proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo;
|
|
5333
5421
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo.deserializeBinaryFromReader);
|
|
@@ -5425,14 +5513,6 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.serializeBinaryToWriter
|
|
|
5425
5513
|
f
|
|
5426
5514
|
);
|
|
5427
5515
|
}
|
|
5428
|
-
f = message.getPatchList();
|
|
5429
|
-
if (f.length > 0) {
|
|
5430
|
-
writer.writeRepeatedMessage(
|
|
5431
|
-
9,
|
|
5432
|
-
f,
|
|
5433
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch.serializeBinaryToWriter
|
|
5434
|
-
);
|
|
5435
|
-
}
|
|
5436
5516
|
f = message.getWindows();
|
|
5437
5517
|
if (f != null) {
|
|
5438
5518
|
writer.writeMessage(
|
|
@@ -5768,44 +5848,6 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasRank = func
|
|
|
5768
5848
|
};
|
|
5769
5849
|
|
|
5770
5850
|
|
|
5771
|
-
/**
|
|
5772
|
-
* repeated OperatingSystemPatch patch = 9;
|
|
5773
|
-
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>}
|
|
5774
|
-
*/
|
|
5775
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.getPatchList = function() {
|
|
5776
|
-
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>} */ (
|
|
5777
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch, 9));
|
|
5778
|
-
};
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
/**
|
|
5782
|
-
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch>} value
|
|
5783
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
5784
|
-
*/
|
|
5785
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.setPatchList = function(value) {
|
|
5786
|
-
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
5787
|
-
};
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
/**
|
|
5791
|
-
* @param {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch=} opt_value
|
|
5792
|
-
* @param {number=} opt_index
|
|
5793
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch}
|
|
5794
|
-
*/
|
|
5795
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.addPatch = function(opt_value, opt_index) {
|
|
5796
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.com.lansweeper.dp.outbound.v1.OperatingSystemPatch, opt_index);
|
|
5797
|
-
};
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
/**
|
|
5801
|
-
* Clears the list making it empty but non-null.
|
|
5802
|
-
* @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
|
|
5803
|
-
*/
|
|
5804
|
-
proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.clearPatchList = function() {
|
|
5805
|
-
return this.setPatchList([]);
|
|
5806
|
-
};
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
5851
|
/**
|
|
5810
5852
|
* optional WindowsRawOperatingSystemInfo windows = 32;
|
|
5811
5853
|
* @return {?proto.com.lansweeper.dp.outbound.v1.WindowsRawOperatingSystemInfo}
|