@lansweeper/integrations-assets-grpc 0.1.1

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/buf.yaml +23 -0
  3. package/gen-proto/assets_grpc_pb.js +1 -0
  4. package/gen-proto/assets_pb.d.ts +458 -0
  5. package/gen-proto/assets_pb.js +3599 -0
  6. package/gen-proto/image.json +1 -0
  7. package/gen-proto/index.d.ts +1 -0
  8. package/gen-proto/index.js +3 -0
  9. package/generated-go/assets.pb.go +1118 -0
  10. package/go.mod +3 -0
  11. package/java.json +6 -0
  12. package/package.json +18 -0
  13. package/pom.xml +76 -0
  14. package/proto/assets.proto +86 -0
  15. package/src/main/proto/assets.proto +86 -0
  16. package/target/classes/assets.proto +86 -0
  17. package/target/classes/lansweeper/integrations/assets/v1/Asset$1.class +0 -0
  18. package/target/classes/lansweeper/integrations/assets/v1/Asset$Builder.class +0 -0
  19. package/target/classes/lansweeper/integrations/assets/v1/Asset.class +0 -0
  20. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$1.class +0 -0
  21. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo$Builder.class +0 -0
  22. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfo.class +0 -0
  23. package/target/classes/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.class +0 -0
  24. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$1.class +0 -0
  25. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom$Builder.class +0 -0
  26. package/target/classes/lansweeper/integrations/assets/v1/AssetCustom.class +0 -0
  27. package/target/classes/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.class +0 -0
  28. package/target/classes/lansweeper/integrations/assets/v1/AssetOrBuilder.class +0 -0
  29. package/target/classes/lansweeper/integrations/assets/v1/Assets.class +0 -0
  30. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$1.class +0 -0
  31. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom$Builder.class +0 -0
  32. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustom.class +0 -0
  33. package/target/classes/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.class +0 -0
  34. package/target/classes/lansweeper/integrations/assets/v1/CustomField$1.class +0 -0
  35. package/target/classes/lansweeper/integrations/assets/v1/CustomField$Builder.class +0 -0
  36. package/target/classes/lansweeper/integrations/assets/v1/CustomField.class +0 -0
  37. package/target/classes/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.class +0 -0
  38. package/target/classes/lansweeper/integrations/assets/v1/LockedFields$1.class +0 -0
  39. package/target/classes/lansweeper/integrations/assets/v1/LockedFields$Builder.class +0 -0
  40. package/target/classes/lansweeper/integrations/assets/v1/LockedFields.class +0 -0
  41. package/target/classes/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.class +0 -0
  42. package/target/classes/lansweeper/integrations/assets/v1/OtData$1.class +0 -0
  43. package/target/classes/lansweeper/integrations/assets/v1/OtData$Builder.class +0 -0
  44. package/target/classes/lansweeper/integrations/assets/v1/OtData.class +0 -0
  45. package/target/classes/lansweeper/integrations/assets/v1/OtDataOrBuilder.class +0 -0
  46. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Asset.java +1292 -0
  47. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfo.java +1431 -0
  48. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetBasicInfoOrBuilder.java +118 -0
  49. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustom.java +3690 -0
  50. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetCustomOrBuilder.java +351 -0
  51. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/AssetOrBuilder.java +84 -0
  52. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/Assets.java +176 -0
  53. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustom.java +1316 -0
  54. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CloudAssetCustomOrBuilder.java +111 -0
  55. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomField.java +643 -0
  56. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/CustomFieldOrBuilder.java +33 -0
  57. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFields.java +2886 -0
  58. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/LockedFieldsOrBuilder.java +281 -0
  59. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtData.java +688 -0
  60. package/target/generated-sources/protobuf/java/lansweeper/integrations/assets/v1/OtDataOrBuilder.java +43 -0
  61. package/target/integrations-assets-model-0.1.0-sources.jar +0 -0
  62. package/target/integrations-assets-model-0.1.0.jar +0 -0
  63. package/target/maven-archiver/pom.properties +5 -0
  64. package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +29 -0
  65. package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +15 -0
  66. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/any.proto +161 -0
  67. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/api.proto +207 -0
  68. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/descriptor.proto +975 -0
  69. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/duration.proto +115 -0
  70. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/empty.proto +51 -0
  71. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/field_mask.proto +245 -0
  72. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/source_context.proto +48 -0
  73. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/struct.proto +95 -0
  74. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/timestamp.proto +144 -0
  75. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/type.proto +187 -0
  76. package/target/protoc-dependencies/7040d1881ddf12571fac95ba4e19f89c/google/protobuf/wrappers.proto +123 -0
  77. package/target/protoc-plugins/protoc-3.22.2-linux-x86_64.exe +0 -0
