@blueid/access-proto 0.19.0 → 0.22.0

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.
@@ -0,0 +1,878 @@
1
+ // @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
2
+ // @generated from file BlueSystem.proto (syntax proto2)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto2 } from "@bufbuild/protobuf";
8
+ import type { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType, BlueLocalTimeSchedule, BlueLocalTimestamp } from "./BlueCore_pb.js";
9
+ import type { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
10
+
11
+ /**
12
+ * @generated from message BlueBaseConfig
13
+ */
14
+ export declare class BlueBaseConfig extends Message<BlueBaseConfig> {
15
+ /**
16
+ * @generated from field: required string isoCountry = 1;
17
+ */
18
+ isoCountry: string;
19
+
20
+ /**
21
+ * @generated from field: required string isoState = 2;
22
+ */
23
+ isoState: string;
24
+
25
+ /**
26
+ * @generated from field: required int32 utcOffsetMinutes = 3 [default = 0];
27
+ */
28
+ utcOffsetMinutes: number;
29
+
30
+ /**
31
+ * If enabled this will check the system-status every 24-hours and
32
+ * react accordingly ie like when battery is running low opening the lock
33
+ * and logging accordingly etc
34
+ *
35
+ * @generated from field: required bool autoCheckSystemStatus = 4 [default = false];
36
+ */
37
+ autoCheckSystemStatus: boolean;
38
+
39
+ constructor(data?: PartialMessage<BlueBaseConfig>);
40
+
41
+ static readonly runtime: typeof proto2;
42
+ static readonly typeName = "BlueBaseConfig";
43
+ static readonly fields: FieldList;
44
+
45
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueBaseConfig;
46
+
47
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueBaseConfig;
48
+
49
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueBaseConfig;
50
+
51
+ static equals(a: BlueBaseConfig | PlainMessage<BlueBaseConfig> | undefined, b: BlueBaseConfig | PlainMessage<BlueBaseConfig> | undefined): boolean;
52
+ }
53
+
54
+ /**
55
+ * @generated from message BlueBleConfig
56
+ */
57
+ export declare class BlueBleConfig extends Message<BlueBleConfig> {
58
+ /**
59
+ * Whether ble is enabled or not
60
+ *
61
+ * @generated from field: required bool isAdvertising = 1 [default = true];
62
+ */
63
+ isAdvertising: boolean;
64
+
65
+ /**
66
+ * Optional schedule on when ble advertising is enabled, if none
67
+ * set then ble is always on when enabled
68
+ *
69
+ * @generated from field: repeated BlueLocalTimeSchedule advertisingSchedules = 2;
70
+ */
71
+ advertisingSchedules: BlueLocalTimeSchedule[];
72
+
73
+ /**
74
+ * Index of advertising schedules (starting at zero) where it should
75
+ * use the max power level available for broader reach
76
+ *
77
+ * @generated from field: repeated uint32 maxPowerAdvertisingSchedulesIndices = 3;
78
+ */
79
+ maxPowerAdvertisingSchedulesIndices: number[];
80
+
81
+ /**
82
+ * The desired advertising interval in ms
83
+ *
84
+ * @generated from field: required uint32 advertisingIntervalMs = 4 [default = 500];
85
+ */
86
+ advertisingIntervalMs: number;
87
+
88
+ /**
89
+ * The maximal connection timeout per connection in milliseconds
90
+ *
91
+ * @generated from field: required uint32 maxConnectionTimeoutMs = 5 [default = 3000];
92
+ */
93
+ maxConnectionTimeoutMs: number;
94
+
95
+ /**
96
+ * The actual tx power level used for bluetooth from (0 - lowest) to 7
97
+ * (highest)
98
+ *
99
+ * @generated from field: required uint32 txPowerLevel = 6 [default = 3];
100
+ */
101
+ txPowerLevel: number;
102
+
103
+ /**
104
+ * The advertised tx power level at 1 meter in decibel (-XX - +XX)
105
+ *
106
+ * @generated from field: required int32 advertisedTxPower1Meter = 7 [default = -77];
107
+ */
108
+ advertisedTxPower1Meter: number;
109
+
110
+ /**
111
+ * If set then advertises as IBeacon otherwise uses regular advertising
112
+ *
113
+ * @generated from field: required bool isIBeaconAdvertisement = 8;
114
+ */
115
+ isIBeaconAdvertisement: boolean;
116
+
117
+ constructor(data?: PartialMessage<BlueBleConfig>);
118
+
119
+ static readonly runtime: typeof proto2;
120
+ static readonly typeName = "BlueBleConfig";
121
+ static readonly fields: FieldList;
122
+
123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueBleConfig;
124
+
125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueBleConfig;
126
+
127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueBleConfig;
128
+
129
+ static equals(a: BlueBleConfig | PlainMessage<BlueBleConfig> | undefined, b: BlueBleConfig | PlainMessage<BlueBleConfig> | undefined): boolean;
130
+ }
131
+
132
+ /**
133
+ * @generated from message BlueOnlineConfig
134
+ */
135
+ export declare class BlueOnlineConfig extends Message<BlueOnlineConfig> {
136
+ /**
137
+ * Schedules when it should go online for updating. Only applies to
138
+ * battery-powered devices with wifi or gsm module. If no schedule is set will
139
+ * never go online. The end time is not used.
140
+ *
141
+ * @generated from field: repeated BlueLocalTimeSchedule connectSchedules = 1;
142
+ */
143
+ connectSchedules: BlueLocalTimeSchedule[];
144
+
145
+ /**
146
+ * The SSID of the wifi network
147
+ *
148
+ * @generated from field: required string wifiSSID = 2;
149
+ */
150
+ wifiSSID: string;
151
+
152
+ /**
153
+ * The wifi password
154
+ *
155
+ * @generated from field: required string wifiPassword = 3;
156
+ */
157
+ wifiPassword: string;
158
+
159
+ /**
160
+ * Default timeout for online connections
161
+ *
162
+ * @generated from field: required uint32 timeoutSec = 4 [default = 30];
163
+ */
164
+ timeoutSec: number;
165
+
166
+ constructor(data?: PartialMessage<BlueOnlineConfig>);
167
+
168
+ static readonly runtime: typeof proto2;
169
+ static readonly typeName = "BlueOnlineConfig";
170
+ static readonly fields: FieldList;
171
+
172
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueOnlineConfig;
173
+
174
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueOnlineConfig;
175
+
176
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueOnlineConfig;
177
+
178
+ static equals(a: BlueOnlineConfig | PlainMessage<BlueOnlineConfig> | undefined, b: BlueOnlineConfig | PlainMessage<BlueOnlineConfig> | undefined): boolean;
179
+ }
180
+
181
+ /**
182
+ * @generated from message BlueAccessConfigGroup
183
+ */
184
+ export declare class BlueAccessConfigGroup extends Message<BlueAccessConfigGroup> {
185
+ /**
186
+ * @generated from field: required uint32 groupId = 1;
187
+ */
188
+ groupId: number;
189
+
190
+ /**
191
+ * @generated from field: repeated BlueLocalTimeSchedule schedules = 2;
192
+ */
193
+ schedules: BlueLocalTimeSchedule[];
194
+
195
+ constructor(data?: PartialMessage<BlueAccessConfigGroup>);
196
+
197
+ static readonly runtime: typeof proto2;
198
+ static readonly typeName = "BlueAccessConfigGroup";
199
+ static readonly fields: FieldList;
200
+
201
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueAccessConfigGroup;
202
+
203
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueAccessConfigGroup;
204
+
205
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueAccessConfigGroup;
206
+
207
+ static equals(a: BlueAccessConfigGroup | PlainMessage<BlueAccessConfigGroup> | undefined, b: BlueAccessConfigGroup | PlainMessage<BlueAccessConfigGroup> | undefined): boolean;
208
+ }
209
+
210
+ /**
211
+ * @generated from message BlueAccessConfig
212
+ */
213
+ export declare class BlueAccessConfig extends Message<BlueAccessConfig> {
214
+ /**
215
+ * The device's unique access id
216
+ *
217
+ * @generated from field: required uint32 id = 1 [default = 1];
218
+ */
219
+ id: number;
220
+
221
+ /**
222
+ * The site id bound to this device
223
+ *
224
+ * @generated from field: required uint32 siteId = 2 [default = 1];
225
+ */
226
+ siteId: number;
227
+
228
+ /**
229
+ * The access groups this device is part of
230
+ *
231
+ * @generated from field: repeated BlueAccessConfigGroup groups = 3;
232
+ */
233
+ groups: BlueAccessConfigGroup[];
234
+
235
+ constructor(data?: PartialMessage<BlueAccessConfig>);
236
+
237
+ static readonly runtime: typeof proto2;
238
+ static readonly typeName = "BlueAccessConfig";
239
+ static readonly fields: FieldList;
240
+
241
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueAccessConfig;
242
+
243
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueAccessConfig;
244
+
245
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueAccessConfig;
246
+
247
+ static equals(a: BlueAccessConfig | PlainMessage<BlueAccessConfig> | undefined, b: BlueAccessConfig | PlainMessage<BlueAccessConfig> | undefined): boolean;
248
+ }
249
+
250
+ /**
251
+ *
252
+ * -- Oss SecureId --
253
+ *
254
+ *
255
+ * @generated from message BlueOssConfig
256
+ */
257
+ export declare class BlueOssConfig extends Message<BlueOssConfig> {
258
+ /**
259
+ * The mifare aes-key for reading the oss secure id application, default is
260
+ * the oss sid demo key
261
+ *
262
+ * @generated from field: required bytes sidMifareAesKey = 1 [default = "\377\356\335\314\273\252\231\210wfUD3\\"\021\000"];
263
+ */
264
+ sidMifareAesKey: Uint8Array;
265
+
266
+ /**
267
+ * The mifare application id for the oss secure id application, default is the
268
+ * oss sid default aid. A value of 0 disables Oss Sid Mifare support.
269
+ *
270
+ * @generated from field: required uint32 sidMifareAid = 2 [default = 16076801];
271
+ */
272
+ sidMifareAid: number;
273
+
274
+ /**
275
+ * If set the system will try to connect online to refresh the presented oss
276
+ * offline card if required as well as it will try to get and put the latest
277
+ * blacklist on the card
278
+ *
279
+ * @generated from field: required bool soUpdater = 3 [default = false];
280
+ */
281
+ soUpdater: boolean;
282
+
283
+ /**
284
+ * If set the system will try to connect online if there are any events on a
285
+ * presented card and transfer all events online
286
+ *
287
+ * @generated from field: required bool soPushEvents = 4 [default = false];
288
+ */
289
+ soPushEvents: boolean;
290
+
291
+ /**
292
+ * If set the system will transfer pending events to an offline card
293
+ *
294
+ * @generated from field: required bool soWritePendingEvents = 5 [default = true];
295
+ */
296
+ soWritePendingEvents: boolean;
297
+
298
+ /**
299
+ * If set the system will update from the blacklist of an offline card
300
+ *
301
+ * @generated from field: required bool soUpdateFromBlacklist = 6 [default = true];
302
+ */
303
+ soUpdateFromBlacklist: boolean;
304
+
305
+ /**
306
+ * The mifare aes-key for reading/writing the oss offline application, default
307
+ * is the oss so demo key
308
+ *
309
+ * @generated from field: required bytes soMifareAesKey = 7 [default = "\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"];
310
+ */
311
+ soMifareAesKey: Uint8Array;
312
+
313
+ /**
314
+ * The mifare application id for the oss offline application, default is the
315
+ * oss so default aid. A value of 0 disables Oss So Mifare support.
316
+ *
317
+ * @generated from field: required uint32 soMifareAid = 8 [default = 16076800];
318
+ */
319
+ soMifareAid: number;
320
+
321
+ constructor(data?: PartialMessage<BlueOssConfig>);
322
+
323
+ static readonly runtime: typeof proto2;
324
+ static readonly typeName = "BlueOssConfig";
325
+ static readonly fields: FieldList;
326
+
327
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueOssConfig;
328
+
329
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueOssConfig;
330
+
331
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueOssConfig;
332
+
333
+ static equals(a: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined, b: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined): boolean;
334
+ }
335
+
336
+ /**
337
+ * @generated from message BlueSystemConfig
338
+ */
339
+ export declare class BlueSystemConfig extends Message<BlueSystemConfig> {
340
+ /**
341
+ * @generated from field: required string configId = 1;
342
+ */
343
+ configId: string;
344
+
345
+ /**
346
+ * -- Base
347
+ *
348
+ * @generated from field: required BlueBaseConfig base = 2;
349
+ */
350
+ base?: BlueBaseConfig;
351
+
352
+ /**
353
+ * @generated from field: required BlueBleConfig ble = 3;
354
+ */
355
+ ble?: BlueBleConfig;
356
+
357
+ /**
358
+ * @generated from field: required BlueOnlineConfig online = 4;
359
+ */
360
+ online?: BlueOnlineConfig;
361
+
362
+ /**
363
+ * @generated from field: required BlueAccessConfig access = 5;
364
+ */
365
+ access?: BlueAccessConfig;
366
+
367
+ /**
368
+ * @generated from field: required BlueOssConfig oss = 6;
369
+ */
370
+ oss?: BlueOssConfig;
371
+
372
+ /**
373
+ * -- Custom
374
+ *
375
+ * @generated from field: optional BlueLockConfig lock = 7;
376
+ */
377
+ lock?: BlueLockConfig;
378
+
379
+ constructor(data?: PartialMessage<BlueSystemConfig>);
380
+
381
+ static readonly runtime: typeof proto2;
382
+ static readonly typeName = "BlueSystemConfig";
383
+ static readonly fields: FieldList;
384
+
385
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemConfig;
386
+
387
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemConfig;
388
+
389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemConfig;
390
+
391
+ static equals(a: BlueSystemConfig | PlainMessage<BlueSystemConfig> | undefined, b: BlueSystemConfig | PlainMessage<BlueSystemConfig> | undefined): boolean;
392
+ }
393
+
394
+ /**
395
+ * @generated from message BlueSystemTimeUnix
396
+ */
397
+ export declare class BlueSystemTimeUnix extends Message<BlueSystemTimeUnix> {
398
+ /**
399
+ * @generated from field: required uint32 epoch = 1;
400
+ */
401
+ epoch: number;
402
+
403
+ constructor(data?: PartialMessage<BlueSystemTimeUnix>);
404
+
405
+ static readonly runtime: typeof proto2;
406
+ static readonly typeName = "BlueSystemTimeUnix";
407
+ static readonly fields: FieldList;
408
+
409
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemTimeUnix;
410
+
411
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemTimeUnix;
412
+
413
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemTimeUnix;
414
+
415
+ static equals(a: BlueSystemTimeUnix | PlainMessage<BlueSystemTimeUnix> | undefined, b: BlueSystemTimeUnix | PlainMessage<BlueSystemTimeUnix> | undefined): boolean;
416
+ }
417
+
418
+ /**
419
+ * @generated from message BlueSystemUpdate
420
+ */
421
+ export declare class BlueSystemUpdate extends Message<BlueSystemUpdate> {
422
+ /**
423
+ * @generated from field: optional BlueSystemConfig config = 1;
424
+ */
425
+ config?: BlueSystemConfig;
426
+
427
+ /**
428
+ * @generated from field: optional BlueSystemTimeUnix timeUnix = 2;
429
+ */
430
+ timeUnix?: BlueSystemTimeUnix;
431
+
432
+ constructor(data?: PartialMessage<BlueSystemUpdate>);
433
+
434
+ static readonly runtime: typeof proto2;
435
+ static readonly typeName = "BlueSystemUpdate";
436
+ static readonly fields: FieldList;
437
+
438
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemUpdate;
439
+
440
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemUpdate;
441
+
442
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemUpdate;
443
+
444
+ static equals(a: BlueSystemUpdate | PlainMessage<BlueSystemUpdate> | undefined, b: BlueSystemUpdate | PlainMessage<BlueSystemUpdate> | undefined): boolean;
445
+ }
446
+
447
+ /**
448
+ * @generated from message BlueSystemSettings
449
+ */
450
+ export declare class BlueSystemSettings extends Message<BlueSystemSettings> {
451
+ /**
452
+ * @generated from field: required uint32 blacklistMaxEntriesCount = 1 [default = 0];
453
+ */
454
+ blacklistMaxEntriesCount: number;
455
+
456
+ /**
457
+ * @generated from field: required uint32 blacklistEntriesCount = 2 [default = 0];
458
+ */
459
+ blacklistEntriesCount: number;
460
+
461
+ /**
462
+ * @generated from field: required uint32 eventLogMaxEntriesCount = 3 [default = 0];
463
+ */
464
+ eventLogMaxEntriesCount: number;
465
+
466
+ /**
467
+ * @generated from field: required uint32 eventLogEntriesCount = 4 [default = 0];
468
+ */
469
+ eventLogEntriesCount: number;
470
+
471
+ /**
472
+ * @generated from field: required uint32 eventLogSequenceId = 5 [default = 0];
473
+ */
474
+ eventLogSequenceId: number;
475
+
476
+ /**
477
+ * @generated from field: required uint32 eventLogIndex = 6 [default = 0];
478
+ */
479
+ eventLogIndex: number;
480
+
481
+ /**
482
+ * @generated from field: required uint32 systemLogMaxEntriesCount = 7 [default = 0];
483
+ */
484
+ systemLogMaxEntriesCount: number;
485
+
486
+ /**
487
+ * @generated from field: required uint32 systemLogEntriesCount = 8 [default = 0];
488
+ */
489
+ systemLogEntriesCount: number;
490
+
491
+ /**
492
+ * @generated from field: required uint32 systemLogSequenceId = 9 [default = 0];
493
+ */
494
+ systemLogSequenceId: number;
495
+
496
+ /**
497
+ * @generated from field: required uint32 systemLogIndex = 10 [default = 0];
498
+ */
499
+ systemLogIndex: number;
500
+
501
+ /**
502
+ * @generated from field: required bool timeWasSet = 11;
503
+ */
504
+ timeWasSet: boolean;
505
+
506
+ /**
507
+ * @generated from field: required bool isBatteryLow = 12;
508
+ */
509
+ isBatteryLow: boolean;
510
+
511
+ constructor(data?: PartialMessage<BlueSystemSettings>);
512
+
513
+ static readonly runtime: typeof proto2;
514
+ static readonly typeName = "BlueSystemSettings";
515
+ static readonly fields: FieldList;
516
+
517
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemSettings;
518
+
519
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemSettings;
520
+
521
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemSettings;
522
+
523
+ static equals(a: BlueSystemSettings | PlainMessage<BlueSystemSettings> | undefined, b: BlueSystemSettings | PlainMessage<BlueSystemSettings> | undefined): boolean;
524
+ }
525
+
526
+ /**
527
+ * @generated from message BlueSystemProvisioning
528
+ */
529
+ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioning> {
530
+ /**
531
+ * @generated from field: required BlueHardwareType hardwareType = 1 [default = TestHardware];
532
+ */
533
+ hardwareType: BlueHardwareType;
534
+
535
+ /**
536
+ * Unique id generated by blueid which identitifies this device (default set
537
+ * from BlueSharedDemoKeys)
538
+ *
539
+ * @generated from field: required string deviceId = 2;
540
+ */
541
+ deviceId: string;
542
+
543
+ /**
544
+ * Serial-number which is vendor specific stored as hex
545
+ *
546
+ * @generated from field: required string serialNumber = 3 [default = "00000000000000000000"];
547
+ */
548
+ serialNumber: string;
549
+
550
+ /**
551
+ * Private key used for signing to proof authenticity of this device (default
552
+ * set from BlueSharedDemoKeys)
553
+ *
554
+ * @generated from field: required bytes terminalPrivateKey = 4;
555
+ */
556
+ terminalPrivateKey: Uint8Array;
557
+
558
+ /**
559
+ * Public key used for verifying signatures being valid on this device
560
+ * (default set from BlueSharedDemoKeys)
561
+ *
562
+ * @generated from field: required bytes signaturePublicKey = 5;
563
+ */
564
+ signaturePublicKey: Uint8Array;
565
+
566
+ constructor(data?: PartialMessage<BlueSystemProvisioning>);
567
+
568
+ static readonly runtime: typeof proto2;
569
+ static readonly typeName = "BlueSystemProvisioning";
570
+ static readonly fields: FieldList;
571
+
572
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemProvisioning;
573
+
574
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemProvisioning;
575
+
576
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemProvisioning;
577
+
578
+ static equals(a: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined, b: BlueSystemProvisioning | PlainMessage<BlueSystemProvisioning> | undefined): boolean;
579
+ }
580
+
581
+ /**
582
+ * @generated from message BlueSystemStatus
583
+ */
584
+ export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
585
+ /**
586
+ * @generated from field: required string configId = 1;
587
+ */
588
+ configId: string;
589
+
590
+ /**
591
+ * @generated from field: required string deviceId = 2;
592
+ */
593
+ deviceId: string;
594
+
595
+ /**
596
+ * @generated from field: required string serialNumber = 3;
597
+ */
598
+ serialNumber: string;
599
+
600
+ /**
601
+ * @generated from field: required BlueHardwareType hardwareType = 4;
602
+ */
603
+ hardwareType: BlueHardwareType;
604
+
605
+ /**
606
+ * @generated from field: required BlueBatteryLevel batteryLevel = 5;
607
+ */
608
+ batteryLevel: BlueBatteryLevel;
609
+
610
+ /**
611
+ * @generated from field: required uint32 applicationVersion = 6;
612
+ */
613
+ applicationVersion: number;
614
+
615
+ /**
616
+ * @generated from field: required BlueLocalTimestamp localTime = 7;
617
+ */
618
+ localTime?: BlueLocalTimestamp;
619
+
620
+ /**
621
+ * @generated from field: required BlueSystemSettings settings = 8;
622
+ */
623
+ settings?: BlueSystemSettings;
624
+
625
+ /**
626
+ * @generated from field: required uint32 blacklistEntriesCount = 9;
627
+ */
628
+ blacklistEntriesCount: number;
629
+
630
+ /**
631
+ * @generated from field: required uint32 eventLogEntriesCount = 10;
632
+ */
633
+ eventLogEntriesCount: number;
634
+
635
+ /**
636
+ * @generated from field: required uint32 eventLogSequenceId = 11;
637
+ */
638
+ eventLogSequenceId: number;
639
+
640
+ /**
641
+ * @generated from field: required uint32 systemLogEntriesCount = 12;
642
+ */
643
+ systemLogEntriesCount: number;
644
+
645
+ /**
646
+ * @generated from field: required uint32 systemLogSequenceId = 13;
647
+ */
648
+ systemLogSequenceId: number;
649
+
650
+ /**
651
+ * -- Custom
652
+ *
653
+ * @generated from field: optional BlueLockStatus lock = 14;
654
+ */
655
+ lock?: BlueLockStatus;
656
+
657
+ constructor(data?: PartialMessage<BlueSystemStatus>);
658
+
659
+ static readonly runtime: typeof proto2;
660
+ static readonly typeName = "BlueSystemStatus";
661
+ static readonly fields: FieldList;
662
+
663
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemStatus;
664
+
665
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemStatus;
666
+
667
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemStatus;
668
+
669
+ static equals(a: BlueSystemStatus | PlainMessage<BlueSystemStatus> | undefined, b: BlueSystemStatus | PlainMessage<BlueSystemStatus> | undefined): boolean;
670
+ }
671
+
672
+ /**
673
+ * @generated from message BlueSystemLogQuery
674
+ */
675
+ export declare class BlueSystemLogQuery extends Message<BlueSystemLogQuery> {
676
+ /**
677
+ * @generated from field: required uint32 maxCount = 1;
678
+ */
679
+ maxCount: number;
680
+
681
+ /**
682
+ * @generated from oneof BlueSystemLogQuery.start
683
+ */
684
+ start: {
685
+ /**
686
+ * @generated from field: uint32 sequenceId = 2;
687
+ */
688
+ value: number;
689
+ case: "sequenceId";
690
+ } | {
691
+ /**
692
+ * false = starts from tail
693
+ *
694
+ * @generated from field: bool fromHead = 3;
695
+ */
696
+ value: boolean;
697
+ case: "fromHead";
698
+ } | { case: undefined; value?: undefined };
699
+
700
+ constructor(data?: PartialMessage<BlueSystemLogQuery>);
701
+
702
+ static readonly runtime: typeof proto2;
703
+ static readonly typeName = "BlueSystemLogQuery";
704
+ static readonly fields: FieldList;
705
+
706
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemLogQuery;
707
+
708
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemLogQuery;
709
+
710
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemLogQuery;
711
+
712
+ static equals(a: BlueSystemLogQuery | PlainMessage<BlueSystemLogQuery> | undefined, b: BlueSystemLogQuery | PlainMessage<BlueSystemLogQuery> | undefined): boolean;
713
+ }
714
+
715
+ /**
716
+ * @generated from message BlueSystemLogEntry
717
+ */
718
+ export declare class BlueSystemLogEntry extends Message<BlueSystemLogEntry> {
719
+ /**
720
+ * @generated from field: required uint32 sequenceId = 1;
721
+ */
722
+ sequenceId: number;
723
+
724
+ /**
725
+ * @generated from field: required BlueLocalTimestamp time = 2;
726
+ */
727
+ time?: BlueLocalTimestamp;
728
+
729
+ /**
730
+ * @generated from field: required uint32 severity = 3;
731
+ */
732
+ severity: number;
733
+
734
+ /**
735
+ * @generated from field: required uint32 line = 4;
736
+ */
737
+ line: number;
738
+
739
+ /**
740
+ * @generated from field: required string file = 5;
741
+ */
742
+ file: string;
743
+
744
+ /**
745
+ * @generated from field: required string message = 6;
746
+ */
747
+ message: string;
748
+
749
+ constructor(data?: PartialMessage<BlueSystemLogEntry>);
750
+
751
+ static readonly runtime: typeof proto2;
752
+ static readonly typeName = "BlueSystemLogEntry";
753
+ static readonly fields: FieldList;
754
+
755
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemLogEntry;
756
+
757
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemLogEntry;
758
+
759
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemLogEntry;
760
+
761
+ static equals(a: BlueSystemLogEntry | PlainMessage<BlueSystemLogEntry> | undefined, b: BlueSystemLogEntry | PlainMessage<BlueSystemLogEntry> | undefined): boolean;
762
+ }
763
+
764
+ /**
765
+ * @generated from message BlueSystemLogResult
766
+ */
767
+ export declare class BlueSystemLogResult extends Message<BlueSystemLogResult> {
768
+ /**
769
+ * @generated from field: repeated BlueSystemLogEntry entries = 1;
770
+ */
771
+ entries: BlueSystemLogEntry[];
772
+
773
+ constructor(data?: PartialMessage<BlueSystemLogResult>);
774
+
775
+ static readonly runtime: typeof proto2;
776
+ static readonly typeName = "BlueSystemLogResult";
777
+ static readonly fields: FieldList;
778
+
779
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemLogResult;
780
+
781
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemLogResult;
782
+
783
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemLogResult;
784
+
785
+ static equals(a: BlueSystemLogResult | PlainMessage<BlueSystemLogResult> | undefined, b: BlueSystemLogResult | PlainMessage<BlueSystemLogResult> | undefined): boolean;
786
+ }
787
+
788
+ /**
789
+ * @generated from message BlueEventLogQuery
790
+ */
791
+ export declare class BlueEventLogQuery extends Message<BlueEventLogQuery> {
792
+ /**
793
+ * @generated from field: required uint32 maxCount = 1;
794
+ */
795
+ maxCount: number;
796
+
797
+ /**
798
+ * @generated from oneof BlueEventLogQuery.start
799
+ */
800
+ start: {
801
+ /**
802
+ * @generated from field: uint32 sequenceId = 2;
803
+ */
804
+ value: number;
805
+ case: "sequenceId";
806
+ } | {
807
+ /**
808
+ * false = starts from tail
809
+ *
810
+ * @generated from field: bool fromHead = 3;
811
+ */
812
+ value: boolean;
813
+ case: "fromHead";
814
+ } | { case: undefined; value?: undefined };
815
+
816
+ constructor(data?: PartialMessage<BlueEventLogQuery>);
817
+
818
+ static readonly runtime: typeof proto2;
819
+ static readonly typeName = "BlueEventLogQuery";
820
+ static readonly fields: FieldList;
821
+
822
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueEventLogQuery;
823
+
824
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueEventLogQuery;
825
+
826
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueEventLogQuery;
827
+
828
+ static equals(a: BlueEventLogQuery | PlainMessage<BlueEventLogQuery> | undefined, b: BlueEventLogQuery | PlainMessage<BlueEventLogQuery> | undefined): boolean;
829
+ }
830
+
831
+ /**
832
+ * @generated from message BlueEventLogResult
833
+ */
834
+ export declare class BlueEventLogResult extends Message<BlueEventLogResult> {
835
+ /**
836
+ * @generated from field: repeated BlueEvent events = 1;
837
+ */
838
+ events: BlueEvent[];
839
+
840
+ constructor(data?: PartialMessage<BlueEventLogResult>);
841
+
842
+ static readonly runtime: typeof proto2;
843
+ static readonly typeName = "BlueEventLogResult";
844
+ static readonly fields: FieldList;
845
+
846
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueEventLogResult;
847
+
848
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueEventLogResult;
849
+
850
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueEventLogResult;
851
+
852
+ static equals(a: BlueEventLogResult | PlainMessage<BlueEventLogResult> | undefined, b: BlueEventLogResult | PlainMessage<BlueEventLogResult> | undefined): boolean;
853
+ }
854
+
855
+ /**
856
+ * @generated from message BlueBlacklistEntries
857
+ */
858
+ export declare class BlueBlacklistEntries extends Message<BlueBlacklistEntries> {
859
+ /**
860
+ * @generated from field: repeated BlueBlacklistEntry entries = 1;
861
+ */
862
+ entries: BlueBlacklistEntry[];
863
+
864
+ constructor(data?: PartialMessage<BlueBlacklistEntries>);
865
+
866
+ static readonly runtime: typeof proto2;
867
+ static readonly typeName = "BlueBlacklistEntries";
868
+ static readonly fields: FieldList;
869
+
870
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueBlacklistEntries;
871
+
872
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueBlacklistEntries;
873
+
874
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueBlacklistEntries;
875
+
876
+ static equals(a: BlueBlacklistEntries | PlainMessage<BlueBlacklistEntries> | undefined, b: BlueBlacklistEntries | PlainMessage<BlueBlacklistEntries> | undefined): boolean;
877
+ }
878
+