@lansweeper/data-platform-outbound-grpc 0.1.131 → 0.1.132

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.
@@ -1823,6 +1823,11 @@ export class SourceInfo extends jspb.Message {
1823
1823
  getRawId(): string;
1824
1824
  setRawId(value: string): SourceInfo;
1825
1825
 
1826
+ hasEntityId(): boolean;
1827
+ clearEntityId(): void;
1828
+ getEntityId(): string | undefined;
1829
+ setEntityId(value: string): SourceInfo;
1830
+
1826
1831
  hasLastSynced(): boolean;
1827
1832
  clearLastSynced(): void;
1828
1833
  getLastSynced(): google_protobuf_timestamp_pb.Timestamp | undefined;
@@ -1845,6 +1850,7 @@ export namespace SourceInfo {
1845
1850
  sourceAgent?: string,
1846
1851
  sourceName?: string,
1847
1852
  rawId: string,
1853
+ entityId?: string,
1848
1854
  lastSynced?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1849
1855
  }
1850
1856
  }
@@ -19114,6 +19114,7 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.toObject = function(includeInstan
19114
19114
  sourceAgent: jspb.Message.getFieldWithDefault(msg, 3, ""),
19115
19115
  sourceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
19116
19116
  rawId: jspb.Message.getFieldWithDefault(msg, 5, ""),
19117
+ entityId: jspb.Message.getFieldWithDefault(msg, 7, ""),
19117
19118
  lastSynced: (f = msg.getLastSynced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
19118
19119
  };
19119
19120
 
@@ -19171,6 +19172,10 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.deserializeBinaryFromReader = fun
19171
19172
  var value = /** @type {string} */ (reader.readString());
19172
19173
  msg.setRawId(value);
19173
19174
  break;
19175
+ case 7:
19176
+ var value = /** @type {string} */ (reader.readString());
19177
+ msg.setEntityId(value);
19178
+ break;
19174
19179
  case 6:
19175
19180
  var value = new google_protobuf_timestamp_pb.Timestamp;
19176
19181
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
@@ -19240,6 +19245,13 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.serializeBinaryToWriter = functio
19240
19245
  f
19241
19246
  );
19242
19247
  }
19248
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
19249
+ if (f != null) {
19250
+ writer.writeString(
19251
+ 7,
19252
+ f
19253
+ );
19254
+ }
19243
19255
  f = message.getLastSynced();
19244
19256
  if (f != null) {
19245
19257
  writer.writeMessage(
@@ -19377,6 +19389,42 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.setRawId = function(val
19377
19389
  };
19378
19390
 
19379
19391
 
19392
+ /**
19393
+ * optional string entity_id = 7;
19394
+ * @return {string}
19395
+ */
19396
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.getEntityId = function() {
19397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
19398
+ };
19399
+
19400
+
19401
+ /**
19402
+ * @param {string} value
19403
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
19404
+ */
19405
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.setEntityId = function(value) {
19406
+ return jspb.Message.setField(this, 7, value);
19407
+ };
19408
+
19409
+
19410
+ /**
19411
+ * Clears the field making it undefined.
19412
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
19413
+ */
19414
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.clearEntityId = function() {
19415
+ return jspb.Message.setField(this, 7, undefined);
19416
+ };
19417
+
19418
+
19419
+ /**
19420
+ * Returns whether this field is set.
19421
+ * @return {boolean}
19422
+ */
19423
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasEntityId = function() {
19424
+ return jspb.Message.getField(this, 7) != null;
19425
+ };
19426
+
19427
+
19380
19428
  /**
19381
19429
  * optional google.protobuf.Timestamp last_synced = 6;
19382
19430
  * @return {?proto.google.protobuf.Timestamp}
@@ -3869,6 +3869,7 @@ type SourceInfo struct {
3869
3869
  SourceAgent *string `protobuf:"bytes,3,opt,name=source_agent,json=sourceAgent,proto3,oneof" json:"source_agent,omitempty"` // source agent name and version
3870
3870
  SourceName *string `protobuf:"bytes,4,opt,name=source_name,json=sourceName,proto3,oneof" json:"source_name,omitempty"` // source name
3871
3871
  RawId string `protobuf:"bytes,5,opt,name=raw_id,json=rawId,proto3" json:"raw_id,omitempty"` // entity/asset raw id for source
3872
+ EntityId *string `protobuf:"bytes,7,opt,name=entity_id,json=entityId,proto3,oneof" json:"entity_id,omitempty"` // entity/asset id in data-core
3872
3873
  LastSynced *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_synced,json=lastSynced,proto3" json:"last_synced,omitempty"` // later here we could also have a summary of errors, if needed to keep history
3873
3874
  }
3874
3875
 
@@ -3939,6 +3940,13 @@ func (x *SourceInfo) GetRawId() string {
3939
3940
  return ""
3940
3941
  }
3941
3942
 
3943
+ func (x *SourceInfo) GetEntityId() string {
3944
+ if x != nil && x.EntityId != nil {
3945
+ return *x.EntityId
3946
+ }
3947
+ return ""
3948
+ }
3949
+
3942
3950
  func (x *SourceInfo) GetLastSynced() *timestamppb.Timestamp {
3943
3951
  if x != nil {
3944
3952
  return x.LastSynced
@@ -24899,7 +24907,7 @@ var file_outbound_proto_rawDesc = []byte{
24899
24907
  0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x73,
24900
24908
  0x75, 0x62, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69,
24901
24909
  0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x73, 0x75, 0x62, 0x5f,
24902
- 0x74, 0x79, 0x70, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
24910
+ 0x74, 0x79, 0x70, 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
24903
24911
  0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64,
24904
24912
  0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64,
24905
24913
  0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
@@ -24910,13 +24918,16 @@ var file_outbound_proto_rawDesc = []byte{
24910
24918
  0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
24911
24919
  0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12,
24912
24920
  0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
24913
- 0x05, 0x72, 0x61, 0x77, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73,
24914
- 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
24915
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
24916
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e,
24917
- 0x63, 0x65, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61,
24918
- 0x67, 0x65, 0x6e, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
24919
- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x45, 0x72, 0x72,
24921
+ 0x05, 0x72, 0x61, 0x77, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
24922
+ 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x65, 0x6e, 0x74,
24923
+ 0x69, 0x74, 0x79, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74,
24924
+ 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
24925
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
24926
+ 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x53,
24927
+ 0x79, 0x6e, 0x63, 0x65, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
24928
+ 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
24929
+ 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74,
24930
+ 0x79, 0x5f, 0x69, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x61, 0x6e, 0x45, 0x72, 0x72,
24920
24931
  0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
24921
24932
  0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,
24922
24933
  0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72,
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.130",
2
+ "version": "0.1.131",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "service": true
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
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": "297332186896b6c85bfd506c5d557264b6d1a707"
12
+ "gitHead": "32d39239a39417f75a9a2341f6f33963795f9c13"
13
13
  }
@@ -574,9 +574,10 @@ message AssetType {
574
574
  message SourceInfo {
575
575
  string source_id = 1; // source id, like installation id of IT
576
576
  string source_type = 2; // source type like e.g. IT
577
- optional string source_agent = 3; // source agent name and version
578
- optional string source_name = 4; // source name
577
+ optional string source_agent = 3; // source agent name and version
578
+ optional string source_name = 4; // source name
579
579
  string raw_id = 5; // entity/asset raw id for source
580
+ optional string entity_id = 7; // entity/asset id in data-core
580
581
  google.protobuf.Timestamp last_synced = 6;
581
582
  // later here we could also have a summary of errors, if needed to keep history
582
583
  }