@lansweeper/integrations-assets-grpc 0.1.4 → 0.1.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 +8 -0
- package/gen-proto/assets_pb.d.ts +18 -0
- package/gen-proto/assets_pb.js +146 -2
- package/gen-proto/image.json +1 -1
- package/generated-go/assets.pb.go +129 -96
- 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/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/Assets.class +0 -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 +314 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +34 -0
- package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +55 -52
- package/target/{integrations-assets-model-0.1.3-sources.jar → integrations-assets-model-0.1.5-sources.jar} +0 -0
- package/target/{integrations-assets-model-0.1.3.jar → integrations-assets-model-0.1.5.jar} +0 -0
- package/target/maven-archiver/pom.properties +2 -2
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.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-assets-grpc@0.1.5...@lansweeper/integrations-assets-grpc@0.1.6) (2026-01-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
|
13
|
+
|
|
6
14
|
## [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
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/integrations-assets-grpc
|
package/gen-proto/assets_pb.d.ts
CHANGED
|
@@ -96,6 +96,11 @@ export class AssetBasicInfo extends jspb.Message {
|
|
|
96
96
|
getFqdn(): string | undefined;
|
|
97
97
|
setFqdn(value: string): AssetBasicInfo;
|
|
98
98
|
|
|
99
|
+
hasTypeName(): boolean;
|
|
100
|
+
clearTypeName(): void;
|
|
101
|
+
getTypeName(): string | undefined;
|
|
102
|
+
setTypeName(value: string): AssetBasicInfo;
|
|
103
|
+
|
|
99
104
|
serializeBinary(): Uint8Array;
|
|
100
105
|
toObject(includeInstance?: boolean): AssetBasicInfo.AsObject;
|
|
101
106
|
static toObject(includeInstance: boolean, msg: AssetBasicInfo): AssetBasicInfo.AsObject;
|
|
@@ -115,6 +120,7 @@ export namespace AssetBasicInfo {
|
|
|
115
120
|
mac?: string,
|
|
116
121
|
description?: string,
|
|
117
122
|
fqdn?: string,
|
|
123
|
+
typeName?: string,
|
|
118
124
|
}
|
|
119
125
|
}
|
|
120
126
|
|
|
@@ -268,6 +274,16 @@ export class AssetCustom extends jspb.Message {
|
|
|
268
274
|
setFieldsList(value: Array<CustomField>): AssetCustom;
|
|
269
275
|
addFields(value?: CustomField, index?: number): CustomField;
|
|
270
276
|
|
|
277
|
+
hasStateName(): boolean;
|
|
278
|
+
clearStateName(): void;
|
|
279
|
+
getStateName(): string | undefined;
|
|
280
|
+
setStateName(value: string): AssetCustom;
|
|
281
|
+
|
|
282
|
+
hasComment(): boolean;
|
|
283
|
+
clearComment(): void;
|
|
284
|
+
getComment(): string | undefined;
|
|
285
|
+
setComment(value: string): AssetCustom;
|
|
286
|
+
|
|
271
287
|
serializeBinary(): Uint8Array;
|
|
272
288
|
toObject(includeInstance?: boolean): AssetCustom.AsObject;
|
|
273
289
|
static toObject(includeInstance: boolean, msg: AssetCustom): AssetCustom.AsObject;
|
|
@@ -300,6 +316,8 @@ export namespace AssetCustom {
|
|
|
300
316
|
lastFullBackup?: string,
|
|
301
317
|
lastFullImage?: string,
|
|
302
318
|
fieldsList: Array<CustomField.AsObject>,
|
|
319
|
+
stateName?: string,
|
|
320
|
+
comment?: string,
|
|
303
321
|
}
|
|
304
322
|
}
|
|
305
323
|
|
package/gen-proto/assets_pb.js
CHANGED
|
@@ -664,7 +664,8 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.toObject = function(inclu
|
|
|
664
664
|
ipAddress: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
665
665
|
mac: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
666
666
|
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
667
|
-
fqdn: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
667
|
+
fqdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
668
|
+
typeName: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
668
669
|
};
|
|
669
670
|
|
|
670
671
|
if (includeInstance) {
|
|
@@ -729,6 +730,10 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.deserializeBinaryFromRead
|
|
|
729
730
|
var value = /** @type {string} */ (reader.readString());
|
|
730
731
|
msg.setFqdn(value);
|
|
731
732
|
break;
|
|
733
|
+
case 8:
|
|
734
|
+
var value = /** @type {string} */ (reader.readString());
|
|
735
|
+
msg.setTypeName(value);
|
|
736
|
+
break;
|
|
732
737
|
default:
|
|
733
738
|
reader.skipField();
|
|
734
739
|
break;
|
|
@@ -807,6 +812,13 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.serializeBinaryToWriter =
|
|
|
807
812
|
f
|
|
808
813
|
);
|
|
809
814
|
}
|
|
815
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
816
|
+
if (f != null) {
|
|
817
|
+
writer.writeString(
|
|
818
|
+
8,
|
|
819
|
+
f
|
|
820
|
+
);
|
|
821
|
+
}
|
|
810
822
|
};
|
|
811
823
|
|
|
812
824
|
|
|
@@ -1026,6 +1038,42 @@ proto.lansweeper.integrations.assets.v1.AssetBasicInfo.prototype.hasFqdn = funct
|
|
|
1026
1038
|
};
|
|
1027
1039
|
|
|
1028
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
|
+
|
|
1029
1077
|
|
|
1030
1078
|
|
|
1031
1079
|
|
|
@@ -1441,7 +1489,9 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.toObject = function(includeI
|
|
|
1441
1489
|
lastFullBackup: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1442
1490
|
lastFullImage: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1443
1491
|
fieldsList: jspb.Message.toObjectList(msg.getFieldsList(),
|
|
1444
|
-
proto.lansweeper.integrations.assets.v1.CustomField.toObject, includeInstance)
|
|
1492
|
+
proto.lansweeper.integrations.assets.v1.CustomField.toObject, includeInstance),
|
|
1493
|
+
stateName: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1494
|
+
comment: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
1445
1495
|
};
|
|
1446
1496
|
|
|
1447
1497
|
if (includeInstance) {
|
|
@@ -1559,6 +1609,14 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.deserializeBinaryFromReader
|
|
|
1559
1609
|
reader.readMessage(value,proto.lansweeper.integrations.assets.v1.CustomField.deserializeBinaryFromReader);
|
|
1560
1610
|
msg.addFields(value);
|
|
1561
1611
|
break;
|
|
1612
|
+
case 21:
|
|
1613
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1614
|
+
msg.setStateName(value);
|
|
1615
|
+
break;
|
|
1616
|
+
case 22:
|
|
1617
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1618
|
+
msg.setComment(value);
|
|
1619
|
+
break;
|
|
1562
1620
|
default:
|
|
1563
1621
|
reader.skipField();
|
|
1564
1622
|
break;
|
|
@@ -1729,6 +1787,20 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.serializeBinaryToWriter = fu
|
|
|
1729
1787
|
proto.lansweeper.integrations.assets.v1.CustomField.serializeBinaryToWriter
|
|
1730
1788
|
);
|
|
1731
1789
|
}
|
|
1790
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 21));
|
|
1791
|
+
if (f != null) {
|
|
1792
|
+
writer.writeString(
|
|
1793
|
+
21,
|
|
1794
|
+
f
|
|
1795
|
+
);
|
|
1796
|
+
}
|
|
1797
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 22));
|
|
1798
|
+
if (f != null) {
|
|
1799
|
+
writer.writeString(
|
|
1800
|
+
22,
|
|
1801
|
+
f
|
|
1802
|
+
);
|
|
1803
|
+
}
|
|
1732
1804
|
};
|
|
1733
1805
|
|
|
1734
1806
|
|
|
@@ -2436,6 +2508,78 @@ proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.clearFieldsList =
|
|
|
2436
2508
|
};
|
|
2437
2509
|
|
|
2438
2510
|
|
|
2511
|
+
/**
|
|
2512
|
+
* optional string state_name = 21;
|
|
2513
|
+
* @return {string}
|
|
2514
|
+
*/
|
|
2515
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.getStateName = function() {
|
|
2516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
2517
|
+
};
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* @param {string} value
|
|
2522
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2523
|
+
*/
|
|
2524
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.setStateName = function(value) {
|
|
2525
|
+
return jspb.Message.setField(this, 21, value);
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Clears the field making it undefined.
|
|
2531
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2532
|
+
*/
|
|
2533
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.clearStateName = function() {
|
|
2534
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Returns whether this field is set.
|
|
2540
|
+
* @return {boolean}
|
|
2541
|
+
*/
|
|
2542
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.hasStateName = function() {
|
|
2543
|
+
return jspb.Message.getField(this, 21) != null;
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* optional string comment = 22;
|
|
2549
|
+
* @return {string}
|
|
2550
|
+
*/
|
|
2551
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.getComment = function() {
|
|
2552
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* @param {string} value
|
|
2558
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2559
|
+
*/
|
|
2560
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.setComment = function(value) {
|
|
2561
|
+
return jspb.Message.setField(this, 22, value);
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* Clears the field making it undefined.
|
|
2567
|
+
* @return {!proto.lansweeper.integrations.assets.v1.AssetCustom} returns this
|
|
2568
|
+
*/
|
|
2569
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.clearComment = function() {
|
|
2570
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* Returns whether this field is set.
|
|
2576
|
+
* @return {boolean}
|
|
2577
|
+
*/
|
|
2578
|
+
proto.lansweeper.integrations.assets.v1.AssetCustom.prototype.hasComment = function() {
|
|
2579
|
+
return jspb.Message.getField(this, 22) != null;
|
|
2580
|
+
};
|
|
2581
|
+
|
|
2582
|
+
|
|
2439
2583
|
|
|
2440
2584
|
|
|
2441
2585
|
|