@blueid/access-cli 0.19.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,976 @@
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: 8 /* ScalarType.BOOL */, repeated: true },
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
+ { no: 5, name: "isFactory", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
390
+ ],
391
+ );
392
+
393
+ /**
394
+ * @generated from message BlueBleAdvertisementInfo
395
+ */
396
+ export const BlueBleAdvertisementInfo = proto2.makeMessageType(
397
+ "BlueBleAdvertisementInfo",
398
+ () => [
399
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
+ { no: 2, name: "txPower1Meter", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
401
+ { no: 3, name: "isIBeacon", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
402
+ { no: 4, name: "mfInfo", kind: "message", T: BlueBleManufacturerInfo },
403
+ ],
404
+ );
405
+
406
+ /**
407
+ * @generated from message BlueEvent
408
+ */
409
+ export const BlueEvent = proto2.makeMessageType(
410
+ "BlueEvent",
411
+ () => [
412
+ { no: 1, name: "sequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
413
+ { no: 2, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
414
+ { no: 4, name: "eventId", kind: "enum", T: proto2.getEnumType(BlueEventId) },
415
+ { no: 5, name: "eventInfo", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
416
+ { no: 6, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
417
+ { no: 7, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
418
+ ],
419
+ );
420
+
421
+ /**
422
+ * @generated from message BlueSPHandshake
423
+ */
424
+ export const BlueSPHandshake = proto2.makeMessageType(
425
+ "BlueSPHandshake",
426
+ () => [
427
+ { no: 1, name: "transponderSalt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
428
+ ],
429
+ );
430
+
431
+ /**
432
+ * @generated from message BlueSPHandshakeReply
433
+ */
434
+ export const BlueSPHandshakeReply = proto2.makeMessageType(
435
+ "BlueSPHandshakeReply",
436
+ () => [
437
+ { no: 1, name: "terminalSalt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
438
+ { no: 2, name: "terminalSignature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
439
+ ],
440
+ );
441
+
442
+ /**
443
+ * @generated from message BlueSPTokenCommand
444
+ */
445
+ export const BlueSPTokenCommand = proto2.makeMessageType(
446
+ "BlueSPTokenCommand",
447
+ () => [
448
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
449
+ { no: 2, name: "validityStart", kind: "message", T: BlueLocalTimestamp },
450
+ { no: 3, name: "validityEnd", kind: "message", T: BlueLocalTimestamp },
451
+ { no: 4, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */ },
452
+ { no: 5, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
453
+ ],
454
+ );
455
+
456
+ /**
457
+ * @generated from message BlueSPToken
458
+ */
459
+ export const BlueSPToken = proto2.makeMessageType(
460
+ "BlueSPToken",
461
+ () => [
462
+ { no: 1, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
463
+ { no: 2, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
464
+ { no: 3, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
465
+ { no: 4, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
466
+ ],
467
+ );
468
+
469
+ /**
470
+ * @generated from message BlueSPResult
471
+ */
472
+ export const BlueSPResult = proto2.makeMessageType(
473
+ "BlueSPResult",
474
+ () => [
475
+ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
476
+ ],
477
+ );
478
+
479
+ /**
480
+ * @generated from message BlueOssAccessResult
481
+ */
482
+ export const BlueOssAccessResult = proto2.makeMessageType(
483
+ "BlueOssAccessResult",
484
+ () => [
485
+ { no: 1, name: "accessGranted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
486
+ { no: 2, name: "accessType", kind: "enum", T: proto2.getEnumType(BlueAccessType) },
487
+ { no: 3, name: "scheduleEndTime", kind: "message", T: BlueLocalTimestamp },
488
+ { no: 4, name: "scheduleMissmatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
489
+ ],
490
+ );
491
+
492
+ /**
493
+ * @generated from message BlueOssSidVersion
494
+ */
495
+ export const BlueOssSidVersion = proto2.makeMessageType(
496
+ "BlueOssSidVersion",
497
+ () => [
498
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
499
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 0 },
500
+ ],
501
+ );
502
+
503
+ /**
504
+ * @generated from message BlueOssSidCredentialTypeOss
505
+ */
506
+ export const BlueOssSidCredentialTypeOss = proto2.makeMessageType(
507
+ "BlueOssSidCredentialTypeOss",
508
+ () => [
509
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
510
+ ],
511
+ );
512
+
513
+ /**
514
+ * @generated from message BlueOssSidCredentialTypeProprietary
515
+ */
516
+ export const BlueOssSidCredentialTypeProprietary = proto2.makeMessageType(
517
+ "BlueOssSidCredentialTypeProprietary",
518
+ () => [
519
+ { no: 1, name: "mfgCode", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
520
+ ],
521
+ );
522
+
523
+ /**
524
+ * @generated from message BlueOssSidCredentialType
525
+ */
526
+ export const BlueOssSidCredentialType = proto2.makeMessageType(
527
+ "BlueOssSidCredentialType",
528
+ () => [
529
+ { no: 1, name: "typeSource", kind: "enum", T: proto2.getEnumType(BlueOssCredentialTypeSource) },
530
+ { no: 2, name: "oss", kind: "message", T: BlueOssSidCredentialTypeOss, opt: true },
531
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSidCredentialTypeProprietary, opt: true },
532
+ ],
533
+ );
534
+
535
+ /**
536
+ * @generated from message BlueOssSidFileInfo
537
+ */
538
+ export const BlueOssSidFileInfo = proto2.makeMessageType(
539
+ "BlueOssSidFileInfo",
540
+ () => [
541
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
542
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
543
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
544
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId },
545
+ ],
546
+ );
547
+
548
+ /**
549
+ * @generated from message BlueOssSidConfiguration
550
+ */
551
+ export const BlueOssSidConfiguration = proto2.makeMessageType(
552
+ "BlueOssSidConfiguration",
553
+ () => [
554
+ { no: 1, name: "info", kind: "message", T: BlueOssSidFileInfo },
555
+ ],
556
+ );
557
+
558
+ /**
559
+ * @generated from message BlueOssSidStorageProfile
560
+ */
561
+ export const BlueOssSidStorageProfile = proto2.makeMessageType(
562
+ "BlueOssSidStorageProfile",
563
+ () => [
564
+ { no: 1, name: "dataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
565
+ { no: 2, name: "fileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
566
+ { no: 3, name: "infoDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
567
+ { no: 4, name: "infoFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
568
+ ],
569
+ );
570
+
571
+ /**
572
+ * @generated from message BlueOssSidProvisioningConfiguration
573
+ */
574
+ export const BlueOssSidProvisioningConfiguration = proto2.makeMessageType(
575
+ "BlueOssSidProvisioningConfiguration",
576
+ () => [
577
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
578
+ ],
579
+ );
580
+
581
+ /**
582
+ * @generated from message BlueOssSidProvisioningData
583
+ */
584
+ export const BlueOssSidProvisioningData = proto2.makeMessageType(
585
+ "BlueOssSidProvisioningData",
586
+ () => [
587
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSidProvisioningConfiguration, opt: true },
588
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
589
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId },
590
+ ],
591
+ );
592
+
593
+ /**
594
+ * @generated from message BlueOssSidMobile
595
+ */
596
+ export const BlueOssSidMobile = proto2.makeMessageType(
597
+ "BlueOssSidMobile",
598
+ () => [
599
+ { no: 1, name: "infoFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
600
+ ],
601
+ );
602
+
603
+ /**
604
+ * @generated from message BlueOssSidMobileProvisioningConfiguration
605
+ */
606
+ export const BlueOssSidMobileProvisioningConfiguration = proto2.makeMessageType(
607
+ "BlueOssSidMobileProvisioningConfiguration",
608
+ () => [
609
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
610
+ ],
611
+ );
612
+
613
+ /**
614
+ * Default configuration from spec
615
+ *
616
+ * @generated from message BlueOssSidMifareDesfireProvisioningConfiguration
617
+ */
618
+ export const BlueOssSidMifareDesfireProvisioningConfiguration = proto2.makeMessageType(
619
+ "BlueOssSidMifareDesfireProvisioningConfiguration",
620
+ () => [
621
+ { no: 1, name: "notUsed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
622
+ ],
623
+ );
624
+
625
+ /**
626
+ * Demo keys from spec
627
+ *
628
+ * @generated from message BlueOssSidMifareDesfireConfiguration
629
+ */
630
+ export const BlueOssSidMifareDesfireConfiguration = proto2.makeMessageType(
631
+ "BlueOssSidMifareDesfireConfiguration",
632
+ () => [
633
+ { 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]) },
634
+ { 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]) },
635
+ { 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]) },
636
+ { no: 4, name: "aid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076801 },
637
+ ],
638
+ );
639
+
640
+ /**
641
+ * @generated from message BlueOssSidSettings
642
+ */
643
+ export const BlueOssSidSettings = proto2.makeMessageType(
644
+ "BlueOssSidSettings",
645
+ () => [
646
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSidMifareDesfireConfiguration, opt: true },
647
+ ],
648
+ );
649
+
650
+ /**
651
+ * @generated from message BlueOssSoVersion
652
+ */
653
+ export const BlueOssSoVersion = proto2.makeMessageType(
654
+ "BlueOssSoVersion",
655
+ () => [
656
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
657
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 1 },
658
+ ],
659
+ );
660
+
661
+ /**
662
+ * @generated from message BlueOssSoCredentialTypeOss
663
+ */
664
+ export const BlueOssSoCredentialTypeOss = proto2.makeMessageType(
665
+ "BlueOssSoCredentialTypeOss",
666
+ () => [
667
+ { no: 1, name: "credential", kind: "enum", T: proto2.getEnumType(BlueOssSoCredentialTypeOssCredential) },
668
+ ],
669
+ );
670
+
671
+ /**
672
+ * @generated from message BlueOssSoCredentialTypeProprietary
673
+ */
674
+ export const BlueOssSoCredentialTypeProprietary = proto2.makeMessageType(
675
+ "BlueOssSoCredentialTypeProprietary",
676
+ () => [
677
+ { no: 1, name: "mfgCode", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
678
+ ],
679
+ );
680
+
681
+ /**
682
+ * @generated from message BlueOssSoCredentialType
683
+ */
684
+ export const BlueOssSoCredentialType = proto2.makeMessageType(
685
+ "BlueOssSoCredentialType",
686
+ () => [
687
+ { no: 1, name: "typeSource", kind: "enum", T: proto2.getEnumType(BlueOssCredentialTypeSource) },
688
+ { no: 2, name: "oss", kind: "message", T: BlueOssSoCredentialTypeOss, opt: true },
689
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSoCredentialTypeProprietary, opt: true },
690
+ ],
691
+ );
692
+
693
+ /**
694
+ * @generated from message BlueOssSoDTScheduleDay
695
+ */
696
+ export const BlueOssSoDTScheduleDay = proto2.makeMessageType(
697
+ "BlueOssSoDTScheduleDay",
698
+ () => [
699
+ { no: 3, name: "weekdays", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true },
700
+ { no: 8, name: "timePeriods", kind: "message", T: BlueLocalTimeperiod, repeated: true },
701
+ ],
702
+ );
703
+
704
+ /**
705
+ * @generated from message BlueOssSoDTSchedule
706
+ */
707
+ export const BlueOssSoDTSchedule = proto2.makeMessageType(
708
+ "BlueOssSoDTSchedule",
709
+ () => [
710
+ { no: 1, name: "days", kind: "message", T: BlueOssSoDTScheduleDay, repeated: true },
711
+ ],
712
+ );
713
+
714
+ /**
715
+ * @generated from message BlueOssSoDoorInfo
716
+ */
717
+ export const BlueOssSoDoorInfo = proto2.makeMessageType(
718
+ "BlueOssSoDoorInfo",
719
+ () => [
720
+ { no: 1, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
721
+ { no: 2, name: "accessBy", kind: "enum", T: proto2.getEnumType(BlueOssSoDoorInfoAccessBy) },
722
+ { no: 3, name: "dtScheduleNumber", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
723
+ { no: 4, name: "accessType", kind: "enum", T: proto2.getEnumType(BlueAccessType) },
724
+ ],
725
+ );
726
+
727
+ /**
728
+ * @generated from message BlueOssSoEvent
729
+ */
730
+ export const BlueOssSoEvent = proto2.makeMessageType(
731
+ "BlueOssSoEvent",
732
+ () => [
733
+ { no: 1, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
734
+ { no: 2, name: "doorId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
735
+ { no: 3, name: "eventId", kind: "enum", T: proto2.getEnumType(BlueEventId) },
736
+ { no: 4, name: "eventInfo", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
737
+ ],
738
+ );
739
+
740
+ /**
741
+ * @generated from message BlueOssSoExtFeature
742
+ */
743
+ export const BlueOssSoExtFeature = proto2.makeMessageType(
744
+ "BlueOssSoExtFeature",
745
+ () => [
746
+ { no: 1, name: "tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
747
+ { no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
748
+ ],
749
+ );
750
+
751
+ /**
752
+ * @generated from message BlueOssSoExtFeature_ValidityStart
753
+ */
754
+ export const BlueOssSoExtFeature_ValidityStart = proto2.makeMessageType(
755
+ "BlueOssSoExtFeature_ValidityStart",
756
+ () => [
757
+ { no: 1, name: "isValid", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
758
+ { no: 2, name: "validityStartTime", kind: "message", T: BlueLocalTimestamp },
759
+ ],
760
+ );
761
+
762
+ /**
763
+ * @generated from message BlueOssSoFileInfo
764
+ */
765
+ export const BlueOssSoFileInfo = proto2.makeMessageType(
766
+ "BlueOssSoFileInfo",
767
+ () => [
768
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
769
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
770
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
771
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId },
772
+ { no: 5, name: "maxEventEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
773
+ { no: 6, name: "maxBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
774
+ ],
775
+ );
776
+
777
+ /**
778
+ * @generated from message BlueOssSoFileData
779
+ */
780
+ export const BlueOssSoFileData = proto2.makeMessageType(
781
+ "BlueOssSoFileData",
782
+ () => [
783
+ { no: 1, name: "validity", kind: "message", T: BlueLocalTimestamp },
784
+ { no: 2, name: "siteId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
785
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
786
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
787
+ { no: 5, name: "hasExtensions", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
788
+ { no: 6, name: "doorInfoEntries", kind: "message", T: BlueOssSoDoorInfo, repeated: true },
789
+ { no: 7, name: "dtSchedules", kind: "message", T: BlueOssSoDTSchedule, repeated: true },
790
+ ],
791
+ );
792
+
793
+ /**
794
+ * @generated from message BlueOssSoFileEvent
795
+ */
796
+ export const BlueOssSoFileEvent = proto2.makeMessageType(
797
+ "BlueOssSoFileEvent",
798
+ () => [
799
+ { no: 1, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
800
+ { no: 2, name: "events", kind: "message", T: BlueOssSoEvent, repeated: true },
801
+ ],
802
+ );
803
+
804
+ /**
805
+ * @generated from message BlueOssSoFileBlacklist
806
+ */
807
+ export const BlueOssSoFileBlacklist = proto2.makeMessageType(
808
+ "BlueOssSoFileBlacklist",
809
+ () => [
810
+ { no: 1, name: "entries", kind: "message", T: BlueBlacklistEntry, repeated: true },
811
+ ],
812
+ );
813
+
814
+ /**
815
+ * @generated from message BlueOssSoFileCustomerExtensions
816
+ */
817
+ export const BlueOssSoFileCustomerExtensions = proto2.makeMessageType(
818
+ "BlueOssSoFileCustomerExtensions",
819
+ () => [
820
+ { no: 1, name: "extFeatures", kind: "message", T: BlueOssSoExtFeature, repeated: true },
821
+ { no: 2, name: "validityStart", kind: "message", T: BlueOssSoExtFeature_ValidityStart, opt: true },
822
+ ],
823
+ );
824
+
825
+ /**
826
+ * @generated from message BlueOssSoConfiguration
827
+ */
828
+ export const BlueOssSoConfiguration = proto2.makeMessageType(
829
+ "BlueOssSoConfiguration",
830
+ () => [
831
+ { no: 1, name: "info", kind: "message", T: BlueOssSoFileInfo, opt: true },
832
+ { no: 2, name: "data", kind: "message", T: BlueOssSoFileData, opt: true },
833
+ { no: 3, name: "event", kind: "message", T: BlueOssSoFileEvent, opt: true },
834
+ { no: 4, name: "blacklist", kind: "message", T: BlueOssSoFileBlacklist, opt: true },
835
+ { no: 5, name: "customerExtensions", kind: "message", T: BlueOssSoFileCustomerExtensions, opt: true },
836
+ ],
837
+ );
838
+
839
+ /**
840
+ * @generated from message BlueOssSoStorageProfile
841
+ */
842
+ export const BlueOssSoStorageProfile = proto2.makeMessageType(
843
+ "BlueOssSoStorageProfile",
844
+ () => [
845
+ { no: 1, name: "dataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
846
+ { no: 2, name: "fileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
847
+ { no: 3, name: "infoDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
848
+ { no: 4, name: "infoFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
849
+ { no: 5, name: "dataDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
850
+ { no: 6, name: "dataFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
851
+ { no: 7, name: "eventDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
852
+ { no: 8, name: "eventFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
853
+ { no: 9, name: "blacklistDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
854
+ { no: 10, name: "blacklistFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
855
+ { no: 11, name: "customerExtensionsDataLength", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
856
+ { no: 12, name: "customerExtensionsFileSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
857
+ ],
858
+ );
859
+
860
+ /**
861
+ * @generated from message BlueOssSoProvisioningConfiguration
862
+ */
863
+ export const BlueOssSoProvisioningConfiguration = proto2.makeMessageType(
864
+ "BlueOssSoProvisioningConfiguration",
865
+ () => [
866
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
867
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
868
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
869
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
870
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
871
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
872
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
873
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
874
+ ],
875
+ );
876
+
877
+ /**
878
+ * @generated from message BlueOssSoProvisioningData
879
+ */
880
+ export const BlueOssSoProvisioningData = proto2.makeMessageType(
881
+ "BlueOssSoProvisioningData",
882
+ () => [
883
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSoProvisioningConfiguration, opt: true },
884
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
885
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId },
886
+ { no: 4, name: "siteId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
887
+ ],
888
+ );
889
+
890
+ /**
891
+ * @generated from message BlueOssSoMobile
892
+ */
893
+ export const BlueOssSoMobile = proto2.makeMessageType(
894
+ "BlueOssSoMobile",
895
+ () => [
896
+ { no: 1, name: "infoFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
897
+ { no: 2, name: "dataFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
898
+ { no: 3, name: "blacklistFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
899
+ { no: 4, name: "customerExtensionsFile", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
900
+ ],
901
+ );
902
+
903
+ /**
904
+ * @generated from message BlueOssSoMobileProvisioningConfiguration
905
+ */
906
+ export const BlueOssSoMobileProvisioningConfiguration = proto2.makeMessageType(
907
+ "BlueOssSoMobileProvisioningConfiguration",
908
+ () => [
909
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
910
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
911
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
912
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
913
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 0 },
914
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
915
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
916
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 32 },
917
+ ],
918
+ );
919
+
920
+ /**
921
+ * Default configuration from spec plus customer extensions spacing
922
+ *
923
+ * @generated from message BlueOssSoMifareDesfireProvisioningConfiguration
924
+ */
925
+ export const BlueOssSoMifareDesfireProvisioningConfiguration = proto2.makeMessageType(
926
+ "BlueOssSoMifareDesfireProvisioningConfiguration",
927
+ () => [
928
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 70 },
929
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 1 },
930
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 4 },
931
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 2 },
932
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
933
+ { 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]) },
934
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 3 },
935
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16 },
936
+ ],
937
+ );
938
+
939
+ /**
940
+ * Demo keys from spec
941
+ *
942
+ * @generated from message BlueOssSoMifareDesfireConfiguration
943
+ */
944
+ export const BlueOssSoMifareDesfireConfiguration = proto2.makeMessageType(
945
+ "BlueOssSoMifareDesfireConfiguration",
946
+ () => [
947
+ { 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]) },
948
+ { 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]) },
949
+ { 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]) },
950
+ { no: 4, name: "aid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076800 },
951
+ ],
952
+ );
953
+
954
+ /**
955
+ * @generated from message BlueOssSoSettings
956
+ */
957
+ export const BlueOssSoSettings = proto2.makeMessageType(
958
+ "BlueOssSoSettings",
959
+ () => [
960
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSoMifareDesfireConfiguration, opt: true },
961
+ ],
962
+ );
963
+
964
+ /**
965
+ * @generated from message _BlueTestEncodeDecode
966
+ */
967
+ export const _BlueTestEncodeDecode = proto2.makeMessageType(
968
+ "_BlueTestEncodeDecode",
969
+ () => [
970
+ { no: 1, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
971
+ { no: 2, name: "hardware_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
972
+ { no: 3, name: "hardware_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
973
+ { no: 4, name: "application_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
974
+ ],
975
+ );
976
+