@lansweeper/installer-grpc 0.0.4 → 0.0.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/.ignorecompat ADDED
File without changes
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.0.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/installer-grpc@0.0.4...@lansweeper/installer-grpc@0.0.5) (2022-11-29)
7
+
8
+ **Note:** Version bump only for package @lansweeper/installer-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.0.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/installer-grpc@0.0.3...@lansweeper/installer-grpc@0.0.4) (2022-11-28)
7
15
 
8
16
  **Note:** Version bump only for package @lansweeper/installer-grpc
@@ -1 +1 @@
1
- {"file":[{"name":"proto/installer.proto","package":"lansweeper.installer.v1","messageType":[{"name":"GenerateInstallerRequest","field":[{"name":"client_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientId"},{"name":"client_secret","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientSecret"}]},{"name":"GenerateInstallerResponse","field":[{"name":"success","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"success"}]},{"name":"NullableString","field":[{"name":"data","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"data"}],"oneofDecl":[{"name":"kind"}]},{"name":"GetInstallerUrlRequest","field":[{"name":"client_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.installer.v1.NullableString","jsonName":"clientId"}]},{"name":"GetInstallerUrlResponse","field":[{"name":"url","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"url"},{"name":"success","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"success"}]}],"service":[{"name":"InstallerService","method":[{"name":"GenerateInstaller","inputType":".lansweeper.installer.v1.GenerateInstallerRequest","outputType":".lansweeper.installer.v1.GenerateInstallerResponse","options":{}},{"name":"GetInstallerUrl","inputType":".lansweeper.installer.v1.GetInstallerUrlRequest","outputType":".lansweeper.installer.v1.GetInstallerUrlResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,33,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,32]},{"path":[8],"span":[4,0,37]},{"path":[8,11],"span":[4,0,37]},{"path":[4,0],"span":[6,0,9,1]},{"path":[4,0,1],"span":[6,8,32]},{"path":[4,0,2,0],"span":[7,4,25]},{"path":[4,0,2,0,5],"span":[7,4,10]},{"path":[4,0,2,0,1],"span":[7,11,20]},{"path":[4,0,2,0,3],"span":[7,23,24]},{"path":[4,0,2,1],"span":[8,4,29]},{"path":[4,0,2,1,5],"span":[8,4,10]},{"path":[4,0,2,1,1],"span":[8,11,24]},{"path":[4,0,2,1,3],"span":[8,27,28]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,33]},{"path":[4,1,2,0],"span":[12,4,21]},{"path":[4,1,2,0,5],"span":[12,4,8]},{"path":[4,1,2,0,1],"span":[12,9,16]},{"path":[4,1,2,0,3],"span":[12,19,20]},{"path":[4,2],"span":[15,0,19,1]},{"path":[4,2,1],"span":[15,8,22]},{"path":[4,2,8,0],"span":[16,2,18,3]},{"path":[4,2,8,0,1],"span":[16,8,12]},{"path":[4,2,2,0],"span":[17,6,22]},{"path":[4,2,2,0,5],"span":[17,6,12]},{"path":[4,2,2,0,1],"span":[17,13,17]},{"path":[4,2,2,0,3],"span":[17,20,21]},{"path":[4,3],"span":[21,0,23,1]},{"path":[4,3,1],"span":[21,8,30]},{"path":[4,3,2,0],"span":[22,2,31]},{"path":[4,3,2,0,6],"span":[22,2,16]},{"path":[4,3,2,0,1],"span":[22,17,26]},{"path":[4,3,2,0,3],"span":[22,29,30]},{"path":[4,4],"span":[25,0,28,1]},{"path":[4,4,1],"span":[25,8,31]},{"path":[4,4,2,0],"span":[26,2,17]},{"path":[4,4,2,0,5],"span":[26,2,8]},{"path":[4,4,2,0,1],"span":[26,9,12]},{"path":[4,4,2,0,3],"span":[26,15,16]},{"path":[4,4,2,1],"span":[27,2,19]},{"path":[4,4,2,1,5],"span":[27,2,6]},{"path":[4,4,2,1,1],"span":[27,7,14]},{"path":[4,4,2,1,3],"span":[27,17,18]},{"path":[6,0],"span":[30,0,33,1]},{"path":[6,0,1],"span":[30,8,24]},{"path":[6,0,2,0],"span":[31,4,90]},{"path":[6,0,2,0,1],"span":[31,8,25]},{"path":[6,0,2,0,2],"span":[31,26,50]},{"path":[6,0,2,0,3],"span":[31,61,86]},{"path":[6,0,2,1],"span":[32,4,84]},{"path":[6,0,2,1,1],"span":[32,8,23]},{"path":[6,0,2,1,2],"span":[32,24,46]},{"path":[6,0,2,1,3],"span":[32,57,80]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/installer_grpc.proto","package":"lansweeper.installer.v1","messageType":[{"name":"GenerateInstallerRequest","field":[{"name":"client_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientId"},{"name":"client_secret","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientSecret"}]},{"name":"GenerateInstallerResponse","field":[{"name":"success","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"success"}]},{"name":"NullableString","field":[{"name":"data","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"data"}],"oneofDecl":[{"name":"kind"}]},{"name":"GetInstallerUrlRequest","field":[{"name":"client_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.installer.v1.NullableString","jsonName":"clientId"}]},{"name":"GetInstallerUrlResponse","field":[{"name":"url","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"url"},{"name":"success","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"success"}]}],"service":[{"name":"InstallerService","method":[{"name":"GenerateInstaller","inputType":".lansweeper.installer.v1.GenerateInstallerRequest","outputType":".lansweeper.installer.v1.GenerateInstallerResponse","options":{}},{"name":"GetInstallerUrl","inputType":".lansweeper.installer.v1.GetInstallerUrlRequest","outputType":".lansweeper.installer.v1.GetInstallerUrlResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,33,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,32]},{"path":[8],"span":[4,0,37]},{"path":[8,11],"span":[4,0,37]},{"path":[4,0],"span":[6,0,9,1]},{"path":[4,0,1],"span":[6,8,32]},{"path":[4,0,2,0],"span":[7,4,25]},{"path":[4,0,2,0,5],"span":[7,4,10]},{"path":[4,0,2,0,1],"span":[7,11,20]},{"path":[4,0,2,0,3],"span":[7,23,24]},{"path":[4,0,2,1],"span":[8,4,29]},{"path":[4,0,2,1,5],"span":[8,4,10]},{"path":[4,0,2,1,1],"span":[8,11,24]},{"path":[4,0,2,1,3],"span":[8,27,28]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,33]},{"path":[4,1,2,0],"span":[12,4,21]},{"path":[4,1,2,0,5],"span":[12,4,8]},{"path":[4,1,2,0,1],"span":[12,9,16]},{"path":[4,1,2,0,3],"span":[12,19,20]},{"path":[4,2],"span":[15,0,19,1]},{"path":[4,2,1],"span":[15,8,22]},{"path":[4,2,8,0],"span":[16,2,18,3]},{"path":[4,2,8,0,1],"span":[16,8,12]},{"path":[4,2,2,0],"span":[17,6,22]},{"path":[4,2,2,0,5],"span":[17,6,12]},{"path":[4,2,2,0,1],"span":[17,13,17]},{"path":[4,2,2,0,3],"span":[17,20,21]},{"path":[4,3],"span":[21,0,23,1]},{"path":[4,3,1],"span":[21,8,30]},{"path":[4,3,2,0],"span":[22,2,31]},{"path":[4,3,2,0,6],"span":[22,2,16]},{"path":[4,3,2,0,1],"span":[22,17,26]},{"path":[4,3,2,0,3],"span":[22,29,30]},{"path":[4,4],"span":[25,0,28,1]},{"path":[4,4,1],"span":[25,8,31]},{"path":[4,4,2,0],"span":[26,2,17]},{"path":[4,4,2,0,5],"span":[26,2,8]},{"path":[4,4,2,0,1],"span":[26,9,12]},{"path":[4,4,2,0,3],"span":[26,15,16]},{"path":[4,4,2,1],"span":[27,2,19]},{"path":[4,4,2,1,5],"span":[27,2,6]},{"path":[4,4,2,1,1],"span":[27,7,14]},{"path":[4,4,2,1,3],"span":[27,17,18]},{"path":[6,0],"span":[30,0,33,1]},{"path":[6,0,1],"span":[30,8,24]},{"path":[6,0,2,0],"span":[31,4,90]},{"path":[6,0,2,0,1],"span":[31,8,25]},{"path":[6,0,2,0,2],"span":[31,26,50]},{"path":[6,0,2,0,3],"span":[31,61,86]},{"path":[6,0,2,1],"span":[32,4,84]},{"path":[6,0,2,1,1],"span":[32,8,23]},{"path":[6,0,2,1,2],"span":[32,24,46]},{"path":[6,0,2,1,3],"span":[32,57,80]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -1,2 +1,2 @@
1
+ export * from "./installer_grpc_grpc_pb.d";
1
2
  export * from "./installer_grpc_pb.d";
2
- export * from "./installer_pb.d";
@@ -1,3 +1,3 @@
1
+ const installer_grpc_grpc_pb = require("./installer_grpc_grpc_pb");
1
2
  const installer_grpc_pb = require("./installer_grpc_pb");
2
- const installer_pb = require("./installer_pb");
3
- Object.assign(exports, installer_grpc_pb, installer_pb)
3
+ Object.assign(exports, installer_grpc_grpc_pb, installer_grpc_pb)
@@ -0,0 +1,58 @@
1
+ // package: lansweeper.installer.v1
2
+ // file: installer_grpc.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as grpc from "@grpc/grpc-js";
8
+ import * as installer_grpc_pb from "./installer_grpc_pb";
9
+
10
+ interface IInstallerServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
+ generateInstaller: IInstallerServiceService_IGenerateInstaller;
12
+ getInstallerUrl: IInstallerServiceService_IGetInstallerUrl;
13
+ }
14
+
15
+ interface IInstallerServiceService_IGenerateInstaller extends grpc.MethodDefinition<installer_grpc_pb.GenerateInstallerRequest, installer_grpc_pb.GenerateInstallerResponse> {
16
+ path: "/lansweeper.installer.v1.InstallerService/GenerateInstaller";
17
+ requestStream: false;
18
+ responseStream: false;
19
+ requestSerialize: grpc.serialize<installer_grpc_pb.GenerateInstallerRequest>;
20
+ requestDeserialize: grpc.deserialize<installer_grpc_pb.GenerateInstallerRequest>;
21
+ responseSerialize: grpc.serialize<installer_grpc_pb.GenerateInstallerResponse>;
22
+ responseDeserialize: grpc.deserialize<installer_grpc_pb.GenerateInstallerResponse>;
23
+ }
24
+ interface IInstallerServiceService_IGetInstallerUrl extends grpc.MethodDefinition<installer_grpc_pb.GetInstallerUrlRequest, installer_grpc_pb.GetInstallerUrlResponse> {
25
+ path: "/lansweeper.installer.v1.InstallerService/GetInstallerUrl";
26
+ requestStream: false;
27
+ responseStream: false;
28
+ requestSerialize: grpc.serialize<installer_grpc_pb.GetInstallerUrlRequest>;
29
+ requestDeserialize: grpc.deserialize<installer_grpc_pb.GetInstallerUrlRequest>;
30
+ responseSerialize: grpc.serialize<installer_grpc_pb.GetInstallerUrlResponse>;
31
+ responseDeserialize: grpc.deserialize<installer_grpc_pb.GetInstallerUrlResponse>;
32
+ }
33
+
34
+ export const InstallerServiceService: IInstallerServiceService;
35
+
36
+ export interface IInstallerServiceServer extends grpc.UntypedServiceImplementation {
37
+ generateInstaller: grpc.handleUnaryCall<installer_grpc_pb.GenerateInstallerRequest, installer_grpc_pb.GenerateInstallerResponse>;
38
+ getInstallerUrl: grpc.handleUnaryCall<installer_grpc_pb.GetInstallerUrlRequest, installer_grpc_pb.GetInstallerUrlResponse>;
39
+ }
40
+
41
+ export interface IInstallerServiceClient {
42
+ generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
43
+ generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
44
+ generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
45
+ getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
46
+ getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
47
+ getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
48
+ }
49
+
50
+ export class InstallerServiceClient extends grpc.Client implements IInstallerServiceClient {
51
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
52
+ public generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
53
+ public generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
54
+ public generateInstaller(request: installer_grpc_pb.GenerateInstallerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
55
+ public getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
56
+ public getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
57
+ public getInstallerUrl(request: installer_grpc_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_grpc_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
58
+ }
@@ -0,0 +1,77 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var installer_grpc_pb = require('./installer_grpc_pb.js');
6
+
7
+ function serialize_lansweeper_installer_v1_GenerateInstallerRequest(arg) {
8
+ if (!(arg instanceof installer_grpc_pb.GenerateInstallerRequest)) {
9
+ throw new Error('Expected argument of type lansweeper.installer.v1.GenerateInstallerRequest');
10
+ }
11
+ return Buffer.from(arg.serializeBinary());
12
+ }
13
+
14
+ function deserialize_lansweeper_installer_v1_GenerateInstallerRequest(buffer_arg) {
15
+ return installer_grpc_pb.GenerateInstallerRequest.deserializeBinary(new Uint8Array(buffer_arg));
16
+ }
17
+
18
+ function serialize_lansweeper_installer_v1_GenerateInstallerResponse(arg) {
19
+ if (!(arg instanceof installer_grpc_pb.GenerateInstallerResponse)) {
20
+ throw new Error('Expected argument of type lansweeper.installer.v1.GenerateInstallerResponse');
21
+ }
22
+ return Buffer.from(arg.serializeBinary());
23
+ }
24
+
25
+ function deserialize_lansweeper_installer_v1_GenerateInstallerResponse(buffer_arg) {
26
+ return installer_grpc_pb.GenerateInstallerResponse.deserializeBinary(new Uint8Array(buffer_arg));
27
+ }
28
+
29
+ function serialize_lansweeper_installer_v1_GetInstallerUrlRequest(arg) {
30
+ if (!(arg instanceof installer_grpc_pb.GetInstallerUrlRequest)) {
31
+ throw new Error('Expected argument of type lansweeper.installer.v1.GetInstallerUrlRequest');
32
+ }
33
+ return Buffer.from(arg.serializeBinary());
34
+ }
35
+
36
+ function deserialize_lansweeper_installer_v1_GetInstallerUrlRequest(buffer_arg) {
37
+ return installer_grpc_pb.GetInstallerUrlRequest.deserializeBinary(new Uint8Array(buffer_arg));
38
+ }
39
+
40
+ function serialize_lansweeper_installer_v1_GetInstallerUrlResponse(arg) {
41
+ if (!(arg instanceof installer_grpc_pb.GetInstallerUrlResponse)) {
42
+ throw new Error('Expected argument of type lansweeper.installer.v1.GetInstallerUrlResponse');
43
+ }
44
+ return Buffer.from(arg.serializeBinary());
45
+ }
46
+
47
+ function deserialize_lansweeper_installer_v1_GetInstallerUrlResponse(buffer_arg) {
48
+ return installer_grpc_pb.GetInstallerUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
49
+ }
50
+
51
+
52
+ var InstallerServiceService = exports.InstallerServiceService = {
53
+ generateInstaller: {
54
+ path: '/lansweeper.installer.v1.InstallerService/GenerateInstaller',
55
+ requestStream: false,
56
+ responseStream: false,
57
+ requestType: installer_grpc_pb.GenerateInstallerRequest,
58
+ responseType: installer_grpc_pb.GenerateInstallerResponse,
59
+ requestSerialize: serialize_lansweeper_installer_v1_GenerateInstallerRequest,
60
+ requestDeserialize: deserialize_lansweeper_installer_v1_GenerateInstallerRequest,
61
+ responseSerialize: serialize_lansweeper_installer_v1_GenerateInstallerResponse,
62
+ responseDeserialize: deserialize_lansweeper_installer_v1_GenerateInstallerResponse,
63
+ },
64
+ getInstallerUrl: {
65
+ path: '/lansweeper.installer.v1.InstallerService/GetInstallerUrl',
66
+ requestStream: false,
67
+ responseStream: false,
68
+ requestType: installer_grpc_pb.GetInstallerUrlRequest,
69
+ responseType: installer_grpc_pb.GetInstallerUrlResponse,
70
+ requestSerialize: serialize_lansweeper_installer_v1_GetInstallerUrlRequest,
71
+ requestDeserialize: deserialize_lansweeper_installer_v1_GetInstallerUrlRequest,
72
+ responseSerialize: serialize_lansweeper_installer_v1_GetInstallerUrlResponse,
73
+ responseDeserialize: deserialize_lansweeper_installer_v1_GetInstallerUrlResponse,
74
+ },
75
+ };
76
+
77
+ exports.InstallerServiceClient = grpc.makeGenericClientConstructor(InstallerServiceService);
@@ -1,58 +1,127 @@
1
1
  // package: lansweeper.installer.v1
2
- // file: installer.proto
2
+ // file: installer_grpc.proto
3
3
 
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
 
7
- import * as grpc from "@grpc/grpc-js";
8
- import * as installer_pb from "./installer_pb";
9
-
10
- interface IInstallerServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
- generateInstaller: IInstallerServiceService_IGenerateInstaller;
12
- getInstallerUrl: IInstallerServiceService_IGetInstallerUrl;
13
- }
14
-
15
- interface IInstallerServiceService_IGenerateInstaller extends grpc.MethodDefinition<installer_pb.GenerateInstallerRequest, installer_pb.GenerateInstallerResponse> {
16
- path: "/lansweeper.installer.v1.InstallerService/GenerateInstaller";
17
- requestStream: false;
18
- responseStream: false;
19
- requestSerialize: grpc.serialize<installer_pb.GenerateInstallerRequest>;
20
- requestDeserialize: grpc.deserialize<installer_pb.GenerateInstallerRequest>;
21
- responseSerialize: grpc.serialize<installer_pb.GenerateInstallerResponse>;
22
- responseDeserialize: grpc.deserialize<installer_pb.GenerateInstallerResponse>;
23
- }
24
- interface IInstallerServiceService_IGetInstallerUrl extends grpc.MethodDefinition<installer_pb.GetInstallerUrlRequest, installer_pb.GetInstallerUrlResponse> {
25
- path: "/lansweeper.installer.v1.InstallerService/GetInstallerUrl";
26
- requestStream: false;
27
- responseStream: false;
28
- requestSerialize: grpc.serialize<installer_pb.GetInstallerUrlRequest>;
29
- requestDeserialize: grpc.deserialize<installer_pb.GetInstallerUrlRequest>;
30
- responseSerialize: grpc.serialize<installer_pb.GetInstallerUrlResponse>;
31
- responseDeserialize: grpc.deserialize<installer_pb.GetInstallerUrlResponse>;
32
- }
33
-
34
- export const InstallerServiceService: IInstallerServiceService;
35
-
36
- export interface IInstallerServiceServer extends grpc.UntypedServiceImplementation {
37
- generateInstaller: grpc.handleUnaryCall<installer_pb.GenerateInstallerRequest, installer_pb.GenerateInstallerResponse>;
38
- getInstallerUrl: grpc.handleUnaryCall<installer_pb.GetInstallerUrlRequest, installer_pb.GetInstallerUrlResponse>;
39
- }
40
-
41
- export interface IInstallerServiceClient {
42
- generateInstaller(request: installer_pb.GenerateInstallerRequest, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
43
- generateInstaller(request: installer_pb.GenerateInstallerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
44
- generateInstaller(request: installer_pb.GenerateInstallerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
45
- getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
46
- getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
47
- getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
48
- }
49
-
50
- export class InstallerServiceClient extends grpc.Client implements IInstallerServiceClient {
51
- constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
52
- public generateInstaller(request: installer_pb.GenerateInstallerRequest, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
53
- public generateInstaller(request: installer_pb.GenerateInstallerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
54
- public generateInstaller(request: installer_pb.GenerateInstallerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_pb.GenerateInstallerResponse) => void): grpc.ClientUnaryCall;
55
- public getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
56
- public getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
57
- public getInstallerUrl(request: installer_pb.GetInstallerUrlRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installer_pb.GetInstallerUrlResponse) => void): grpc.ClientUnaryCall;
7
+ import * as jspb from "google-protobuf";
8
+
9
+ export class GenerateInstallerRequest extends jspb.Message {
10
+ getClientId(): string;
11
+ setClientId(value: string): GenerateInstallerRequest;
12
+ getClientSecret(): string;
13
+ setClientSecret(value: string): GenerateInstallerRequest;
14
+
15
+ serializeBinary(): Uint8Array;
16
+ toObject(includeInstance?: boolean): GenerateInstallerRequest.AsObject;
17
+ static toObject(includeInstance: boolean, msg: GenerateInstallerRequest): GenerateInstallerRequest.AsObject;
18
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
19
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
20
+ static serializeBinaryToWriter(message: GenerateInstallerRequest, writer: jspb.BinaryWriter): void;
21
+ static deserializeBinary(bytes: Uint8Array): GenerateInstallerRequest;
22
+ static deserializeBinaryFromReader(message: GenerateInstallerRequest, reader: jspb.BinaryReader): GenerateInstallerRequest;
23
+ }
24
+
25
+ export namespace GenerateInstallerRequest {
26
+ export type AsObject = {
27
+ clientId: string,
28
+ clientSecret: string,
29
+ }
30
+ }
31
+
32
+ export class GenerateInstallerResponse extends jspb.Message {
33
+ getSuccess(): boolean;
34
+ setSuccess(value: boolean): GenerateInstallerResponse;
35
+
36
+ serializeBinary(): Uint8Array;
37
+ toObject(includeInstance?: boolean): GenerateInstallerResponse.AsObject;
38
+ static toObject(includeInstance: boolean, msg: GenerateInstallerResponse): GenerateInstallerResponse.AsObject;
39
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
40
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
41
+ static serializeBinaryToWriter(message: GenerateInstallerResponse, writer: jspb.BinaryWriter): void;
42
+ static deserializeBinary(bytes: Uint8Array): GenerateInstallerResponse;
43
+ static deserializeBinaryFromReader(message: GenerateInstallerResponse, reader: jspb.BinaryReader): GenerateInstallerResponse;
44
+ }
45
+
46
+ export namespace GenerateInstallerResponse {
47
+ export type AsObject = {
48
+ success: boolean,
49
+ }
50
+ }
51
+
52
+ export class NullableString extends jspb.Message {
53
+
54
+ hasData(): boolean;
55
+ clearData(): void;
56
+ getData(): string;
57
+ setData(value: string): NullableString;
58
+
59
+ getKindCase(): NullableString.KindCase;
60
+
61
+ serializeBinary(): Uint8Array;
62
+ toObject(includeInstance?: boolean): NullableString.AsObject;
63
+ static toObject(includeInstance: boolean, msg: NullableString): NullableString.AsObject;
64
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
65
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
66
+ static serializeBinaryToWriter(message: NullableString, writer: jspb.BinaryWriter): void;
67
+ static deserializeBinary(bytes: Uint8Array): NullableString;
68
+ static deserializeBinaryFromReader(message: NullableString, reader: jspb.BinaryReader): NullableString;
69
+ }
70
+
71
+ export namespace NullableString {
72
+ export type AsObject = {
73
+ data: string,
74
+ }
75
+
76
+ export enum KindCase {
77
+ KIND_NOT_SET = 0,
78
+ DATA = 1,
79
+ }
80
+
81
+ }
82
+
83
+ export class GetInstallerUrlRequest extends jspb.Message {
84
+
85
+ hasClientId(): boolean;
86
+ clearClientId(): void;
87
+ getClientId(): NullableString | undefined;
88
+ setClientId(value?: NullableString): GetInstallerUrlRequest;
89
+
90
+ serializeBinary(): Uint8Array;
91
+ toObject(includeInstance?: boolean): GetInstallerUrlRequest.AsObject;
92
+ static toObject(includeInstance: boolean, msg: GetInstallerUrlRequest): GetInstallerUrlRequest.AsObject;
93
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
94
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
95
+ static serializeBinaryToWriter(message: GetInstallerUrlRequest, writer: jspb.BinaryWriter): void;
96
+ static deserializeBinary(bytes: Uint8Array): GetInstallerUrlRequest;
97
+ static deserializeBinaryFromReader(message: GetInstallerUrlRequest, reader: jspb.BinaryReader): GetInstallerUrlRequest;
98
+ }
99
+
100
+ export namespace GetInstallerUrlRequest {
101
+ export type AsObject = {
102
+ clientId?: NullableString.AsObject,
103
+ }
104
+ }
105
+
106
+ export class GetInstallerUrlResponse extends jspb.Message {
107
+ getUrl(): string;
108
+ setUrl(value: string): GetInstallerUrlResponse;
109
+ getSuccess(): boolean;
110
+ setSuccess(value: boolean): GetInstallerUrlResponse;
111
+
112
+ serializeBinary(): Uint8Array;
113
+ toObject(includeInstance?: boolean): GetInstallerUrlResponse.AsObject;
114
+ static toObject(includeInstance: boolean, msg: GetInstallerUrlResponse): GetInstallerUrlResponse.AsObject;
115
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
116
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
117
+ static serializeBinaryToWriter(message: GetInstallerUrlResponse, writer: jspb.BinaryWriter): void;
118
+ static deserializeBinary(bytes: Uint8Array): GetInstallerUrlResponse;
119
+ static deserializeBinaryFromReader(message: GetInstallerUrlResponse, reader: jspb.BinaryReader): GetInstallerUrlResponse;
120
+ }
121
+
122
+ export namespace GetInstallerUrlResponse {
123
+ export type AsObject = {
124
+ url: string,
125
+ success: boolean,
126
+ }
58
127
  }