@lansweeper/data-platform-outbound-grpc 0.8.7 → 0.8.8

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +31 -0
  4. package/gen-proto/outbound_pb.js +254 -1
  5. package/generated-go/outbound.pb.go +12464 -12373
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +10 -1
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetCustom$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetCustom$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetCustom.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetCustomOrBuilder.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/FieldValue$1.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/FieldValue$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/FieldValue.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/FieldValueOrBuilder.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  18. package/model/target/classes/outbound.proto +10 -1
  19. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetCustom.java +587 -53
  20. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetCustomOrBuilder.java +74 -10
  21. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/FieldValue.java +712 -0
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/FieldValueOrBuilder.java +39 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3761 -3747
  24. package/model/target/maven-archiver/pom.properties +2 -2
  25. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  26. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
  27. package/model/target/{outbound-model-0.8.6-sources.jar → outbound-model-0.8.7-sources.jar} +0 -0
  28. package/model/target/{outbound-model-0.8.6.jar → outbound-model-0.8.7.jar} +0 -0
  29. package/package.json +2 -2
  30. package/pom.xml +1 -1
  31. package/proto/outbound.proto +10 -1
  32. package/service/pom.xml +1 -1
  33. package/service/target/maven-archiver/pom.properties +2 -2
  34. package/service/target/{outbound-service-0.8.6-sources.jar → outbound-service-0.8.7-sources.jar} +0 -0
  35. package/service/target/{outbound-service-0.8.6.jar → outbound-service-0.8.7.jar} +0 -0
@@ -1362,6 +1362,10 @@ export class AssetCustom extends jspb.Message {
1362
1362
  getFieldsList(): Array<MappedValue>;
1363
1363
  setFieldsList(value: Array<MappedValue>): AssetCustom;
1364
1364
  addFields(value?: MappedValue, index?: number): MappedValue;
1365
+ clearCustomFieldsList(): void;
1366
+ getCustomFieldsList(): Array<FieldValue>;
1367
+ setCustomFieldsList(value: Array<FieldValue>): AssetCustom;
1368
+ addCustomFields(value?: FieldValue, index?: number): FieldValue;
1365
1369
 
1366
1370
  hasModelNumber(): boolean;
1367
1371
  clearModelNumber(): void;
@@ -1429,6 +1433,7 @@ export namespace AssetCustom {
1429
1433
  stateKey?: string,
1430
1434
  stateName?: string,
1431
1435
  fieldsList: Array<MappedValue.AsObject>,
1436
+ customFieldsList: Array<FieldValue.AsObject>,
1432
1437
  modelNumber?: string,
1433
1438
  }
1434
1439
  }
@@ -14748,6 +14753,32 @@ export namespace MappedValue {
14748
14753
  }
14749
14754
  }
14750
14755
 
