@lansweeper/diagrams-grpc 0.0.4 → 0.0.6

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 CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.5...@lansweeper/diagrams-grpc@0.0.6) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @lansweeper/diagrams-grpc
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.4...@lansweeper/diagrams-grpc@0.0.5) (2022-09-20)
15
+
16
+ **Note:** Version bump only for package @lansweeper/diagrams-grpc
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.0.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.3...@lansweeper/diagrams-grpc@0.0.4) (2022-09-16)
7
23
 
8
24
  **Note:** Version bump only for package @lansweeper/diagrams-grpc
@@ -7,9 +7,9 @@
7
7
  <Company>Lansweeper</Company>
8
8
  <Product>Lansweeper Diagrams</Product>
9
9
  <Copyright>Lansweeper</Copyright>
10
- <PackageVersion>0.0.3</PackageVersion>
11
- <Version>0.0.3</Version>
12
- <FileVersion>0.0.3</FileVersion>
10
+ <PackageVersion>0.0.5</PackageVersion>
11
+ <Version>0.0.5</Version>
12
+ <FileVersion>0.0.5</FileVersion>
13
13
  <RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
14
14
  </PropertyGroup>
15
15
  <ItemGroup>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v6.0": {
9
- "Lansweeper.Diagrams.GRPC/0.0.3": {
9
+ "Lansweeper.Diagrams.GRPC/0.0.5": {
10
10
  "dependencies": {
11
11
  "Google.Protobuf": "3.15.0",
12
12
  "Grpc": "2.46.1",
@@ -91,7 +91,7 @@
91
91
  }
92
92
  },
93
93
  "libraries": {
94
- "Lansweeper.Diagrams.GRPC/0.0.3": {
94
+ "Lansweeper.Diagrams.GRPC/0.0.5": {
95
95
  "type": "project",
96
96
  "serviceable": false,
97
97
  "sha512": ""
@@ -16,6 +16,9 @@ export class DiagramRequest extends jspb.Message {
16
16
  setAssetTypeNamesList(value: Array<string>): DiagramRequest;
17
17
  addAssetTypeNames(value: string, index?: number): string;
18
18
 
19
+ getAssetScopesRulesMap(): jspb.Map<string, string>;
20
+ clearAssetScopesRulesMap(): void;
21
+
19
22
  serializeBinary(): Uint8Array;
20
23
  toObject(includeInstance?: boolean): DiagramRequest.AsObject;
21
24
  static toObject(includeInstance: boolean, msg: DiagramRequest): DiagramRequest.AsObject;
@@ -31,6 +34,8 @@ export namespace DiagramRequest {
31
34
  clientKey: string,
32
35
  installationKey: string,
33
36
  assetTypeNamesList: Array<string>,
37
+
38
+ assetScopesRulesMap: Array<[string, string]>,
34
39
  }
35
40
  }
36
41
 
@@ -43,6 +48,10 @@ export class Asset extends jspb.Message {
43
48
  setName(value: string): Asset;
44
49
  getTypeName(): string;
45
50
  setTypeName(value: string): Asset;
51
+ getGroupKey(): string;
52
+ setGroupKey(value: string): Asset;
53
+ getIsGroup(): boolean;
54
+ setIsGroup(value: boolean): Asset;
46
55
 
47
56
  serializeBinary(): Uint8Array;
48
57
  toObject(includeInstance?: boolean): Asset.AsObject;
@@ -60,6 +69,8 @@ export namespace Asset {
60
69
  key: string,
61
70
  name: string,
62
71
  typeName: string,
72
+ groupKey: string,
73
+ isGroup: boolean,
63
74
  }
64
75
  }
65
76
 
@@ -166,7 +166,8 @@ proto.lansweeper.diagrams.v1.DiagramRequest.toObject = function(includeInstance,
166
166
  var f, obj = {
167
167
  clientKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
168
168
  installationKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
169
- assetTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
169
+ assetTypeNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
170
+ assetScopesRulesMap: (f = msg.getAssetScopesRulesMap()) ? f.toObject(includeInstance, undefined) : []
170
171
  };
171
172
 
172
173
  if (includeInstance) {
@@ -215,6 +216,12 @@ proto.lansweeper.diagrams.v1.DiagramRequest.deserializeBinaryFromReader = functi
215
216
  var value = /** @type {string} */ (reader.readString());
216
217
  msg.addAssetTypeNames(value);
217
218
  break;
219
+ case 4:
220
+ var value = msg.getAssetScopesRulesMap();
221
+ reader.readMessage(value, function(message, reader) {
222
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
223
+ });
224
+ break;
218
225
  default:
219
226
  reader.skipField();
220
227
  break;
@@ -265,6 +272,10 @@ proto.lansweeper.diagrams.v1.DiagramRequest.serializeBinaryToWriter = function(m
265
272
  f
266
273
  );
267
274
  }
275
+ f = message.getAssetScopesRulesMap(true);
276
+ if (f && f.getLength() > 0) {
277
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
278
+ }
268
279
  };
269
280
 
270
281
 
@@ -341,6 +352,28 @@ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetTypeNamesList =
341
352
  };
342
353
 
343
354
 
355
+ /**
356
+ * map<string, string> asset_scopes_rules = 4;
357
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
358
+ * empty, instead returning `undefined`
359
+ * @return {!jspb.Map<string,string>}
360
+ */
361
+ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.getAssetScopesRulesMap = function(opt_noLazyCreate) {
362
+ return /** @type {!jspb.Map<string,string>} */ (
363
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
364
+ null));
365
+ };
366
+
367
+
368
+ /**
369
+ * Clears values from the map. The map will be non-null.
370
+ * @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
371
+ */
372
+ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetScopesRulesMap = function() {
373
+ this.getAssetScopesRulesMap().clear();
374
+ return this;};
375
+
376
+
344
377
 
345
378
 
346
379
 
@@ -376,7 +409,9 @@ proto.lansweeper.diagrams.v1.Asset.toObject = function(includeInstance, msg) {
376
409
  uniqueKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
377
410
  key: jspb.Message.getFieldWithDefault(msg, 2, ""),
378
411
  name: jspb.Message.getFieldWithDefault(msg, 3, ""),
379
- typeName: jspb.Message.getFieldWithDefault(msg, 4, "")
412
+ typeName: jspb.Message.getFieldWithDefault(msg, 4, ""),
413
+ groupKey: jspb.Message.getFieldWithDefault(msg, 5, ""),
414
+ isGroup: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
380
415
  };
381
416
 
382
417
  if (includeInstance) {
@@ -429,6 +464,14 @@ proto.lansweeper.diagrams.v1.Asset.deserializeBinaryFromReader = function(msg, r
429
464
  var value = /** @type {string} */ (reader.readString());
430
465
  msg.setTypeName(value);
431
466
  break;
467
+ case 5:
468
+ var value = /** @type {string} */ (reader.readString());
469
+ msg.setGroupKey(value);
470
+ break;
471
+ case 6:
472
+ var value = /** @type {boolean} */ (reader.readBool());
473
+ msg.setIsGroup(value);
474
+ break;
432
475
  default:
433
476
  reader.skipField();
434
477
  break;
@@ -486,6 +529,20 @@ proto.lansweeper.diagrams.v1.Asset.serializeBinaryToWriter = function(message, w
486
529
  f
487
530
  );
488
531
  }
532
+ f = message.getGroupKey();
533
+ if (f.length > 0) {
534
+ writer.writeString(
535
+ 5,
536
+ f
537
+ );
538
+ }
539
+ f = message.getIsGroup();
540
+ if (f) {
541
+ writer.writeBool(
542
+ 6,
543
+ f
544
+ );
545
+ }
489
546
  };
490
547
 
491
548
 
@@ -561,6 +618,42 @@ proto.lansweeper.diagrams.v1.Asset.prototype.setTypeName = function(value) {
561
618
  };
562
619
 
563
620
 
621
+ /**
622
+ * optional string group_key = 5;
623
+ * @return {string}
624
+ */
625
+ proto.lansweeper.diagrams.v1.Asset.prototype.getGroupKey = function() {
626
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
627
+ };
628
+
629
+
630
+ /**
631
+ * @param {string} value
632
+ * @return {!proto.lansweeper.diagrams.v1.Asset} returns this
633
+ */
634
+ proto.lansweeper.diagrams.v1.Asset.prototype.setGroupKey = function(value) {
635
+ return jspb.Message.setProto3StringField(this, 5, value);
636
+ };
637
+
638
+
639
+ /**
640
+ * optional bool is_group = 6;
641
+ * @return {boolean}
642
+ */
643
+ proto.lansweeper.diagrams.v1.Asset.prototype.getIsGroup = function() {
644
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
645
+ };
646
+
647
+
648
+ /**
649
+ * @param {boolean} value
650
+ * @return {!proto.lansweeper.diagrams.v1.Asset} returns this
651
+ */
652
+ proto.lansweeper.diagrams.v1.Asset.prototype.setIsGroup = function(value) {
653
+ return jspb.Message.setProto3BooleanField(this, 6, value);
654
+ };
655
+
656
+
564
657
 
565
658
 
566
659
 
@@ -1 +1 @@
1
- {"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetTypeNames"}]},{"name":"Asset","field":[{"name":"unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"uniqueKey"},{"name":"key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"type_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeName"}]},{"name":"Relationship","field":[{"name":"from_asset_unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"fromAssetUniqueKey"},{"name":"to_asset_unique_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"toAssetUniqueKey"}]},{"name":"NetworkTopologyDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"}]},{"name":"VirtualEnvironmentDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"}]}],"service":[{"name":"DiagramsService","method":[{"name":"GetNetworkTopologyDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.NetworkTopologyDiagramResponse","options":{}},{"name":"GetVirtualEnvironmentDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse","options":{}}]}],"options":{"csharpNamespace":"Lansweeper.Diagrams.GRPC"},"sourceCodeInfo":{"location":[{"span":[0,0,37,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,31]},{"path":[8],"span":[4,0,53]},{"path":[8,37],"span":[4,0,53]},{"path":[6,0],"span":[6,0,9,1]},{"path":[6,0,1],"span":[6,8,23]},{"path":[6,0,2,0],"span":[7,2,105]},{"path":[6,0,2,0,1],"span":[7,6,45]},{"path":[6,0,2,0,2],"span":[7,46,60]},{"path":[6,0,2,0,3],"span":[7,71,101]},{"path":[6,0,2,1],"span":[8,2,111]},{"path":[6,0,2,1,1],"span":[8,6,48]},{"path":[6,0,2,1,2],"span":[8,49,63]},{"path":[6,0,2,1,3],"span":[8,74,107]},{"path":[4,0],"span":[11,0,15,1]},{"path":[4,0,1],"span":[11,8,22]},{"path":[4,0,2,0],"span":[12,2,24]},{"path":[4,0,2,0,5],"span":[12,2,8]},{"path":[4,0,2,0,1],"span":[12,9,19]},{"path":[4,0,2,0,3],"span":[12,22,23]},{"path":[4,0,2,1],"span":[13,2,30]},{"path":[4,0,2,1,5],"span":[13,2,8]},{"path":[4,0,2,1,1],"span":[13,9,25]},{"path":[4,0,2,1,3],"span":[13,28,29]},{"path":[4,0,2,2],"span":[14,2,39]},{"path":[4,0,2,2,4],"span":[14,2,10]},{"path":[4,0,2,2,5],"span":[14,11,17]},{"path":[4,0,2,2,1],"span":[14,18,34]},{"path":[4,0,2,2,3],"span":[14,37,38]},{"path":[4,1],"span":[17,0,22,1]},{"path":[4,1,1],"span":[17,8,13]},{"path":[4,1,2,0],"span":[18,2,24]},{"path":[4,1,2,0,5],"span":[18,2,8]},{"path":[4,1,2,0,1],"span":[18,9,19]},{"path":[4,1,2,0,3],"span":[18,22,23]},{"path":[4,1,2,1],"span":[19,2,17]},{"path":[4,1,2,1,5],"span":[19,2,8]},{"path":[4,1,2,1,1],"span":[19,9,12]},{"path":[4,1,2,1,3],"span":[19,15,16]},{"path":[4,1,2,2],"span":[20,2,18]},{"path":[4,1,2,2,5],"span":[20,2,8]},{"path":[4,1,2,2,1],"span":[20,9,13]},{"path":[4,1,2,2,3],"span":[20,16,17]},{"path":[4,1,2,3],"span":[21,2,23]},{"path":[4,1,2,3,5],"span":[21,2,8]},{"path":[4,1,2,3,1],"span":[21,9,18]},{"path":[4,1,2,3,3],"span":[21,21,22]},{"path":[4,2],"span":[24,0,27,1]},{"path":[4,2,1],"span":[24,8,20]},{"path":[4,2,2,0],"span":[25,2,35]},{"path":[4,2,2,0,5],"span":[25,2,8]},{"path":[4,2,2,0,1],"span":[25,9,30]},{"path":[4,2,2,0,3],"span":[25,33,34]},{"path":[4,2,2,1],"span":[26,2,33]},{"path":[4,2,2,1,5],"span":[26,2,8]},{"path":[4,2,2,1,1],"span":[26,9,28]},{"path":[4,2,2,1,3],"span":[26,31,32]},{"path":[4,3],"span":[29,0,32,1]},{"path":[4,3,1],"span":[29,8,38]},{"path":[4,3,2,0],"span":[30,2,28]},{"path":[4,3,2,0,4],"span":[30,2,10]},{"path":[4,3,2,0,6],"span":[30,11,16]},{"path":[4,3,2,0,1],"span":[30,17,23]},{"path":[4,3,2,0,3],"span":[30,26,27]},{"path":[4,3,2,1],"span":[31,2,42]},{"path":[4,3,2,1,4],"span":[31,2,10]},{"path":[4,3,2,1,6],"span":[31,11,23]},{"path":[4,3,2,1,1],"span":[31,24,37]},{"path":[4,3,2,1,3],"span":[31,40,41]},{"path":[4,4],"span":[34,0,37,1]},{"path":[4,4,1],"span":[34,8,41]},{"path":[4,4,2,0],"span":[35,2,28]},{"path":[4,4,2,0,4],"span":[35,2,10]},{"path":[4,4,2,0,6],"span":[35,11,16]},{"path":[4,4,2,0,1],"span":[35,17,23]},{"path":[4,4,2,0,3],"span":[35,26,27]},{"path":[4,4,2,1],"span":[36,2,42]},{"path":[4,4,2,1,4],"span":[36,2,10]},{"path":[4,4,2,1,6],"span":[36,11,23]},{"path":[4,4,2,1,1],"span":[36,24,37]},{"path":[4,4,2,1,3],"span":[36,40,41]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"assetTypeNames"},{"name":"asset_scopes_rules","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetScopesRulesEntry","jsonName":"assetScopesRules"}],"nestedType":[{"name":"AssetScopesRulesEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"value"}],"options":{"mapEntry":true}}]},{"name":"Asset","field":[{"name":"unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"uniqueKey"},{"name":"key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"type_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeName"},{"name":"group_key","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"groupKey"},{"name":"is_group","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isGroup"}]},{"name":"Relationship","field":[{"name":"from_asset_unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"fromAssetUniqueKey"},{"name":"to_asset_unique_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"toAssetUniqueKey"}]},{"name":"NetworkTopologyDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"}]},{"name":"VirtualEnvironmentDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"}]}],"service":[{"name":"DiagramsService","method":[{"name":"GetNetworkTopologyDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.NetworkTopologyDiagramResponse","options":{}},{"name":"GetVirtualEnvironmentDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse","options":{}}]}],"options":{"csharpNamespace":"Lansweeper.Diagrams.GRPC"},"sourceCodeInfo":{"location":[{"span":[0,0,40,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,31]},{"path":[8],"span":[4,0,53]},{"path":[8,37],"span":[4,0,53]},{"path":[6,0],"span":[6,0,9,1]},{"path":[6,0,1],"span":[6,8,23]},{"path":[6,0,2,0],"span":[7,2,105]},{"path":[6,0,2,0,1],"span":[7,6,45]},{"path":[6,0,2,0,2],"span":[7,46,60]},{"path":[6,0,2,0,3],"span":[7,71,101]},{"path":[6,0,2,1],"span":[8,2,111]},{"path":[6,0,2,1,1],"span":[8,6,48]},{"path":[6,0,2,1,2],"span":[8,49,63]},{"path":[6,0,2,1,3],"span":[8,74,107]},{"path":[4,0],"span":[11,0,16,1]},{"path":[4,0,1],"span":[11,8,22]},{"path":[4,0,2,0],"span":[12,2,24]},{"path":[4,0,2,0,5],"span":[12,2,8]},{"path":[4,0,2,0,1],"span":[12,9,19]},{"path":[4,0,2,0,3],"span":[12,22,23]},{"path":[4,0,2,1],"span":[13,2,30]},{"path":[4,0,2,1,5],"span":[13,2,8]},{"path":[4,0,2,1,1],"span":[13,9,25]},{"path":[4,0,2,1,3],"span":[13,28,29]},{"path":[4,0,2,2],"span":[14,2,39]},{"path":[4,0,2,2,4],"span":[14,2,10]},{"path":[4,0,2,2,5],"span":[14,11,17]},{"path":[4,0,2,2,1],"span":[14,18,34]},{"path":[4,0,2,2,3],"span":[14,37,38]},{"path":[4,0,2,3],"span":[15,2,45]},{"path":[4,0,2,3,6],"span":[15,2,21]},{"path":[4,0,2,3,1],"span":[15,22,40]},{"path":[4,0,2,3,3],"span":[15,43,44]},{"path":[4,1],"span":[18,0,25,1]},{"path":[4,1,1],"span":[18,8,13]},{"path":[4,1,2,0],"span":[19,2,24]},{"path":[4,1,2,0,5],"span":[19,2,8]},{"path":[4,1,2,0,1],"span":[19,9,19]},{"path":[4,1,2,0,3],"span":[19,22,23]},{"path":[4,1,2,1],"span":[20,2,17]},{"path":[4,1,2,1,5],"span":[20,2,8]},{"path":[4,1,2,1,1],"span":[20,9,12]},{"path":[4,1,2,1,3],"span":[20,15,16]},{"path":[4,1,2,2],"span":[21,2,18]},{"path":[4,1,2,2,5],"span":[21,2,8]},{"path":[4,1,2,2,1],"span":[21,9,13]},{"path":[4,1,2,2,3],"span":[21,16,17]},{"path":[4,1,2,3],"span":[22,2,23]},{"path":[4,1,2,3,5],"span":[22,2,8]},{"path":[4,1,2,3,1],"span":[22,9,18]},{"path":[4,1,2,3,3],"span":[22,21,22]},{"path":[4,1,2,4],"span":[23,2,23]},{"path":[4,1,2,4,5],"span":[23,2,8]},{"path":[4,1,2,4,1],"span":[23,9,18]},{"path":[4,1,2,4,3],"span":[23,21,22]},{"path":[4,1,2,5],"span":[24,2,20]},{"path":[4,1,2,5,5],"span":[24,2,6]},{"path":[4,1,2,5,1],"span":[24,7,15]},{"path":[4,1,2,5,3],"span":[24,18,19]},{"path":[4,2],"span":[27,0,30,1]},{"path":[4,2,1],"span":[27,8,20]},{"path":[4,2,2,0],"span":[28,2,35]},{"path":[4,2,2,0,5],"span":[28,2,8]},{"path":[4,2,2,0,1],"span":[28,9,30]},{"path":[4,2,2,0,3],"span":[28,33,34]},{"path":[4,2,2,1],"span":[29,2,33]},{"path":[4,2,2,1,5],"span":[29,2,8]},{"path":[4,2,2,1,1],"span":[29,9,28]},{"path":[4,2,2,1,3],"span":[29,31,32]},{"path":[4,3],"span":[32,0,35,1]},{"path":[4,3,1],"span":[32,8,38]},{"path":[4,3,2,0],"span":[33,2,28]},{"path":[4,3,2,0,4],"span":[33,2,10]},{"path":[4,3,2,0,6],"span":[33,11,16]},{"path":[4,3,2,0,1],"span":[33,17,23]},{"path":[4,3,2,0,3],"span":[33,26,27]},{"path":[4,3,2,1],"span":[34,2,42]},{"path":[4,3,2,1,4],"span":[34,2,10]},{"path":[4,3,2,1,6],"span":[34,11,23]},{"path":[4,3,2,1,1],"span":[34,24,37]},{"path":[4,3,2,1,3],"span":[34,40,41]},{"path":[4,4],"span":[37,0,40,1]},{"path":[4,4,1],"span":[37,8,41]},{"path":[4,4,2,0],"span":[38,2,28]},{"path":[4,4,2,0,4],"span":[38,2,10]},{"path":[4,4,2,0,6],"span":[38,11,16]},{"path":[4,4,2,0,1],"span":[38,17,23]},{"path":[4,4,2,0,3],"span":[38,26,27]},{"path":[4,4,2,1],"span":[39,2,42]},{"path":[4,4,2,1,4],"span":[39,2,10]},{"path":[4,4,2,1,6],"span":[39,11,23]},{"path":[4,4,2,1,1],"span":[39,24,37]},{"path":[4,4,2,1,3],"span":[39,40,41]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -14,11 +14,11 @@ using System.Reflection;
14
14
  [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15
15
  [assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
16
16
  [assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
17
- [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.3")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.3")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.5")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.5")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Diagrams")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Diagrams.GRPC")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.3.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.5.0")]
22
22
  [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
23
23
 
24
24
  // Generated by the MSBuild WriteCodeFragment class.
@@ -1 +1 @@
1
- 1bf586c5a988e99dc1bdf6941dc97b7f9252153f
1
+ fbc40ed9f1c7e76bd3b874255cb7168c5e9fb8ca
@@ -25,31 +25,35 @@ namespace Lansweeper.Diagrams.GRPC {
25
25
  byte[] descriptorData = global::System.Convert.FromBase64String(
26
26
  string.Concat(
27
27
  "ChRwcm90by9kaWFncmFtcy5wcm90bxIWbGFuc3dlZXBlci5kaWFncmFtcy52",
28
- "MSJYCg5EaWFncmFtUmVxdWVzdBISCgpjbGllbnRfa2V5GAEgASgJEhgKEGlu",
29
- "c3RhbGxhdGlvbl9rZXkYAiABKAkSGAoQYXNzZXRfdHlwZV9uYW1lcxgDIAMo",
30
- "CSJJCgVBc3NldBISCgp1bmlxdWVfa2V5GAEgASgJEgsKA2tleRgCIAEoCRIM",
31
- "CgRuYW1lGAMgASgJEhEKCXR5cGVfbmFtZRgEIAEoCSJKCgxSZWxhdGlvbnNo",
32
- "aXASHQoVZnJvbV9hc3NldF91bmlxdWVfa2V5GAEgASgJEhsKE3RvX2Fzc2V0",
33
- "X3VuaXF1ZV9rZXkYAiABKAkijAEKHk5ldHdvcmtUb3BvbG9neURpYWdyYW1S",
34
- "ZXNwb25zZRItCgZhc3NldHMYASADKAsyHS5sYW5zd2VlcGVyLmRpYWdyYW1z",
35
- "LnYxLkFzc2V0EjsKDXJlbGF0aW9uc2hpcHMYAiADKAsyJC5sYW5zd2VlcGVy",
36
- "LmRpYWdyYW1zLnYxLlJlbGF0aW9uc2hpcCKPAQohVmlydHVhbEVudmlyb25t",
37
- "ZW50RGlhZ3JhbVJlc3BvbnNlEi0KBmFzc2V0cxgBIAMoCzIdLmxhbnN3ZWVw",
38
- "ZXIuZGlhZ3JhbXMudjEuQXNzZXQSOwoNcmVsYXRpb25zaGlwcxgCIAMoCzIk",
39
- "LmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuUmVsYXRpb25zaGlwMrMCCg9EaWFn",
40
- "cmFtc1NlcnZpY2USiwEKJ0dldE5ldHdvcmtUb3BvbG9neURpYWdyYW1CeUlu",
41
- "c3RhbGxhdGlvbhImLmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuRGlhZ3JhbVJl",
42
- "cXVlc3QaNi5sYW5zd2VlcGVyLmRpYWdyYW1zLnYxLk5ldHdvcmtUb3BvbG9n",
43
- "eURpYWdyYW1SZXNwb25zZSIAEpEBCipHZXRWaXJ0dWFsRW52aXJvbm1lbnRE",
44
- "aWFncmFtQnlJbnN0YWxsYXRpb24SJi5sYW5zd2VlcGVyLmRpYWdyYW1zLnYx",
45
- "LkRpYWdyYW1SZXF1ZXN0GjkubGFuc3dlZXBlci5kaWFncmFtcy52MS5WaXJ0",
46
- "dWFsRW52aXJvbm1lbnREaWFncmFtUmVzcG9uc2UiAEIbqgIYTGFuc3dlZXBl",
47
- "ci5EaWFncmFtcy5HUlBDYgZwcm90bzM="));
28
+ "MSLrAQoORGlhZ3JhbVJlcXVlc3QSEgoKY2xpZW50X2tleRgBIAEoCRIYChBp",
29
+ "bnN0YWxsYXRpb25fa2V5GAIgASgJEhgKEGFzc2V0X3R5cGVfbmFtZXMYAyAD",
30
+ "KAkSWAoSYXNzZXRfc2NvcGVzX3J1bGVzGAQgAygLMjwubGFuc3dlZXBlci5k",
31
+ "aWFncmFtcy52MS5EaWFncmFtUmVxdWVzdC5Bc3NldFNjb3Blc1J1bGVzRW50",
32
+ "cnkaNwoVQXNzZXRTY29wZXNSdWxlc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2",
33
+ "YWx1ZRgCIAEoCToCOAEibgoFQXNzZXQSEgoKdW5pcXVlX2tleRgBIAEoCRIL",
34
+ "CgNrZXkYAiABKAkSDAoEbmFtZRgDIAEoCRIRCgl0eXBlX25hbWUYBCABKAkS",
35
+ "EQoJZ3JvdXBfa2V5GAUgASgJEhAKCGlzX2dyb3VwGAYgASgIIkoKDFJlbGF0",
36
+ "aW9uc2hpcBIdChVmcm9tX2Fzc2V0X3VuaXF1ZV9rZXkYASABKAkSGwoTdG9f",
37
+ "YXNzZXRfdW5pcXVlX2tleRgCIAEoCSKMAQoeTmV0d29ya1RvcG9sb2d5RGlh",
38
+ "Z3JhbVJlc3BvbnNlEi0KBmFzc2V0cxgBIAMoCzIdLmxhbnN3ZWVwZXIuZGlh",
39
+ "Z3JhbXMudjEuQXNzZXQSOwoNcmVsYXRpb25zaGlwcxgCIAMoCzIkLmxhbnN3",
40
+ "ZWVwZXIuZGlhZ3JhbXMudjEuUmVsYXRpb25zaGlwIo8BCiFWaXJ0dWFsRW52",
41
+ "aXJvbm1lbnREaWFncmFtUmVzcG9uc2USLQoGYXNzZXRzGAEgAygLMh0ubGFu",
42
+ "c3dlZXBlci5kaWFncmFtcy52MS5Bc3NldBI7Cg1yZWxhdGlvbnNoaXBzGAIg",
43
+ "AygLMiQubGFuc3dlZXBlci5kaWFncmFtcy52MS5SZWxhdGlvbnNoaXAyswIK",
44
+ "D0RpYWdyYW1zU2VydmljZRKLAQonR2V0TmV0d29ya1RvcG9sb2d5RGlhZ3Jh",
45
+ "bUJ5SW5zdGFsbGF0aW9uEiYubGFuc3dlZXBlci5kaWFncmFtcy52MS5EaWFn",
46
+ "cmFtUmVxdWVzdBo2LmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuTmV0d29ya1Rv",
47
+ "cG9sb2d5RGlhZ3JhbVJlc3BvbnNlIgASkQEKKkdldFZpcnR1YWxFbnZpcm9u",
48
+ "bWVudERpYWdyYW1CeUluc3RhbGxhdGlvbhImLmxhbnN3ZWVwZXIuZGlhZ3Jh",
49
+ "bXMudjEuRGlhZ3JhbVJlcXVlc3QaOS5sYW5zd2VlcGVyLmRpYWdyYW1zLnYx",
50
+ "LlZpcnR1YWxFbnZpcm9ubWVudERpYWdyYW1SZXNwb25zZSIAQhuqAhhMYW5z",
51
+ "d2VlcGVyLkRpYWdyYW1zLkdSUENiBnByb3RvMw=="));
48
52
  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
49
53
  new pbr::FileDescriptor[] { },
50
54
  new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
51
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames" }, null, null, null, null),
52
- new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Asset), global::Lansweeper.Diagrams.GRPC.Asset.Parser, new[]{ "UniqueKey", "Key", "Name", "TypeName" }, null, null, null, null),
55
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames", "AssetScopesRules" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
56
+ new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Asset), global::Lansweeper.Diagrams.GRPC.Asset.Parser, new[]{ "UniqueKey", "Key", "Name", "TypeName", "GroupKey", "IsGroup" }, null, null, null, null),
53
57
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Relationship), global::Lansweeper.Diagrams.GRPC.Relationship.Parser, new[]{ "FromAssetUniqueKey", "ToAssetUniqueKey" }, null, null, null, null),
54
58
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships" }, null, null, null, null),
55
59
  new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse), global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse.Parser, new[]{ "Assets", "Relationships" }, null, null, null, null)
