@blueid/access-proto 0.21.0 → 0.23.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.
package/BlueCore.proto CHANGED
@@ -178,23 +178,23 @@ enum BlueReturnCode {
178
178
 
179
179
  message BlueVersionInfo {
180
180
  required uint32 buildTime = 1;
181
- required uint32 version = 2;
181
+ required uint32 version = 2 [ (nanopb).int_size = IS_16 ];
182
182
  }
183
183
 
184
184
  message BlueLocalTimestamp {
185
- required uint32 year = 1;
186
- required uint32 month = 2;
187
- required uint32 date = 3;
188
- required uint32 hours = 4;
189
- required uint32 minutes = 5;
190
- required uint32 seconds = 6 [ default = 0 ];
185
+ required uint32 year = 1 [ (nanopb).int_size = IS_16 ];
186
+ required uint32 month = 2 [ (nanopb).int_size = IS_8 ];
187
+ required uint32 date = 3 [ (nanopb).int_size = IS_8 ];
188
+ required uint32 hours = 4 [ (nanopb).int_size = IS_8 ];
189
+ required uint32 minutes = 5 [ (nanopb).int_size = IS_8 ];
190
+ required uint32 seconds = 6 [ (nanopb).int_size = IS_8, default = 0 ];
191
191
  }
192
192
 
193
193
  message BlueLocalTimeperiod {
194
- required uint32 hoursFrom = 1;
195
- required uint32 minutesFrom = 2;
196
- required uint32 hoursTo = 3;
197
- required uint32 minutesTo = 4;
194
+ required uint32 hoursFrom = 1 [ (nanopb).int_size = IS_8 ];
195
+ required uint32 minutesFrom = 2 [ (nanopb).int_size = IS_8 ];
196
+ required uint32 hoursTo = 3 [ (nanopb).int_size = IS_8 ];
197
+ required uint32 minutesTo = 4 [ (nanopb).int_size = IS_8 ];
198
198
  }
199
199
 
200
200
  enum BlueTimeUnit {
@@ -219,11 +219,11 @@ enum BlueWeekday {
219
219
 
220
220
  message BlueLocalTimeSchedule {
221
221
  // Day of year is always 1-366, to spawn whole year make 1->366
222
- required uint32 dayOfYearStart = 1;
223
- required uint32 dayOfYearEnd = 2;
222
+ required uint32 dayOfYearStart = 1 [ (nanopb).int_size = IS_16 ];
223
+ required uint32 dayOfYearEnd = 2 [ (nanopb).int_size = IS_16 ];
224
224
  // See BlueWeekday -> byte 0 = Monday, etc.
225
- required bytes weekdays = 3
226
- [ (nanopb).max_size = 7, (nanopb).fixed_length = true ];
225
+ repeated bool weekdays = 3
226
+ [ (nanopb).max_count = 7, (nanopb).fixed_length = true ];
227
227
  required BlueLocalTimeperiod timePeriod = 4;
228
228
  }
229
229
 
@@ -285,15 +285,16 @@ enum BlueBatteryLevel {
285
285
  message BlueBleManufacturerInfo {
286
286
  required BlueHardwareType hardwareType = 1;
287
287
  required BlueBatteryLevel batteryLevel = 2;
288
- required uint32 applicationVersion = 3;
288
+ required uint32 applicationVersion = 3 [ (nanopb).int_size = IS_16 ];
289
289
  required uint32 localMidnightTimeEpoch = 4;
290
+ required bool isFactory = 5;
290
291
  }
291
292
 
292
293
  message BlueBleAdvertisementInfo {
293
294
  // Unique device id becomes the local name
294
295
  required string deviceId = 1 [ (nanopb).max_length = 8 ];
295
296
  // The advertised tx power level at 1 meter in decibel (-XX - +XX)
296
- required int32 txPower1Meter = 2;
297
+ required int32 txPower1Meter = 2 [ (nanopb).int_size = IS_8 ];
297
298
  // If set generates iBeacon format otherwise generates regular ble adv data
298
299
  required bool isIBeacon = 3;
299
300
  // The manufacturer information
@@ -394,8 +395,8 @@ message BlueEvent {
394
395
 
395
396
  required int32 eventInfo = 5;
396
397
 
397
- // Set if identity related
398
- optional string identity = 6 [ (nanopb).max_length = 10 ];
398
+ // Set if credential related
399
+ optional BlueCredentialId credentialId = 6;
399
400
 
400
401
  // Set if eventId =
401
402
  optional string command = 7 [ (nanopb).max_length = 8 ];
@@ -416,7 +417,7 @@ message BlueSPHandshakeReply {
416
417
  required bytes terminalSignature = 2 [ (nanopb).max_size = 74 ];
417
418
  }
418
419
 
419
- message BlueSPDataCommand {
420
+ message BlueSPTokenCommand {
420
421
  required BlueCredentialId credentialId = 1;
421
422
  required BlueLocalTimestamp validityStart = 2;
422
423
  required BlueLocalTimestamp validityEnd = 3;
@@ -425,11 +426,11 @@ message BlueSPDataCommand {
425
426
  [ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
426
427
  }
427
428
 
428
- message BlueSPData {
429
+ message BlueSPToken {
429
430
  required bytes signature = 1 [ (nanopb).max_size = 74 ];
430
431
 
431
432
  oneof payload {
432
- BlueSPDataCommand command = 2;
433
+ BlueSPTokenCommand command = 2;
433
434
  BlueOssSoMobile ossSo = 3;
434
435
  BlueOssSidMobile ossSid = 4;
435
436
  }
@@ -604,9 +605,9 @@ message BlueOssSoCredentialType {
604
605
  }
605
606
 
606
607
  message BlueOssSoDTScheduleDay {
607
- // 0 = Monday -> 6 = Sunday (Matches BlueWeekday)
608
- repeated bool weekdays = 1
609
- [ (nanopb).max_count = 7, (nanopb).fixed_count = true ];
608
+ // See BlueWeekday -> byte 0 = Monday, etc.
609
+ repeated bool weekdays = 3
610
+ [ (nanopb).max_count = 7, (nanopb).fixed_length = true ];
610
611
 
611
612
  repeated BlueLocalTimeperiod timePeriods = 8 [ (nanopb).max_count = 4 ];
612
613
  }
package/BlueLock.proto CHANGED
@@ -19,8 +19,8 @@ message BlueLockConfig {
19
19
  // opened by an authenticated user and is within any of the open schedules
20
20
  required bool openScheduleByUser = 2 [ default = false ];
21
21
 
22
- // Days of year (1-366) the open schedule is ignored (ie vacation days)
23
- repeated uint32 closedDays = 20 [ (nanopb).max_count = 18 ];
22
+ // If set keeps the lock closed on federal vacation days
23
+ required bool keepClosedOnHolidays = 20;
24
24
 
25
25
  // Default time in seconds to keep the lock open
26
26
  required uint32 defaultOpenTimeSec = 21 [ default = 5 ];
package/BlueSystem.proto CHANGED
@@ -9,22 +9,17 @@ import "nanopb.proto";
9
9
  // System types
10
10
  ///////////////////////////////////////////////////////////////////////
11
11
 
12
- message BlueTimeOffsetPeriod {
13
- // UTC-epoch when this shift occurs
14
- required uint32 epoch = 1;
15
- // The time offset in minutes, negative or positive
16
- required int32 offset = 2;
17
- }
18
-
19
12
  message BlueBaseConfig {
20
- // The time offsets that get shifted automatically
21
- repeated BlueTimeOffsetPeriod timeOffsetPeriods = 1
22
- [ (nanopb).max_count = 12 ];
13
+ required string isoCountry = 1 [ (nanopb).max_length = 2 ];
14
+ required string isoState = 2 [ (nanopb).max_length = 3 ];
15
+
16
+ required int32 utcOffsetMinutes = 3
17
+ [ (nanopb).int_size = IS_16, default = 0 ];
23
18
 
24
19
  // If enabled this will check the system-status every 24-hours and
25
20
  // react accordingly ie like when battery is running low opening the lock
26
21
  // and logging accordingly etc
27
- required bool autoCheckSystemStatus = 2 [ default = false ];
22
+ required bool autoCheckSystemStatus = 4 [ default = false ];
28
23
  }
29
24
 
30
25
  message BlueBleConfig {
@@ -39,64 +34,59 @@ message BlueBleConfig {
39
34
  // Index of advertising schedules (starting at zero) where it should
40
35
  // use the max power level available for broader reach
41
36
  repeated uint32 maxPowerAdvertisingSchedulesIndices = 3
42
- [ (nanopb).max_count = 4 ];
37
+ [ (nanopb).int_size = IS_8, (nanopb).max_count = 4 ];
43
38
 
44
39
  // The desired advertising interval in ms
45
- required uint32 advertisingIntervalMs = 4 [ default = 500 ];
40
+ required uint32 advertisingIntervalMs = 4
41
+ [ (nanopb).int_size = IS_16, default = 500 ];
46
42
 
47
43
  // The maximal connection timeout per connection in milliseconds
48
- required uint32 maxConnectionTimeoutMs = 5 [ default = 3000 ];
44
+ required uint32 maxConnectionTimeoutMs = 5
45
+ [ (nanopb).int_size = IS_16, default = 3000 ];
49
46
 
50
47
  // The actual tx power level used for bluetooth from (0 - lowest) to 7
51
48
  // (highest)
52
- required uint32 txPowerLevel = 6 [ default = 3 ];
49
+ required uint32 txPowerLevel = 6 [ (nanopb).int_size = IS_8, default = 3 ];
53
50
 
54
51
  // The advertised tx power level at 1 meter in decibel (-XX - +XX)
55
- required int32 advertisedTxPower1Meter = 7 [ default = -77 ];
52
+ required int32 advertisedTxPower1Meter = 7
53
+ [ (nanopb).int_size = IS_8, default = -77 ];
56
54
 
57
55
  // If set then advertises as IBeacon otherwise uses regular advertising
58
56
  required bool isIBeaconAdvertisement = 8;
59
57
  }
60
58
 
61
- enum BlueOnlineMode {
62
- // Offline mode
63
- OfflineMode = 0;
64
- // Wifi is manually re-connected whenever required
65
- ManualWifi = 1;
66
- // Wifi is always connected and re-connects automatically
67
- AlwaysOnWifi = 2;
68
- // A LAN connection is available that shall be used
69
- UseLan = 3;
70
- }
71
-
72
59
  message BlueOnlineConfig {
73
- // The online mode
74
- required BlueOnlineMode mode = 1 [ default = OfflineMode ];
75
-
76
- // Schedules when it should go online for updating. Only takes effect if
77
- // online mode is set to manual wifi. The end time is not used.
78
- repeated BlueLocalTimeSchedule connectSchedules = 2
60
+ // Schedules when it should go online for updating. Only applies to
61
+ // battery-powered devices with wifi or gsm module. If no schedule is set will
62
+ // never go online. The end time is not used.
63
+ repeated BlueLocalTimeSchedule connectSchedules = 1
79
64
  [ (nanopb).max_count = 4 ];
80
65
 
81
66
  // The SSID of the wifi network
82
- required string wifiSSID = 3 [ (nanopb).max_length = 32 ];
67
+ required string wifiSSID = 2 [ (nanopb).max_length = 32 ];
83
68
 
84
69
  // The wifi password
85
- required string wifiPassword = 4 [ (nanopb).max_length = 32 ];
70
+ required string wifiPassword = 3 [ (nanopb).max_length = 32 ];
86
71
 
87
72
  // Default timeout for online connections
88
- required uint32 timeoutSec = 5 [ default = 30 ];
73
+ required uint32 timeoutSec = 4 [ (nanopb).int_size = IS_16, default = 30 ];
74
+ }
75
+
76
+ message BlueAccessConfigGroup {
77
+ required uint32 groupId = 1 [ (nanopb).int_size = IS_8 ];
78
+ repeated BlueLocalTimeSchedule schedules = 2 [ (nanopb).max_count = 2 ];
89
79
  }
90
80
 
91
81
  message BlueAccessConfig {
92
82
  // The device's unique access id
93
- required uint32 id = 1 [ default = 1 ];
83
+ required uint32 id = 1 [ (nanopb).int_size = IS_8, default = 1 ];
94
84
 
95
85
  // The site id bound to this device
96
- required uint32 siteId = 2 [ default = 1 ];
86
+ required uint32 siteId = 2 [ (nanopb).int_size = IS_8, default = 1 ];
97
87
 
98
88
  // The access groups this device is part of
99
- repeated uint32 groupIds = 3 [ (nanopb).max_count = 16 ];
89
+ repeated BlueAccessConfigGroup groups = 3 [ (nanopb).max_count = 10 ];
100
90
  }
101
91
 
102
92
  message BlueOssConfig {
@@ -149,7 +139,7 @@ message BlueOssConfig {
149
139
  }
150
140
 
151
141
  message BlueSystemConfig {
152
- required uint32 version = 1;
142
+ required string configId = 1 [ (nanopb).max_length = 8 ];
153
143
  // -- Base
154
144
  required BlueBaseConfig base = 2;
155
145
  required BlueBleConfig ble = 3;
@@ -168,18 +158,25 @@ message BlueSystemUpdate {
168
158
  }
169
159
 
170
160
  message BlueSystemSettings {
171
- required uint32 blacklistMaxEntriesCount = 1 [ default = 0 ];
172
- required uint32 blacklistEntriesCount = 2 [ default = 0 ];
173
-
174
- required uint32 eventLogMaxEntriesCount = 3 [ default = 0 ];
175
- required uint32 eventLogEntriesCount = 4 [ default = 0 ];
161
+ required uint32 blacklistMaxEntriesCount = 1
162
+ [ (nanopb).int_size = IS_16, default = 0 ];
163
+ required uint32 blacklistEntriesCount = 2
164
+ [ (nanopb).int_size = IS_16, default = 0 ];
165
+
166
+ required uint32 eventLogMaxEntriesCount = 3
167
+ [ (nanopb).int_size = IS_16, default = 0 ];
168
+ required uint32 eventLogEntriesCount = 4
169
+ [ (nanopb).int_size = IS_16, default = 0 ];
176
170
  required uint32 eventLogSequenceId = 5 [ default = 0 ];
177
- required uint32 eventLogIndex = 6 [ default = 0 ];
171
+ required uint32 eventLogIndex = 6 [ (nanopb).int_size = IS_16, default = 0 ];
178
172
 
179
- required uint32 systemLogMaxEntriesCount = 7 [ default = 0 ];
180
- required uint32 systemLogEntriesCount = 8 [ default = 0 ];
173
+ required uint32 systemLogMaxEntriesCount = 7
174
+ [ (nanopb).int_size = IS_16, default = 0 ];
175
+ required uint32 systemLogEntriesCount = 8
176
+ [ (nanopb).int_size = IS_16, default = 0 ];
181
177
  required uint32 systemLogSequenceId = 9 [ default = 0 ];
182
- required uint32 systemLogIndex = 10 [ default = 0 ];
178
+ required uint32 systemLogIndex = 10
179
+ [ (nanopb).int_size = IS_16, default = 0 ];
183
180
 
184
181
  required bool timeWasSet = 11;
185
182
 
@@ -203,7 +200,7 @@ message BlueSystemProvisioning {
203
200
  }
204
201
 
205
202
  message BlueSystemStatus {
206
- required uint32 configVersion = 1;
203
+ required string configId = 1 [ (nanopb).max_length = 8 ];
207
204
  required string deviceId = 2 [ (nanopb).max_length = 8 ];
208
205
  required string serialNumber = 3 [ (nanopb).max_length = 20 ];
209
206
  required BlueHardwareType hardwareType = 4;
@@ -211,14 +208,9 @@ message BlueSystemStatus {
211
208
  required uint32 applicationVersion = 6;
212
209
  required BlueLocalTimestamp localTime = 7;
213
210
  required BlueSystemSettings settings = 8;
214
- required uint32 blacklistEntriesCount = 9;
215
- required uint32 eventLogEntriesCount = 10;
216
- required uint32 eventLogSequenceId = 11;
217
- required uint32 systemLogEntriesCount = 12;
218
- required uint32 systemLogSequenceId = 13;
219
211
 
220
212
  // -- Custom
221
- optional BlueLockStatus lock = 14;
213
+ optional BlueLockStatus lock = 9;
222
214
  }
223
215
 
224
216
  ///////////////////////////////////////////////////////////////////////
@@ -226,7 +218,7 @@ message BlueSystemStatus {
226
218
  ///////////////////////////////////////////////////////////////////////
227
219
 
228
220
  message BlueSystemLogQuery {
229
- required uint32 maxCount = 1;
221
+ required uint32 maxCount = 1 [ (nanopb).int_size = IS_8 ];
230
222
 
231
223
  oneof start {
232
224
  uint32 sequenceId = 2;
@@ -239,9 +231,9 @@ message BlueSystemLogEntry {
239
231
 
240
232
  required BlueLocalTimestamp time = 2;
241
233
 
242
- required uint32 severity = 3;
234
+ required uint32 severity = 3 [ (nanopb).int_size = IS_8 ];
243
235
 
244
- required uint32 line = 4;
236
+ required uint32 line = 4 [ (nanopb).int_size = IS_16 ];
245
237
 
246
238
  required string file = 5 [ (nanopb).max_length = 20 ];
247
239
 
@@ -1078,9 +1078,9 @@ export declare class BlueLocalTimeSchedule extends Message<BlueLocalTimeSchedule
1078
1078
  /**
1079
1079
  * See BlueWeekday -> byte 0 = Monday, etc.
1080
1080
  *
1081
- * @generated from field: required bytes weekdays = 3;
1081
+ * @generated from field: repeated bool weekdays = 3;
1082
1082
  */
1083
- weekdays: Uint8Array;
1083
+ weekdays: boolean[];
1084
1084
 
1085
1085
  /**
1086
1086
  * @generated from field: required BlueLocalTimeperiod timePeriod = 4;
@@ -1179,6 +1179,11 @@ export declare class BlueBleManufacturerInfo extends Message<BlueBleManufacturer
1179
1179
  */
1180
1180
  localMidnightTimeEpoch: number;
1181
1181
 
1182
+ /**
1183
+ * @generated from field: required bool isFactory = 5;
1184
+ */
1185
+ isFactory: boolean;
1186
+
1182
1187
  constructor(data?: PartialMessage<BlueBleManufacturerInfo>);
1183
1188
 
1184
1189
  static readonly runtime: typeof proto2;
@@ -1266,11 +1271,11 @@ export declare class BlueEvent extends Message<BlueEvent> {
1266
1271
  eventInfo: number;
1267
1272
 
1268
1273
  /**
1269
- * Set if identity related
1274
+ * Set if credential related
1270
1275
  *
1271
- * @generated from field: optional string identity = 6;
1276
+ * @generated from field: optional BlueCredentialId credentialId = 6;
1272
1277
  */
1273
- identity?: string;
1278
+ credentialId?: BlueCredentialId;
1274
1279
 
1275
1280
  /**
1276
1281
  * Set if eventId =
@@ -1348,9 +1353,9 @@ export declare class BlueSPHandshakeReply extends Message<BlueSPHandshakeReply>
1348
1353
  }
1349
1354
 
1350
1355
  /**
1351
- * @generated from message BlueSPDataCommand
1356
+ * @generated from message BlueSPTokenCommand
1352
1357
  */
1353
- export declare class BlueSPDataCommand extends Message<BlueSPDataCommand> {
1358
+ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
1354
1359
  /**
1355
1360
  * @generated from field: required BlueCredentialId credentialId = 1;
1356
1361
  */
@@ -1378,38 +1383,38 @@ export declare class BlueSPDataCommand extends Message<BlueSPDataCommand> {
1378
1383
  */
1379
1384
  data: Uint8Array;
1380
1385
 
1381
- constructor(data?: PartialMessage<BlueSPDataCommand>);
1386
+ constructor(data?: PartialMessage<BlueSPTokenCommand>);
1382
1387
 
1383
1388
  static readonly runtime: typeof proto2;
1384
- static readonly typeName = "BlueSPDataCommand";
1389
+ static readonly typeName = "BlueSPTokenCommand";
1385
1390
  static readonly fields: FieldList;
1386
1391
 
1387
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSPDataCommand;
1392
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSPTokenCommand;
1388
1393
 
1389
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSPDataCommand;
1394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSPTokenCommand;
1390
1395
 
1391
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSPDataCommand;
1396
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSPTokenCommand;
1392
1397
 
1393
- static equals(a: BlueSPDataCommand | PlainMessage<BlueSPDataCommand> | undefined, b: BlueSPDataCommand | PlainMessage<BlueSPDataCommand> | undefined): boolean;
1398
+ static equals(a: BlueSPTokenCommand | PlainMessage<BlueSPTokenCommand> | undefined, b: BlueSPTokenCommand | PlainMessage<BlueSPTokenCommand> | undefined): boolean;
1394
1399
  }
1395
1400
 
1396
1401
  /**
1397
- * @generated from message BlueSPData
1402
+ * @generated from message BlueSPToken
1398
1403
  */
1399
- export declare class BlueSPData extends Message<BlueSPData> {
1404
+ export declare class BlueSPToken extends Message<BlueSPToken> {
1400
1405
  /**
1401
1406
  * @generated from field: required bytes signature = 1;
1402
1407
  */
1403
1408
  signature: Uint8Array;
1404
1409
 
1405
1410
  /**
1406
- * @generated from oneof BlueSPData.payload
1411
+ * @generated from oneof BlueSPToken.payload
1407
1412
  */
1408
1413
  payload: {
1409
1414
  /**
1410
- * @generated from field: BlueSPDataCommand command = 2;
1415
+ * @generated from field: BlueSPTokenCommand command = 2;
1411
1416
  */
1412
- value: BlueSPDataCommand;
1417
+ value: BlueSPTokenCommand;
1413
1418
  case: "command";
1414
1419
  } | {
1415
1420
  /**
@@ -1425,19 +1430,19 @@ export declare class BlueSPData extends Message<BlueSPData> {
1425
1430
  case: "ossSid";
1426
1431
  } | { case: undefined; value?: undefined };
1427
1432
 
1428
- constructor(data?: PartialMessage<BlueSPData>);
1433
+ constructor(data?: PartialMessage<BlueSPToken>);
1429
1434
 
1430
1435
  static readonly runtime: typeof proto2;
1431
- static readonly typeName = "BlueSPData";
1436
+ static readonly typeName = "BlueSPToken";
1432
1437
  static readonly fields: FieldList;
1433
1438
 
1434
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSPData;
1439
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSPToken;
1435
1440
 
1436
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSPData;
1441
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSPToken;
1437
1442
 
1438
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSPData;
1443
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSPToken;
1439
1444
 
1440
- static equals(a: BlueSPData | PlainMessage<BlueSPData> | undefined, b: BlueSPData | PlainMessage<BlueSPData> | undefined): boolean;
1445
+ static equals(a: BlueSPToken | PlainMessage<BlueSPToken> | undefined, b: BlueSPToken | PlainMessage<BlueSPToken> | undefined): boolean;
1441
1446
  }
1442
1447
 
1443
1448
  /**
@@ -2050,9 +2055,9 @@ export declare class BlueOssSoCredentialType extends Message<BlueOssSoCredential
2050
2055
  */
2051
2056
  export declare class BlueOssSoDTScheduleDay extends Message<BlueOssSoDTScheduleDay> {
2052
2057
  /**
2053
- * 0 = Monday -> 6 = Sunday (Matches BlueWeekday)
2058
+ * See BlueWeekday -> byte 0 = Monday, etc.
2054
2059
  *
2055
- * @generated from field: repeated bool weekdays = 1;
2060
+ * @generated from field: repeated bool weekdays = 3;
2056
2061
  */
2057
2062
  weekdays: boolean[];
2058
2063
 
@@ -75,11 +75,11 @@ __export(BlueCore_pb_exports, {
75
75
  BlueOssSoStorageProfile: () => BlueOssSoStorageProfile,
76
76
  BlueOssSoVersion: () => BlueOssSoVersion,
77
77
  BlueReturnCode: () => BlueReturnCode,
78
- BlueSPData: () => BlueSPData,
79
- BlueSPDataCommand: () => BlueSPDataCommand,
80
78
  BlueSPHandshake: () => BlueSPHandshake,
81
79
  BlueSPHandshakeReply: () => BlueSPHandshakeReply,
82
80
  BlueSPResult: () => BlueSPResult,
81
+ BlueSPToken: () => BlueSPToken,
82
+ BlueSPTokenCommand: () => BlueSPTokenCommand,
83
83
  BlueSharedDemoData: () => BlueSharedDemoData,
84
84
  BlueTimeUnit: () => BlueTimeUnit,
85
85
  BlueTransponderType: () => BlueTransponderType,
@@ -429,13 +429,7 @@ const BlueLocalTimeSchedule = import_protobuf.proto2.makeMessageType(
429
429
  T: 13
430
430
  /* ScalarType.UINT32 */
431
431
  },
432
- {
433
- no: 3,
434
- name: "weekdays",
435
- kind: "scalar",
436
- T: 12
437
- /* ScalarType.BYTES */
438
- },
432
+ { no: 3, name: "weekdays", kind: "scalar", T: 8, repeated: true },
439
433
  { no: 4, name: "timePeriod", kind: "message", T: BlueLocalTimeperiod }
440
434
  ]
441
435
  );
@@ -476,6 +470,13 @@ const BlueBleManufacturerInfo = import_protobuf.proto2.makeMessageType(
476
470
  kind: "scalar",
477
471
  T: 13
478
472
  /* ScalarType.UINT32 */
473
+ },
474
+ {
475
+ no: 5,
476
+ name: "isFactory",
477
+ kind: "scalar",
478
+ T: 8
479
+ /* ScalarType.BOOL */
479
480
  }
480
481
  ]
481
482
  );
@@ -525,7 +526,7 @@ const BlueEvent = import_protobuf.proto2.makeMessageType(
525
526
  T: 5
526
527
  /* ScalarType.INT32 */
527
528
  },
528
- { no: 6, name: "identity", kind: "scalar", T: 9, opt: true },
529
+ { no: 6, name: "credentialId", kind: "message", T: BlueCredentialId, opt: true },
529
530
  { no: 7, name: "command", kind: "scalar", T: 9, opt: true }
530
531
  ]
531
532
  );
@@ -560,8 +561,8 @@ const BlueSPHandshakeReply = import_protobuf.proto2.makeMessageType(
560
561
  }
561
562
  ]
562
563
  );
563
- const BlueSPDataCommand = import_protobuf.proto2.makeMessageType(
564
- "BlueSPDataCommand",
564
+ const BlueSPTokenCommand = import_protobuf.proto2.makeMessageType(
565
+ "BlueSPTokenCommand",
565
566
  () => [
566
567
  { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
567
568
  { no: 2, name: "validityStart", kind: "message", T: BlueLocalTimestamp },
@@ -582,8 +583,8 @@ const BlueSPDataCommand = import_protobuf.proto2.makeMessageType(
582
583
  }
583
584
  ]
584
585
  );
585
- const BlueSPData = import_protobuf.proto2.makeMessageType(
586
- "BlueSPData",
586
+ const BlueSPToken = import_protobuf.proto2.makeMessageType(
587
+ "BlueSPToken",
587
588
  () => [
588
589
  {
589
590
  no: 1,
@@ -592,7 +593,7 @@ const BlueSPData = import_protobuf.proto2.makeMessageType(
592
593
  T: 12
593
594
  /* ScalarType.BYTES */
594
595
  },
595
- { no: 2, name: "command", kind: "message", T: BlueSPDataCommand, oneof: "payload" },
596
+ { no: 2, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
596
597
  { no: 3, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
597
598
  { no: 4, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" }
598
599
  ]
@@ -812,7 +813,7 @@ const BlueOssSoCredentialType = import_protobuf.proto2.makeMessageType(
812
813
  const BlueOssSoDTScheduleDay = import_protobuf.proto2.makeMessageType(
813
814
  "BlueOssSoDTScheduleDay",
814
815
  () => [
815
- { no: 1, name: "weekdays", kind: "scalar", T: 8, repeated: true },
816
+ { no: 3, name: "weekdays", kind: "scalar", T: 8, repeated: true },
816
817
  { no: 8, name: "timePeriods", kind: "message", T: BlueLocalTimeperiod, repeated: true }
817
818
  ]
818
819
  );
@@ -52,11 +52,11 @@ export declare class BlueLockConfig extends Message<BlueLockConfig> {
52
52
  openScheduleByUser: boolean;
53
53
 
54
54
  /**
55
- * Days of year (1-366) the open schedule is ignored (ie vacation days)
55
+ * If set keeps the lock closed on federal vacation days
56
56
  *
57
- * @generated from field: repeated uint32 closedDays = 20;
57
+ * @generated from field: required bool keepClosedOnHolidays = 20;
58
58
  */
59
- closedDays: number[];
59
+ keepClosedOnHolidays: boolean;
60
60
 
61
61
  /**
62
62
  * Default time in seconds to keep the lock open
@@ -38,7 +38,13 @@ const BlueLockConfig = import_protobuf.proto2.makeMessageType(
38
38
  () => [
39
39
  { no: 1, name: "openSchedules", kind: "message", T: import_BlueCore_pb.BlueLocalTimeSchedule, repeated: true },
40
40
  { no: 2, name: "openScheduleByUser", kind: "scalar", T: 8, default: false },
41
- { no: 20, name: "closedDays", kind: "scalar", T: 13, repeated: true },
41
+ {
42
+ no: 20,
43
+ name: "keepClosedOnHolidays",
44
+ kind: "scalar",
45
+ T: 8
46
+ /* ScalarType.BOOL */
47
+ },
42
48
  { no: 21, name: "defaultOpenTimeSec", kind: "scalar", T: 13, default: 5 },
43
49
  { no: 22, name: "extendedOpenTimeSec", kind: "scalar", T: 13, default: 3600 }
44
50
  ]