@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,975 @@
1
+ // @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
2
+ // @generated from file BlueCore.proto (syntax proto2)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto2 } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * @generated from enum BlueReturnCode
10
+ */
11
+ export const BlueReturnCode = proto2.makeEnum(
12
+ "BlueReturnCode",
13
+ [
14
+ {no: 0, name: "Ok"},
15
+ {no: 1, name: "Pending"},
16
+ {no: -1, name: "Error"},
17
+ {no: -3, name: "InvalidArguments"},
18
+ {no: -4, name: "InvalidState"},
19
+ {no: -5, name: "NotSupported"},
20
+ {no: -6, name: "EOF"},
21
+ {no: -7, name: "Overflow"},
22
+ {no: -8, name: "StorageFull"},
23
+ {no: -9, name: "InvalidCrc"},
24
+ {no: -10, name: "InvalidMemoryAddress"},
25
+ {no: -11, name: "VersionMissmatch"},
26
+ {no: -12, name: "InvalidSignature"},
27
+ {no: -13, name: "InvalidValidity"},
28
+ {no: -14, name: "CryptLibraryFailed"},
29
+ {no: -16, name: "NotFound"},
30
+ {no: -17, name: "AlreadyExists"},
31
+ {no: -18, name: "Timeout"},
32
+ {no: -19, name: "Disconnected"},
33
+ {no: -20, name: "PointerConversionFailed"},
34
+ {no: -21, name: "Unavailable"},
35
+ {no: -29, name: "Test"},
36
+ {no: -30, name: "EncodeDataWriteFailed"},
37
+ {no: -31, name: "EncodeDataWriteNothingWritten"},
38
+ {no: -32, name: "DecodeDataReadFailed"},
39
+ {no: -33, name: "BleInvalidCompanyIdentifier"},
40
+ {no: -34, name: "InvalidSystemConfig"},
41
+ {no: -35, name: "InvalidProvisioning"},
42
+ {no: -104, name: "InvalidTransponder"},
43
+ {no: -105, name: "BleServiceNotFound"},
44
+ {no: -106, name: "BleCharacteristicNotFound"},
45
+ {no: -107, name: "BleFailSetCharacteristicNotify"},
46
+ {no: -100, name: "NfcTransponderNoResult"},
47
+ {no: -101, name: "NfcTransponderCommandError"},
48
+ {no: -102, name: "NfcTransponderStorageFull"},
49
+ {no: -103, name: "NfcTransponderAuthenticateFailed"},
50
+ {no: -150, name: "SPInvalidSalt"},
51
+ {no: -151, name: "SPFailedHashing"},
52
+ {no: -152, name: "SPFailedSigning"},
53
+ {no: -153, name: "SPFailedGetOwnSalt"},
54
+ {no: -154, name: "SPFailedSetPeerSalt"},
55
+ {no: -155, name: "SPFailedEncrypt"},
56
+ {no: -156, name: "SPFailedDecrypt"},
57
+ {no: -157, name: "SPFailedGetCurrentTime"},
58
+ {no: -158, name: "SPFailedSignature"},
59
+ {no: -170, name: "SPErrorStatusCode"},
60
+ {no: -200, name: "OssInvalidCredentialId"},
61
+ {no: -201, name: "OssMaFailedMcpLib"},
62
+ {no: -230, name: "OssSoIncompatibleMajorVersion"},
63
+ {no: -231, name: "OssSoInvalidCredentialType"},
64
+ {no: -233, name: "OssSoInvalidTimestamp"},
65
+ {no: -234, name: "OssSoInvalidTimeperiod"},
66
+ {no: -235, name: "OssSoInvalidSiteId"},
67
+ {no: -236, name: "OssSoInvalidDoorAccessBy"},
68
+ {no: -237, name: "OssSoInvalidDoorDTScheduleNumber"},
69
+ {no: -238, name: "OssSoTimePeriodsCountMissmatch"},
70
+ {no: -239, name: "OssSoInvalidDTScheduleNumber"},
71
+ {no: -242, name: "OssSoEventIdNotSupportedForWrite"},
72
+ {no: -243, name: "OssSoExtensionFileSizeTooLarge"},
73
+ {no: -244, name: "OssSoExtensionFileSizeInvalid"},
74
+ {no: -245, name: "OssSoExtensionTooManyFeatures"},
75
+ {no: -246, name: "OssSoExtensionValueTooLarge"},
76
+ {no: -247, name: "OssSoInvalidExtensionLength"},
77
+ {no: -248, name: "OssSoInvalidExtensionTag"},
78
+ {no: -249, name: "OssSoMaxEventEntriesExceeded"},
79
+ {no: -250, name: "OssSoMaxBlacklistEntriesExceeded"},
80
+ {no: -280, name: "OssSidIncompatibleMajorVersion"},
81
+ {no: -281, name: "OssSidInvalidCredentialType"},
82
+ {no: -300, name: "MifareDesfireWrongKeyType"},
83
+ {no: -301, name: "MifareDesfireWrongKey"},
84
+ {no: -302, name: "MifareDesfireCmacNotReceived"},
85
+ {no: -303, name: "MifareDesfireCmacNotVerified"},
86
+ {no: -304, name: "MifareDesfireNoneOrInvalidAid"},
87
+ {no: -1000, name: "OssMAReturnCodeStart"},
88
+ {no: -1100, name: "OssMAReturnCodeEnd"},
89
+ ],
90
+ );
91
+
92
+ /**
93
+ * @generated from enum BlueTimeUnit
94
+ */
95
+ export const BlueTimeUnit = proto2.makeEnum(
96
+ "BlueTimeUnit",
97
+ [
98
+ {no: 1, name: "Seconds"},
99
+ {no: 2, name: "Minutes"},
100
+ {no: 3, name: "Hours"},
101
+ {no: 4, name: "Days"},
102
+ {no: 5, name: "Months"},
103
+ {no: 6, name: "Years"},
104
+ ],
105
+ );
106
+
107
+ /**
108
+ * Those may never be changed
109
+ *
110
+ * @generated from enum BlueWeekday
111
+ */
112
+ export const BlueWeekday = proto2.makeEnum(
113
+ "BlueWeekday",
114
+ [
115
+ {no: 0, name: "Monday"},
116
+ {no: 1, name: "Tuesday"},
117
+ {no: 2, name: "Wednesday"},
118
+ {no: 3, name: "Thursday"},
119
+ {no: 4, name: "Friday"},
120
+ {no: 5, name: "Saturday"},
121
+ {no: 6, name: "Sunday"},
122
+ ],
123
+ );
124
+
125
+ /**
126
+ * @generated from enum BlueAccessType
127
+ */
128
+ export const BlueAccessType = proto2.makeEnum(
129
+ "BlueAccessType",
130
+ [
131
+ {no: 1, name: "DefaultTime"},
132
+ {no: 2, name: "ExtendedTime"},
133
+ {no: 3, name: "CustomTime"},
134
+ {no: 4, name: "Toggle"},
135
+ {no: 5, name: "Close"},
136
+ {no: 6, name: "NoAccess"},
137
+ {no: 7, name: "NoAccessValidity"},
138
+ {no: 8, name: "NoAccessBlacklisted"},
139
+ ],
140
+ );
141
+
142
+ /**
143
+ * @generated from enum BlueTransponderType
144
+ */
145
+ export const BlueTransponderType = proto2.makeEnum(
146
+ "BlueTransponderType",
147
+ [
148
+ {no: 0, name: "UnknownTransponder"},
149
+ {no: 1, name: "MobileTransponder"},
150
+ {no: 2, name: "MifareDesfire"},
151
+ ],
152
+ );
153
+
154
+ /**
155
+ * @generated from enum BlueHardwareType
156
+ */
157
+ export const BlueHardwareType = proto2.makeEnum(
158
+ "BlueHardwareType",
159
+ [
160
+ {no: 0, name: "UnknownHardware"},
161
+ {no: 1, name: "TestHardware"},
162
+ {no: 2, name: "Gateway"},
163
+ {no: 3, name: "CylinderLock"},
164
+ {no: 4, name: "WallReader"},
165
+ {no: 5, name: "Kiosk"},
166
+ ],
167
+ );
168
+
169
+ /**
170
+ * @generated from enum BlueBatteryLevel
171
+ */
172
+ export const BlueBatteryLevel = proto2.makeEnum(
173
+ "BlueBatteryLevel",
174
+ [
175
+ {no: 0, name: "UnknownBattery"},
176
+ {no: 1, name: "OnPower"},
177
+ {no: 10, name: "GoodPower"},
178
+ {no: 11, name: "LowPower"},
179
+ {no: 12, name: "CriticalPower"},
180
+ {no: 13, name: "AlmostEmpty"},
181
+ {no: 100, name: "FullyDischarged"},
182
+ {no: 200, name: "FullyCharged"},
183
+ ],
184
+ );
185
+
186
+ /**
187
+ * Oss So events --
188
+ *
189
+ * @generated from enum BlueEventId
190
+ */
191
+ export const BlueEventId = proto2.makeEnum(
192
+ "BlueEventId",
193
+ [
194
+ {no: 1, name: "BatteryLow"},
195
+ {no: 2, name: "BatteryReplaced"},
196
+ {no: 3, name: "LockJammed"},
197
+ {no: 4, name: "SystemEvent"},
198
+ {no: 5, name: "InternalError"},
199
+ {no: 6, name: "FailedToUnlock"},
200
+ {no: 7, name: "TamperingDetected"},
201
+ {no: 8, name: "BlacklistedCredentialDetected"},
202
+ {no: 9, name: "BlacklistFull"},
203
+ {no: 10, name: "AccessGranted"},
204
+ {no: 11, name: "AccessDenied"},
205
+ {no: 12, name: "CRCError"},
206
+ {no: 13, name: "MaxOssSoEventId"},
207
+ {no: 14, name: "TerminalCommand"},
208
+ {no: 15, name: "TerminalOss"},
209
+ ],
210
+ );
211
+
212
+ /**
213
+ * Oss So events --
214
+ *
215
+ * @generated from enum BlueEventInfoSystem
216
+ */
217
+ export const BlueEventInfoSystem = proto2.makeEnum(
218
+ "BlueEventInfoSystem",
219
+ [
220
+ {no: 1, name: "SystemRestart"},
221
+ {no: 2, name: "SystemConfigured"},
222
+ ],
223
+ );
224
+
225
+ /**
226
+ * Oss So events --
227
+ *
228
+ * @generated from enum BlueEventInfoAccess
229
+ */
230
+ export const BlueEventInfoAccess = proto2.makeEnum(
231
+ "BlueEventInfoAccess",
232
+ [
233
+ {no: 1, name: "Granted"},
234
+ {no: 2, name: "GrantedDefaultTime"},
235
+ {no: 3, name: "GrantedExtendedTime"},
236
+ {no: 4, name: "GrantedToggleUnlock"},
237
+ {no: 5, name: "GrantedToggleLock"},
238
+ {no: 128, name: "Denied"},
239
+ {no: 130, name: "DeniedBlacklisted"},
240
+ {no: 131, name: "DeniedValidity"},
241
+ {no: 132, name: "DeniedDTSchedule"},
242
+ ],
243
+ );
244
+
245
+ /**
246
+ * @generated from enum BlueOssCredentialTypeSource
247
+ */
248
+ export const BlueOssCredentialTypeSource = proto2.makeEnum(
249
+ "BlueOssCredentialTypeSource",
250
+ [
251
+ {no: 0, name: "Oss"},
252
+ {no: 1, name: "Proprietary"},
253
+ ],
254
+ );
255
+
256
+ /**
257
+ * @generated from enum BlueOssSoCredentialTypeOssCredential
258
+ */
259
+ export const BlueOssSoCredentialTypeOssCredential = proto2.makeEnum(
260
+ "BlueOssSoCredentialTypeOssCredential",
261
+ [
262
+ {no: 0, name: "Standard"},
263
+ {no: 1, name: "InterventionMedia"},
264
+ ],
265
+ );
266
+
267
+ /**
268
+ * @generated from enum BlueOssSoDoorInfoAccessBy
269
+ */
270
+ export const BlueOssSoDoorInfoAccessBy = proto2.makeEnum(
271
+ "BlueOssSoDoorInfoAccessBy",
272
+ [
273
+ {no: 0, name: "DoorGroupId"},
274
+ {no: 1, name: "DoorId"},
275
+ ],
276
+ );
277
+
278
+ /**
279
+ * @generated from enum BlueOssSoFileId
280
+ */
281
+ export const BlueOssSoFileId = proto2.makeEnum(
282
+ "BlueOssSoFileId",
283
+ [
284
+ {no: 0, name: "Info"},
285
+ {no: 1, name: "Data"},
286
+ {no: 2, name: "Event"},
287
+ {no: 3, name: "Blacklist"},
288
+ {no: 4, name: "CustomerExtensions"},
289
+ ],
290
+ );
291
+
292
+ /**
293
+ * @generated from message BlueSharedDemoData
294
+ */
295
+ export const BlueSharedDemoData = proto2.makeMessageType(
296
+ "BlueSharedDemoData",
297
+ () => [
298
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "wa0y1YwS" },
299
+ { no: 2, name: "terminalPrivateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x30, 0x81, 0x87, 0x02, 0x01, 0x00, 0x30, 0x13, 0x06, 0x07, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01, 0x06, 0x08, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07, 0x04, 0x6D, 0x30, 0x6B, 0x02, 0x01, 0x01, 0x04, 0x20, 0xA5, 0xAB, 0x6D, 0x14, 0x11, 0x30, 0x47, 0xA7, 0xAD, 0x6C, 0x10, 0xE4, 0x4D, 0xE6, 0x3C, 0x05, 0xB9, 0x6B, 0x84, 0xB5, 0x1F, 0xE3, 0x14, 0xD6, 0x87, 0x5C, 0x46, 0x9E, 0xB9, 0xCD, 0x69, 0x2B, 0xA1, 0x44, 0x03, 0x42, 0x00, 0x04, 0x3A, 0x66, 0x86, 0x75, 0xC9, 0x29, 0x29, 0x07, 0xC3, 0x63, 0x18, 0x97, 0x4D, 0xD9, 0x44, 0x1C, 0x71, 0xF9, 0xE4, 0x45, 0xE8, 0x74, 0x1A, 0x3F, 0xAF, 0x6B, 0xC5, 0x8C, 0x9C, 0x69, 0x13, 0xBE, 0x44, 0x14, 0x0B, 0x60, 0x45, 0x4F, 0x76, 0x2F, 0xC2, 0xF1, 0x98, 0x41, 0x98, 0xEC, 0x6E, 0x39, 0x1B, 0x53, 0x36, 0x8B, 0x90, 0x73, 0xEA, 0x1D, 0xE7, 0x20, 0xCF, 0xA1, 0xBE, 0x2D, 0xD4, 0xF1]) },
300
+ { no: 3, name: "terminalPublicKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01, 0x06, 0x08, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x3A, 0x66, 0x86, 0x75, 0xC9, 0x29, 0x29, 0x07, 0xC3, 0x63, 0x18, 0x97, 0x4D, 0xD9, 0x44, 0x1C, 0x71, 0xF9, 0xE4, 0x45, 0xE8, 0x74, 0x1A, 0x3F, 0xAF, 0x6B, 0xC5, 0x8C, 0x9C, 0x69, 0x13, 0xBE, 0x44, 0x14, 0x0B, 0x60, 0x45, 0x4F, 0x76, 0x2F, 0xC2, 0xF1, 0x98, 0x41, 0x98, 0xEC, 0x6E, 0x39, 0x1B, 0x53, 0x36, 0x8B, 0x90, 0x73, 0xEA, 0x1D, 0xE7, 0x20, 0xCF, 0xA1, 0xBE, 0x2D, 0xD4, 0xF1]) },
301
+ { no: 4, name: "signaturePrivateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x30, 0x81, 0x87, 0x02, 0x01, 0x00, 0x30, 0x13, 0x06, 0x07, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01, 0x06, 0x08, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07, 0x04, 0x6D, 0x30, 0x6B, 0x02, 0x01, 0x01, 0x04, 0x20, 0xEF, 0x36, 0x55, 0xC9, 0x4D, 0x80, 0x1E, 0xF4, 0x92, 0x56, 0x75, 0x0E, 0x70, 0xE1, 0x51, 0x0E, 0xCC, 0xE8, 0xB4, 0x6C, 0x54, 0x5E, 0x55, 0x1D, 0xDE, 0xBB, 0xFC, 0x6F, 0xA8, 0x49, 0x50, 0xA1, 0x44, 0x03, 0x42, 0x00, 0x04, 0x5A, 0x0D, 0x6E, 0x67, 0x45, 0xCC, 0xD5, 0xC1, 0x8C, 0xEB, 0xD8, 0xAF, 0xF6, 0xEA, 0x86, 0xD8, 0xC3, 0xAF, 0x43, 0x3F, 0xB7, 0xA2, 0xD2, 0x5F, 0x21, 0x34, 0x42, 0xD4, 0xCD, 0x96, 0x83, 0xB4, 0xE6, 0x7D, 0x2D, 0xDC, 0x25, 0xEB, 0x53, 0xF9, 0x12, 0x76, 0x1E, 0x40, 0xE6, 0xC9, 0x99, 0x83, 0xDD, 0x90, 0x90, 0xFE, 0xF0, 0xB4, 0x25, 0x99, 0xCD, 0x16, 0xAE, 0x39, 0x2F, 0xCF, 0x96, 0x43]) },
302
+ { no: 5, name: "signaturePublicKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01, 0x06, 0x08, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x5A, 0x0D, 0x6E, 0x67, 0x45, 0xCC, 0xD5, 0xC1, 0x8C, 0xEB, 0xD8, 0xAF, 0xF6, 0xEA, 0x86, 0xD8, 0xC3, 0xAF, 0x43, 0x3F, 0xB7, 0xA2, 0xD2, 0x5F, 0x21, 0x34, 0x42, 0xD4, 0xCD, 0x96, 0x83, 0xB4, 0xE6, 0x7D, 0x2D, 0xDC, 0x25, 0xEB, 0x53, 0xF9, 0x12, 0x76, 0x1E, 0x40, 0xE6, 0xC9, 0x99, 0x83, 0xDD, 0x90, 0x90, 0xFE, 0xF0, 0xB4, 0x25, 0x99, 0xCD, 0x16, 0xAE, 0x39, 0x2F, 0xCF, 0x96, 0x43]) },
303
+ ],
304
+ );
305
+
306
+ /**
307
+ * @generated from message BlueVersionInfo
308
+ */
309
+ export const BlueVersionInfo = proto2.makeMessageType(
310
+ "BlueVersionInfo",
311
+ () => [
312
+ { no: 1, name: "buildTime", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
313
+ { no: 2, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
314
+ ],
315
+ );
316
+
317
+ /**
318
+ * @generated from message BlueLocalTimestamp
319
+ */
320
+ export const BlueLocalTimestamp = proto2.makeMessageType(
321
+ "BlueLocalTimestamp",
322
+ () => [
323
+ { no: 1, name: "year", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
324
+ { no: 2, name: "month", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
325
+ { no: 3, name: "date", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
326
+ { no: 4, name: "hours", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
327
+ { no: 5, name: "minutes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
328
+ { no: 6, name: "seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 0 },
329
+ ],
330
+ );
331
+
332
+ /**
333
+ * @generated from message BlueLocalTimeperiod
334
+ */
335
+ export const BlueLocalTimeperiod = proto2.makeMessageType(
336
+ "BlueLocalTimeperiod",
337
+ () => [
338
+ { no: 1, name: "hoursFrom", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
339
+ { no: 2, name: "minutesFrom", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
340
+ { no: 3, name: "hoursTo", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
341
+ { no: 4, name: "minutesTo", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
342
+ ],
343
+ );
344
+
345
+ /**
346
+ * @generated from message BlueLocalTimeSchedule
347
+ */
348
+ export const BlueLocalTimeSchedule = proto2.makeMessageType(
349
+ "BlueLocalTimeSchedule",
350
+ () => [
351
+ { no: 1, name: "dayOfYearStart", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
352
+ { no: 2, name: "dayOfYearEnd", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
353
+ { no: 3, name: "weekdays", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
354
+ { no: 4, name: "timePeriod", kind: "message", T: BlueLocalTimeperiod },
355
+ ],
356
+ );
357
+
358
+ /**
359
+ * @generated from message BlueCredentialId
360
+ */
361
+ export const BlueCredentialId = proto2.makeMessageType(
362
+ "BlueCredentialId",
363
+ () => [
364
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
365
+ ],
366
+ );
367
+
368
+ /**
369
+ * @generated from message BlueBlacklistEntry
370
+ */
371
+ export const BlueBlacklistEntry = proto2.makeMessageType(
372
+ "BlueBlacklistEntry",
373
+ () => [
374
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
375
+ { no: 2, name: "expiresAt", kind: "message", T: BlueLocalTimestamp },
376
+ ],
377
+ );
378
+
379
+ /**
380
+ * @generated from message BlueBleManufacturerInfo
381
+ */
382
+ export const BlueBleManufacturerInfo = proto2.makeMessageType(
383
+ "BlueBleManufacturerInfo",
384
+ () => [
385
+ { no: 1, name: "hardwareType", kind: "enum", T: proto2.getEnumType(BlueHardwareType) },
386
+ { no: 2, name: "batteryLevel", kind: "enum", T: proto2.getEnumType(BlueBatteryLevel) },
387
+ { no: 3, name: "applicationVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
388
+ { no: 4, name: "localMidnightTimeEpoch", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
389
+ ],
390
+ );
391
+
392
+ /**
393
+ * @generated from message BlueBleAdvertisementInfo
394
+ */
395
+ export const BlueBleAdvertisementInfo = proto2.makeMessageType(
396
+ "BlueBleAdvertisementInfo",
397
+ () => [
398
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
399
+ { no: 2, name: "txPower1Meter", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
400
+ { no: 3, name: "isIBeacon", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
401
+ { no: 4, name: "mfInfo", kind: "message", T: BlueBleManufacturerInfo },
402
+ ],
403
+ );
404
+
405
+ /**
406
+ * @generated from message BlueEvent
407
+ */
408
+ export const BlueEvent = proto2.makeMessageType(
409
+ "BlueEvent",
410
+ () => [
411
+ { no: 1, name: "sequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
412
+ { no: 2, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
413
+ { no: 4, name: "eventId", kind: "enum", T: proto2.getEnumType(BlueEventId) },
414
+ { no: 5, name: "eventInfo", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
415
+ { no: 6, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
416
+ { no: 7, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
417
+ ],
418
+ );
419
+
420
+ /**
421
+ * @generated from message BlueSPHandshake
422
+ */
423
+ export const BlueSPHandshake = proto2.makeMessageType(
424
+ "BlueSPHandshake",
425
+ () => [
426
+ { no: 1, name: "transponderSalt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
427
+ ],
428
+ );
429
+
430
+ /**
431
+ * @generated from message BlueSPHandshakeReply
432
+ */
433
+ export const BlueSPHandshakeReply = proto2.makeMessageType(
434
+ "BlueSPHandshakeReply",
435
+ () => [
436
+ { no: 1, name: "terminalSalt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
437
+ { no: 2, name: "terminalSignature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
438
+ ],
439
+ );
440
+
441
+ /**
442
+ * @generated from message BlueSPDataCommand
443
+ */
444
+ export const BlueSPDataCommand = proto2.makeMessageType(
445
+ "BlueSPDataCommand",
446
+ () => [
447
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
448
+ { no: 2, name: "validityStart", kind: "message", T: BlueLocalTimestamp },
449
+ { no: 3, name: "validityEnd", kind: "message", T: BlueLocalTimestamp },
450
+ { no: 4, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */ },
451
+ { no: 5, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
452
+ ],
453
+ );
454
+
455
+ /**
456
+ * @generated from message BlueSPData
457
+ */
458
+ export const BlueSPData = proto2.makeMessageType(
459
+ "BlueSPData",
460
+ () => [
461
+ { no: 1, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
462
+ { no: 2, name: "command", kind: "message", T: BlueSPDataCommand, oneof: "payload" },
463
+ { no: 3, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
464
+ { no: 4, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
465
+ ],
466
+ );
467
+
468
+ /**
469
+ * @generated from message BlueSPResult
470
+ */
471
+ export const BlueSPResult = proto2.makeMessageType(
472
+ "BlueSPResult",
473
+ () => [
474
+ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
475
+ ],
476
+ );
477
+
478
+ /**
479
+ * @generated from message BlueOssAccessResult
480
+ */
481
+ export const BlueOssAccessResult = proto2.makeMessageType(
482
+ "BlueOssAccessResult",
483
+ () => [
484
+ { no: 1, name: "accessGranted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
485
+ { no: 2, name: "accessType", kind: "enum", T: proto2.getEnumType(BlueAccessType) },
486
+ { no: 3, name: "scheduleEndTime", kind: "message", T: BlueLocalTimestamp },
487
+ { no: 4, name: "scheduleMissmatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
488
+ ],
489
+ );
490
+
491
+ /**
492
+ * @generated from message BlueOssSidVersion
493
+ */
494
+ export const BlueOssSidVersion = proto2.makeMessageType(
495
+ "BlueOssSidVersion",
496
+ () => [
497
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
498
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 0 },
499
+ ],
500
+ );
501
+
502
+ /**
503
+ * @generated from message BlueOssSidCredentialTypeOss
504
+ */
505
+ export const BlueOssSidCredentialTypeOss = proto2.makeMessageType(
506
+ "BlueOssSidCredentialTypeOss",
507
+ () => [
508
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
509
+ ],
510
+ );
511
+
512
+ /**
513
+ * @generated from message BlueOssSidCredentialTypeProprietary
514
+ */
515
+ export const BlueOssSidCredentialTypeProprietary = proto2.makeMessageType(
516
+ "BlueOssSidCredentialTypeProprietary",
517
+ () => [
518
+ { no: 1, name: "mfgCode", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
519
+ ],
520
+ );
521
+
522
+ /**
523
+ * @generated from message BlueOssSidCredentialType
524
+ */
525
+ export const BlueOssSidCredentialType = proto2.makeMessageType(
526
+ "BlueOssSidCredentialType",
527
+ () => [
528
+ { no: 1, name: "typeSource", kind: "enum", T: proto2.getEnumType(BlueOssCredentialTypeSource) },
529
+ { no: 2, name: "oss", kind: "message", T: BlueOssSidCredentialTypeOss, opt: true },
530
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSidCredentialTypeProprietary, opt: true },
531
+ ],
532
+ );
533
+
534
+ /**
535
+ * @generated from message BlueOssSidFileInfo
536
+ */
537
+ export const BlueOssSidFileInfo = proto2.makeMessageType(
538
+ "BlueOssSidFileInfo",
539
+ () => [
540
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
541
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
542
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
543
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId },
544
+ ],
545
+ );
546
+
547
+ /**
548
+ * @generated from message BlueOssSidConfiguration
549
+ */
550
+ export const BlueOssSidConfiguration = proto2.makeMessageType(
551
+ "BlueOssSidConfiguration",
552
+ () => [
553
+ { no: 1, name: "info", kind: "message", T: BlueOssSidFileInfo },
554
+ ],
555
+ );
556
+
557
+ /**
558
+ * @generated from message BlueOssSidStorageProfile
559
+ */
560
+ export const BlueOssSidStorageProfile = proto2.makeMessageType(
561
+ "BlueOssSidStorageProfile",
562
+ () => [
563
+ { no: 1, name: "dataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
564
+ { no: 2, name: "fileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
565
+ { no: 3, name: "infoDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
566
+ { no: 4, name: "infoFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
567
+ ],
568
+ );
569
+
570
+ /**
571
+ * @generated from message BlueOssSidProvisioningConfiguration
572
+ */
573
+ export const BlueOssSidProvisioningConfiguration = proto2.makeMessageType(
574
+ "BlueOssSidProvisioningConfiguration",
575
+ () => [
576
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
577
+ ],
578
+ );
579
+
580
+ /**
581
+ * @generated from message BlueOssSidProvisioningData
582
+ */
583
+ export const BlueOssSidProvisioningData = proto2.makeMessageType(
584
+ "BlueOssSidProvisioningData",
585
+ () => [
586
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSidProvisioningConfiguration, opt: true },
587
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
588
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId },
589
+ ],
590
+ );
591
+
592
+ /**
593
+ * @generated from message BlueOssSidMobile
594
+ */
595
+ export const BlueOssSidMobile = proto2.makeMessageType(
596
+ "BlueOssSidMobile",
597
+ () => [
598
+ { no: 1, name: "infoFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
599
+ ],
600
+ );
601
+
602
+ /**
603
+ * @generated from message BlueOssSidMobileProvisioningConfiguration
604
+ */
605
+ export const BlueOssSidMobileProvisioningConfiguration = proto2.makeMessageType(
606
+ "BlueOssSidMobileProvisioningConfiguration",
607
+ () => [
608
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
609
+ ],
610
+ );
611
+
612
+ /**
613
+ * Default configuration from spec
614
+ *
615
+ * @generated from message BlueOssSidMifareDesfireProvisioningConfiguration
616
+ */
617
+ export const BlueOssSidMifareDesfireProvisioningConfiguration = proto2.makeMessageType(
618
+ "BlueOssSidMifareDesfireProvisioningConfiguration",
619
+ () => [
620
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
621
+ ],
622
+ );
623
+
624
+ /**
625
+ * Demo keys from spec
626
+ *
627
+ * @generated from message BlueOssSidMifareDesfireConfiguration
628
+ */
629
+ export const BlueOssSidMifareDesfireConfiguration = proto2.makeMessageType(
630
+ "BlueOssSidMifareDesfireConfiguration",
631
+ () => [
632
+ { no: 1, name: "piccMasterKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0xAA]) },
633
+ { no: 2, name: "appMasterKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x00, 0x11, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF]) },
634
+ { no: 3, name: "projectKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA, 0x99, 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x11, 0x00]) },
635
+ { no: 4, name: "aid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076801 },
636
+ ],
637
+ );
638
+
639
+ /**
640
+ * @generated from message BlueOssSidSettings
641
+ */
642
+ export const BlueOssSidSettings = proto2.makeMessageType(
643
+ "BlueOssSidSettings",
644
+ () => [
645
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSidMifareDesfireConfiguration, opt: true },
646
+ ],
647
+ );
648
+
649
+ /**
650
+ * @generated from message BlueOssSoVersion
651
+ */
652
+ export const BlueOssSoVersion = proto2.makeMessageType(
653
+ "BlueOssSoVersion",
654
+ () => [
655
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
656
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
657
+ ],
658
+ );
659
+
660
+ /**
661
+ * @generated from message BlueOssSoCredentialTypeOss
662
+ */
663
+ export const BlueOssSoCredentialTypeOss = proto2.makeMessageType(
664
+ "BlueOssSoCredentialTypeOss",
665
+ () => [
666
+ { no: 1, name: "credential", kind: "enum", T: proto2.getEnumType(BlueOssSoCredentialTypeOssCredential) },
667
+ ],
668
+ );
669
+
670
+ /**
671
+ * @generated from message BlueOssSoCredentialTypeProprietary
672
+ */
673
+ export const BlueOssSoCredentialTypeProprietary = proto2.makeMessageType(
674
+ "BlueOssSoCredentialTypeProprietary",
675
+ () => [
676
+ { no: 1, name: "mfgCode", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
677
+ ],
678
+ );
679
+
680
+ /**
681
+ * @generated from message BlueOssSoCredentialType
682
+ */
683
+ export const BlueOssSoCredentialType = proto2.makeMessageType(
684
+ "BlueOssSoCredentialType",
685
+ () => [
686
+ { no: 1, name: "typeSource", kind: "enum", T: proto2.getEnumType(BlueOssCredentialTypeSource) },
687
+ { no: 2, name: "oss", kind: "message", T: BlueOssSoCredentialTypeOss, opt: true },
688
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSoCredentialTypeProprietary, opt: true },
689
+ ],
690
+ );
691
+
692
+ /**
693
+ * @generated from message BlueOssSoDTScheduleDay
694
+ */
695
+ export const BlueOssSoDTScheduleDay = proto2.makeMessageType(
696
+ "BlueOssSoDTScheduleDay",
697
+ () => [
698
+ { no: 1, name: "weekdays", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true },
699
+ { no: 8, name: "timePeriods", kind: "message", T: BlueLocalTimeperiod, repeated: true },
700
+ ],
701
+ );
702
+
703
+ /**
704
+ * @generated from message BlueOssSoDTSchedule
705
+ */
706
+ export const BlueOssSoDTSchedule = proto2.makeMessageType(
707
+ "BlueOssSoDTSchedule",
708
+ () => [
709
+ { no: 1, name: "days", kind: "message", T: BlueOssSoDTScheduleDay, repeated: true },
710
+ ],
711
+ );
712
+
713
+ /**
714
+ * @generated from message BlueOssSoDoorInfo
715
+ */
716
+ export const BlueOssSoDoorInfo = proto2.makeMessageType(
717
+ "BlueOssSoDoorInfo",
718
+ () => [
719
+ { no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
720
+ { no: 2, name: "accessBy", kind: "enum", T: proto2.getEnumType(BlueOssSoDoorInfoAccessBy) },
721
+ { no: 3, name: "dtScheduleNumber", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
722
+ { no: 4, name: "accessType", kind: "enum", T: proto2.getEnumType(BlueAccessType) },
723
+ ],
724
+ );
725
+
726
+ /**
727
+ * @generated from message BlueOssSoEvent
728
+ */
729
+ export const BlueOssSoEvent = proto2.makeMessageType(
730
+ "BlueOssSoEvent",
731
+ () => [
732
+ { no: 1, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
733
+ { no: 2, name: "doorId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
734
+ { no: 3, name: "eventId", kind: "enum", T: proto2.getEnumType(BlueEventId) },
735
+ { no: 4, name: "eventInfo", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
736
+ ],
737
+ );
738
+
739
+ /**
740
+ * @generated from message BlueOssSoExtFeature
741
+ */
742
+ export const BlueOssSoExtFeature = proto2.makeMessageType(
743
+ "BlueOssSoExtFeature",
744
+ () => [
745
+ { no: 1, name: "tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
746
+ { no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
747
+ ],
748
+ );
749
+
750
+ /**
751
+ * @generated from message BlueOssSoExtFeature_ValidityStart
752
+ */
753
+ export const BlueOssSoExtFeature_ValidityStart = proto2.makeMessageType(
754
+ "BlueOssSoExtFeature_ValidityStart",
755
+ () => [
756
+ { no: 1, name: "isValid", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
757
+ { no: 2, name: "validityStartTime", kind: "message", T: BlueLocalTimestamp },
758
+ ],
759
+ );
760
+
761
+ /**
762
+ * @generated from message BlueOssSoFileInfo
763
+ */
764
+ export const BlueOssSoFileInfo = proto2.makeMessageType(
765
+ "BlueOssSoFileInfo",
766
+ () => [
767
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
768
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
769
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
770
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId },
771
+ { no: 5, name: "maxEventEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
772
+ { no: 6, name: "maxBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
773
+ ],
774
+ );
775
+
776
+ /**
777
+ * @generated from message BlueOssSoFileData
778
+ */
779
+ export const BlueOssSoFileData = proto2.makeMessageType(
780
+ "BlueOssSoFileData",
781
+ () => [
782
+ { no: 1, name: "validity", kind: "message", T: BlueLocalTimestamp },
783
+ { no: 2, name: "siteId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
784
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
785
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
786
+ { no: 5, name: "hasExtensions", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
787
+ { no: 6, name: "doorInfoEntries", kind: "message", T: BlueOssSoDoorInfo, repeated: true },
788
+ { no: 7, name: "dtSchedules", kind: "message", T: BlueOssSoDTSchedule, repeated: true },
789
+ ],
790
+ );
791
+
792
+ /**
793
+ * @generated from message BlueOssSoFileEvent
794
+ */
795
+ export const BlueOssSoFileEvent = proto2.makeMessageType(
796
+ "BlueOssSoFileEvent",
797
+ () => [
798
+ { no: 1, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
799
+ { no: 2, name: "events", kind: "message", T: BlueOssSoEvent, repeated: true },
800
+ ],
801
+ );
802
+
803
+ /**
804
+ * @generated from message BlueOssSoFileBlacklist
805
+ */
806
+ export const BlueOssSoFileBlacklist = proto2.makeMessageType(
807
+ "BlueOssSoFileBlacklist",
808
+ () => [
809
+ { no: 1, name: "entries", kind: "message", T: BlueBlacklistEntry, repeated: true },
810
+ ],
811
+ );
812
+
813
+ /**
814
+ * @generated from message BlueOssSoFileCustomerExtensions
815
+ */
816
+ export const BlueOssSoFileCustomerExtensions = proto2.makeMessageType(
817
+ "BlueOssSoFileCustomerExtensions",
818
+ () => [
819
+ { no: 1, name: "extFeatures", kind: "message", T: BlueOssSoExtFeature, repeated: true },
820
+ { no: 2, name: "validityStart", kind: "message", T: BlueOssSoExtFeature_ValidityStart, opt: true },
821
+ ],
822
+ );
823
+
824
+ /**
825
+ * @generated from message BlueOssSoConfiguration
826
+ */
827
+ export const BlueOssSoConfiguration = proto2.makeMessageType(
828
+ "BlueOssSoConfiguration",
829
+ () => [
830
+ { no: 1, name: "info", kind: "message", T: BlueOssSoFileInfo, opt: true },
831
+ { no: 2, name: "data", kind: "message", T: BlueOssSoFileData, opt: true },
832
+ { no: 3, name: "event", kind: "message", T: BlueOssSoFileEvent, opt: true },
833
+ { no: 4, name: "blacklist", kind: "message", T: BlueOssSoFileBlacklist, opt: true },
834
+ { no: 5, name: "customerExtensions", kind: "message", T: BlueOssSoFileCustomerExtensions, opt: true },
835
+ ],
836
+ );
837
+
838
+ /**
839
+ * @generated from message BlueOssSoStorageProfile
840
+ */
841
+ export const BlueOssSoStorageProfile = proto2.makeMessageType(
842
+ "BlueOssSoStorageProfile",
843
+ () => [
844
+ { no: 1, name: "dataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
845
+ { no: 2, name: "fileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
846
+ { no: 3, name: "infoDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
847
+ { no: 4, name: "infoFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
848
+ { no: 5, name: "dataDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
849
+ { no: 6, name: "dataFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
850
+ { no: 7, name: "eventDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
851
+ { no: 8, name: "eventFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
852
+ { no: 9, name: "blacklistDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
853
+ { no: 10, name: "blacklistFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
854
+ { no: 11, name: "customerExtensionsDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
855
+ { no: 12, name: "customerExtensionsFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
856
+ ],
857
+ );
858
+
859
+ /**
860
+ * @generated from message BlueOssSoProvisioningConfiguration
861
+ */
862
+ export const BlueOssSoProvisioningConfiguration = proto2.makeMessageType(
863
+ "BlueOssSoProvisioningConfiguration",
864
+ () => [
865
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
866
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
867
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
868
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
869
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
870
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
871
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
872
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
873
+ ],
874
+ );
875
+
876
+ /**
877
+ * @generated from message BlueOssSoProvisioningData
878
+ */
879
+ export const BlueOssSoProvisioningData = proto2.makeMessageType(
880
+ "BlueOssSoProvisioningData",
881
+ () => [
882
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSoProvisioningConfiguration, opt: true },
883
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
884
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId },
885
+ { no: 4, name: "siteId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
886
+ ],
887
+ );
888
+
889
+ /**
890
+ * @generated from message BlueOssSoMobile
891
+ */
892
+ export const BlueOssSoMobile = proto2.makeMessageType(
893
+ "BlueOssSoMobile",
894
+ () => [
895
+ { no: 1, name: "infoFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
896
+ { no: 2, name: "dataFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
897
+ { no: 3, name: "blacklistFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
898
+ { no: 4, name: "customerExtensionsFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
899
+ ],
900
+ );
901
+
902
+ /**
903
+ * @generated from message BlueOssSoMobileProvisioningConfiguration
904
+ */
905
+ export const BlueOssSoMobileProvisioningConfiguration = proto2.makeMessageType(
906
+ "BlueOssSoMobileProvisioningConfiguration",
907
+ () => [
908
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
909
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
910
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
911
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
912
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 0 },
913
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
914
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
915
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 32 },
916
+ ],
917
+ );
918
+
919
+ /**
920
+ * Default configuration from spec plus customer extensions spacing
921
+ *
922
+ * @generated from message BlueOssSoMifareDesfireProvisioningConfiguration
923
+ */
924
+ export const BlueOssSoMifareDesfireProvisioningConfiguration = proto2.makeMessageType(
925
+ "BlueOssSoMifareDesfireProvisioningConfiguration",
926
+ () => [
927
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 70 },
928
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
929
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
930
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 2 },
931
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
932
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01]) },
933
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 3 },
934
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
935
+ ],
936
+ );
937
+
938
+ /**
939
+ * Demo keys from spec
940
+ *
941
+ * @generated from message BlueOssSoMifareDesfireConfiguration
942
+ */
943
+ export const BlueOssSoMifareDesfireConfiguration = proto2.makeMessageType(
944
+ "BlueOssSoMifareDesfireConfiguration",
945
+ () => [
946
+ { no: 1, name: "piccMasterKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0xAA]) },
947
+ { no: 2, name: "appMasterKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F]) },
948
+ { no: 3, name: "projectKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F]) },
949
+ { no: 4, name: "aid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076800 },
950
+ ],
951
+ );
952
+
953
+ /**
954
+ * @generated from message BlueOssSoSettings
955
+ */
956
+ export const BlueOssSoSettings = proto2.makeMessageType(
957
+ "BlueOssSoSettings",
958
+ () => [
959
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSoMifareDesfireConfiguration, opt: true },
960
+ ],
961
+ );
962
+
963
+ /**
964
+ * @generated from message _BlueTestEncodeDecode
965
+ */
966
+ export const _BlueTestEncodeDecode = proto2.makeMessageType(
967
+ "_BlueTestEncodeDecode",
968
+ () => [
969
+ { no: 1, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
970
+ { no: 2, name: "hardware_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
971
+ { no: 3, name: "hardware_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
972
+ { no: 4, name: "application_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
973
+ ],
974
+ );
975
+