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