@lansweeper/discovery-hub-proto 2.10.31 → 2.10.32
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/gen-proto/discovery_device_grpc_pb.js +1 -0
- package/gen-proto/discovery_device_pb.d.ts +322 -0
- package/gen-proto/discovery_device_pb.js +2551 -0
- package/gen-proto/discovery_hub_grpc_pb.js +1 -0
- package/gen-proto/discovery_hub_pb.d.ts +82 -0
- package/gen-proto/discovery_hub_pb.js +576 -0
- package/gen-proto/image.json +1 -0
- package/gen-proto/index.d.ts +2 -0
- package/gen-proto/index.js +5 -0
- package/package.json +2 -2
- package/proto/discovery_device.proto +67 -0
- package/proto/discovery_hub.proto +31 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
// package: com.lansweeper.discovery.device.v1
|
|
2
|
+
// file: discovery_device.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
9
|
+
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
|
10
|
+
|
|
11
|
+
export class Device extends jspb.Message {
|
|
12
|
+
getId(): string;
|
|
13
|
+
setId(value: string): Device;
|
|
14
|
+
getSensorId(): string;
|
|
15
|
+
setSensorId(value: string): Device;
|
|
16
|
+
|
|
17
|
+
hasDeviceName(): boolean;
|
|
18
|
+
clearDeviceName(): void;
|
|
19
|
+
getDeviceName(): string | undefined;
|
|
20
|
+
setDeviceName(value: string): Device;
|
|
21
|
+
|
|
22
|
+
hasIpAddress(): boolean;
|
|
23
|
+
clearIpAddress(): void;
|
|
24
|
+
getIpAddress(): string | undefined;
|
|
25
|
+
setIpAddress(value: string): Device;
|
|
26
|
+
|
|
27
|
+
hasMac(): boolean;
|
|
28
|
+
clearMac(): void;
|
|
29
|
+
getMac(): string | undefined;
|
|
30
|
+
setMac(value: string): Device;
|
|
31
|
+
|
|
32
|
+
hasIsMacLocallyAdministered(): boolean;
|
|
33
|
+
clearIsMacLocallyAdministered(): void;
|
|
34
|
+
getIsMacLocallyAdministered(): boolean | undefined;
|
|
35
|
+
setIsMacLocallyAdministered(value: boolean): Device;
|
|
36
|
+
|
|
37
|
+
hasMacVendor(): boolean;
|
|
38
|
+
clearMacVendor(): void;
|
|
39
|
+
getMacVendor(): string | undefined;
|
|
40
|
+
setMacVendor(value: string): Device;
|
|
41
|
+
|
|
42
|
+
hasBrand(): boolean;
|
|
43
|
+
clearBrand(): void;
|
|
44
|
+
getBrand(): string | undefined;
|
|
45
|
+
setBrand(value: string): Device;
|
|
46
|
+
|
|
47
|
+
hasModel(): boolean;
|
|
48
|
+
clearModel(): void;
|
|
49
|
+
getModel(): string | undefined;
|
|
50
|
+
setModel(value: string): Device;
|
|
51
|
+
|
|
52
|
+
hasOsName(): boolean;
|
|
53
|
+
clearOsName(): void;
|
|
54
|
+
getOsName(): string | undefined;
|
|
55
|
+
setOsName(value: string): Device;
|
|
56
|
+
|
|
57
|
+
hasOsBuild(): boolean;
|
|
58
|
+
clearOsBuild(): void;
|
|
59
|
+
getOsBuild(): string | undefined;
|
|
60
|
+
setOsBuild(value: string): Device;
|
|
61
|
+
|
|
62
|
+
hasOsVersion(): boolean;
|
|
63
|
+
clearOsVersion(): void;
|
|
64
|
+
getOsVersion(): string | undefined;
|
|
65
|
+
setOsVersion(value: string): Device;
|
|
66
|
+
|
|
67
|
+
hasType(): boolean;
|
|
68
|
+
clearType(): void;
|
|
69
|
+
getType(): string | undefined;
|
|
70
|
+
setType(value: string): Device;
|
|
71
|
+
|
|
72
|
+
hasTypeName(): boolean;
|
|
73
|
+
clearTypeName(): void;
|
|
74
|
+
getTypeName(): string | undefined;
|
|
75
|
+
setTypeName(value: string): Device;
|
|
76
|
+
|
|
77
|
+
hasTypeGroupName(): boolean;
|
|
78
|
+
clearTypeGroupName(): void;
|
|
79
|
+
getTypeGroupName(): string | undefined;
|
|
80
|
+
setTypeGroupName(value: string): Device;
|
|
81
|
+
|
|
82
|
+
hasIsFamily(): boolean;
|
|
83
|
+
clearIsFamily(): void;
|
|
84
|
+
getIsFamily(): boolean | undefined;
|
|
85
|
+
setIsFamily(value: boolean): Device;
|
|
86
|
+
|
|
87
|
+
hasRecognitionType(): boolean;
|
|
88
|
+
clearRecognitionType(): void;
|
|
89
|
+
getRecognitionType(): string | undefined;
|
|
90
|
+
setRecognitionType(value: string): Device;
|
|
91
|
+
|
|
92
|
+
hasRank(): boolean;
|
|
93
|
+
clearRank(): void;
|
|
94
|
+
getRank(): number | undefined;
|
|
95
|
+
setRank(value: number): Device;
|
|
96
|
+
|
|
97
|
+
hasSerial(): boolean;
|
|
98
|
+
clearSerial(): void;
|
|
99
|
+
getSerial(): string | undefined;
|
|
100
|
+
setSerial(value: string): Device;
|
|
101
|
+
|
|
102
|
+
hasTypeId(): boolean;
|
|
103
|
+
clearTypeId(): void;
|
|
104
|
+
getTypeId(): number | undefined;
|
|
105
|
+
setTypeId(value: number): Device;
|
|
106
|
+
|
|
107
|
+
hasBrandId(): boolean;
|
|
108
|
+
clearBrandId(): void;
|
|
109
|
+
getBrandId(): number | undefined;
|
|
110
|
+
setBrandId(value: number): Device;
|
|
111
|
+
|
|
112
|
+
hasModelId(): boolean;
|
|
113
|
+
clearModelId(): void;
|
|
114
|
+
getModelId(): number | undefined;
|
|
115
|
+
setModelId(value: number): Device;
|
|
116
|
+
|
|
117
|
+
hasOsId(): boolean;
|
|
118
|
+
clearOsId(): void;
|
|
119
|
+
getOsId(): number | undefined;
|
|
120
|
+
setOsId(value: number): Device;
|
|
121
|
+
|
|
122
|
+
hasHwCpe(): boolean;
|
|
123
|
+
clearHwCpe(): void;
|
|
124
|
+
getHwCpe(): string | undefined;
|
|
125
|
+
setHwCpe(value: string): Device;
|
|
126
|
+
|
|
127
|
+
hasFwCpe(): boolean;
|
|
128
|
+
clearFwCpe(): void;
|
|
129
|
+
getFwCpe(): string | undefined;
|
|
130
|
+
setFwCpe(value: string): Device;
|
|
131
|
+
|
|
132
|
+
hasOsCpe(): boolean;
|
|
133
|
+
clearOsCpe(): void;
|
|
134
|
+
getOsCpe(): string | undefined;
|
|
135
|
+
setOsCpe(value: string): Device;
|
|
136
|
+
|
|
137
|
+
hasFingerprintsJson(): boolean;
|
|
138
|
+
clearFingerprintsJson(): void;
|
|
139
|
+
getFingerprintsJson(): string | undefined;
|
|
140
|
+
setFingerprintsJson(value: string): Device;
|
|
141
|
+
|
|
142
|
+
hasScan(): boolean;
|
|
143
|
+
clearScan(): void;
|
|
144
|
+
getScan(): Scan | undefined;
|
|
145
|
+
setScan(value?: Scan): Device;
|
|
146
|
+
|
|
147
|
+
serializeBinary(): Uint8Array;
|
|
148
|
+
toObject(includeInstance?: boolean): Device.AsObject;
|
|
149
|
+
static toObject(includeInstance: boolean, msg: Device): Device.AsObject;
|
|
150
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
151
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
152
|
+
static serializeBinaryToWriter(message: Device, writer: jspb.BinaryWriter): void;
|
|
153
|
+
static deserializeBinary(bytes: Uint8Array): Device;
|
|
154
|
+
static deserializeBinaryFromReader(message: Device, reader: jspb.BinaryReader): Device;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export namespace Device {
|
|
158
|
+
export type AsObject = {
|
|
159
|
+
id: string,
|
|
160
|
+
sensorId: string,
|
|
161
|
+
deviceName?: string,
|
|
162
|
+
ipAddress?: string,
|
|
163
|
+
mac?: string,
|
|
164
|
+
isMacLocallyAdministered?: boolean,
|
|
165
|
+
macVendor?: string,
|
|
166
|
+
brand?: string,
|
|
167
|
+
model?: string,
|
|
168
|
+
osName?: string,
|
|
169
|
+
osBuild?: string,
|
|
170
|
+
osVersion?: string,
|
|
171
|
+
type?: string,
|
|
172
|
+
typeName?: string,
|
|
173
|
+
typeGroupName?: string,
|
|
174
|
+
isFamily?: boolean,
|
|
175
|
+
recognitionType?: string,
|
|
176
|
+
rank?: number,
|
|
177
|
+
serial?: string,
|
|
178
|
+
typeId?: number,
|
|
179
|
+
brandId?: number,
|
|
180
|
+
modelId?: number,
|
|
181
|
+
osId?: number,
|
|
182
|
+
hwCpe?: string,
|
|
183
|
+
fwCpe?: string,
|
|
184
|
+
osCpe?: string,
|
|
185
|
+
fingerprintsJson?: string,
|
|
186
|
+
scan?: Scan.AsObject,
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export class Scan extends jspb.Message {
|
|
191
|
+
clearSectionsList(): void;
|
|
192
|
+
getSectionsList(): Array<ScanSection>;
|
|
193
|
+
setSectionsList(value: Array<ScanSection>): Scan;
|
|
194
|
+
addSections(value?: ScanSection, index?: number): ScanSection;
|
|
195
|
+
|
|
196
|
+
serializeBinary(): Uint8Array;
|
|
197
|
+
toObject(includeInstance?: boolean): Scan.AsObject;
|
|
198
|
+
static toObject(includeInstance: boolean, msg: Scan): Scan.AsObject;
|
|
199
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
200
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
201
|
+
static serializeBinaryToWriter(message: Scan, writer: jspb.BinaryWriter): void;
|
|
202
|
+
static deserializeBinary(bytes: Uint8Array): Scan;
|
|
203
|
+
static deserializeBinaryFromReader(message: Scan, reader: jspb.BinaryReader): Scan;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export namespace Scan {
|
|
207
|
+
export type AsObject = {
|
|
208
|
+
sectionsList: Array<ScanSection.AsObject>,
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export class ScanSection extends jspb.Message {
|
|
213
|
+
|
|
214
|
+
hasSectionHeader(): boolean;
|
|
215
|
+
clearSectionHeader(): void;
|
|
216
|
+
getSectionHeader(): ScanSectionHeader | undefined;
|
|
217
|
+
setSectionHeader(value?: ScanSectionHeader): ScanSection;
|
|
218
|
+
|
|
219
|
+
hasSectionBody(): boolean;
|
|
220
|
+
clearSectionBody(): void;
|
|
221
|
+
getSectionBody(): google_protobuf_any_pb.Any | undefined;
|
|
222
|
+
setSectionBody(value?: google_protobuf_any_pb.Any): ScanSection;
|
|
223
|
+
|
|
224
|
+
serializeBinary(): Uint8Array;
|
|
225
|
+
toObject(includeInstance?: boolean): ScanSection.AsObject;
|
|
226
|
+
static toObject(includeInstance: boolean, msg: ScanSection): ScanSection.AsObject;
|
|
227
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
228
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
229
|
+
static serializeBinaryToWriter(message: ScanSection, writer: jspb.BinaryWriter): void;
|
|
230
|
+
static deserializeBinary(bytes: Uint8Array): ScanSection;
|
|
231
|
+
static deserializeBinaryFromReader(message: ScanSection, reader: jspb.BinaryReader): ScanSection;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export namespace ScanSection {
|
|
235
|
+
export type AsObject = {
|
|
236
|
+
sectionHeader?: ScanSectionHeader.AsObject,
|
|
237
|
+
sectionBody?: google_protobuf_any_pb.Any.AsObject,
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export class ScanSectionHeader extends jspb.Message {
|
|
242
|
+
getKey(): number;
|
|
243
|
+
setKey(value: number): ScanSectionHeader;
|
|
244
|
+
getName(): string;
|
|
245
|
+
setName(value: string): ScanSectionHeader;
|
|
246
|
+
|
|
247
|
+
hasSource(): boolean;
|
|
248
|
+
clearSource(): void;
|
|
249
|
+
getSource(): string | undefined;
|
|
250
|
+
setSource(value: string): ScanSectionHeader;
|
|
251
|
+
|
|
252
|
+
hasScanTime(): boolean;
|
|
253
|
+
clearScanTime(): void;
|
|
254
|
+
getScanTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
255
|
+
setScanTime(value?: google_protobuf_timestamp_pb.Timestamp): ScanSectionHeader;
|
|
256
|
+
|
|
257
|
+
hasDuration(): boolean;
|
|
258
|
+
clearDuration(): void;
|
|
259
|
+
getDuration(): number | undefined;
|
|
260
|
+
setDuration(value: number): ScanSectionHeader;
|
|
261
|
+
clearErrorsList(): void;
|
|
262
|
+
getErrorsList(): Array<string>;
|
|
263
|
+
setErrorsList(value: Array<string>): ScanSectionHeader;
|
|
264
|
+
addErrors(value: string, index?: number): string;
|
|
265
|
+
|
|
266
|
+
hasSuccess(): boolean;
|
|
267
|
+
clearSuccess(): void;
|
|
268
|
+
getSuccess(): boolean | undefined;
|
|
269
|
+
setSuccess(value: boolean): ScanSectionHeader;
|
|
270
|
+
|
|
271
|
+
hasHash(): boolean;
|
|
272
|
+
clearHash(): void;
|
|
273
|
+
getHash(): Hash | undefined;
|
|
274
|
+
setHash(value?: Hash): ScanSectionHeader;
|
|
275
|
+
|
|
276
|
+
serializeBinary(): Uint8Array;
|
|
277
|
+
toObject(includeInstance?: boolean): ScanSectionHeader.AsObject;
|
|
278
|
+
static toObject(includeInstance: boolean, msg: ScanSectionHeader): ScanSectionHeader.AsObject;
|
|
279
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
280
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
281
|
+
static serializeBinaryToWriter(message: ScanSectionHeader, writer: jspb.BinaryWriter): void;
|
|
282
|
+
static deserializeBinary(bytes: Uint8Array): ScanSectionHeader;
|
|
283
|
+
static deserializeBinaryFromReader(message: ScanSectionHeader, reader: jspb.BinaryReader): ScanSectionHeader;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export namespace ScanSectionHeader {
|
|
287
|
+
export type AsObject = {
|
|
288
|
+
key: number,
|
|
289
|
+
name: string,
|
|
290
|
+
source?: string,
|
|
291
|
+
scanTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
292
|
+
duration?: number,
|
|
293
|
+
errorsList: Array<string>,
|
|
294
|
+
success?: boolean,
|
|
295
|
+
hash?: Hash.AsObject,
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export class Hash extends jspb.Message {
|
|
300
|
+
getAlgorithm(): string;
|
|
301
|
+
setAlgorithm(value: string): Hash;
|
|
302
|
+
getValue(): Uint8Array | string;
|
|
303
|
+
getValue_asU8(): Uint8Array;
|
|
304
|
+
getValue_asB64(): string;
|
|
305
|
+
setValue(value: Uint8Array | string): Hash;
|
|
306
|
+
|
|
307
|
+
serializeBinary(): Uint8Array;
|
|
308
|
+
toObject(includeInstance?: boolean): Hash.AsObject;
|
|
309
|
+
static toObject(includeInstance: boolean, msg: Hash): Hash.AsObject;
|
|
310
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
311
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
312
|
+
static serializeBinaryToWriter(message: Hash, writer: jspb.BinaryWriter): void;
|
|
313
|
+
static deserializeBinary(bytes: Uint8Array): Hash;
|
|
314
|
+
static deserializeBinaryFromReader(message: Hash, reader: jspb.BinaryReader): Hash;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export namespace Hash {
|
|
318
|
+
export type AsObject = {
|
|
319
|
+
algorithm: string,
|
|
320
|
+
value: Uint8Array | string,
|
|
321
|
+
}
|
|
322
|
+
}
|