@blueid/access-proto 0.21.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.
@@ -9,88 +9,30 @@ import type { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType,
9
9
  import type { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
10
10
 
11
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
12
+ * @generated from message BlueBaseConfig
46
13
  */
47
- export declare class BlueTimeOffsetPeriod extends Message<BlueTimeOffsetPeriod> {
14
+ export declare class BlueBaseConfig extends Message<BlueBaseConfig> {
48
15
  /**
49
- * UTC-epoch when this shift occurs
50
- *
51
- * @generated from field: required uint32 epoch = 1;
16
+ * @generated from field: required string isoCountry = 1;
52
17
  */
53
- epoch: number;
18
+ isoCountry: string;
54
19
 
55
20
  /**
56
- * The time offset in minutes, negative or positive
57
- *
58
- * @generated from field: required int32 offset = 2;
21
+ * @generated from field: required string isoState = 2;
59
22
  */
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;
23
+ isoState: string;
69
24
 
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
25
  /**
82
- * The time offsets that get shifted automatically
83
- *
84
- * @generated from field: repeated BlueTimeOffsetPeriod timeOffsetPeriods = 1;
26
+ * @generated from field: required int32 utcOffsetMinutes = 3 [default = 0];
85
27
  */
86
- timeOffsetPeriods: BlueTimeOffsetPeriod[];
28
+ utcOffsetMinutes: number;
87
29
 
88
30
  /**
89
31
  * If enabled this will check the system-status every 24-hours and
90
32
  * react accordingly ie like when battery is running low opening the lock
91
33
  * and logging accordingly etc
92
34
  *
93
- * @generated from field: required bool autoCheckSystemStatus = 2 [default = false];
35
+ * @generated from field: required bool autoCheckSystemStatus = 4 [default = false];
94
36
  */
95
37
  autoCheckSystemStatus: boolean;
96
38
 
@@ -192,38 +134,32 @@ export declare class BlueBleConfig extends Message<BlueBleConfig> {
192
134
  */
193
135
  export declare class BlueOnlineConfig extends Message<BlueOnlineConfig> {
194
136
  /**
195
- * The online mode
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.
196
140
  *
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;
141
+ * @generated from field: repeated BlueLocalTimeSchedule connectSchedules = 1;
206
142
  */
207
143
  connectSchedules: BlueLocalTimeSchedule[];
208
144
 
209
145
  /**
210
146
  * The SSID of the wifi network
211
147
  *
212
- * @generated from field: required string wifiSSID = 3;
148
+ * @generated from field: required string wifiSSID = 2;
213
149
  */
214
150
  wifiSSID: string;
215
151
 
216
152
  /**
217
153
  * The wifi password
218
154
  *
219
- * @generated from field: required string wifiPassword = 4;
155
+ * @generated from field: required string wifiPassword = 3;
220
156
  */
221
157
  wifiPassword: string;
222
158
 
223
159
  /**
224
160
  * Default timeout for online connections
225
161
  *
226
- * @generated from field: required uint32 timeoutSec = 5 [default = 30];
162
+ * @generated from field: required uint32 timeoutSec = 4 [default = 30];
227
163
  */
228
164
  timeoutSec: number;
229
165
 
@@ -242,6 +178,35 @@ export declare class BlueOnlineConfig extends Message<BlueOnlineConfig> {
242
178
  static equals(a: BlueOnlineConfig | PlainMessage<BlueOnlineConfig> | undefined, b: BlueOnlineConfig | PlainMessage<BlueOnlineConfig> | undefined): boolean;
243
179
  }
244
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
+
245
210
  /**
246
211
  * @generated from message BlueAccessConfig
247
212
  */
@@ -263,9 +228,9 @@ export declare class BlueAccessConfig extends Message<BlueAccessConfig> {
263
228
  /**
264
229
  * The access groups this device is part of
265
230
  *
266
- * @generated from field: repeated uint32 groupIds = 3;
231
+ * @generated from field: repeated BlueAccessConfigGroup groups = 3;
267
232
  */
268
- groupIds: number[];
233
+ groups: BlueAccessConfigGroup[];
269
234
 
270
235
  constructor(data?: PartialMessage<BlueAccessConfig>);
271
236
 
@@ -373,9 +338,9 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
373
338
  */
374
339
  export declare class BlueSystemConfig extends Message<BlueSystemConfig> {
375
340
  /**
376
- * @generated from field: required uint32 version = 1;
341
+ * @generated from field: required string configId = 1;
377
342
  */
378
- version: number;
343
+ configId: string;
379
344
 
380
345
  /**
381
346
  * -- Base
@@ -618,9 +583,9 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
618
583
  */
619
584
  export declare class BlueSystemStatus extends Message<BlueSystemStatus> {
620
585
  /**
621
- * @generated from field: required uint32 configVersion = 1;
586
+ * @generated from field: required string configId = 1;
622
587
  */
623
- configVersion: number;
588
+ configId: string;
624
589
 
625
590
  /**
626
591
  * @generated from field: required string deviceId = 2;
@@ -18,13 +18,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
18
18
  var BlueSystem_pb_exports = {};
19
19
  __export(BlueSystem_pb_exports, {
20
20
  BlueAccessConfig: () => BlueAccessConfig,
21
+ BlueAccessConfigGroup: () => BlueAccessConfigGroup,
21
22
  BlueBaseConfig: () => BlueBaseConfig,
22
23
  BlueBlacklistEntries: () => BlueBlacklistEntries,
23
24
  BlueBleConfig: () => BlueBleConfig,
24
25
  BlueEventLogQuery: () => BlueEventLogQuery,
25
26
  BlueEventLogResult: () => BlueEventLogResult,
26
27
  BlueOnlineConfig: () => BlueOnlineConfig,
27
- BlueOnlineMode: () => BlueOnlineMode,
28
28
  BlueOssConfig: () => BlueOssConfig,
29
29
  BlueSystemConfig: () => BlueSystemConfig,
30
30
  BlueSystemLogEntry: () => BlueSystemLogEntry,
@@ -34,46 +34,31 @@ __export(BlueSystem_pb_exports, {
34
34
  BlueSystemSettings: () => BlueSystemSettings,
35
35
  BlueSystemStatus: () => BlueSystemStatus,
36
36
  BlueSystemTimeUnix: () => BlueSystemTimeUnix,
37
- BlueSystemUpdate: () => BlueSystemUpdate,
38
- BlueTimeOffsetPeriod: () => BlueTimeOffsetPeriod
37
+ BlueSystemUpdate: () => BlueSystemUpdate
39
38
  });
40
39
  module.exports = __toCommonJS(BlueSystem_pb_exports);
41
40
  var import_protobuf = require("@bufbuild/protobuf");
42
41
  var import_BlueCore_pb = require("./BlueCore_pb.js");
43
42
  var import_BlueLock_pb = require("./BlueLock_pb.js");
44
- const BlueOnlineMode = import_protobuf.proto2.makeEnum(
45
- "BlueOnlineMode",
46
- [
47
- { no: 0, name: "OfflineMode" },
48
- { no: 1, name: "ManualWifi" },
49
- { no: 2, name: "AlwaysOnWifi" },
50
- { no: 3, name: "UseLan" }
51
- ]
52
- );
53
- const BlueTimeOffsetPeriod = import_protobuf.proto2.makeMessageType(
54
- "BlueTimeOffsetPeriod",
43
+ const BlueBaseConfig = import_protobuf.proto2.makeMessageType(
44
+ "BlueBaseConfig",
55
45
  () => [
56
46
  {
57
47
  no: 1,
58
- name: "epoch",
48
+ name: "isoCountry",
59
49
  kind: "scalar",
60
- T: 13
61
- /* ScalarType.UINT32 */
50
+ T: 9
51
+ /* ScalarType.STRING */
62
52
  },
63
53
  {
64
54
  no: 2,
65
- name: "offset",
55
+ name: "isoState",
66
56
  kind: "scalar",
67
- T: 5
68
- /* ScalarType.INT32 */
69
- }
70
- ]
71
- );
72
- const BlueBaseConfig = import_protobuf.proto2.makeMessageType(
73
- "BlueBaseConfig",
74
- () => [
75
- { no: 1, name: "timeOffsetPeriods", kind: "message", T: BlueTimeOffsetPeriod, repeated: true },
76
- { no: 2, name: "autoCheckSystemStatus", kind: "scalar", T: 8, default: false }
57
+ T: 9
58
+ /* ScalarType.STRING */
59
+ },
60
+ { no: 3, name: "utcOffsetMinutes", kind: "scalar", T: 5, default: 0 },
61
+ { no: 4, name: "autoCheckSystemStatus", kind: "scalar", T: 8, default: false }
77
62
  ]
78
63
  );
79
64
  const BlueBleConfig = import_protobuf.proto2.makeMessageType(
@@ -98,23 +83,35 @@ const BlueBleConfig = import_protobuf.proto2.makeMessageType(
98
83
  const BlueOnlineConfig = import_protobuf.proto2.makeMessageType(
99
84
  "BlueOnlineConfig",
100
85
  () => [
101
- { no: 1, name: "mode", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueOnlineMode), default: BlueOnlineMode.OfflineMode },
102
- { no: 2, name: "connectSchedules", kind: "message", T: import_BlueCore_pb.BlueLocalTimeSchedule, repeated: true },
86
+ { no: 1, name: "connectSchedules", kind: "message", T: import_BlueCore_pb.BlueLocalTimeSchedule, repeated: true },
103
87
  {
104
- no: 3,
88
+ no: 2,
105
89
  name: "wifiSSID",
106
90
  kind: "scalar",
107
91
  T: 9
108
92
  /* ScalarType.STRING */
109
93
  },
110
94
  {
111
- no: 4,
95
+ no: 3,
112
96
  name: "wifiPassword",
113
97
  kind: "scalar",
114
98
  T: 9
115
99
  /* ScalarType.STRING */
116
100
  },
117
- { no: 5, name: "timeoutSec", kind: "scalar", T: 13, default: 30 }
101
+ { no: 4, name: "timeoutSec", kind: "scalar", T: 13, default: 30 }
102
+ ]
103
+ );
104
+ const BlueAccessConfigGroup = import_protobuf.proto2.makeMessageType(
105
+ "BlueAccessConfigGroup",
106
+ () => [
107
+ {
108
+ no: 1,
109
+ name: "groupId",
110
+ kind: "scalar",
111
+ T: 13
112
+ /* ScalarType.UINT32 */
113
+ },
114
+ { no: 2, name: "schedules", kind: "message", T: import_BlueCore_pb.BlueLocalTimeSchedule, repeated: true }
118
115
  ]
119
116
  );
120
117
  const BlueAccessConfig = import_protobuf.proto2.makeMessageType(
@@ -122,7 +119,7 @@ const BlueAccessConfig = import_protobuf.proto2.makeMessageType(
122
119
  () => [
123
120
  { no: 1, name: "id", kind: "scalar", T: 13, default: 1 },
124
121
  { no: 2, name: "siteId", kind: "scalar", T: 13, default: 1 },
125
- { no: 3, name: "groupIds", kind: "scalar", T: 13, repeated: true }
122
+ { no: 3, name: "groups", kind: "message", T: BlueAccessConfigGroup, repeated: true }
126
123
  ]
127
124
  );
128
125
  const BlueOssConfig = import_protobuf.proto2.makeMessageType(
@@ -143,10 +140,10 @@ const BlueSystemConfig = import_protobuf.proto2.makeMessageType(
143
140
  () => [
144
141
  {
145
142
  no: 1,
146
- name: "version",
143
+ name: "configId",
147
144
  kind: "scalar",
148
- T: 13
149
- /* ScalarType.UINT32 */
145
+ T: 9
146
+ /* ScalarType.STRING */
150
147
  },
151
148
  { no: 2, name: "base", kind: "message", T: BlueBaseConfig },
152
149
  { no: 3, name: "ble", kind: "message", T: BlueBleConfig },
@@ -237,10 +234,10 @@ const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
237
234
  () => [
238
235
  {
239
236
  no: 1,
240
- name: "configVersion",
237
+ name: "configId",
241
238
  kind: "scalar",
242
- T: 13
243
- /* ScalarType.UINT32 */
239
+ T: 9
240
+ /* ScalarType.STRING */
244
241
  },
245
242
  {
246
243
  no: 2,
@@ -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;
@@ -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
 
package/es/BlueCore_pb.js CHANGED
@@ -350,7 +350,7 @@ export const BlueLocalTimeSchedule = proto2.makeMessageType(
350
350
  () => [
351
351
  { no: 1, name: "dayOfYearStart", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
352
352
  { no: 2, name: "dayOfYearEnd", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
353
- { no: 3, name: "weekdays", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
353
+ { no: 3, name: "weekdays", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true },
354
354
  { no: 4, name: "timePeriod", kind: "message", T: BlueLocalTimeperiod },
355
355
  ],
356
356
  );
@@ -386,6 +386,7 @@ export const BlueBleManufacturerInfo = proto2.makeMessageType(
386
386
  { no: 2, name: "batteryLevel", kind: "enum", T: proto2.getEnumType(BlueBatteryLevel) },
387
387
  { no: 3, name: "applicationVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
388
388
  { no: 4, name: "localMidnightTimeEpoch", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
389
+ { no: 5, name: "isFactory", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
389
390
  ],
390
391
  );
391
392
 
@@ -439,10 +440,10 @@ export const BlueSPHandshakeReply = proto2.makeMessageType(
439
440
  );
440
441
 
441
442
  /**
442
- * @generated from message BlueSPDataCommand
443
+ * @generated from message BlueSPTokenCommand
443
444
  */
444
- export const BlueSPDataCommand = proto2.makeMessageType(
445
- "BlueSPDataCommand",
445
+ export const BlueSPTokenCommand = proto2.makeMessageType(
446
+ "BlueSPTokenCommand",
446
447
  () => [
447
448
  { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
448
449
  { no: 2, name: "validityStart", kind: "message", T: BlueLocalTimestamp },
@@ -453,13 +454,13 @@ export const BlueSPDataCommand = proto2.makeMessageType(
453
454
  );
454
455
 
455
456
  /**
456
- * @generated from message BlueSPData
457
+ * @generated from message BlueSPToken
457
458
  */
458
- export const BlueSPData = proto2.makeMessageType(
459
- "BlueSPData",
459
+ export const BlueSPToken = proto2.makeMessageType(
460
+ "BlueSPToken",
460
461
  () => [
461
462
  { no: 1, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
462
- { no: 2, name: "command", kind: "message", T: BlueSPDataCommand, oneof: "payload" },
463
+ { no: 2, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
463
464
  { no: 3, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
464
465
  { no: 4, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
465
466
  ],
@@ -695,7 +696,7 @@ export const BlueOssSoCredentialType = proto2.makeMessageType(
695
696
  export const BlueOssSoDTScheduleDay = proto2.makeMessageType(
696
697
  "BlueOssSoDTScheduleDay",
697
698
  () => [
698
- { no: 1, name: "weekdays", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true },
699
+ { no: 3, name: "weekdays", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true },
699
700
  { no: 8, name: "timePeriods", kind: "message", T: BlueLocalTimeperiod, repeated: true },
700
701
  ],
701
702
  );