@@ -96,6 +100,7 @@ namespace Lansweeper.Diagrams.GRPC {
96
100
  clientKey_ = other.clientKey_;
97
101
  installationKey_ = other.installationKey_;
98
102
  assetTypeNames_ = other.assetTypeNames_.Clone();
103
+ assetScopesRules_ = other.assetScopesRules_.Clone();
99
104
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
100
105
  }
101
106
 
@@ -140,6 +145,17 @@ namespace Lansweeper.Diagrams.GRPC {
140
145
  get { return assetTypeNames_; }
141
146
  }
142
147
 
148
+ /// <summary>Field number for the "asset_scopes_rules" field.</summary>
149
+ public const int AssetScopesRulesFieldNumber = 4;
150
+ private static readonly pbc::MapField<string, string>.Codec _map_assetScopesRules_codec
151
+ = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 34);
152
+ private readonly pbc::MapField<string, string> assetScopesRules_ = new pbc::MapField<string, string>();
153
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
154
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
155
+ public pbc::MapField<string, string> AssetScopesRules {
156
+ get { return assetScopesRules_; }
157
+ }
158
+
143
159
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
144
160
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
145
161
  public override bool Equals(object other) {
@@ -158,6 +174,7 @@ namespace Lansweeper.Diagrams.GRPC {
158
174
  if (ClientKey != other.ClientKey) return false;
159
175
  if (InstallationKey != other.InstallationKey) return false;
160
176
  if(!assetTypeNames_.Equals(other.assetTypeNames_)) return false;
177
+ if (!AssetScopesRules.Equals(other.AssetScopesRules)) return false;
161
178
  return Equals(_unknownFields, other._unknownFields);
162
179
  }
163
180
 
@@ -168,6 +185,7 @@ namespace Lansweeper.Diagrams.GRPC {
168
185
  if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
169
186
  if (InstallationKey.Length != 0) hash ^= InstallationKey.GetHashCode();
170
187
  hash ^= assetTypeNames_.GetHashCode();
188
+ hash ^= AssetScopesRules.GetHashCode();
171
189
  if (_unknownFields != null) {
172
190
  hash ^= _unknownFields.GetHashCode();
173
191
  }
@@ -195,6 +213,7 @@ namespace Lansweeper.Diagrams.GRPC {
195
213
  output.WriteString(InstallationKey);
196
214
  }
197
215
  assetTypeNames_.WriteTo(output, _repeated_assetTypeNames_codec);
216
+ assetScopesRules_.WriteTo(output, _map_assetScopesRules_codec);
198
217
  if (_unknownFields != null) {
199
218
  _unknownFields.WriteTo(output);
200
219
  }
@@ -214,6 +233,7 @@ namespace Lansweeper.Diagrams.GRPC {
214
233
  output.WriteString(InstallationKey);
215
234
  }
216
235
  assetTypeNames_.WriteTo(ref output, _repeated_assetTypeNames_codec);
236
+ assetScopesRules_.WriteTo(ref output, _map_assetScopesRules_codec);
217
237
  if (_unknownFields != null) {
218
238
  _unknownFields.WriteTo(ref output);
219
239
  }
@@ -231,6 +251,7 @@ namespace Lansweeper.Diagrams.GRPC {
231
251
  size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallationKey);
232
252
  }
233
253
  size += assetTypeNames_.CalculateSize(_repeated_assetTypeNames_codec);
254
+ size += assetScopesRules_.CalculateSize(_map_assetScopesRules_codec);
234
255
  if (_unknownFields != null) {
235
256
  size += _unknownFields.CalculateSize();
236
257
  }
@@ -250,6 +271,7 @@ namespace Lansweeper.Diagrams.GRPC {
250
271
  InstallationKey = other.InstallationKey;
251
272
  }
252
273
  assetTypeNames_.Add(other.assetTypeNames_);
274
+ assetScopesRules_.Add(other.assetScopesRules_);
253
275
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
254
276
  }
