@lansweeper/integrations-assets-grpc 0.1.2 → 0.1.4

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,14 @@
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.1.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-assets-grpc@0.1.3...@lansweeper/integrations-assets-grpc@0.1.4) (2025-10-03)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-assets-grpc
9
+
10
+ ## [0.1.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-assets-grpc@0.1.2...@lansweeper/integrations-assets-grpc@0.1.3) (2025-10-03)
11
+
12
+ **Note:** Version bump only for package @lansweeper/integrations-assets-grpc
13
+
6
14
  ## [0.1.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-assets-grpc@0.1.1...@lansweeper/integrations-assets-grpc@0.1.2) (2025-08-25)
7
15
 
8
16
  **Note:** Version bump only for package @lansweeper/integrations-assets-grpc
@@ -33,6 +33,16 @@ export class Asset extends jspb.Message {
33
33
  getLockedFields(): LockedFields | undefined;
34
34
  setLockedFields(value?: LockedFields): Asset;
35
35
 
36
+ hasIsFederated(): boolean;
37
+ clearIsFederated(): void;
38
+ getIsFederated(): boolean | undefined;
39
+ setIsFederated(value: boolean): Asset;
40
+
41
+ hasFederatedCustomFields(): boolean;
42
+ clearFederatedCustomFields(): void;
43
+ getFederatedCustomFields(): boolean | undefined;
44
+ setFederatedCustomFields(value: boolean): Asset;
45
+
36
46
  serializeBinary(): Uint8Array;
37
47
  toObject(includeInstance?: boolean): Asset.AsObject;
38
48
  static toObject(includeInstance: boolean, msg: Asset): Asset.AsObject;
@@ -50,6 +60,8 @@ export namespace Asset {
50
60
  cloudAssetCustom?: CloudAssetCustom.AsObject,
51
61
  otData?: OtData.AsObject,
52
62
  lockedFields?: LockedFields.AsObject,
63
+ isFederated?: boolean,
64
+ federatedCustomFields?: boolean,
53
65
  }
54
66
  }
55
67
 
@@ -211,7 +211,9 @@ proto.lansweeper.integrations.assets.v1.Asset.toObject = function(includeInstanc
211
211
  assetCustom: (f = msg.getAssetCustom()) && proto.lansweeper.integrations.assets.v1.AssetCustom.toObject(includeInstance, f),
212
212
  cloudAssetCustom: (f = msg.getCloudAssetCustom()) && proto.lansweeper.integrations.assets.v1.CloudAssetCustom.toObject(includeInstance, f),
213
213
  otData: (f = msg.getOtData()) && proto.lansweeper.integrations.assets.v1.OtData.toObject(includeInstance, f),
214
- lockedFields: (f = msg.getLockedFields()) && proto.lansweeper.integrations.assets.v1.LockedFields.toObject(includeInstance, f)
214
+ lockedFields: (f = msg.getLockedFields()) && proto.lansweeper.integrations.assets.v1.LockedFields.toObject(includeInstance, f),
215
+ isFederated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
216
+ federatedCustomFields: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
215
217
  };
216
218
 
217
219
  if (includeInstance) {
@@ -273,6 +275,14 @@ proto.lansweeper.integrations.assets.v1.Asset.deserializeBinaryFromReader = func
273
275
  reader.readMessage(value,proto.lansweeper.integrations.assets.v1.LockedFields.deserializeBinaryFromReader);
274
276
  msg.setLockedFields(value);
275
277
  break;
278
+ case 6:
279
+ var value = /** @type {boolean} */ (reader.readBool());
280
+ msg.setIsFederated(value);
281
+ break;
282
+ case 7:
283
+ var value = /** @type {boolean} */ (reader.readBool());
284
+ msg.setFederatedCustomFields(value);
285
+ break;
276
286
  default:
277
287
  reader.skipField();
278
288
  break;
@@ -342,6 +352,20 @@ proto.lansweeper.integrations.assets.v1.Asset.serializeBinaryToWriter = function
342
352
  proto.lansweeper.integrations.assets.v1.LockedFields.serializeBinaryToWriter
343
353
  );
344
354
  }
355
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
356
+ if (f != null) {
357
+ writer.writeBool(
358
+ 6,
359
+ f
360
+ );
361
+ }
362
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
363
+ if (f != null) {
364
+ writer.writeBool(
365
+ 7,
366
+ f
367
+ );
368
+ }
345
369
  };
346
370
 
347
371
 
@@ -530,6 +554,78 @@ proto.lansweeper.integrations.assets.v1.Asset.prototype.hasLockedFields = functi
530
554
  };
531
555
 
532
556
 
557
+ /**
558
+ * optional bool is_federated = 6;
559
+ * @return {boolean}
560
+ */
561
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.getIsFederated = function() {
562
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
563
+ };
564
+
565
+
566
+ /**
567
+ * @param {boolean} value
568
+ * @return {!proto.lansweeper.integrations.assets.v1.Asset} returns this
569
+ */
570
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.setIsFederated = function(value) {
571
+ return jspb.Message.setField(this, 6, value);
572
+ };
573
+
574
+
575
+ /**
576
+ * Clears the field making it undefined.
577
+ * @return {!proto.lansweeper.integrations.assets.v1.Asset} returns this
578
+ */
579
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.clearIsFederated = function() {
580
+ return jspb.Message.setField(this, 6, undefined);
581
+ };
582
+
583
+
584
+ /**
585
+ * Returns whether this field is set.
586
+ * @return {boolean}
587
+ */
588
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.hasIsFederated = function() {
589
+ return jspb.Message.getField(this, 6) != null;
590
+ };
591
+
592
+
593
+ /**
594
+ * optional bool federated_custom_fields = 7;
595
+ * @return {boolean}
596
+ */
597
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.getFederatedCustomFields = function() {
598
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
599
+ };
600
+
601
+
602
+ /**
603
+ * @param {boolean} value
604
+ * @return {!proto.lansweeper.integrations.assets.v1.Asset} returns this
605
+ */
606
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.setFederatedCustomFields = function(value) {
607
+ return jspb.Message.setField(this, 7, value);
608
+ };
609
+
610
+
611
+ /**
612
+ * Clears the field making it undefined.
613
+ * @return {!proto.lansweeper.integrations.assets.v1.Asset} returns this
614
+ */
615
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.clearFederatedCustomFields = function() {
616
+ return jspb.Message.setField(this, 7, undefined);
617
+ };
618
+
619
+
620
+ /**
621
+ * Returns whether this field is set.
622
+ * @return {boolean}
623
+ */
624
+ proto.lansweeper.integrations.assets.v1.Asset.prototype.hasFederatedCustomFields = function() {
625
+ return jspb.Message.getField(this, 7) != null;
626
+ };
627
+
628
+
533
629
 
534
630
 
535
631