14756
+ export class FieldValue extends jspb.Message {
14757
+ getKey(): string;
14758
+ setKey(value: string): FieldValue;
14759
+
14760
+ hasName(): boolean;
14761
+ clearName(): void;
14762
+ getName(): string | undefined;
14763
+ setName(value: string): FieldValue;
14764
+
14765
+ serializeBinary(): Uint8Array;
14766
+ toObject(includeInstance?: boolean): FieldValue.AsObject;
14767
+ static toObject(includeInstance: boolean, msg: FieldValue): FieldValue.AsObject;
14768
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
14769
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
14770
+ static serializeBinaryToWriter(message: FieldValue, writer: jspb.BinaryWriter): void;
14771
+ static deserializeBinary(bytes: Uint8Array): FieldValue;
14772
+ static deserializeBinaryFromReader(message: FieldValue, reader: jspb.BinaryReader): FieldValue;
14773
+ }
14774
+
14775
+ export namespace FieldValue {
14776
+ export type AsObject = {
14777
+ key: string,
14778
+ name?: string,
14779
+ }
14780
+ }
14781
+
14751
14782
  export class MonitorInventory extends jspb.Message {
14752
14783
 
14753
14784
  hasTimestamp(): boolean;
@@ -154,6 +154,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EntityFilter.EntryState',
154
154
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EntityFilter.VirtualState', null, global);
155
155
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EntityPath', null, global);
156
156
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.EsxiCluster', null, global);
157
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.FieldValue', null, global);
157
158
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityRequest', null, global);
158
159
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityResponse', null, global);
159
160
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetIpLocationConfigRequest', null, global);
@@ -4756,6 +4757,27 @@ if (goog.DEBUG && !COMPILED) {
4756
4757
  */
4757
4758
  proto.com.lansweeper.dp.outbound.v1.MappedValue.displayName = 'proto.com.lansweeper.dp.outbound.v1.MappedValue';
4758
4759
  }
4760
+ /**
4761
+ * Generated by JsPbCodeGenerator.
4762
+ * @param {Array=} opt_data Optional initial data array, typically from a
4763
+ * server response, or constructed directly in Javascript. The array is used
4764
+ * in place and becomes part of the constructed object. It is not cloned.
4765
+ * If no data is provided, the constructed object will be empty, but still
4766
+ * valid.
4767
+ * @extends {jspb.Message}
4768
+ * @constructor
4769
+ */
4770
+ proto.com.lansweeper.dp.outbound.v1.FieldValue = function(opt_data) {
4771
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4772
+ };
4773
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.FieldValue, jspb.Message);
4774
+ if (goog.DEBUG && !COMPILED) {
4775
+ /**
4776
+ * @public
4777
+ * @override
4778
+ */
4779
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.displayName = 'proto.com.lansweeper.dp.outbound.v1.FieldValue';
4780
+ }
4759
4781
  /**
4760
4782
  * Generated by JsPbCodeGenerator.
4761
4783
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15106,7 +15128,7 @@ proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.clearGroupLinkList =
15106
15128
  * @private {!Array<number>}
15107
15129
  * @const
15108
15130
  */
15109
- proto.com.lansweeper.dp.outbound.v1.AssetCustom.repeatedFields_ = [49];
15131
+ proto.com.lansweeper.dp.outbound.v1.AssetCustom.repeatedFields_ = [49,51];
15110
15132
 
15111
15133
 
15112
15134
 
@@ -15189,6 +15211,8 @@ proto.com.lansweeper.dp.outbound.v1.AssetCustom.toObject = function(includeInsta
15189
15211
  stateName: jspb.Message.getFieldWithDefault(msg, 48, ""),
15190
15212
  fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
15191
15213
  proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject, includeInstance),
15214
+ customFieldsList: jspb.Message.toObjectList(msg.getCustomFieldsList(),
15215
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.toObject, includeInstance),
15192
15216
  modelNumber: jspb.Message.getFieldWithDefault(msg, 50, "")
15193
15217
  };
15194
15218
 
@@ -15423,6 +15447,11 @@ proto.com.lansweeper.dp.outbound.v1.AssetCustom.deserializeBinaryFromReader = fu
15423
15447
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
15424
15448
  msg.addFields(value);
15425
15449
  break;
15450
+ case 51:
15451
+ var value = new proto.com.lansweeper.dp.outbound.v1.FieldValue;
15452
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.FieldValue.deserializeBinaryFromReader);
15453
+ msg.addCustomFields(value);
15454
+ break;
15426
15455
  case 50:
15427
15456
  var value = /** @type {string} */ (reader.readString());
15428
15457
  msg.setModelNumber(value);
@@ -15800,6 +15829,14 @@ proto.com.lansweeper.dp.outbound.v1.AssetCustom.serializeBinaryToWriter = functi
15800
15829
  proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
15801
15830
  );
15802
15831
  }
15832
+ f = message.getCustomFieldsList();
15833
+ if (f.length > 0) {
15834
+ writer.writeRepeatedMessage(
15835
+ 51,
15836
+ f,
15837
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.serializeBinaryToWriter
15838
+ );
15839
+ }
15803
15840
  f = /** @type {string} */ (jspb.Message.getField(message, 50));