255
277
 
@@ -277,6 +299,10 @@ namespace Lansweeper.Diagrams.GRPC {
277
299
  assetTypeNames_.AddEntriesFrom(input, _repeated_assetTypeNames_codec);
278
300
  break;
279
301
  }
302
+ case 34: {
303
+ assetScopesRules_.AddEntriesFrom(input, _map_assetScopesRules_codec);
304
+ break;
305
+ }
280
306
  }
281
307
  }
282
308
  #endif
@@ -304,6 +330,10 @@ namespace Lansweeper.Diagrams.GRPC {
304
330
  assetTypeNames_.AddEntriesFrom(ref input, _repeated_assetTypeNames_codec);
305
331
  break;
306
332
  }
333
+ case 34: {
334
+ assetScopesRules_.AddEntriesFrom(ref input, _map_assetScopesRules_codec);
335
+ break;
336
+ }
307
337
  }
308
338
  }
309
339
  }
@@ -349,6 +379,8 @@ namespace Lansweeper.Diagrams.GRPC {
349
379
  key_ = other.key_;
350
380
  name_ = other.name_;
351
381
  typeName_ = other.typeName_;
382
+ groupKey_ = other.groupKey_;
383
+ isGroup_ = other.isGroup_;
352
384
  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
353
385
  }
