@lansweeper/servicestatus-grpc 0.1.2 → 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 CHANGED
@@ -3,47 +3,60 @@
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.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.1...@lansweeper/servicestatus-grpc@0.1.2) (2020-12-03)
6
+ ## [0.1.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.4...@lansweeper/servicestatus-grpc@0.1.5) (2021-09-02)
7
7
 
8
+ **Note:** Version bump only for package @lansweeper/servicestatus-grpc
8
9
 
9
- ### Bug Fixes
10
10
 
11
- * add LSVersion ([705103e](https://github.com/Lansweeper/lansweeperapis/commit/705103e48a99c8e2f92a744fa703b2e06dbe1da3))
12
- * moved asserver to dedicated package ([bd72b7b](https://github.com/Lansweeper/lansweeperapis/commit/bd72b7bd1746e098cfe9b7c2107802ce1180a2d2))
13
- * moved asserver to dedicated package ([f8d85b8](https://github.com/Lansweeper/lansweeperapis/commit/f8d85b86721a280cee642e41e81c94f56ffb51ba))
14
- * naming ([52b9aac](https://github.com/Lansweeper/lansweeperapis/commit/52b9aac7853a0cb587e48d2998fda0db1a948591))
15
- * naming ([3694db8](https://github.com/Lansweeper/lansweeperapis/commit/3694db88167c6073424a66db96f9d2fafabbb32d))
16
- * updated proto file ([8bbc651](https://github.com/Lansweeper/lansweeperapis/commit/8bbc6511604e121382adb8000a8bcdeb20360066))
17
11
 
18
12
 
19
13
 
14
+ ## [0.1.4](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.3...@lansweeper/servicestatus-grpc@0.1.4) (2021-05-24)
20
15
 
21
16
 
22
- ## [0.1.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.0...@lansweeper/servicestatus-grpc@0.1.1) (2020-10-28)
17
+ ### Bug Fixes
23
18
 
19
+ * merge ([487aa59](https://github.com/Lansweeper/lansweeperapis/commit/487aa59acf81d35cb26703ca5e0f6d596149b25f))
24
20
 
25
- ### Bug Fixes
26
21
 
27
- * added client/installkey to message root for servicestatus ([8149dad](https://github.com/Lansweeper/lansweeperapis/commit/8149dadb1c0255878a866dc8293226b284bd06e3))
28
22
 
29
23
 
30
24
 
25
+ ## [0.1.3](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.2...@lansweeper/servicestatus-grpc@0.1.3) (2021-02-12)
31
26
 
27
+ ### Bug Fixes
32
28
 
33
- # 0.1.0 (2020-10-27)
29
+ - packages ([ddc190d](https://github.com/Lansweeper/lansweeperapis/commit/ddc190d37de49c72b50c6a79484e49779d08b903))
34
30
 
31
+ ## [0.1.2](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.1...@lansweeper/servicestatus-grpc@0.1.2) (2020-12-03)
35
32
 
36
33
  ### Bug Fixes
37
34
 
38
- * bump the buf ([9d5d706](https://github.com/Lansweeper/lansweeperapis/commit/9d5d706f58b9710311fb5601d755d942405b5b4b))
39
- * linting ([cf44329](https://github.com/Lansweeper/lansweeperapis/commit/cf4432907ede9df4c51c63e2f8994d00351d4207))
40
- * rework after c# integration ([0ac0e7e](https://github.com/Lansweeper/lansweeperapis/commit/0ac0e7efc7514b872efec58a6ae7d54672bb0d95))
41
- * rework after c# integration ([a0bf348](https://github.com/Lansweeper/lansweeperapis/commit/a0bf348dddbb9caa6d425ef1bead3d1648c7fc47))
35
+ - add LSVersion ([705103e](https://github.com/Lansweeper/lansweeperapis/commit/705103e48a99c8e2f92a744fa703b2e06dbe1da3))
36
+ - moved asserver to dedicated package ([bd72b7b](https://github.com/Lansweeper/lansweeperapis/commit/bd72b7bd1746e098cfe9b7c2107802ce1180a2d2))
37
+ - moved asserver to dedicated package ([f8d85b8](https://github.com/Lansweeper/lansweeperapis/commit/f8d85b86721a280cee642e41e81c94f56ffb51ba))
38
+ - naming ([52b9aac](https://github.com/Lansweeper/lansweeperapis/commit/52b9aac7853a0cb587e48d2998fda0db1a948591))
39
+ - naming ([3694db8](https://github.com/Lansweeper/lansweeperapis/commit/3694db88167c6073424a66db96f9d2fafabbb32d))
40
+ - updated proto file ([8bbc651](https://github.com/Lansweeper/lansweeperapis/commit/8bbc6511604e121382adb8000a8bcdeb20360066))
41
+
42
+ ## [0.1.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/servicestatus-grpc@0.1.0...@lansweeper/servicestatus-grpc@0.1.1) (2020-10-28)
43
+
44
+ ### Bug Fixes
45
+
46
+ - added client/installkey to message root for servicestatus ([8149dad](https://github.com/Lansweeper/lansweeperapis/commit/8149dadb1c0255878a866dc8293226b284bd06e3))
47
+
48
+ # 0.1.0 (2020-10-27)
49
+
50
+ ### Bug Fixes
42
51
 
52
+ - bump the buf ([9d5d706](https://github.com/Lansweeper/lansweeperapis/commit/9d5d706f58b9710311fb5601d755d942405b5b4b))
53
+ - linting ([cf44329](https://github.com/Lansweeper/lansweeperapis/commit/cf4432907ede9df4c51c63e2f8994d00351d4207))
54
+ - rework after c# integration ([0ac0e7e](https://github.com/Lansweeper/lansweeperapis/commit/0ac0e7efc7514b872efec58a6ae7d54672bb0d95))
55
+ - rework after c# integration ([a0bf348](https://github.com/Lansweeper/lansweeperapis/commit/a0bf348dddbb9caa6d425ef1bead3d1648c7fc47))
43
56
 
44
57
  ### Features
45
58
 
46
- * added protobufs for servicestatus ([d3ec09b](https://github.com/Lansweeper/lansweeperapis/commit/d3ec09bf5d7216a85da4878a514c599b47c9b0e0))
47
- * added protobufs for servicestatus ([e4d10d8](https://github.com/Lansweeper/lansweeperapis/commit/e4d10d88b569858dec43df14640e4f737df5ea9e))
48
- * added protobufs for servicestatus ([a996d02](https://github.com/Lansweeper/lansweeperapis/commit/a996d02ac76b2f3b8dd62debda72a2770ba268a4))
49
- * added protobufs for servicestatus ([d77134c](https://github.com/Lansweeper/lansweeperapis/commit/d77134c2224220a531b805444ead6ac688422b98))
59
+ - added protobufs for servicestatus ([d3ec09b](https://github.com/Lansweeper/lansweeperapis/commit/d3ec09bf5d7216a85da4878a514c599b47c9b0e0))
60
+ - added protobufs for servicestatus ([e4d10d8](https://github.com/Lansweeper/lansweeperapis/commit/e4d10d88b569858dec43df14640e4f737df5ea9e))
61
+ - added protobufs for servicestatus ([a996d02](https://github.com/Lansweeper/lansweeperapis/commit/a996d02ac76b2f3b8dd62debda72a2770ba268a4))
62
+ - added protobufs for servicestatus ([d77134c](https://github.com/Lansweeper/lansweeperapis/commit/d77134c2224220a531b805444ead6ac688422b98))
@@ -1,2 +1,2 @@
1
- export * from "./servicestatus_grpc_pb";
2
- export * from "./servicestatus_pb";
1
+ export * from "./servicestatus_grpc_pb.d";
2
+ export * from "./servicestatus_pb.d";
@@ -4,7 +4,8 @@
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
 
7
- import * as grpc from "grpc";
7
+ import * as grpc from "@grpc/grpc-js";
8
+ import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
8
9
  import * as servicestatus_pb from "./servicestatus_pb";
9
10
 
10
11
  interface IScanningStatusService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
@@ -13,7 +14,7 @@ interface IScanningStatusService extends grpc.ServiceDefinition<grpc.UntypedServ
13
14
  }
14
15
 
15
16
  interface IScanningStatusService_ISendQueueInfo extends grpc.MethodDefinition<servicestatus_pb.SendQueueInfoRequest, servicestatus_pb.SendQueueInfoResponse> {
16
- path: string; // "/lansweeper.servicestatus.v1.ScanningStatus/SendQueueInfo"
17
+ path: "/lansweeper.servicestatus.v1.ScanningStatus/SendQueueInfo";
17
18
  requestStream: false;
18
19
  responseStream: false;
19
20
  requestSerialize: grpc.serialize<servicestatus_pb.SendQueueInfoRequest>;
@@ -22,7 +23,7 @@ interface IScanningStatusService_ISendQueueInfo extends grpc.MethodDefinition<se
22
23
  responseDeserialize: grpc.deserialize<servicestatus_pb.SendQueueInfoResponse>;
23
24
  }
24
25
  interface IScanningStatusService_ISendStatusInfo extends grpc.MethodDefinition<servicestatus_pb.SendStatusInfoRequest, servicestatus_pb.SendStatusInfoResponse> {
25
- path: string; // "/lansweeper.servicestatus.v1.ScanningStatus/SendStatusInfo"
26
+ path: "/lansweeper.servicestatus.v1.ScanningStatus/SendStatusInfo";
26
27
  requestStream: false;
27
28
  responseStream: false;
28
29
  requestSerialize: grpc.serialize<servicestatus_pb.SendStatusInfoRequest>;
@@ -33,7 +34,7 @@ interface IScanningStatusService_ISendStatusInfo extends grpc.MethodDefinition<s
33
34
 
34
35
  export const ScanningStatusService: IScanningStatusService;
35
36
 
36
- export interface IScanningStatusServer {
37
+ export interface IScanningStatusServer extends grpc.UntypedServiceImplementation {
37
38
  sendQueueInfo: grpc.handleUnaryCall<servicestatus_pb.SendQueueInfoRequest, servicestatus_pb.SendQueueInfoResponse>;
38
39
  sendStatusInfo: grpc.handleUnaryCall<servicestatus_pb.SendStatusInfoRequest, servicestatus_pb.SendStatusInfoResponse>;
39
40
  }
@@ -48,7 +49,7 @@ export interface IScanningStatusClient {
48
49
  }
49
50
 
50
51
  export class ScanningStatusClient extends grpc.Client implements IScanningStatusClient {
51
- constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
52
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
52
53
  public sendQueueInfo(request: servicestatus_pb.SendQueueInfoRequest, callback: (error: grpc.ServiceError | null, response: servicestatus_pb.SendQueueInfoResponse) => void): grpc.ClientUnaryCall;
53
54
  public sendQueueInfo(request: servicestatus_pb.SendQueueInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: servicestatus_pb.SendQueueInfoResponse) => void): grpc.ClientUnaryCall;
54
55
  public sendQueueInfo(request: servicestatus_pb.SendQueueInfoRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: servicestatus_pb.SendQueueInfoResponse) => void): grpc.ClientUnaryCall;
@@ -1,7 +1,7 @@
1
1
  // GENERATED CODE -- DO NOT EDIT!
2
2
 
3
3
  'use strict';
4
- var grpc = require('grpc');
4
+ var grpc = require('@grpc/grpc-js');
5
5
  var servicestatus_pb = require('./servicestatus_pb.js');
6
6
 
7
7
  function serialize_lansweeper_servicestatus_v1_SendQueueInfoRequest(arg) {
@@ -9,16 +9,13 @@ import * as jspb from "google-protobuf";
9
9
  export class ScanningQueueMessage extends jspb.Message {
10
10
  getTotalinwindowsqueue(): number;
11
11
  setTotalinwindowsqueue(value: number): ScanningQueueMessage;
12
-
13
12
  getTotalinipqueue(): number;
14
13
  setTotalinipqueue(value: number): ScanningQueueMessage;
15
-
16
14
  clearDataList(): void;
17
15
  getDataList(): Array<ScanningQueueRecord>;
18
16
  setDataList(value: Array<ScanningQueueRecord>): ScanningQueueMessage;
19
17
  addData(value?: ScanningQueueRecord, index?: number): ScanningQueueRecord;
20
18
 
21
-
22
19
  serializeBinary(): Uint8Array;
23
20
  toObject(includeInstance?: boolean): ScanningQueueMessage.AsObject;
24
21
  static toObject(includeInstance: boolean, msg: ScanningQueueMessage): ScanningQueueMessage.AsObject;
@@ -40,23 +37,17 @@ export namespace ScanningQueueMessage {
40
37
  export class ScanningQueueRecord extends jspb.Message {
41
38
  getId(): number;
42
39
  setId(value: number): ScanningQueueRecord;
43
-
44
40
  getTarget(): string;
45
41
  setTarget(value: string): ScanningQueueRecord;
46
-
47
42
  getScanserver(): string;
48
43
  setScanserver(value: string): ScanningQueueRecord;
49
-
50
44
  getIsprimary(): boolean;
51
45
  setIsprimary(value: boolean): ScanningQueueRecord;
52
-
53
46
  getScantype(): ScanningQueueRecord.ScanType;
54
47
  setScantype(value: ScanningQueueRecord.ScanType): ScanningQueueRecord;
55
-
56
48
  getIpaddress(): string;
57
49
  setIpaddress(value: string): ScanningQueueRecord;
58
50
 
59
-
60
51
  serializeBinary(): Uint8Array;
61
52
  toObject(includeInstance?: boolean): ScanningQueueRecord.AsObject;
62
53
  static toObject(includeInstance: boolean, msg: ScanningQueueRecord): ScanningQueueRecord.AsObject;
@@ -93,31 +84,24 @@ export namespace ScanningQueueRecord {
93
84
  export class InstallationDataMessage extends jspb.Message {
94
85
  getIsfullinfo(): InstallationDataMessage.InstallationMessageType;
95
86
  setIsfullinfo(value: InstallationDataMessage.InstallationMessageType): InstallationDataMessage;
96
-
97
87
  getAssetjournalsizeinmb(): number;
98
88
  setAssetjournalsizeinmb(value: number): InstallationDataMessage;
99
-
100
89
  getAssetjournalsizeinrows(): number;
101
90
  setAssetjournalsizeinrows(value: number): InstallationDataMessage;
102
-
103
91
  getTotalscannedassets(): number;
104
92
  setTotalscannedassets(value: number): InstallationDataMessage;
105
-
106
93
  getNewassetslast30days(): number;
107
94
  setNewassetslast30days(value: number): InstallationDataMessage;
108
95
 
109
-
110
96
  hasDatabaseinfo(): boolean;
111
97
  clearDatabaseinfo(): void;
112
98
  getDatabaseinfo(): DatabaseInfo | undefined;
113
99
  setDatabaseinfo(value?: DatabaseInfo): InstallationDataMessage;
114
-
115
100
  clearScanserversdataList(): void;
116
101
  getScanserversdataList(): Array<ScanServerData>;
117
102
  setScanserversdataList(value: Array<ScanServerData>): InstallationDataMessage;
118
103
  addScanserversdata(value?: ScanServerData, index?: number): ScanServerData;
119
104
 
120
-
121
105
  serializeBinary(): Uint8Array;
122
106
  toObject(includeInstance?: boolean): InstallationDataMessage.AsObject;
123
107
  static toObject(includeInstance: boolean, msg: InstallationDataMessage): InstallationDataMessage.AsObject;
@@ -150,23 +134,17 @@ export namespace InstallationDataMessage {
150
134
  export class DatabaseInfo extends jspb.Message {
151
135
  getConnection(): string;
152
136
  setConnection(value: string): DatabaseInfo;
153
-
154
137
  getSize(): string;
155
138
  setSize(value: string): DatabaseInfo;
156
-
157
139
  getAvailablesize(): string;
158
140
  setAvailablesize(value: string): DatabaseInfo;
159
-
160
141
  getUsedsize(): string;
161
142
  setUsedsize(value: string): DatabaseInfo;
162
-
163
143
  getInstancename(): string;
164
144
  setInstancename(value: string): DatabaseInfo;
165
-
166
145
  getDetails(): string;
167
146
  setDetails(value: string): DatabaseInfo;
168
147
 
169
-
170
148
  serializeBinary(): Uint8Array;
171
149
  toObject(includeInstance?: boolean): DatabaseInfo.AsObject;
172
150
  static toObject(includeInstance: boolean, msg: DatabaseInfo): DatabaseInfo.AsObject;
@@ -191,32 +169,23 @@ export namespace DatabaseInfo {
191
169
  export class ScanServerData extends jspb.Message {
192
170
  getScanservername(): string;
193
171
  setScanservername(value: string): ScanServerData;
194
-
195
172
  getScanserverversion(): string;
196
173
  setScanserverversion(value: string): ScanServerData;
197
-
198
174
  getScanserverstatus(): ScanServerData.ScanServerStatus;
199
175
  setScanserverstatus(value: ScanServerData.ScanServerStatus): ScanServerData;
200
-
201
176
  getScanserverstatusdescription(): string;
202
177
  setScanserverstatusdescription(value: string): ScanServerData;
203
-
204
178
  getTotalscannedassets(): number;
205
179
  setTotalscannedassets(value: number): ScanServerData;
206
-
207
180
  getNewassetslast30days(): number;
208
181
  setNewassetslast30days(value: number): ScanServerData;
209
-
210
182
  getLastscannedat(): string;
211
183
  setLastscannedat(value: string): ScanServerData;
212
-
213
184
  getLastscannedmessage(): string;
214
185
  setLastscannedmessage(value: string): ScanServerData;
215
-
216
186
  getIsprimary(): boolean;
217
187
  setIsprimary(value: boolean): ScanServerData;
218
188
 
219
-
220
189
  serializeBinary(): Uint8Array;
221
190
  toObject(includeInstance?: boolean): ScanServerData.AsObject;
222
191
  static toObject(includeInstance: boolean, msg: ScanServerData): ScanServerData.AsObject;
@@ -256,14 +225,11 @@ export class SendQueueInfoRequest extends jspb.Message {
256
225
  clearMessage(): void;
257
226
  getMessage(): ScanningQueueMessage | undefined;
258
227
  setMessage(value?: ScanningQueueMessage): SendQueueInfoRequest;
259
-
260
228
  getInstallkey(): string;
261
229
  setInstallkey(value: string): SendQueueInfoRequest;
262
-
263
230
  getClientkey(): string;
264
231
  setClientkey(value: string): SendQueueInfoRequest;
265
232
 
266
-
267
233
  serializeBinary(): Uint8Array;
268
234
  toObject(includeInstance?: boolean): SendQueueInfoRequest.AsObject;
269
235
  static toObject(includeInstance: boolean, msg: SendQueueInfoRequest): SendQueueInfoRequest.AsObject;
@@ -288,17 +254,13 @@ export class SendStatusInfoRequest extends jspb.Message {
288
254
  clearMessage(): void;
289
255
  getMessage(): InstallationDataMessage | undefined;
290
256
  setMessage(value?: InstallationDataMessage): SendStatusInfoRequest;
291
-
292
257
  getInstallkey(): string;
293
258
  setInstallkey(value: string): SendStatusInfoRequest;
294
-
295
259
  getClientkey(): string;
296
260
  setClientkey(value: string): SendStatusInfoRequest;
297
-
298
261
  getLsversion(): string;
299
262
  setLsversion(value: string): SendStatusInfoRequest;
300
263
 
301
-
302
264
  serializeBinary(): Uint8Array;
303
265
  toObject(includeInstance?: boolean): SendStatusInfoRequest.AsObject;
304
266
  static toObject(includeInstance: boolean, msg: SendStatusInfoRequest): SendStatusInfoRequest.AsObject;
@@ -322,7 +284,6 @@ export class SendQueueInfoResponse extends jspb.Message {
322
284
  getMessage(): string;
323
285
  setMessage(value: string): SendQueueInfoResponse;
324
286
 
325
-
326
287
  serializeBinary(): Uint8Array;
327
288
  toObject(includeInstance?: boolean): SendQueueInfoResponse.AsObject;
328
289
  static toObject(includeInstance: boolean, msg: SendQueueInfoResponse): SendQueueInfoResponse.AsObject;
@@ -343,7 +304,6 @@ export class SendStatusInfoResponse extends jspb.Message {
343
304
  getMessage(): string;
344
305
  setMessage(value: string): SendStatusInfoResponse;
345
306
 
346
-
347
307
  serializeBinary(): Uint8Array;
348
308
  toObject(includeInstance?: boolean): SendStatusInfoResponse.AsObject;
349
309
  static toObject(includeInstance: boolean, msg: SendStatusInfoResponse): SendStatusInfoResponse.AsObject;
@@ -2,11 +2,14 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@lansweeper/servicestatus-grpc",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "main": "gen-proto/index.js",
5
5
  "types": "gen-proto/index.d.ts",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "google-protobuf": "^3.12.4",
9
- "grpc": "^1.24.3"
8
+ "@grpc/grpc-js": "^1.3.2",
9
+ "google-protobuf": "^3.17.0"
10
10
  },
11
- "gitHead": "04b7b1f263b7a36a5a6babe1ad8fd34e10d1ee18"
11
+ "devDependencies": {
12
+ "@types/google-protobuf": "^3.15.5"
13
+ },
14
+ "gitHead": "4845c58ca45e5e74d4d4f1ac2dcec46c52d9751d"
12
15
  }