15804
15841
  if (f != null) {
15805
15842
  writer.writeString(
@@ -17576,6 +17613,44 @@ proto.com.lansweeper.dp.outbound.v1.AssetCustom.prototype.clearFieldsList = func
17576
17613
  };
17577
17614
 
17578
17615
 
17616
+ /**
17617
+ * repeated FieldValue custom_fields = 51;
17618
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.FieldValue>}
17619
+ */
17620
+ proto.com.lansweeper.dp.outbound.v1.AssetCustom.prototype.getCustomFieldsList = function() {
17621
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.FieldValue>} */ (
17622
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.FieldValue, 51));
17623
+ };
17624
+
17625
+
17626
+ /**
17627
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.FieldValue>} value
17628
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AssetCustom} returns this
17629
+ */
17630
+ proto.com.lansweeper.dp.outbound.v1.AssetCustom.prototype.setCustomFieldsList = function(value) {
17631
+ return jspb.Message.setRepeatedWrapperField(this, 51, value);
17632
+ };
17633
+
17634
+
17635
+ /**
17636
+ * @param {!proto.com.lansweeper.dp.outbound.v1.FieldValue=} opt_value
17637
+ * @param {number=} opt_index
17638
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue}
17639
+ */
17640
+ proto.com.lansweeper.dp.outbound.v1.AssetCustom.prototype.addCustomFields = function(opt_value, opt_index) {
17641
+ return jspb.Message.addToRepeatedWrapperField(this, 51, opt_value, proto.com.lansweeper.dp.outbound.v1.FieldValue, opt_index);
17642
+ };
17643
+
17644
+
17645
+ /**
17646
+ * Clears the list making it empty but non-null.
17647
+ * @return {!proto.com.lansweeper.dp.outbound.v1.AssetCustom} returns this
17648
+ */
17649
+ proto.com.lansweeper.dp.outbound.v1.AssetCustom.prototype.clearCustomFieldsList = function() {
17650
+ return this.setCustomFieldsList([]);
17651
+ };
17652
+
17653
+
17579
17654
  /**
17580
17655
  * optional string model_number = 50;
17581
17656
  * @return {string}
@@ -120269,6 +120344,184 @@ proto.com.lansweeper.dp.outbound.v1.MappedValue.prototype.hasName = function() {
120269
120344
 
120270
120345
 
120271
120346
 
120347
+
120348
+
120349
+ if (jspb.Message.GENERATE_TO_OBJECT) {
120350
+ /**
120351
+ * Creates an object representation of this proto.
120352
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
120353
+ * Optional fields that are not set will be set to undefined.
120354
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
120355
+ * For the list of reserved names please see:
120356
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
120357
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
120358
+ * JSPB instance for transitional soy proto support:
120359
+ * http://goto/soy-param-migration
120360
+ * @return {!Object}
120361
+ */
120362
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.toObject = function(opt_includeInstance) {
120363
+ return proto.com.lansweeper.dp.outbound.v1.FieldValue.toObject(opt_includeInstance, this);
120364
+ };
120365
+
120366
+
120367
+ /**
120368
+ * Static version of the {@see toObject} method.
120369
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
120370
+ * the JSPB instance for transitional soy proto support:
120371
+ * http://goto/soy-param-migration
120372
+ * @param {!proto.com.lansweeper.dp.outbound.v1.FieldValue} msg The msg instance to transform.
120373
+ * @return {!Object}
120374
+ * @suppress {unusedLocalVariables} f is only used for nested messages
120375
+ */
120376
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.toObject = function(includeInstance, msg) {
120377
+ var f, obj = {
120378
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
120379
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
120380
+ };
120381
+
120382
+ if (includeInstance) {
120383
+ obj.$jspbMessageInstance = msg;
120384
+ }
120385
+ return obj;
120386
+ };
120387
+ }
120388
+
120389
+
120390
+ /**
120391
+ * Deserializes binary data (in protobuf wire format).
120392
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
120393
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue}
120394
+ */
120395
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.deserializeBinary = function(bytes) {
120396
+ var reader = new jspb.BinaryReader(bytes);
120397
+ var msg = new proto.com.lansweeper.dp.outbound.v1.FieldValue;
120398
+ return proto.com.lansweeper.dp.outbound.v1.FieldValue.deserializeBinaryFromReader(msg, reader);
120399
+ };
120400
+
120401
+
120402
+ /**
120403
+ * Deserializes binary data (in protobuf wire format) from the
120404
+ * given reader into the given message object.
120405
+ * @param {!proto.com.lansweeper.dp.outbound.v1.FieldValue} msg The message object to deserialize into.
120406
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
120407
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue}
120408
+ */
120409
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.deserializeBinaryFromReader = function(msg, reader) {
120410
+ while (reader.nextField()) {
120411
+ if (reader.isEndGroup()) {
120412
+ break;
120413
+ }
120414
+ var field = reader.getFieldNumber();
120415
+ switch (field) {
120416
+ case 1:
120417
+ var value = /** @type {string} */ (reader.readString());
120418
+ msg.setKey(value);
120419
+ break;
120420
+ case 2:
120421
+ var value = /** @type {string} */ (reader.readString());
120422
+ msg.setName(value);
120423
+ break;
120424
+ default:
120425
+ reader.skipField();
120426
+ break;
120427
+ }
120428
+ }
120429
+ return msg;
120430
+ };
120431
+
120432
+
120433
+ /**
120434
+ * Serializes the message to binary data (in protobuf wire format).
120435
+ * @return {!Uint8Array}
120436
+ */
120437
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.serializeBinary = function() {
120438
+ var writer = new jspb.BinaryWriter();
120439
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.serializeBinaryToWriter(this, writer);
120440
+ return writer.getResultBuffer();
120441
+ };
120442
+
120443
+
120444
+ /**
120445
+ * Serializes the given message to binary data (in protobuf wire
120446
+ * format), writing to the given BinaryWriter.
120447
+ * @param {!proto.com.lansweeper.dp.outbound.v1.FieldValue} message
120448
+ * @param {!jspb.BinaryWriter} writer
120449
+ * @suppress {unusedLocalVariables} f is only used for nested messages
120450
+ */
120451
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.serializeBinaryToWriter = function(message, writer) {
120452
+ var f = undefined;
120453
+ f = message.getKey();
120454
+ if (f.length > 0) {
120455
+ writer.writeString(
120456
+ 1,
120457
+ f
120458
+ );
120459
+ }
120460
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
120461
+ if (f != null) {
120462
+ writer.writeString(
120463
+ 2,
120464
+ f
120465
+ );
120466
+ }
120467
+ };
120468
+
120469
+
120470
+ /**
120471
+ * optional string key = 1;
120472
+ * @return {string}
120473
+ */
120474
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.getKey = function() {
120475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
120476
+ };
120477
+
120478
+
120479
+ /**
120480
+ * @param {string} value
120481
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue} returns this
120482
+ */
120483
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.setKey = function(value) {
120484
+ return jspb.Message.setProto3StringField(this, 1, value);
120485
+ };
120486
+
120487
+
120488
+ /**
120489
+ * optional string name = 2;
120490
+ * @return {string}
120491
+ */
120492
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.getName = function() {
120493
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
120494
+ };
120495
+
120496
+
120497
+ /**
120498
+ * @param {string} value
120499
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue} returns this
120500
+ */
120501
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.setName = function(value) {
120502
+ return jspb.Message.setField(this, 2, value);
120503
+ };
120504
+
120505
+
120506
+ /**
120507
+ * Clears the field making it undefined.
120508
+ * @return {!proto.com.lansweeper.dp.outbound.v1.FieldValue} returns this
120509
+ */
120510
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.clearName = function() {
120511
+ return jspb.Message.setField(this, 2, undefined);
120512
+ };
120513
+
120514
+
120515
+ /**
120516
+ * Returns whether this field is set.
120517
+ * @return {boolean}
120518
+ */
120519
+ proto.com.lansweeper.dp.outbound.v1.FieldValue.prototype.hasName = function() {
120520
+ return jspb.Message.getField(this, 2) != null;
120521
+ };
120522
+
120523
+
120524
+
120272
120525
  /**
120273
120526
  * List of repeated fields within this message type.
120274
120527
  * @private {!Array<number>}