354
386
 
@@ -406,6 +438,30 @@ namespace Lansweeper.Diagrams.GRPC {
406
438
  }
407
439
  }
408
440
 
441
+ /// <summary>Field number for the "group_key" field.</summary>
442
+ public const int GroupKeyFieldNumber = 5;
443
+ private string groupKey_ = "";
444
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
445
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
446
+ public string GroupKey {
447
+ get { return groupKey_; }
448
+ set {
449
+ groupKey_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
450
+ }
451
+ }
452
+
453
+ /// <summary>Field number for the "is_group" field.</summary>
454
+ public const int IsGroupFieldNumber = 6;
455
+ private bool isGroup_;
456
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
457
+ [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
458
+ public bool IsGroup {
459
+ get { return isGroup_; }
460
+ set {
461
+ isGroup_ = value;
462
+ }
463
+ }
464
+
409
465
  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
410
466
  [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
411
467
  public override bool Equals(object other) {
@@ -425,6 +481,8 @@ namespace Lansweeper.Diagrams.GRPC {
425
481
  if (Key != other.Key) return false;
426
482
  if (Name != other.Name) return false;
427
483
  if (TypeName != other.TypeName) return false;
484
+ if (GroupKey != other.GroupKey) return false;
485
+ if (IsGroup != other.IsGroup) return false;
428
486
  return Equals(_unknownFields, other._unknownFields);
429
487
  }
430
488
 
@@ -436,6 +494,8 @@ namespace Lansweeper.Diagrams.GRPC {
436
494
  if (Key.Length != 0) hash ^= Key.GetHashCode();
437
495
  if (Name.Length != 0) hash ^= Name.GetHashCode();
438
496
  if (TypeName.Length != 0) hash ^= TypeName.GetHashCode();
497
+ if (GroupKey.Length != 0) hash ^= GroupKey.GetHashCode();
498
+ if (IsGroup != false) hash ^= IsGroup.GetHashCode();
439
499
  if (_unknownFields != null) {
440
500
  hash ^= _unknownFields.GetHashCode();
441
501
  }
@@ -470,6 +530,14 @@ namespace Lansweeper.Diagrams.GRPC {
470
530
  output.WriteRawTag(34);
471
531
  output.WriteString(TypeName);
472
532
  }
533
+ if (GroupKey.Length != 0) {
534
+ output.WriteRawTag(42);
535
+ output.WriteString(GroupKey);
536
+ }
537
+ if (IsGroup != false) {
538
+ output.WriteRawTag(48);
539
+ output.WriteBool(IsGroup);
540
+ }
473
541
  if (_unknownFields != null) {
474
542
  _unknownFields.WriteTo(output);
475
543
  }
@@ -496,6 +564,14 @@ namespace Lansweeper.Diagrams.GRPC {
496
564
  output.WriteRawTag(34);
497
565
  output.WriteString(TypeName);
498
566
  }
567
+ if (GroupKey.Length != 0) {
568
+ output.WriteRawTag(42);
569
+ output.WriteString(GroupKey);
570
+ }
571
+ if (IsGroup != false) {
572
+ output.WriteRawTag(48);
573
+ output.WriteBool(IsGroup);
574
+ }
499
575
  if (_unknownFields != null) {
500
576
  _unknownFields.WriteTo(ref output);
501
577
  }
@@ -518,6 +594,12 @@ namespace Lansweeper.Diagrams.GRPC {
518
594
  if (TypeName.Length != 0) {
519
595
  size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName);
520
596
  }
597
+ if (GroupKey.Length != 0) {
598
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(GroupKey);
599
+ }
600
+ if (IsGroup != false) {
601
+ size += 1 + 1;
602
+ }
521
603
  if (_unknownFields != null) {
522
604
  size += _unknownFields.CalculateSize();
523
605
  }
@@ -542,6 +624,12 @@ namespace Lansweeper.Diagrams.GRPC {
542
624
  if (other.TypeName.Length != 0) {
543
625
  TypeName = other.TypeName;
544
626
  }
627
+ if (other.GroupKey.Length != 0) {
628
+ GroupKey = other.GroupKey;
629
+ }
630
+ if (other.IsGroup != false) {
631
+ IsGroup = other.IsGroup;
632
+ }
545
633
  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
546
634
  }
547
635
 
@@ -573,6 +661,14 @@ namespace Lansweeper.Diagrams.GRPC {
573
661
  TypeName = input.ReadString();
574
662
  break;
575
663
  }
664
+ case 42: {
665
+ GroupKey = input.ReadString();
666
+ break;
667
+ }
668
+ case 48: {
669
+ IsGroup = input.ReadBool();
670
+ break;
671
+ }
576
672
  }
577
673
  }
578
674
  #endif
@@ -604,6 +700,14 @@ namespace Lansweeper.Diagrams.GRPC {
604
700
  TypeName = input.ReadString();
605
701
  break;
606
702
  }
703
+ case 42: {
704
+ GroupKey = input.ReadString();
705
+ break;
706
+ }
707
+ case 48: {
708
+ IsGroup = input.ReadBool();
709
+ break;
710
+ }
607
711
  }
608
712
  }