package/go.mod ADDED
@@ -0,0 +1,3 @@
1
+ module github.com/Lansweeper/lansweeperapis/packages/integrations/assets.api/grpc
2
+
3
+ go 1.20
package/java.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "package": "lansweeper.integrations.assets.v1",
4
+ "name": "integrations-assets",
5
+ "service": false
6
+ }
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@lansweeper/integrations-assets-grpc",
3
+ "version": "0.1.1",
4
+ "description": "Integrations Assets gRPC",
5
+ "main": "gen-proto/index.js",
6
+ "types": "gen-proto/index.d.ts",
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "google-protobuf": "^3.17.0"
10
+ },
11
+ "devDependencies": {
12
+ "@grpc/grpc-js": "^1.6.2"
13
+ },
14
+ "peerDependencies": {
15
+ "@grpc/grpc-js": "^1.6.2"
16
+ },
17
+ "gitHead": "e442e8ee3ef06bec5ce38172b8c6aee2b6357bc5"
18
+ }
package/pom.xml ADDED
@@ -0,0 +1,76 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+ <modelVersion>4.0.0</modelVersion>
6
+
7
+ <groupId>lansweeper.integrations.assets.v1</groupId>
8
+ <artifactId>integrations-assets-model</artifactId>
9
+ <version>0.1.0</version>
10
+
11
+ <properties>
12
+ <maven.compiler.source>17</maven.compiler.source>
13
+ <maven.compiler.target>17</maven.compiler.target>
14
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
+ <protoc.version>3.22.2</protoc.version>
16
+ </properties>
17
+
18
+ <build>
19
+ <resources>
20
+ <resource>
21
+ <directory>${project.basedir}/src/main/proto</directory>
22
+ </resource>
23
+ </resources>
24
+ <extensions>
25
+ <extension>
26
+ <groupId>kr.motd.maven</groupId>
27
+ <artifactId>os-maven-plugin</artifactId>
28
+ <version>1.7.1</version>
29
+ </extension>
30
+ </extensions>
31
+ <plugins>
32
+ <plugin>
33
+ <groupId>org.xolstice.maven.plugins</groupId>
34
+ <artifactId>protobuf-maven-plugin</artifactId>
35
+ <version>0.6.1</version>
36
+ <configuration>
37
+ <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
38
+ </configuration>
39
+ <executions>
40
+ <execution>
41
+ <goals>
42
+ <goal>compile</goal>
43
+ </goals>
44
+ </execution>
45
+ </executions>
46
+ </plugin>
47
+ <plugin>
48
+ <groupId>org.apache.maven.plugins</groupId>
49
+ <artifactId>maven-source-plugin</artifactId>
50
+ <version>3.2.1</version>
51
+ <executions>
52
+ <execution>
53
+ <id>attach-sources</id>
54
+ <goals>
55
+ <goal>jar</goal>
56
+ </goals>
57
+ </execution>
58
+ </executions>
59
+ </plugin>
60
+ </plugins>
61
+ </build>
62
+
63
+ <dependencies>
64
+ <dependency>
65
+ <groupId>com.google.protobuf</groupId>
66
+ <artifactId>protobuf-java</artifactId>
67
+ <version>${protoc.version}</version>
68
+ </dependency>
69
+ <dependency>
70
+ <groupId>com.google.protobuf</groupId>
71
+ <artifactId>protobuf-java-util</artifactId>
72
+ <version>${protoc.version}</version>
73
+ </dependency>
74
+ </dependencies>
75
+
76
+ </project>
@@ -0,0 +1,86 @@
1
+
2
+ syntax = "proto3";
3
+
4
+ package lansweeper.integrations.assets.v1;
5
+
6
+ option go_package = "./generated-go";
7
+ option java_multiple_files = true;
8
+
9
+ message Asset {
10
+ AssetBasicInfo asset_basic_info = 1;
11
+ AssetCustom asset_custom = 2;
12
+ optional CloudAssetCustom cloud_asset_custom = 3;
13
+ optional OtData ot_data = 4;
14
+ optional LockedFields locked_fields = 5;
15
+ }
16
+
17
+ message AssetBasicInfo {
18
+ string type_key = 1;
19
+ string name = 2;
20
+ optional string domain = 3;
21
+ optional string ip_address = 4;
22
+ optional string mac = 5;
23
+ optional string description = 6;
24
+ optional string fqdn = 7;
25
+ }
26
+
27
+ message OtData {
28
+ optional string module_type = 1;
29
+ optional string firmware = 2;
30
+ }
31
+
32
+ message CustomField {
33
+ string key = 1;
34
+ string value = 2;
35
+ }
36
+
37
+ message AssetCustom {
38
+ string state_key = 1;
39
+ optional string location = 2;
40
+ optional string building = 3;
41
+ optional string department = 4;
42
+ optional string industry = 5;
43
+ optional string barcode = 6;
44
+ optional string branch_office = 7;
45
+ optional string contact = 8;
46
+ optional string manufacturer = 9;
47
+ optional string model = 10;
48
+ optional string serial_number = 11;
49
+ optional string dns_name = 12;
50
+ optional string sku = 13;
51
+ optional string warranty_date = 14;
52
+ optional string purchase_date = 15;
53
+ optional string order_number = 16;
54
+ optional string last_patched = 17;
55
+ optional string last_full_backup = 18;
56
+ optional string last_full_image = 19;
57
+ repeated CustomField fields = 20;
58
+ }
59
+
60
+ message CloudAssetCustom {
61
+ optional string purchase_order_date = 1;
62
+ optional string cost_center = 2;
63
+ optional string vendor_name = 3;
64
+ optional string invoice_number = 4;
65
+ optional string acquisition_type = 5;
66
+ optional string owner = 6;
67
+ }
68
+
69
+ message LockedFields {
70
+ optional string name = 1;
71
+ optional string type_key = 2;
72
+ optional string mac = 3;
73
+ optional string state_key = 4;
74
+ optional string description = 5;
75
+ optional string manufacturer = 6;
76
+ optional string model = 7;
77
+ optional string serial_number = 8;
78
+ optional string sku = 9;
79
+ optional string contact = 10;
80
+ optional string location = 11;
81
+ optional string ip_address = 12;
82
+ optional string purchase_date = 13;
83
+ optional string warranty_date = 14;
84
+ optional string module_type = 15;
85
+ optional string firmware = 16;
86
+ }
@@ -0,0 +1,86 @@
1
+
2
+ syntax = "proto3";
3
+
4
+ package lansweeper.integrations.assets.v1;
5
+
6
+ option go_package = "./generated-go";
7
+ option java_multiple_files = true;
8
+
9
+ message Asset {
10
+ AssetBasicInfo asset_basic_info = 1;
11
+ AssetCustom asset_custom = 2;
12
+ optional CloudAssetCustom cloud_asset_custom = 3;
13
+ optional OtData ot_data = 4;
14
+ optional LockedFields locked_fields = 5;
15
+ }
16
+
17
+ message AssetBasicInfo {
18
+ string type_key = 1;
19
+ string name = 2;
20
+ optional string domain = 3;
21
+ optional string ip_address = 4;
22
+ optional string mac = 5;
23
+ optional string description = 6;
24
+ optional string fqdn = 7;
25
+ }
26
+
27
+ message OtData {
28
+ optional string module_type = 1;
29
+ optional string firmware = 2;
30
+ }
31
+
32
+ message CustomField {
33
+ string key = 1;
34
+ string value = 2;
35
+ }
36
+
37
+ message AssetCustom {
38
+ string state_key = 1;
39
+ optional string location = 2;
40
+ optional string building = 3;
41
+ optional string department = 4;
42
+ optional string industry = 5;
43
+ optional string barcode = 6;
44
+ optional string branch_office = 7;
45
+ optional string contact = 8;
46
+ optional string manufacturer = 9;
47
+ optional string model = 10;
48
+ optional string serial_number = 11;
49
+ optional string dns_name = 12;
50
+ optional string sku = 13;
51
+ optional string warranty_date = 14;
52
+ optional string purchase_date = 15;
53
+ optional string order_number = 16;
54
+ optional string last_patched = 17;
55
+ optional string last_full_backup = 18;
56
+ optional string last_full_image = 19;
57
+ repeated CustomField fields = 20;
58
+ }
59
+
60
+ message CloudAssetCustom {
61
+ optional string purchase_order_date = 1;
62
+ optional string cost_center = 2;
63
+ optional string vendor_name = 3;
64
+ optional string invoice_number = 4;
65
+ optional string acquisition_type = 5;
66
+ optional string owner = 6;
67
+ }
68
+
69
+ message LockedFields {
70
+ optional string name = 1;
71
+ optional string type_key = 2;
72
+ optional string mac = 3;
73
+ optional string state_key = 4;
74
+ optional string description = 5;
75
+ optional string manufacturer = 6;
76
+ optional string model = 7;
77
+ optional string serial_number = 8;
78
+ optional string sku = 9;
79
+ optional string contact = 10;
80
+ optional string location = 11;
81
+ optional string ip_address = 12;
82
+ optional string purchase_date = 13;
83
+ optional string warranty_date = 14;
84
+ optional string module_type = 15;
85
+ optional string firmware = 16;
86
+ }
@@ -0,0 +1,86 @@
1
+
2
+ syntax = "proto3";
3
+
4
+ package lansweeper.integrations.assets.v1;
5
+
6
+ option go_package = "./generated-go";
7
+ option java_multiple_files = true;
8
+
9
+ message Asset {
10
+ AssetBasicInfo asset_basic_info = 1;
11
+ AssetCustom asset_custom = 2;
12
+ optional CloudAssetCustom cloud_asset_custom = 3;
13
+ optional OtData ot_data = 4;
14
+ optional LockedFields locked_fields = 5;
15
+ }
16
+
17
+ message AssetBasicInfo {
18
+ string type_key = 1;
19
+ string name = 2;
20
+ optional string domain = 3;
21
+ optional string ip_address = 4;
22
+ optional string mac = 5;
23
+ optional string description = 6;
24
+ optional string fqdn = 7;
25
+ }
26
+
27
+ message OtData {
28
+ optional string module_type = 1;
29
+ optional string firmware = 2;
30
+ }
31
+
32
+ message CustomField {
33
+ string key = 1;
34
+ string value = 2;
35
+ }
36
+
37
+ message AssetCustom {
38
+ string state_key = 1;
39
+ optional string location = 2;
40
+ optional string building = 3;
41
+ optional string department = 4;
42
+ optional string industry = 5;
43
+ optional string barcode = 6;
44
+ optional string branch_office = 7;
45
+ optional string contact = 8;
46
+ optional string manufacturer = 9;
47
+ optional string model = 10;
48
+ optional string serial_number = 11;
49
+ optional string dns_name = 12;
50
+ optional string sku = 13;
51
+ optional string warranty_date = 14;
52
+ optional string purchase_date = 15;
53
+ optional string order_number = 16;
54
+ optional string last_patched = 17;
55
+ optional string last_full_backup = 18;
56
+ optional string last_full_image = 19;
57
+ repeated CustomField fields = 20;
58
+ }
59
+
60
+ message CloudAssetCustom {
61
+ optional string purchase_order_date = 1;
62
+ optional string cost_center = 2;
63
+ optional string vendor_name = 3;
64
+ optional string invoice_number = 4;
65
+ optional string acquisition_type = 5;
66
+ optional string owner = 6;
67
+ }
68
+
69
+ message LockedFields {
70
+ optional string name = 1;
71
+ optional string type_key = 2;
72
+ optional string mac = 3;
73
+ optional string state_key = 4;
74
+ optional string description = 5;
75
+ optional string manufacturer = 6;
76
+ optional string model = 7;
77
+ optional string serial_number = 8;
78
+ optional string sku = 9;
79
+ optional string contact = 10;
80
+ optional string location = 11;
81
+ optional string ip_address = 12;
82
+ optional string purchase_date = 13;
83
+ optional string warranty_date = 14;
84
+ optional string module_type = 15;
85
+ optional string firmware = 16;
86
+ }