@lansweeper/integrations-assets-grpc 0.1.3 → 0.1.5
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 +8 -0
- package/gen-proto/assets_pb.d.ts +18 -0
- package/gen-proto/assets_pb.js +147 -3
- package/gen-proto/image.json +1 -1
- package/generated-go/assets.pb.go +215 -179
- package/java.json +1 -1
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/assets.proto +3 -0
- package/src/main/proto/assets.proto +3 -0
- package/target/classes/assets.proto +3 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Asset.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$1.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$Builder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustom.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/AssetOrBuilder.class +0 -0
- package/target/classes/lansweeper/integrations/assets/v1/Assets.class +0 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Asset.java +89 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfo.java +157 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.java +17 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +157 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +17 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetOrBuilder.java +11 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +63 -59
- package/target/integrations-assets-model-0.1.4-sources.jar +0 -0
- package/target/integrations-assets-model-0.1.4.jar +0 -0
- package/target/maven-archiver/pom.properties +2 -2
- package/target/integrations-assets-model-0.1.2-sources.jar +0 -0
- package/target/integrations-assets-model-0.1.2.jar +0 -0
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.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-assets-grpc@0.1.4...@lansweeper/integrations-assets-grpc@0.1.5) (2025-10-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
|
13
|
+
|
|
6
14
|
## [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)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
package/gen-proto/assets_pb.d.ts
CHANGED
|
@@ -38,6 +38,11 @@ export class Asset extends jspb.Message {
|
|
|
38
38
|
getIsFederated(): boolean | undefined;
|
|
39
39
|
setIsFederated(value: boolean): Asset;
|
|
40
40
|
|
|
41
|
+
hasFederatedCustomFields(): boolean;
|
|
42
|
+
clearFederatedCustomFields(): void;
|
|
43
|
+
getFederatedCustomFields(): boolean | undefined;
|
|
44
|
+
setFederatedCustomFields(value: boolean): Asset;
|
|
45
|
+
|
|
41
46
|
serializeBinary(): Uint8Array;
|
|
42
47
|
toObject(includeInstance?: boolean): Asset.AsObject;
|
|
43
48
|
static toObject(includeInstance: boolean, msg: Asset): Asset.AsObject;
|
|
@@ -56,6 +61,7 @@ export namespace Asset {
|
|
|
56
61
|
otData?: OtData.AsObject,
|
|
57
62
|
lockedFields?: LockedFields.AsObject,
|
|
58
63
|
isFederated?: boolean,
|
|
64
|
+
federatedCustomFields?: boolean,
|
|
59
65
|
}
|
|
60
66
|
}
|
|
61
67
|
|
|
@@ -90,6 +96,11 @@ export class AssetBasicInfo extends jspb.Message {
|
|
|
90
96
|
getFqdn(): string | undefined;
|
|
91
97
|
setFqdn(value: string): AssetBasicInfo;
|
|
92
98
|
|
|
99
|
+
hasTypeName(): boolean;
|
|
100
|
+
clearTypeName(): void;
|
|
101
|
+
getTypeName(): string | undefined;
|
|
102
|
+
setTypeName(value: string): AssetBasicInfo;
|
|
103
|
+
|
|
93
104
|
serializeBinary(): Uint8Array;
|
|
94
105
|
toObject(includeInstance?: boolean): AssetBasicInfo.AsObject;
|
|
95
106
|
static toObject(includeInstance: boolean, msg: AssetBasicInfo): AssetBasicInfo.AsObject;
|
|
@@ -109,6 +120,7 @@ export namespace AssetBasicInfo {
|
|
|
109
120
|
mac?: string,
|
|
110
121
|
description?: string,
|
|
111
122
|
fqdn?: string,
|
|
123
|
+
typeName?: string,
|
|
112
124
|
}
|
|
113
125
|
}
|
|
114
126
|
|
|
@@ -262,6 +274,11 @@ export class AssetCustom extends jspb.Message {
|
|
|
262
274
|
setFieldsList(value: Array<CustomField>): AssetCustom;
|
|
263
275
|
addFields(value?: CustomField, index?: number): CustomField;
|
|
264
276
|
|
|
277
|
+
hasStateName(): boolean;
|
|
278
|
+
clearStateName(): void;
|
|
279
|
+
getStateName(): string | undefined;
|
|
280
|
+
setStateName(value: string): AssetCustom;
|
|
281
|
+
|
|
265
282
|
serializeBinary(): Uint8Array;
|
|
266
283
|
toObject(includeInstance?: boolean): AssetCustom.AsObject;
|
|
267
284
|
static toObject(includeInstance: boolean, msg: AssetCustom): AssetCustom.AsObject;
|
|
@@ -294,6 +311,7 @@ export namespace AssetCustom {
|
|
|
294
311
|
lastFullBackup?: string,
|
|
295
312
|
lastFullImage?: string,
|
|
296
313
|
fieldsList: Array<CustomField.AsObject>,
|
|
314
|
+
stateName?: string,
|
|
297
315
|
}
|
|
298
316
|
}
|
|
299
317
|
|
package/gen-proto/assets_pb.js
CHANGED
|
@@ -212,7 +212,8 @@ proto.lansweeper.integrations.assets.v1.Asset.toObject = function(includeInstanc
|
|
|
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
214
|
lockedFields: (f = msg.getLockedFields()) && proto.lansweeper.integrations.assets.v1.LockedFields.toObject(includeInstance, f),
|
|
215
|
-
isFederated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
215
|
+
isFederated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
216
|
+
federatedCustomFields: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
216
217
|
};
|
|
217
218
|
|
|
218
219
|
if (includeInstance) {
|
|
@@ -278,6 +279,10 @@ proto.lansweeper.integrations.assets.v1.Asset.deserializeBinaryFromReader = func
|
|
|
278
279
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
279
280
|
msg.setIsFederated(value);
|
|
280
281
|
break;
|
|
282
|
+
case 7:
|
|
283
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
284
|
+
msg.setFederatedCustomFields(value);
|
|
285
|
+
break;
|
|
281
286
|
default:
|
|
282
287
|
reader.skipField();
|
|
283
288
|
break;
|
|
@@ -354,6 +359,13 @@ proto.lansweeper.integrations.assets.v1.Asset.serializeBinaryToWriter = function
|
|
|
354
359
|
f
|
|
355
360
|
);
|
|
356
361
|
}
|
|
362
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
|
|
363
|
+
if (f != null) {
|
|
364
|
+
writer.writeBool(
|
|
365
|
+
7,
|
|
366
|
+
f
|
|
367
|
+
);
|
|
368
|
+
}
|
|
357
369
|
};
|
|
358
370
|
|
|
359
371
|
|
|
@@ -578,6 +590,42 @@ proto.lansweeper.integrations.assets.v1.Asset.prototype.hasIsFederated = functio
|
|
|
578
590
|
};
|
|
579
591
|
|
|
580
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
|
+
|
|
581
629
|
|
|
582
630
|
|
|
583
631
|
|
|
@@ -616,7 +664,8 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.toObject = function(inclu
|
|
|
616
664
|
ipAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
617
665
|
mac: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
618
666
|
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
619
|
-
fqdn: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
667
|
+
fqdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
668
|
+
typeName: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
620
669
|
};
|
|
621
670
|
|
|
622
671
|
if (includeInstance) {
|
|
@@ -681,6 +730,10 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.deserializeBinaryFromRead
|
|
|
681
730
|
var value = /** @type {string} */ (reader.readString());
|
|
682
731
|
msg.setFqdn(value);
|
|
683
732
|
break;
|
|
733
|
+
case 8:
|
|
734
|
+
var value = /** @type {string} */ (reader.readString());
|
|
735
|
+
msg.setTypeName(value);
|
|
736
|
+
break;
|
|
684
737
|
default:
|
|
685
738
|
reader.skipField();
|
|
686
739
|
break;
|
|
@@ -759,6 +812,13 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.serializeBinaryToWriter =
|
|
|
759
812
|
f
|
|
760
813
|
);
|
|
761
814
|
}
|
|
815
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
816
|
+
if (f != null) {
|
|
817
|
+
writer.writeString(
|
|
818
|
+
8,
|
|
819
|
+
f
|
|
820
|
+
);
|
|
821
|
+
}
|
|
762
822
|
};
|
|
763
823
|
|
|
764
824
|
|
|
@@ -978,6 +1038,42 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.hasFqdn = funct
|
|
|
978
1038
|
};
|
|
979
1039
|
|
|
980
1040
|
|
|
1041
|
+
/**
|
|
1042
|
+
* optional string type_name = 8;
|
|
1043
|
+
* @return {string}
|
|
1044
|
+
*/
|
|
1045
|
+
proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.getTypeName = function() {
|
|
1046
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* @param {string} value
|
|
1052
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetBasicInfo} returns this
|
|
1053
|
+
*/
|
|
1054
|
+
proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.setTypeName = function(value) {
|
|
1055
|
+
return jspb.Message.setField(this, 8, value);
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Clears the field making it undefined.
|
|
1061
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetBasicInfo} returns this
|
|
1062
|
+
*/
|
|
1063
|
+
proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.clearTypeName = function() {
|
|
1064
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Returns whether this field is set.
|
|
1070
|
+
* @return {boolean}
|
|
1071
|
+
*/
|
|
1072
|
+
proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.hasTypeName = function() {
|
|
1073
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
|
|
981
1077
|
|
|
982
1078
|
|
|
983
1079
|
|
|
@@ -1393,7 +1489,8 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.toObject = function(includeI
|
|
|
1393
1489
|
lastFullBackup: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1394
1490
|
lastFullImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1395
1491
|
fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
|
|
1396
|
-
proto.lansweeper.integrations.assets.v1.CustomField.toObject, includeInstance)
|
|
1492
|
+
proto.lansweeper.integrations.assets.v1.CustomField.toObject, includeInstance),
|
|
1493
|
+
stateName: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
1397
1494
|
};
|
|
1398
1495
|
|
|
1399
1496
|
if (includeInstance) {
|
|
@@ -1511,6 +1608,10 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.deserializeBinaryFromReader
|
|
|
1511
1608
|
reader.readMessage(value,proto.lansweeper.integrations.assets.v1.CustomField.deserializeBinaryFromReader);
|
|
1512
1609
|
msg.addFields(value);
|
|
1513
1610
|
break;
|
|
1611
|
+
case 21:
|
|
1612
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1613
|
+
msg.setStateName(value);
|
|
1614
|
+
break;
|
|
1514
1615
|
default:
|
|
1515
1616
|
reader.skipField();
|
|
1516
1617
|
break;
|
|
@@ -1681,6 +1782,13 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.serializeBinaryToWriter = fu
|
|
|
1681
1782
|
proto.lansweeper.integrations.assets.v1.CustomField.serializeBinaryToWriter
|
|
1682
1783
|
);
|
|
1683
1784
|
}
|
|
1785
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
1786
|
+
if (f != null) {
|
|
1787
|
+
writer.writeString(
|
|
1788
|
+
21,
|
|
1789
|
+
f
|
|
1790
|
+
);
|
|
1791
|
+
}
|
|
1684
1792
|
};
|
|
1685
1793
|
|
|
1686
1794
|
|
|
@@ -2388,6 +2496,42 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.clearFieldsList =
|
|
|
2388
2496
|
};
|
|
2389
2497
|
|
|
2390
2498
|
|
|
2499
|
+
/**
|
|
2500
|
+
* optional string state_name = 21;
|
|
2501
|
+
* @return {string}
|
|
2502
|
+
*/
|
|
2503
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.getStateName = function() {
|
|
2504
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* @param {string} value
|
|
2510
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2511
|
+
*/
|
|
2512
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.setStateName = function(value) {
|
|
2513
|
+
return jspb.Message.setField(this, 21, value);
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Clears the field making it undefined.
|
|
2519
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2520
|
+
*/
|
|
2521
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.clearStateName = function() {
|
|
2522
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* Returns whether this field is set.
|
|
2528
|
+
* @return {boolean}
|
|
2529
|
+
*/
|
|
2530
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.hasStateName = function() {
|
|
2531
|
+
return jspb.Message.getField(this, 21) != null;
|
|
2532
|
+
};
|
|
2533
|
+
|
|
2534
|
+
|
|
2391
2535
|
|
|
2392
2536
|
|
|
2393
2537
|
|