@lansweeper/diagrams-grpc 0.0.2
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/.ignorecompat +0 -0
- package/CHANGELOG.md +8 -0
- package/Lansweeper.Diagrams.GRPC.csproj +28 -0
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.deps.json +149 -0
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/buf.yaml +19 -0
- package/gen-proto/diagrams_grpc_pb.d.ts +41 -0
- package/gen-proto/diagrams_grpc_pb.js +44 -0
- package/gen-proto/diagrams_pb.d.ts +122 -0
- package/gen-proto/diagrams_pb.js +916 -0
- package/gen-proto/image.json +1 -0
- package/gen-proto/index.d.ts +2 -0
- package/gen-proto/index.js +3 -0
- package/obj/Debug/net6.0/16bfc45f637a20e2_diagrams.protodep +2 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfo.cs +25 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfoInputs.cache +1 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.GeneratedMSBuildEditorConfig.editorconfig +10 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.assets.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.csproj.CoreCompileInputs.cache +1 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.csproj.FileListAbsolute.txt +12 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Diagrams.cs +1083 -0
- package/obj/Debug/net6.0/proto/DiagramsGrpc.cs +155 -0
- package/obj/Debug/net6.0/ref/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Lansweeper.Diagrams.GRPC.csproj.nuget.dgspec.json +86 -0
- package/obj/Lansweeper.Diagrams.GRPC.csproj.nuget.g.props +21 -0
- package/obj/Lansweeper.Diagrams.GRPC.csproj.nuget.g.targets +6 -0
- package/obj/project.assets.json +385 -0
- package/obj/project.nuget.cache +16 -0
- package/package.json +16 -0
- package/proto/diagrams.proto +37 -0
package/.ignorecompat
ADDED
|
File without changes
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## 0.0.2 (2022-09-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
3
|
+
<PropertyGroup>
|
|
4
|
+
<TargetFrameworks>net6.0</TargetFrameworks>
|
|
5
|
+
<Title>Lansweeper Protos - Diagrams</Title>
|
|
6
|
+
<Description>More Info : http://www.lansweeper.com</Description>
|
|
7
|
+
<Company>Lansweeper</Company>
|
|
8
|
+
<Product>Lansweeper Diagrams</Product>
|
|
9
|
+
<Copyright>Lansweeper</Copyright>
|
|
10
|
+
<PackageVersion>0.0.1</PackageVersion>
|
|
11
|
+
<Version>0.0.1</Version>
|
|
12
|
+
<FileVersion>0.0.1</FileVersion>
|
|
13
|
+
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
|
+
</PropertyGroup>
|
|
15
|
+
<ItemGroup>
|
|
16
|
+
<PackageReference Include="Google.Protobuf" Version="3.15.0" />
|
|
17
|
+
<PackageReference Include="Grpc" Version="2.46.1" />
|
|
18
|
+
<PackageReference Include="Grpc.Core" Version="2.46.1" />
|
|
19
|
+
<PackageReference Include="Grpc.Core.Api" Version="2.46.1" />
|
|
20
|
+
<PackageReference Include="Grpc.Tools" Version="2.46.1">
|
|
21
|
+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
22
|
+
<PrivateAssets>all</PrivateAssets>
|
|
23
|
+
</PackageReference>
|
|
24
|
+
</ItemGroup>
|
|
25
|
+
<ItemGroup>
|
|
26
|
+
<Protobuf Include="./proto/diagrams.proto" />
|
|
27
|
+
</ItemGroup>
|
|
28
|
+
</Project>
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtimeTarget": {
|
|
3
|
+
"name": ".NETCoreApp,Version=v6.0",
|
|
4
|
+
"signature": ""
|
|
5
|
+
},
|
|
6
|
+
"compilationOptions": {},
|
|
7
|
+
"targets": {
|
|
8
|
+
".NETCoreApp,Version=v6.0": {
|
|
9
|
+
"Lansweeper.Diagrams.GRPC/0.0.1": {
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"Google.Protobuf": "3.15.0",
|
|
12
|
+
"Grpc": "2.46.1",
|
|
13
|
+
"Grpc.Core": "2.46.1",
|
|
14
|
+
"Grpc.Core.Api": "2.46.1",
|
|
15
|
+
"Grpc.Tools": "2.46.1"
|
|
16
|
+
},
|
|
17
|
+
"runtime": {
|
|
18
|
+
"Lansweeper.Diagrams.GRPC.dll": {}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"Google.Protobuf/3.15.0": {
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"System.Memory": "4.5.3",
|
|
24
|
+
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
|
25
|
+
},
|
|
26
|
+
"runtime": {
|
|
27
|
+
"lib/netstandard2.0/Google.Protobuf.dll": {
|
|
28
|
+
"assemblyVersion": "3.15.0.0",
|
|
29
|
+
"fileVersion": "3.15.0.0"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"Grpc/2.46.1": {
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"Grpc.Core": "2.46.1"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"Grpc.Core/2.46.1": {
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"Grpc.Core.Api": "2.46.1",
|
|
41
|
+
"System.Memory": "4.5.3"
|
|
42
|
+
},
|
|
43
|
+
"runtime": {
|
|
44
|
+
"lib/netstandard2.0/Grpc.Core.dll": {
|
|
45
|
+
"assemblyVersion": "2.0.0.0",
|
|
46
|
+
"fileVersion": "2.46.1.0"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"runtimeTargets": {
|
|
50
|
+
"runtimes/linux-arm64/native/libgrpc_csharp_ext.arm64.so": {
|
|
51
|
+
"rid": "linux-arm64",
|
|
52
|
+
"assetType": "native",
|
|
53
|
+
"fileVersion": "0.0.0.0"
|
|
54
|
+
},
|
|
55
|
+
"runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so": {
|
|
56
|
+
"rid": "linux-x64",
|
|
57
|
+
"assetType": "native",
|
|
58
|
+
"fileVersion": "0.0.0.0"
|
|
59
|
+
},
|
|
60
|
+
"runtimes/osx-x64/native/libgrpc_csharp_ext.x64.dylib": {
|
|
61
|
+
"rid": "osx-x64",
|
|
62
|
+
"assetType": "native",
|
|
63
|
+
"fileVersion": "0.0.0.0"
|
|
64
|
+
},
|
|
65
|
+
"runtimes/win-x64/native/grpc_csharp_ext.x64.dll": {
|
|
66
|
+
"rid": "win-x64",
|
|
67
|
+
"assetType": "native",
|
|
68
|
+
"fileVersion": "0.0.0.0"
|
|
69
|
+
},
|
|
70
|
+
"runtimes/win-x86/native/grpc_csharp_ext.x86.dll": {
|
|
71
|
+
"rid": "win-x86",
|
|
72
|
+
"assetType": "native",
|
|
73
|
+
"fileVersion": "0.0.0.0"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"Grpc.Core.Api/2.46.1": {
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"System.Memory": "4.5.3"
|
|
80
|
+
},
|
|
81
|
+
"runtime": {
|
|
82
|
+
"lib/netstandard2.1/Grpc.Core.Api.dll": {
|
|
83
|
+
"assemblyVersion": "2.0.0.0",
|
|
84
|
+
"fileVersion": "2.46.1.0"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"Grpc.Tools/2.46.1": {},
|
|
89
|
+
"System.Memory/4.5.3": {},
|
|
90
|
+
"System.Runtime.CompilerServices.Unsafe/4.5.2": {}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"libraries": {
|
|
94
|
+
"Lansweeper.Diagrams.GRPC/0.0.1": {
|
|
95
|
+
"type": "project",
|
|
96
|
+
"serviceable": false,
|
|
97
|
+
"sha512": ""
|
|
98
|
+
},
|
|
99
|
+
"Google.Protobuf/3.15.0": {
|
|
100
|
+
"type": "package",
|
|
101
|
+
"serviceable": true,
|
|
102
|
+
"sha512": "sha512-2na7LsYrtxkEQaVCNjaafBzVu4IJ4U4+dwwBazK8oUkpDiIFjO0GkyTc+IbStx4xNVAV4EqHl+qp2uegFgFiiA==",
|
|
103
|
+
"path": "google.protobuf/3.15.0",
|
|
104
|
+
"hashPath": "google.protobuf.3.15.0.nupkg.sha512"
|
|
105
|
+
},
|
|
106
|
+
"Grpc/2.46.1": {
|
|
107
|
+
"type": "package",
|
|
108
|
+
"serviceable": true,
|
|
109
|
+
"sha512": "sha512-DFBSbL//fiHBULKeqzyHf4sWBtKhmlmUJsCJhcUMogZAOoBck/EOPkLK2vST0zON0aMeGV3KkqcJIQk8GpaiMA==",
|
|
110
|
+
"path": "grpc/2.46.1",
|
|
111
|
+
"hashPath": "grpc.2.46.1.nupkg.sha512"
|
|
112
|
+
},
|
|
113
|
+
"Grpc.Core/2.46.1": {
|
|
114
|
+
"type": "package",
|
|
115
|
+
"serviceable": true,
|
|
116
|
+
"sha512": "sha512-UlKAckb1QvCgZ1f0n5iiXve6kNsrmIgEtwxNboo6uxNAwBY4r9Mhsc3S7iXsO4CAx2F6AVOmdKnojE0+qr5FrA==",
|
|
117
|
+
"path": "grpc.core/2.46.1",
|
|
118
|
+
"hashPath": "grpc.core.2.46.1.nupkg.sha512"
|
|
119
|
+
},
|
|
120
|
+
"Grpc.Core.Api/2.46.1": {
|
|
121
|
+
"type": "package",
|
|
122
|
+
"serviceable": true,
|
|
123
|
+
"sha512": "sha512-3rm4VJLP6MHWXoQnF9kYvO57Rj7gBtAlsu5Y4XtMTrsy4hSolRKOychh0KzJkaOTTtJ5dg0i3QlslLR5SX0Seg==",
|
|
124
|
+
"path": "grpc.core.api/2.46.1",
|
|
125
|
+
"hashPath": "grpc.core.api.2.46.1.nupkg.sha512"
|
|
126
|
+
},
|
|
127
|
+
"Grpc.Tools/2.46.1": {
|
|
128
|
+
"type": "package",
|
|
129
|
+
"serviceable": true,
|
|
130
|
+
"sha512": "sha512-oFqi9IulAh7et/5gtqa3WdeOfKvYzpoGZsTpHWo0qTbxNVxy2lDpYrcXFkX2qSxjDdzsifeVtBLUnB/Bs5aIiQ==",
|
|
131
|
+
"path": "grpc.tools/2.46.1",
|
|
132
|
+
"hashPath": "grpc.tools.2.46.1.nupkg.sha512"
|
|
133
|
+
},
|
|
134
|
+
"System.Memory/4.5.3": {
|
|
135
|
+
"type": "package",
|
|
136
|
+
"serviceable": true,
|
|
137
|
+
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
|
138
|
+
"path": "system.memory/4.5.3",
|
|
139
|
+
"hashPath": "system.memory.4.5.3.nupkg.sha512"
|
|
140
|
+
},
|
|
141
|
+
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
|
142
|
+
"type": "package",
|
|
143
|
+
"serviceable": true,
|
|
144
|
+
"sha512": "sha512-wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
|
145
|
+
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
|
146
|
+
"hashPath": "system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
Binary file
|
|
Binary file
|
package/buf.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This package was created previosly without linting and to support camelcase we have this config.
|
|
2
|
+
version: v1
|
|
3
|
+
lint:
|
|
4
|
+
use:
|
|
5
|
+
- DEFAULT
|
|
6
|
+
except:
|
|
7
|
+
- FIELD_LOWER_SNAKE_CASE
|
|
8
|
+
- PACKAGE_DIRECTORY_MATCH
|
|
9
|
+
- PACKAGE_SAME_DIRECTORY
|
|
10
|
+
- SERVICE_SUFFIX
|
|
11
|
+
- RPC_REQUEST_STANDARD_NAME
|
|
12
|
+
- RPC_RESPONSE_STANDARD_NAME
|
|
13
|
+
- RPC_REQUEST_RESPONSE_UNIQUE
|
|
14
|
+
- ENUM_ZERO_VALUE_SUFFIX
|
|
15
|
+
- ENUM_VALUE_PREFIX
|
|
16
|
+
- PACKAGE_VERSION_SUFFIX
|
|
17
|
+
breaking:
|
|
18
|
+
use:
|
|
19
|
+
- FILE
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// package: lansweeper.diagrams.v1
|
|
2
|
+
// file: diagrams.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
|
+
import * as diagrams_pb from "./diagrams_pb";
|
|
9
|
+
|
|
10
|
+
interface IDiagramsServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
getDiagramByInstallation: IDiagramsServiceService_IGetDiagramByInstallation;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface IDiagramsServiceService_IGetDiagramByInstallation extends grpc.MethodDefinition<diagrams_pb.DiagramRequest, diagrams_pb.Diagram> {
|
|
15
|
+
path: "/lansweeper.diagrams.v1.DiagramsService/GetDiagramByInstallation";
|
|
16
|
+
requestStream: false;
|
|
17
|
+
responseStream: false;
|
|
18
|
+
requestSerialize: grpc.serialize<diagrams_pb.DiagramRequest>;
|
|
19
|
+
requestDeserialize: grpc.deserialize<diagrams_pb.DiagramRequest>;
|
|
20
|
+
responseSerialize: grpc.serialize<diagrams_pb.Diagram>;
|
|
21
|
+
responseDeserialize: grpc.deserialize<diagrams_pb.Diagram>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const DiagramsServiceService: IDiagramsServiceService;
|
|
25
|
+
|
|
26
|
+
export interface IDiagramsServiceServer extends grpc.UntypedServiceImplementation {
|
|
27
|
+
getDiagramByInstallation: grpc.handleUnaryCall<diagrams_pb.DiagramRequest, diagrams_pb.Diagram>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface IDiagramsServiceClient {
|
|
31
|
+
getDiagramByInstallation(request: diagrams_pb.DiagramRequest, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
32
|
+
getDiagramByInstallation(request: diagrams_pb.DiagramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
33
|
+
getDiagramByInstallation(request: diagrams_pb.DiagramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class DiagramsServiceClient extends grpc.Client implements IDiagramsServiceClient {
|
|
37
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
38
|
+
public getDiagramByInstallation(request: diagrams_pb.DiagramRequest, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
39
|
+
public getDiagramByInstallation(request: diagrams_pb.DiagramRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
40
|
+
public getDiagramByInstallation(request: diagrams_pb.DiagramRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: diagrams_pb.Diagram) => void): grpc.ClientUnaryCall;
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var diagrams_pb = require('./diagrams_pb.js');
|
|
6
|
+
|
|
7
|
+
function serialize_lansweeper_diagrams_v1_Diagram(arg) {
|
|
8
|
+
if (!(arg instanceof diagrams_pb.Diagram)) {
|
|
9
|
+
throw new Error('Expected argument of type lansweeper.diagrams.v1.Diagram');
|
|
10
|
+
}
|
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function deserialize_lansweeper_diagrams_v1_Diagram(buffer_arg) {
|
|
15
|
+
return diagrams_pb.Diagram.deserializeBinary(new Uint8Array(buffer_arg));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function serialize_lansweeper_diagrams_v1_DiagramRequest(arg) {
|
|
19
|
+
if (!(arg instanceof diagrams_pb.DiagramRequest)) {
|
|
20
|
+
throw new Error('Expected argument of type lansweeper.diagrams.v1.DiagramRequest');
|
|
21
|
+
}
|
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function deserialize_lansweeper_diagrams_v1_DiagramRequest(buffer_arg) {
|
|
26
|
+
return diagrams_pb.DiagramRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var DiagramsServiceService = exports.DiagramsServiceService = {
|
|
31
|
+
getDiagramByInstallation: {
|
|
32
|
+
path: '/lansweeper.diagrams.v1.DiagramsService/GetDiagramByInstallation',
|
|
33
|
+
requestStream: false,
|
|
34
|
+
responseStream: false,
|
|
35
|
+
requestType: diagrams_pb.DiagramRequest,
|
|
36
|
+
responseType: diagrams_pb.Diagram,
|
|
37
|
+
requestSerialize: serialize_lansweeper_diagrams_v1_DiagramRequest,
|
|
38
|
+
requestDeserialize: deserialize_lansweeper_diagrams_v1_DiagramRequest,
|
|
39
|
+
responseSerialize: serialize_lansweeper_diagrams_v1_Diagram,
|
|
40
|
+
responseDeserialize: deserialize_lansweeper_diagrams_v1_Diagram,
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
exports.DiagramsServiceClient = grpc.makeGenericClientConstructor(DiagramsServiceService);
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// package: lansweeper.diagrams.v1
|
|
2
|
+
// file: diagrams.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
|
|
9
|
+
export class DiagramRequest extends jspb.Message {
|
|
10
|
+
getSiteid(): string;
|
|
11
|
+
setSiteid(value: string): DiagramRequest;
|
|
12
|
+
getInstallationid(): string;
|
|
13
|
+
setInstallationid(value: string): DiagramRequest;
|
|
14
|
+
|
|
15
|
+
hasDiagramtype(): boolean;
|
|
16
|
+
clearDiagramtype(): void;
|
|
17
|
+
getDiagramtype(): DiagramType | undefined;
|
|
18
|
+
setDiagramtype(value: DiagramType): DiagramRequest;
|
|
19
|
+
|
|
20
|
+
serializeBinary(): Uint8Array;
|
|
21
|
+
toObject(includeInstance?: boolean): DiagramRequest.AsObject;
|
|
22
|
+
static toObject(includeInstance: boolean, msg: DiagramRequest): DiagramRequest.AsObject;
|
|
23
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
24
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
25
|
+
static serializeBinaryToWriter(message: DiagramRequest, writer: jspb.BinaryWriter): void;
|
|
26
|
+
static deserializeBinary(bytes: Uint8Array): DiagramRequest;
|
|
27
|
+
static deserializeBinaryFromReader(message: DiagramRequest, reader: jspb.BinaryReader): DiagramRequest;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export namespace DiagramRequest {
|
|
31
|
+
export type AsObject = {
|
|
32
|
+
siteid: string,
|
|
33
|
+
installationid: string,
|
|
34
|
+
diagramtype?: DiagramType,
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class Diagram extends jspb.Message {
|
|
39
|
+
getId(): string;
|
|
40
|
+
setId(value: string): Diagram;
|
|
41
|
+
getDiagramtype(): DiagramType;
|
|
42
|
+
setDiagramtype(value: DiagramType): Diagram;
|
|
43
|
+
clearAssetsList(): void;
|
|
44
|
+
getAssetsList(): Array<Diagram.Asset>;
|
|
45
|
+
setAssetsList(value: Array<Diagram.Asset>): Diagram;
|
|
46
|
+
addAssets(value?: Diagram.Asset, index?: number): Diagram.Asset;
|
|
47
|
+
clearRelationshipsList(): void;
|
|
48
|
+
getRelationshipsList(): Array<Diagram.Relationship>;
|
|
49
|
+
setRelationshipsList(value: Array<Diagram.Relationship>): Diagram;
|
|
50
|
+
addRelationships(value?: Diagram.Relationship, index?: number): Diagram.Relationship;
|
|
51
|
+
|
|
52
|
+
serializeBinary(): Uint8Array;
|
|
53
|
+
toObject(includeInstance?: boolean): Diagram.AsObject;
|
|
54
|
+
static toObject(includeInstance: boolean, msg: Diagram): Diagram.AsObject;
|
|
55
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
56
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
57
|
+
static serializeBinaryToWriter(message: Diagram, writer: jspb.BinaryWriter): void;
|
|
58
|
+
static deserializeBinary(bytes: Uint8Array): Diagram;
|
|
59
|
+
static deserializeBinaryFromReader(message: Diagram, reader: jspb.BinaryReader): Diagram;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export namespace Diagram {
|
|
63
|
+
export type AsObject = {
|
|
64
|
+
id: string,
|
|
65
|
+
diagramtype: DiagramType,
|
|
66
|
+
assetsList: Array<Diagram.Asset.AsObject>,
|
|
67
|
+
relationshipsList: Array<Diagram.Relationship.AsObject>,
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
export class Asset extends jspb.Message {
|
|
72
|
+
getId(): number;
|
|
73
|
+
setId(value: number): Asset;
|
|
74
|
+
getText(): string;
|
|
75
|
+
setText(value: string): Asset;
|
|
76
|
+
|
|
77
|
+
serializeBinary(): Uint8Array;
|
|
78
|
+
toObject(includeInstance?: boolean): Asset.AsObject;
|
|
79
|
+
static toObject(includeInstance: boolean, msg: Asset): Asset.AsObject;
|
|
80
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
81
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
82
|
+
static serializeBinaryToWriter(message: Asset, writer: jspb.BinaryWriter): void;
|
|
83
|
+
static deserializeBinary(bytes: Uint8Array): Asset;
|
|
84
|
+
static deserializeBinaryFromReader(message: Asset, reader: jspb.BinaryReader): Asset;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export namespace Asset {
|
|
88
|
+
export type AsObject = {
|
|
89
|
+
id: number,
|
|
90
|
+
text: string,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export class Relationship extends jspb.Message {
|
|
95
|
+
getFromassetid(): number;
|
|
96
|
+
setFromassetid(value: number): Relationship;
|
|
97
|
+
getToassetid(): number;
|
|
98
|
+
setToassetid(value: number): Relationship;
|
|
99
|
+
|
|
100
|
+
serializeBinary(): Uint8Array;
|
|
101
|
+
toObject(includeInstance?: boolean): Relationship.AsObject;
|
|
102
|
+
static toObject(includeInstance: boolean, msg: Relationship): Relationship.AsObject;
|
|
103
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
104
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
105
|
+
static serializeBinaryToWriter(message: Relationship, writer: jspb.BinaryWriter): void;
|
|
106
|
+
static deserializeBinary(bytes: Uint8Array): Relationship;
|
|
107
|
+
static deserializeBinaryFromReader(message: Relationship, reader: jspb.BinaryReader): Relationship;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export namespace Relationship {
|
|
111
|
+
export type AsObject = {
|
|
112
|
+
fromassetid: number,
|
|
113
|
+
toassetid: number,
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export enum DiagramType {
|
|
120
|
+
NETWORK_TOPOLOGY = 0,
|
|
121
|
+
VIRTUAL_ENVIRONMENT = 1,
|
|
122
|
+
}
|