609
713
  }
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "projects": {
7
7
  "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj": {
8
- "version": "0.0.3",
8
+ "version": "0.0.5",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
11
11
  "projectName": "Lansweeper.Diagrams.GRPC",
@@ -305,7 +305,7 @@
305
305
  "/home/circleci/.nuget/packages/": {}
306
306
  },
307
307
  "project": {
308
- "version": "0.0.3",
308
+ "version": "0.0.5",
309
309
  "restore": {
310
310
  "projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
311
311
  "projectName": "Lansweeper.Diagrams.GRPC",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "5J3BKqL6Ex3IbL/L9sgR8CX5mOWNvUntWmrD2UgBVAmlnQa5Vi2qz41FaaU6B5gXi727GpmmdOOmbm0sFwPheg==",
3
+ "dgSpecHash": "/tKJbi6T3EmTunj+ORs60uMKzCvii71hmX2Pr9onmmLrIaFmsFcdilYpl4n8CQV86qCCeae7o3K8jFnxCP8EWg==",
4
4
  "success": true,
5
5
  "projectFilePath": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
6
6
  "expectedPackageFiles": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/diagrams-grpc",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Diagrams gRPC",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -12,5 +12,5 @@
12
12
  "devDependencies": {
13
13
  "@types/google-protobuf": "^3.15.5"
14
14
  },
15
- "gitHead": "7a4e10cb67883a69e105cfa6065a5ca19f3ae8a0"
15
+ "gitHead": "848a233f1e25ebec794e3a9144f7e90d73c7a1f2"
16
16
  }
@@ -13,6 +13,7 @@ message DiagramRequest {
13
13
  string client_key = 1;
14
14
  string installation_key = 2;
15
15
  repeated string asset_type_names = 3;
16
+ map<string, string> asset_scopes_rules = 4;
16
17
  }
17
18
 
18
19
  message Asset {
@@ -20,6 +21,8 @@ message Asset {
20
21
  string key = 2;
21
22
  string name = 3;
22
23
  string type_name = 4;
24
+ string group_key = 5;
25
+ bool is_group = 6;
23
26
  }
24
27
 
25
28
  message Relationship {