@blueid/access-proto 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,1284 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var BlueCore_pb_exports = {};
19
+ __export(BlueCore_pb_exports, {
20
+ BlueAccessType: () => BlueAccessType,
21
+ BlueBatteryLevel: () => BlueBatteryLevel,
22
+ BlueBlacklistEntry: () => BlueBlacklistEntry,
23
+ BlueBleAdvertisementInfo: () => BlueBleAdvertisementInfo,
24
+ BlueBleManufacturerInfo: () => BlueBleManufacturerInfo,
25
+ BlueCredentialId: () => BlueCredentialId,
26
+ BlueEvent: () => BlueEvent,
27
+ BlueEventId: () => BlueEventId,
28
+ BlueEventInfoAccess: () => BlueEventInfoAccess,
29
+ BlueEventInfoSystem: () => BlueEventInfoSystem,
30
+ BlueHardwareType: () => BlueHardwareType,
31
+ BlueLocalTimeSchedule: () => BlueLocalTimeSchedule,
32
+ BlueLocalTimeperiod: () => BlueLocalTimeperiod,
33
+ BlueLocalTimestamp: () => BlueLocalTimestamp,
34
+ BlueOssAccessResult: () => BlueOssAccessResult,
35
+ BlueOssCredentialTypeSource: () => BlueOssCredentialTypeSource,
36
+ BlueOssSidConfiguration: () => BlueOssSidConfiguration,
37
+ BlueOssSidCredentialType: () => BlueOssSidCredentialType,
38
+ BlueOssSidCredentialTypeOss: () => BlueOssSidCredentialTypeOss,
39
+ BlueOssSidCredentialTypeProprietary: () => BlueOssSidCredentialTypeProprietary,
40
+ BlueOssSidFileInfo: () => BlueOssSidFileInfo,
41
+ BlueOssSidMifareDesfireConfiguration: () => BlueOssSidMifareDesfireConfiguration,
42
+ BlueOssSidMifareDesfireProvisioningConfiguration: () => BlueOssSidMifareDesfireProvisioningConfiguration,
43
+ BlueOssSidMobile: () => BlueOssSidMobile,
44
+ BlueOssSidMobileProvisioningConfiguration: () => BlueOssSidMobileProvisioningConfiguration,
45
+ BlueOssSidProvisioningConfiguration: () => BlueOssSidProvisioningConfiguration,
46
+ BlueOssSidProvisioningData: () => BlueOssSidProvisioningData,
47
+ BlueOssSidSettings: () => BlueOssSidSettings,
48
+ BlueOssSidStorageProfile: () => BlueOssSidStorageProfile,
49
+ BlueOssSidVersion: () => BlueOssSidVersion,
50
+ BlueOssSoConfiguration: () => BlueOssSoConfiguration,
51
+ BlueOssSoCredentialType: () => BlueOssSoCredentialType,
52
+ BlueOssSoCredentialTypeOss: () => BlueOssSoCredentialTypeOss,
53
+ BlueOssSoCredentialTypeOssCredential: () => BlueOssSoCredentialTypeOssCredential,
54
+ BlueOssSoCredentialTypeProprietary: () => BlueOssSoCredentialTypeProprietary,
55
+ BlueOssSoDTSchedule: () => BlueOssSoDTSchedule,
56
+ BlueOssSoDTScheduleDay: () => BlueOssSoDTScheduleDay,
57
+ BlueOssSoDoorInfo: () => BlueOssSoDoorInfo,
58
+ BlueOssSoDoorInfoAccessBy: () => BlueOssSoDoorInfoAccessBy,
59
+ BlueOssSoEvent: () => BlueOssSoEvent,
60
+ BlueOssSoExtFeature: () => BlueOssSoExtFeature,
61
+ BlueOssSoExtFeature_ValidityStart: () => BlueOssSoExtFeature_ValidityStart,
62
+ BlueOssSoFileBlacklist: () => BlueOssSoFileBlacklist,
63
+ BlueOssSoFileCustomerExtensions: () => BlueOssSoFileCustomerExtensions,
64
+ BlueOssSoFileData: () => BlueOssSoFileData,
65
+ BlueOssSoFileEvent: () => BlueOssSoFileEvent,
66
+ BlueOssSoFileId: () => BlueOssSoFileId,
67
+ BlueOssSoFileInfo: () => BlueOssSoFileInfo,
68
+ BlueOssSoMifareDesfireConfiguration: () => BlueOssSoMifareDesfireConfiguration,
69
+ BlueOssSoMifareDesfireProvisioningConfiguration: () => BlueOssSoMifareDesfireProvisioningConfiguration,
70
+ BlueOssSoMobile: () => BlueOssSoMobile,
71
+ BlueOssSoMobileProvisioningConfiguration: () => BlueOssSoMobileProvisioningConfiguration,
72
+ BlueOssSoProvisioningConfiguration: () => BlueOssSoProvisioningConfiguration,
73
+ BlueOssSoProvisioningData: () => BlueOssSoProvisioningData,
74
+ BlueOssSoSettings: () => BlueOssSoSettings,
75
+ BlueOssSoStorageProfile: () => BlueOssSoStorageProfile,
76
+ BlueOssSoVersion: () => BlueOssSoVersion,
77
+ BlueReturnCode: () => BlueReturnCode,
78
+ BlueSPHandshake: () => BlueSPHandshake,
79
+ BlueSPHandshakeReply: () => BlueSPHandshakeReply,
80
+ BlueSPResult: () => BlueSPResult,
81
+ BlueSPToken: () => BlueSPToken,
82
+ BlueSPTokenCommand: () => BlueSPTokenCommand,
83
+ BlueSharedDemoData: () => BlueSharedDemoData,
84
+ BlueTimeUnit: () => BlueTimeUnit,
85
+ BlueTransponderType: () => BlueTransponderType,
86
+ BlueVersionInfo: () => BlueVersionInfo,
87
+ BlueWeekday: () => BlueWeekday,
88
+ _BlueTestEncodeDecode: () => _BlueTestEncodeDecode
89
+ });
90
+ module.exports = __toCommonJS(BlueCore_pb_exports);
91
+ var import_protobuf = require("@bufbuild/protobuf");
92
+ const BlueReturnCode = import_protobuf.proto2.makeEnum(
93
+ "BlueReturnCode",
94
+ [
95
+ { no: 0, name: "Ok" },
96
+ { no: 1, name: "Pending" },
97
+ { no: -1, name: "Error" },
98
+ { no: -3, name: "InvalidArguments" },
99
+ { no: -4, name: "InvalidState" },
100
+ { no: -5, name: "NotSupported" },
101
+ { no: -6, name: "EOF" },
102
+ { no: -7, name: "Overflow" },
103
+ { no: -8, name: "StorageFull" },
104
+ { no: -9, name: "InvalidCrc" },
105
+ { no: -10, name: "InvalidMemoryAddress" },
106
+ { no: -11, name: "VersionMissmatch" },
107
+ { no: -12, name: "InvalidSignature" },
108
+ { no: -13, name: "InvalidValidity" },
109
+ { no: -14, name: "CryptLibraryFailed" },
110
+ { no: -16, name: "NotFound" },
111
+ { no: -17, name: "AlreadyExists" },
112
+ { no: -18, name: "Timeout" },
113
+ { no: -19, name: "Disconnected" },
114
+ { no: -20, name: "PointerConversionFailed" },
115
+ { no: -21, name: "Unavailable" },
116
+ { no: -29, name: "Test" },
117
+ { no: -30, name: "EncodeDataWriteFailed" },
118
+ { no: -31, name: "EncodeDataWriteNothingWritten" },
119
+ { no: -32, name: "DecodeDataReadFailed" },
120
+ { no: -33, name: "BleInvalidCompanyIdentifier" },
121
+ { no: -34, name: "InvalidSystemConfig" },
122
+ { no: -35, name: "InvalidProvisioning" },
123
+ { no: -104, name: "InvalidTransponder" },
124
+ { no: -105, name: "BleServiceNotFound" },
125
+ { no: -106, name: "BleCharacteristicNotFound" },
126
+ { no: -107, name: "BleFailSetCharacteristicNotify" },
127
+ { no: -100, name: "NfcTransponderNoResult" },
128
+ { no: -101, name: "NfcTransponderCommandError" },
129
+ { no: -102, name: "NfcTransponderStorageFull" },
130
+ { no: -103, name: "NfcTransponderAuthenticateFailed" },
131
+ { no: -150, name: "SPInvalidSalt" },
132
+ { no: -151, name: "SPFailedHashing" },
133
+ { no: -152, name: "SPFailedSigning" },
134
+ { no: -153, name: "SPFailedGetOwnSalt" },
135
+ { no: -154, name: "SPFailedSetPeerSalt" },
136
+ { no: -155, name: "SPFailedEncrypt" },
137
+ { no: -156, name: "SPFailedDecrypt" },
138
+ { no: -157, name: "SPFailedGetCurrentTime" },
139
+ { no: -158, name: "SPFailedSignature" },
140
+ { no: -170, name: "SPErrorStatusCode" },
141
+ { no: -200, name: "OssInvalidCredentialId" },
142
+ { no: -201, name: "OssMaFailedMcpLib" },
143
+ { no: -230, name: "OssSoIncompatibleMajorVersion" },
144
+ { no: -231, name: "OssSoInvalidCredentialType" },
145
+ { no: -233, name: "OssSoInvalidTimestamp" },
146
+ { no: -234, name: "OssSoInvalidTimeperiod" },
147
+ { no: -235, name: "OssSoInvalidSiteId" },
148
+ { no: -236, name: "OssSoInvalidDoorAccessBy" },
149
+ { no: -237, name: "OssSoInvalidDoorDTScheduleNumber" },
150
+ { no: -238, name: "OssSoTimePeriodsCountMissmatch" },
151
+ { no: -239, name: "OssSoInvalidDTScheduleNumber" },
152
+ { no: -242, name: "OssSoEventIdNotSupportedForWrite" },
153
+ { no: -243, name: "OssSoExtensionFileSizeTooLarge" },
154
+ { no: -244, name: "OssSoExtensionFileSizeInvalid" },
155
+ { no: -245, name: "OssSoExtensionTooManyFeatures" },
156
+ { no: -246, name: "OssSoExtensionValueTooLarge" },
157
+ { no: -247, name: "OssSoInvalidExtensionLength" },
158
+ { no: -248, name: "OssSoInvalidExtensionTag" },
159
+ { no: -249, name: "OssSoMaxEventEntriesExceeded" },
160
+ { no: -250, name: "OssSoMaxBlacklistEntriesExceeded" },
161
+ { no: -280, name: "OssSidIncompatibleMajorVersion" },
162
+ { no: -281, name: "OssSidInvalidCredentialType" },
163
+ { no: -300, name: "MifareDesfireWrongKeyType" },
164
+ { no: -301, name: "MifareDesfireWrongKey" },
165
+ { no: -302, name: "MifareDesfireCmacNotReceived" },
166
+ { no: -303, name: "MifareDesfireCmacNotVerified" },
167
+ { no: -304, name: "MifareDesfireNoneOrInvalidAid" },
168
+ { no: -1e3, name: "OssMAReturnCodeStart" },
169
+ { no: -1100, name: "OssMAReturnCodeEnd" }
170
+ ]
171
+ );
172
+ const BlueTimeUnit = import_protobuf.proto2.makeEnum(
173
+ "BlueTimeUnit",
174
+ [
175
+ { no: 1, name: "Seconds" },
176
+ { no: 2, name: "Minutes" },
177
+ { no: 3, name: "Hours" },
178
+ { no: 4, name: "Days" },
179
+ { no: 5, name: "Months" },
180
+ { no: 6, name: "Years" }
181
+ ]
182
+ );
183
+ const BlueWeekday = import_protobuf.proto2.makeEnum(
184
+ "BlueWeekday",
185
+ [
186
+ { no: 0, name: "Monday" },
187
+ { no: 1, name: "Tuesday" },
188
+ { no: 2, name: "Wednesday" },
189
+ { no: 3, name: "Thursday" },
190
+ { no: 4, name: "Friday" },
191
+ { no: 5, name: "Saturday" },
192
+ { no: 6, name: "Sunday" }
193
+ ]
194
+ );
195
+ const BlueAccessType = import_protobuf.proto2.makeEnum(
196
+ "BlueAccessType",
197
+ [
198
+ { no: 1, name: "DefaultTime" },
199
+ { no: 2, name: "ExtendedTime" },
200
+ { no: 3, name: "CustomTime" },
201
+ { no: 4, name: "Toggle" },
202
+ { no: 5, name: "Close" },
203
+ { no: 6, name: "NoAccess" },
204
+ { no: 7, name: "NoAccessValidity" },
205
+ { no: 8, name: "NoAccessBlacklisted" }
206
+ ]
207
+ );
208
+ const BlueTransponderType = import_protobuf.proto2.makeEnum(
209
+ "BlueTransponderType",
210
+ [
211
+ { no: 0, name: "UnknownTransponder" },
212
+ { no: 1, name: "MobileTransponder" },
213
+ { no: 2, name: "MifareDesfire" }
214
+ ]
215
+ );
216
+ const BlueHardwareType = import_protobuf.proto2.makeEnum(
217
+ "BlueHardwareType",
218
+ [
219
+ { no: 0, name: "UnknownHardware" },
220
+ { no: 1, name: "TestHardware" },
221
+ { no: 2, name: "Gateway" },
222
+ { no: 3, name: "CylinderLock" },
223
+ { no: 4, name: "WallReader" },
224
+ { no: 5, name: "Kiosk" }
225
+ ]
226
+ );
227
+ const BlueBatteryLevel = import_protobuf.proto2.makeEnum(
228
+ "BlueBatteryLevel",
229
+ [
230
+ { no: 0, name: "UnknownBattery" },
231
+ { no: 1, name: "OnPower" },
232
+ { no: 10, name: "GoodPower" },
233
+ { no: 11, name: "LowPower" },
234
+ { no: 12, name: "CriticalPower" },
235
+ { no: 13, name: "AlmostEmpty" },
236
+ { no: 100, name: "FullyDischarged" },
237
+ { no: 200, name: "FullyCharged" }
238
+ ]
239
+ );
240
+ const BlueEventId = import_protobuf.proto2.makeEnum(
241
+ "BlueEventId",
242
+ [
243
+ { no: 1, name: "BatteryLow" },
244
+ { no: 2, name: "BatteryReplaced" },
245
+ { no: 3, name: "LockJammed" },
246
+ { no: 4, name: "SystemEvent" },
247
+ { no: 5, name: "InternalError" },
248
+ { no: 6, name: "FailedToUnlock" },
249
+ { no: 7, name: "TamperingDetected" },
250
+ { no: 8, name: "BlacklistedCredentialDetected" },
251
+ { no: 9, name: "BlacklistFull" },
252
+ { no: 10, name: "AccessGranted" },
253
+ { no: 11, name: "AccessDenied" },
254
+ { no: 12, name: "CRCError" },
255
+ { no: 13, name: "MaxOssSoEventId" },
256
+ { no: 14, name: "TerminalCommand" },
257
+ { no: 15, name: "TerminalOss" }
258
+ ]
259
+ );
260
+ const BlueEventInfoSystem = import_protobuf.proto2.makeEnum(
261
+ "BlueEventInfoSystem",
262
+ [
263
+ { no: 1, name: "SystemRestart" },
264
+ { no: 2, name: "SystemConfigured" }
265
+ ]
266
+ );
267
+ const BlueEventInfoAccess = import_protobuf.proto2.makeEnum(
268
+ "BlueEventInfoAccess",
269
+ [
270
+ { no: 1, name: "Granted" },
271
+ { no: 2, name: "GrantedDefaultTime" },
272
+ { no: 3, name: "GrantedExtendedTime" },
273
+ { no: 4, name: "GrantedToggleUnlock" },
274
+ { no: 5, name: "GrantedToggleLock" },
275
+ { no: 128, name: "Denied" },
276
+ { no: 130, name: "DeniedBlacklisted" },
277
+ { no: 131, name: "DeniedValidity" },
278
+ { no: 132, name: "DeniedDTSchedule" }
279
+ ]
280
+ );
281
+ const BlueOssCredentialTypeSource = import_protobuf.proto2.makeEnum(
282
+ "BlueOssCredentialTypeSource",
283
+ [
284
+ { no: 0, name: "Oss" },
285
+ { no: 1, name: "Proprietary" }
286
+ ]
287
+ );
288
+ const BlueOssSoCredentialTypeOssCredential = import_protobuf.proto2.makeEnum(
289
+ "BlueOssSoCredentialTypeOssCredential",
290
+ [
291
+ { no: 0, name: "Standard" },
292
+ { no: 1, name: "InterventionMedia" }
293
+ ]
294
+ );
295
+ const BlueOssSoDoorInfoAccessBy = import_protobuf.proto2.makeEnum(
296
+ "BlueOssSoDoorInfoAccessBy",
297
+ [
298
+ { no: 0, name: "DoorGroupId" },
299
+ { no: 1, name: "DoorId" }
300
+ ]
301
+ );
302
+ const BlueOssSoFileId = import_protobuf.proto2.makeEnum(
303
+ "BlueOssSoFileId",
304
+ [
305
+ { no: 0, name: "Info" },
306
+ { no: 1, name: "Data" },
307
+ { no: 2, name: "Event" },
308
+ { no: 3, name: "Blacklist" },
309
+ { no: 4, name: "CustomerExtensions" }
310
+ ]
311
+ );
312
+ const BlueSharedDemoData = import_protobuf.proto2.makeMessageType(
313
+ "BlueSharedDemoData",
314
+ () => [
315
+ { no: 1, name: "deviceId", kind: "scalar", T: 9, default: "wa0y1YwS" },
316
+ { no: 2, name: "terminalPrivateKey", kind: "scalar", T: 12, default: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 165, 171, 109, 20, 17, 48, 71, 167, 173, 108, 16, 228, 77, 230, 60, 5, 185, 107, 132, 181, 31, 227, 20, 214, 135, 92, 70, 158, 185, 205, 105, 43, 161, 68, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241]) },
317
+ { no: 3, name: "terminalPublicKey", kind: "scalar", T: 12, default: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 58, 102, 134, 117, 201, 41, 41, 7, 195, 99, 24, 151, 77, 217, 68, 28, 113, 249, 228, 69, 232, 116, 26, 63, 175, 107, 197, 140, 156, 105, 19, 190, 68, 20, 11, 96, 69, 79, 118, 47, 194, 241, 152, 65, 152, 236, 110, 57, 27, 83, 54, 139, 144, 115, 234, 29, 231, 32, 207, 161, 190, 45, 212, 241]) },
318
+ { no: 4, name: "signaturePrivateKey", kind: "scalar", T: 12, default: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 239, 54, 85, 201, 77, 128, 30, 244, 146, 86, 117, 14, 112, 225, 81, 14, 204, 232, 180, 108, 84, 94, 85, 29, 222, 187, 252, 111, 168, 73, 80, 161, 68, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67]) },
319
+ { no: 5, name: "signaturePublicKey", kind: "scalar", T: 12, default: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 90, 13, 110, 103, 69, 204, 213, 193, 140, 235, 216, 175, 246, 234, 134, 216, 195, 175, 67, 63, 183, 162, 210, 95, 33, 52, 66, 212, 205, 150, 131, 180, 230, 125, 45, 220, 37, 235, 83, 249, 18, 118, 30, 64, 230, 201, 153, 131, 221, 144, 144, 254, 240, 180, 37, 153, 205, 22, 174, 57, 47, 207, 150, 67]) }
320
+ ]
321
+ );
322
+ const BlueVersionInfo = import_protobuf.proto2.makeMessageType(
323
+ "BlueVersionInfo",
324
+ () => [
325
+ {
326
+ no: 1,
327
+ name: "buildTime",
328
+ kind: "scalar",
329
+ T: 13
330
+ /* ScalarType.UINT32 */
331
+ },
332
+ {
333
+ no: 2,
334
+ name: "version",
335
+ kind: "scalar",
336
+ T: 13
337
+ /* ScalarType.UINT32 */
338
+ }
339
+ ]
340
+ );
341
+ const BlueLocalTimestamp = import_protobuf.proto2.makeMessageType(
342
+ "BlueLocalTimestamp",
343
+ () => [
344
+ {
345
+ no: 1,
346
+ name: "year",
347
+ kind: "scalar",
348
+ T: 13
349
+ /* ScalarType.UINT32 */
350
+ },
351
+ {
352
+ no: 2,
353
+ name: "month",
354
+ kind: "scalar",
355
+ T: 13
356
+ /* ScalarType.UINT32 */
357
+ },
358
+ {
359
+ no: 3,
360
+ name: "date",
361
+ kind: "scalar",
362
+ T: 13
363
+ /* ScalarType.UINT32 */
364
+ },
365
+ {
366
+ no: 4,
367
+ name: "hours",
368
+ kind: "scalar",
369
+ T: 13
370
+ /* ScalarType.UINT32 */
371
+ },
372
+ {
373
+ no: 5,
374
+ name: "minutes",
375
+ kind: "scalar",
376
+ T: 13
377
+ /* ScalarType.UINT32 */
378
+ },
379
+ { no: 6, name: "seconds", kind: "scalar", T: 13, default: 0 }
380
+ ]
381
+ );
382
+ const BlueLocalTimeperiod = import_protobuf.proto2.makeMessageType(
383
+ "BlueLocalTimeperiod",
384
+ () => [
385
+ {
386
+ no: 1,
387
+ name: "hoursFrom",
388
+ kind: "scalar",
389
+ T: 13
390
+ /* ScalarType.UINT32 */
391
+ },
392
+ {
393
+ no: 2,
394
+ name: "minutesFrom",
395
+ kind: "scalar",
396
+ T: 13
397
+ /* ScalarType.UINT32 */
398
+ },
399
+ {
400
+ no: 3,
401
+ name: "hoursTo",
402
+ kind: "scalar",
403
+ T: 13
404
+ /* ScalarType.UINT32 */
405
+ },
406
+ {
407
+ no: 4,
408
+ name: "minutesTo",
409
+ kind: "scalar",
410
+ T: 13
411
+ /* ScalarType.UINT32 */
412
+ }
413
+ ]
414
+ );
415
+ const BlueLocalTimeSchedule = import_protobuf.proto2.makeMessageType(
416
+ "BlueLocalTimeSchedule",
417
+ () => [
418
+ {
419
+ no: 1,
420
+ name: "dayOfYearStart",
421
+ kind: "scalar",
422
+ T: 13
423
+ /* ScalarType.UINT32 */
424
+ },
425
+ {
426
+ no: 2,
427
+ name: "dayOfYearEnd",
428
+ kind: "scalar",
429
+ T: 13
430
+ /* ScalarType.UINT32 */
431
+ },
432
+ { no: 3, name: "weekdays", kind: "scalar", T: 8, repeated: true },
433
+ { no: 4, name: "timePeriod", kind: "message", T: BlueLocalTimeperiod }
434
+ ]
435
+ );
436
+ const BlueCredentialId = import_protobuf.proto2.makeMessageType(
437
+ "BlueCredentialId",
438
+ () => [
439
+ {
440
+ no: 1,
441
+ name: "id",
442
+ kind: "scalar",
443
+ T: 9
444
+ /* ScalarType.STRING */
445
+ }
446
+ ]
447
+ );
448
+ const BlueBlacklistEntry = import_protobuf.proto2.makeMessageType(
449
+ "BlueBlacklistEntry",
450
+ () => [
451
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
452
+ { no: 2, name: "expiresAt", kind: "message", T: BlueLocalTimestamp }
453
+ ]
454
+ );
455
+ const BlueBleManufacturerInfo = import_protobuf.proto2.makeMessageType(
456
+ "BlueBleManufacturerInfo",
457
+ () => [
458
+ { no: 1, name: "hardwareType", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueHardwareType) },
459
+ { no: 2, name: "batteryLevel", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueBatteryLevel) },
460
+ {
461
+ no: 3,
462
+ name: "applicationVersion",
463
+ kind: "scalar",
464
+ T: 13
465
+ /* ScalarType.UINT32 */
466
+ },
467
+ {
468
+ no: 4,
469
+ name: "localMidnightTimeEpoch",
470
+ kind: "scalar",
471
+ T: 13
472
+ /* ScalarType.UINT32 */
473
+ },
474
+ {
475
+ no: 5,
476
+ name: "isFactory",
477
+ kind: "scalar",
478
+ T: 8
479
+ /* ScalarType.BOOL */
480
+ }
481
+ ]
482
+ );
483
+ const BlueBleAdvertisementInfo = import_protobuf.proto2.makeMessageType(
484
+ "BlueBleAdvertisementInfo",
485
+ () => [
486
+ {
487
+ no: 1,
488
+ name: "deviceId",
489
+ kind: "scalar",
490
+ T: 9
491
+ /* ScalarType.STRING */
492
+ },
493
+ {
494
+ no: 2,
495
+ name: "txPower1Meter",
496
+ kind: "scalar",
497
+ T: 5
498
+ /* ScalarType.INT32 */
499
+ },
500
+ {
501
+ no: 3,
502
+ name: "isIBeacon",
503
+ kind: "scalar",
504
+ T: 8
505
+ /* ScalarType.BOOL */
506
+ },
507
+ { no: 4, name: "mfInfo", kind: "message", T: BlueBleManufacturerInfo }
508
+ ]
509
+ );
510
+ const BlueEvent = import_protobuf.proto2.makeMessageType(
511
+ "BlueEvent",
512
+ () => [
513
+ {
514
+ no: 1,
515
+ name: "sequenceId",
516
+ kind: "scalar",
517
+ T: 13
518
+ /* ScalarType.UINT32 */
519
+ },
520
+ { no: 2, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
521
+ { no: 4, name: "eventId", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueEventId) },
522
+ {
523
+ no: 5,
524
+ name: "eventInfo",
525
+ kind: "scalar",
526
+ T: 5
527
+ /* ScalarType.INT32 */
528
+ },
529
+ { no: 6, name: "identity", kind: "scalar", T: 9, opt: true },
530
+ { no: 7, name: "command", kind: "scalar", T: 9, opt: true }
531
+ ]
532
+ );
533
+ const BlueSPHandshake = import_protobuf.proto2.makeMessageType(
534
+ "BlueSPHandshake",
535
+ () => [
536
+ {
537
+ no: 1,
538
+ name: "transponderSalt",
539
+ kind: "scalar",
540
+ T: 12
541
+ /* ScalarType.BYTES */
542
+ }
543
+ ]
544
+ );
545
+ const BlueSPHandshakeReply = import_protobuf.proto2.makeMessageType(
546
+ "BlueSPHandshakeReply",
547
+ () => [
548
+ {
549
+ no: 1,
550
+ name: "terminalSalt",
551
+ kind: "scalar",
552
+ T: 12
553
+ /* ScalarType.BYTES */
554
+ },
555
+ {
556
+ no: 2,
557
+ name: "terminalSignature",
558
+ kind: "scalar",
559
+ T: 12
560
+ /* ScalarType.BYTES */
561
+ }
562
+ ]
563
+ );
564
+ const BlueSPTokenCommand = import_protobuf.proto2.makeMessageType(
565
+ "BlueSPTokenCommand",
566
+ () => [
567
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
568
+ { no: 2, name: "validityStart", kind: "message", T: BlueLocalTimestamp },
569
+ { no: 3, name: "validityEnd", kind: "message", T: BlueLocalTimestamp },
570
+ {
571
+ no: 4,
572
+ name: "command",
573
+ kind: "scalar",
574
+ T: 9
575
+ /* ScalarType.STRING */
576
+ },
577
+ {
578
+ no: 5,
579
+ name: "data",
580
+ kind: "scalar",
581
+ T: 12
582
+ /* ScalarType.BYTES */
583
+ }
584
+ ]
585
+ );
586
+ const BlueSPToken = import_protobuf.proto2.makeMessageType(
587
+ "BlueSPToken",
588
+ () => [
589
+ {
590
+ no: 1,
591
+ name: "signature",
592
+ kind: "scalar",
593
+ T: 12
594
+ /* ScalarType.BYTES */
595
+ },
596
+ { no: 2, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
597
+ { no: 3, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
598
+ { no: 4, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" }
599
+ ]
600
+ );
601
+ const BlueSPResult = import_protobuf.proto2.makeMessageType(
602
+ "BlueSPResult",
603
+ () => [
604
+ {
605
+ no: 1,
606
+ name: "data",
607
+ kind: "scalar",
608
+ T: 12
609
+ /* ScalarType.BYTES */
610
+ }
611
+ ]
612
+ );
613
+ const BlueOssAccessResult = import_protobuf.proto2.makeMessageType(
614
+ "BlueOssAccessResult",
615
+ () => [
616
+ {
617
+ no: 1,
618
+ name: "accessGranted",
619
+ kind: "scalar",
620
+ T: 8
621
+ /* ScalarType.BOOL */
622
+ },
623
+ { no: 2, name: "accessType", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueAccessType) },
624
+ { no: 3, name: "scheduleEndTime", kind: "message", T: BlueLocalTimestamp },
625
+ {
626
+ no: 4,
627
+ name: "scheduleMissmatch",
628
+ kind: "scalar",
629
+ T: 8
630
+ /* ScalarType.BOOL */
631
+ }
632
+ ]
633
+ );
634
+ const BlueOssSidVersion = import_protobuf.proto2.makeMessageType(
635
+ "BlueOssSidVersion",
636
+ () => [
637
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13, opt: true, default: 1 },
638
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13, opt: true, default: 0 }
639
+ ]
640
+ );
641
+ const BlueOssSidCredentialTypeOss = import_protobuf.proto2.makeMessageType(
642
+ "BlueOssSidCredentialTypeOss",
643
+ () => [
644
+ { no: 1, name: "notUsed", kind: "scalar", T: 8, opt: true }
645
+ ]
646
+ );
647
+ const BlueOssSidCredentialTypeProprietary = import_protobuf.proto2.makeMessageType(
648
+ "BlueOssSidCredentialTypeProprietary",
649
+ () => [
650
+ {
651
+ no: 1,
652
+ name: "mfgCode",
653
+ kind: "scalar",
654
+ T: 12
655
+ /* ScalarType.BYTES */
656
+ }
657
+ ]
658
+ );
659
+ const BlueOssSidCredentialType = import_protobuf.proto2.makeMessageType(
660
+ "BlueOssSidCredentialType",
661
+ () => [
662
+ { no: 1, name: "typeSource", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueOssCredentialTypeSource) },
663
+ { no: 2, name: "oss", kind: "message", T: BlueOssSidCredentialTypeOss, opt: true },
664
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSidCredentialTypeProprietary, opt: true }
665
+ ]
666
+ );
667
+ const BlueOssSidFileInfo = import_protobuf.proto2.makeMessageType(
668
+ "BlueOssSidFileInfo",
669
+ () => [
670
+ {
671
+ no: 1,
672
+ name: "versionMajor",
673
+ kind: "scalar",
674
+ T: 13
675
+ /* ScalarType.UINT32 */
676
+ },
677
+ {
678
+ no: 2,
679
+ name: "versionMinor",
680
+ kind: "scalar",
681
+ T: 13
682
+ /* ScalarType.UINT32 */
683
+ },
684
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
685
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId }
686
+ ]
687
+ );
688
+ const BlueOssSidConfiguration = import_protobuf.proto2.makeMessageType(
689
+ "BlueOssSidConfiguration",
690
+ () => [
691
+ { no: 1, name: "info", kind: "message", T: BlueOssSidFileInfo }
692
+ ]
693
+ );
694
+ const BlueOssSidStorageProfile = import_protobuf.proto2.makeMessageType(
695
+ "BlueOssSidStorageProfile",
696
+ () => [
697
+ {
698
+ no: 1,
699
+ name: "dataLength",
700
+ kind: "scalar",
701
+ T: 13
702
+ /* ScalarType.UINT32 */
703
+ },
704
+ {
705
+ no: 2,
706
+ name: "fileSize",
707
+ kind: "scalar",
708
+ T: 13
709
+ /* ScalarType.UINT32 */
710
+ },
711
+ {
712
+ no: 3,
713
+ name: "infoDataLength",
714
+ kind: "scalar",
715
+ T: 13
716
+ /* ScalarType.UINT32 */
717
+ },
718
+ {
719
+ no: 4,
720
+ name: "infoFileSize",
721
+ kind: "scalar",
722
+ T: 13
723
+ /* ScalarType.UINT32 */
724
+ }
725
+ ]
726
+ );
727
+ const BlueOssSidProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
728
+ "BlueOssSidProvisioningConfiguration",
729
+ () => [
730
+ { no: 1, name: "notUsed", kind: "scalar", T: 8, opt: true }
731
+ ]
732
+ );
733
+ const BlueOssSidProvisioningData = import_protobuf.proto2.makeMessageType(
734
+ "BlueOssSidProvisioningData",
735
+ () => [
736
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSidProvisioningConfiguration, opt: true },
737
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSidCredentialType },
738
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId }
739
+ ]
740
+ );
741
+ const BlueOssSidMobile = import_protobuf.proto2.makeMessageType(
742
+ "BlueOssSidMobile",
743
+ () => [
744
+ {
745
+ no: 1,
746
+ name: "infoFile",
747
+ kind: "scalar",
748
+ T: 12
749
+ /* ScalarType.BYTES */
750
+ }
751
+ ]
752
+ );
753
+ const BlueOssSidMobileProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
754
+ "BlueOssSidMobileProvisioningConfiguration",
755
+ () => [
756
+ { no: 1, name: "notUsed", kind: "scalar", T: 8, opt: true, default: false }
757
+ ]
758
+ );
759
+ const BlueOssSidMifareDesfireProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
760
+ "BlueOssSidMifareDesfireProvisioningConfiguration",
761
+ () => [
762
+ { no: 1, name: "notUsed", kind: "scalar", T: 8, opt: true, default: false }
763
+ ]
764
+ );
765
+ const BlueOssSidMifareDesfireConfiguration = import_protobuf.proto2.makeMessageType(
766
+ "BlueOssSidMifareDesfireConfiguration",
767
+ () => [
768
+ { no: 1, name: "piccMasterKey", kind: "scalar", T: 12, default: new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170]) },
769
+ { no: 2, name: "appMasterKey", kind: "scalar", T: 12, default: new Uint8Array([0, 17, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255]) },
770
+ { no: 3, name: "projectKey", kind: "scalar", T: 12, default: new Uint8Array([255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 17, 0]) },
771
+ { no: 4, name: "aid", kind: "scalar", T: 13, default: 16076801 }
772
+ ]
773
+ );
774
+ const BlueOssSidSettings = import_protobuf.proto2.makeMessageType(
775
+ "BlueOssSidSettings",
776
+ () => [
777
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSidMifareDesfireConfiguration, opt: true }
778
+ ]
779
+ );
780
+ const BlueOssSoVersion = import_protobuf.proto2.makeMessageType(
781
+ "BlueOssSoVersion",
782
+ () => [
783
+ { no: 1, name: "versionMajor", kind: "scalar", T: 13, opt: true, default: 1 },
784
+ { no: 2, name: "versionMinor", kind: "scalar", T: 13, opt: true, default: 1 }
785
+ ]
786
+ );
787
+ const BlueOssSoCredentialTypeOss = import_protobuf.proto2.makeMessageType(
788
+ "BlueOssSoCredentialTypeOss",
789
+ () => [
790
+ { no: 1, name: "credential", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueOssSoCredentialTypeOssCredential) }
791
+ ]
792
+ );
793
+ const BlueOssSoCredentialTypeProprietary = import_protobuf.proto2.makeMessageType(
794
+ "BlueOssSoCredentialTypeProprietary",
795
+ () => [
796
+ {
797
+ no: 1,
798
+ name: "mfgCode",
799
+ kind: "scalar",
800
+ T: 12
801
+ /* ScalarType.BYTES */
802
+ }
803
+ ]
804
+ );
805
+ const BlueOssSoCredentialType = import_protobuf.proto2.makeMessageType(
806
+ "BlueOssSoCredentialType",
807
+ () => [
808
+ { no: 1, name: "typeSource", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueOssCredentialTypeSource) },
809
+ { no: 2, name: "oss", kind: "message", T: BlueOssSoCredentialTypeOss, opt: true },
810
+ { no: 3, name: "proprietary", kind: "message", T: BlueOssSoCredentialTypeProprietary, opt: true }
811
+ ]
812
+ );
813
+ const BlueOssSoDTScheduleDay = import_protobuf.proto2.makeMessageType(
814
+ "BlueOssSoDTScheduleDay",
815
+ () => [
816
+ { no: 3, name: "weekdays", kind: "scalar", T: 8, repeated: true },
817
+ { no: 8, name: "timePeriods", kind: "message", T: BlueLocalTimeperiod, repeated: true }
818
+ ]
819
+ );
820
+ const BlueOssSoDTSchedule = import_protobuf.proto2.makeMessageType(
821
+ "BlueOssSoDTSchedule",
822
+ () => [
823
+ { no: 1, name: "days", kind: "message", T: BlueOssSoDTScheduleDay, repeated: true }
824
+ ]
825
+ );
826
+ const BlueOssSoDoorInfo = import_protobuf.proto2.makeMessageType(
827
+ "BlueOssSoDoorInfo",
828
+ () => [
829
+ {
830
+ no: 1,
831
+ name: "id",
832
+ kind: "scalar",
833
+ T: 13
834
+ /* ScalarType.UINT32 */
835
+ },
836
+ { no: 2, name: "accessBy", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueOssSoDoorInfoAccessBy) },
837
+ {
838
+ no: 3,
839
+ name: "dtScheduleNumber",
840
+ kind: "scalar",
841
+ T: 13
842
+ /* ScalarType.UINT32 */
843
+ },
844
+ { no: 4, name: "accessType", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueAccessType) }
845
+ ]
846
+ );
847
+ const BlueOssSoEvent = import_protobuf.proto2.makeMessageType(
848
+ "BlueOssSoEvent",
849
+ () => [
850
+ { no: 1, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
851
+ {
852
+ no: 2,
853
+ name: "doorId",
854
+ kind: "scalar",
855
+ T: 13
856
+ /* ScalarType.UINT32 */
857
+ },
858
+ { no: 3, name: "eventId", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueEventId) },
859
+ {
860
+ no: 4,
861
+ name: "eventInfo",
862
+ kind: "scalar",
863
+ T: 13
864
+ /* ScalarType.UINT32 */
865
+ }
866
+ ]
867
+ );
868
+ const BlueOssSoExtFeature = import_protobuf.proto2.makeMessageType(
869
+ "BlueOssSoExtFeature",
870
+ () => [
871
+ {
872
+ no: 1,
873
+ name: "tag",
874
+ kind: "scalar",
875
+ T: 13
876
+ /* ScalarType.UINT32 */
877
+ },
878
+ {
879
+ no: 2,
880
+ name: "value",
881
+ kind: "scalar",
882
+ T: 12
883
+ /* ScalarType.BYTES */
884
+ }
885
+ ]
886
+ );
887
+ const BlueOssSoExtFeature_ValidityStart = import_protobuf.proto2.makeMessageType(
888
+ "BlueOssSoExtFeature_ValidityStart",
889
+ () => [
890
+ {
891
+ no: 1,
892
+ name: "isValid",
893
+ kind: "scalar",
894
+ T: 8
895
+ /* ScalarType.BOOL */
896
+ },
897
+ { no: 2, name: "validityStartTime", kind: "message", T: BlueLocalTimestamp }
898
+ ]
899
+ );
900
+ const BlueOssSoFileInfo = import_protobuf.proto2.makeMessageType(
901
+ "BlueOssSoFileInfo",
902
+ () => [
903
+ {
904
+ no: 1,
905
+ name: "versionMajor",
906
+ kind: "scalar",
907
+ T: 13
908
+ /* ScalarType.UINT32 */
909
+ },
910
+ {
911
+ no: 2,
912
+ name: "versionMinor",
913
+ kind: "scalar",
914
+ T: 13
915
+ /* ScalarType.UINT32 */
916
+ },
917
+ { no: 3, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
918
+ { no: 4, name: "credentialId", kind: "message", T: BlueCredentialId },
919
+ {
920
+ no: 5,
921
+ name: "maxEventEntries",
922
+ kind: "scalar",
923
+ T: 13
924
+ /* ScalarType.UINT32 */
925
+ },
926
+ {
927
+ no: 6,
928
+ name: "maxBlacklistEntries",
929
+ kind: "scalar",
930
+ T: 13
931
+ /* ScalarType.UINT32 */
932
+ }
933
+ ]
934
+ );
935
+ const BlueOssSoFileData = import_protobuf.proto2.makeMessageType(
936
+ "BlueOssSoFileData",
937
+ () => [
938
+ { no: 1, name: "validity", kind: "message", T: BlueLocalTimestamp },
939
+ {
940
+ no: 2,
941
+ name: "siteId",
942
+ kind: "scalar",
943
+ T: 13
944
+ /* ScalarType.UINT32 */
945
+ },
946
+ {
947
+ no: 3,
948
+ name: "numberOfDayIdsPerDTSchedule",
949
+ kind: "scalar",
950
+ T: 13
951
+ /* ScalarType.UINT32 */
952
+ },
953
+ {
954
+ no: 4,
955
+ name: "numberOfTimePeriodsPerDayId",
956
+ kind: "scalar",
957
+ T: 13
958
+ /* ScalarType.UINT32 */
959
+ },
960
+ {
961
+ no: 5,
962
+ name: "hasExtensions",
963
+ kind: "scalar",
964
+ T: 8
965
+ /* ScalarType.BOOL */
966
+ },
967
+ { no: 6, name: "doorInfoEntries", kind: "message", T: BlueOssSoDoorInfo, repeated: true },
968
+ { no: 7, name: "dtSchedules", kind: "message", T: BlueOssSoDTSchedule, repeated: true }
969
+ ]
970
+ );
971
+ const BlueOssSoFileEvent = import_protobuf.proto2.makeMessageType(
972
+ "BlueOssSoFileEvent",
973
+ () => [
974
+ {
975
+ no: 1,
976
+ name: "supportedEventIds",
977
+ kind: "scalar",
978
+ T: 12
979
+ /* ScalarType.BYTES */
980
+ },
981
+ { no: 2, name: "events", kind: "message", T: BlueOssSoEvent, repeated: true }
982
+ ]
983
+ );
984
+ const BlueOssSoFileBlacklist = import_protobuf.proto2.makeMessageType(
985
+ "BlueOssSoFileBlacklist",
986
+ () => [
987
+ { no: 1, name: "entries", kind: "message", T: BlueBlacklistEntry, repeated: true }
988
+ ]
989
+ );
990
+ const BlueOssSoFileCustomerExtensions = import_protobuf.proto2.makeMessageType(
991
+ "BlueOssSoFileCustomerExtensions",
992
+ () => [
993
+ { no: 1, name: "extFeatures", kind: "message", T: BlueOssSoExtFeature, repeated: true },
994
+ { no: 2, name: "validityStart", kind: "message", T: BlueOssSoExtFeature_ValidityStart, opt: true }
995
+ ]
996
+ );
997
+ const BlueOssSoConfiguration = import_protobuf.proto2.makeMessageType(
998
+ "BlueOssSoConfiguration",
999
+ () => [
1000
+ { no: 1, name: "info", kind: "message", T: BlueOssSoFileInfo, opt: true },
1001
+ { no: 2, name: "data", kind: "message", T: BlueOssSoFileData, opt: true },
1002
+ { no: 3, name: "event", kind: "message", T: BlueOssSoFileEvent, opt: true },
1003
+ { no: 4, name: "blacklist", kind: "message", T: BlueOssSoFileBlacklist, opt: true },
1004
+ { no: 5, name: "customerExtensions", kind: "message", T: BlueOssSoFileCustomerExtensions, opt: true }
1005
+ ]
1006
+ );
1007
+ const BlueOssSoStorageProfile = import_protobuf.proto2.makeMessageType(
1008
+ "BlueOssSoStorageProfile",
1009
+ () => [
1010
+ {
1011
+ no: 1,
1012
+ name: "dataLength",
1013
+ kind: "scalar",
1014
+ T: 13
1015
+ /* ScalarType.UINT32 */
1016
+ },
1017
+ {
1018
+ no: 2,
1019
+ name: "fileSize",
1020
+ kind: "scalar",
1021
+ T: 13
1022
+ /* ScalarType.UINT32 */
1023
+ },
1024
+ {
1025
+ no: 3,
1026
+ name: "infoDataLength",
1027
+ kind: "scalar",
1028
+ T: 13
1029
+ /* ScalarType.UINT32 */
1030
+ },
1031
+ {
1032
+ no: 4,
1033
+ name: "infoFileSize",
1034
+ kind: "scalar",
1035
+ T: 13
1036
+ /* ScalarType.UINT32 */
1037
+ },
1038
+ {
1039
+ no: 5,
1040
+ name: "dataDataLength",
1041
+ kind: "scalar",
1042
+ T: 13
1043
+ /* ScalarType.UINT32 */
1044
+ },
1045
+ {
1046
+ no: 6,
1047
+ name: "dataFileSize",
1048
+ kind: "scalar",
1049
+ T: 13
1050
+ /* ScalarType.UINT32 */
1051
+ },
1052
+ {
1053
+ no: 7,
1054
+ name: "eventDataLength",
1055
+ kind: "scalar",
1056
+ T: 13
1057
+ /* ScalarType.UINT32 */
1058
+ },
1059
+ {
1060
+ no: 8,
1061
+ name: "eventFileSize",
1062
+ kind: "scalar",
1063
+ T: 13
1064
+ /* ScalarType.UINT32 */
1065
+ },
1066
+ {
1067
+ no: 9,
1068
+ name: "blacklistDataLength",
1069
+ kind: "scalar",
1070
+ T: 13
1071
+ /* ScalarType.UINT32 */
1072
+ },
1073
+ {
1074
+ no: 10,
1075
+ name: "blacklistFileSize",
1076
+ kind: "scalar",
1077
+ T: 13
1078
+ /* ScalarType.UINT32 */
1079
+ },
1080
+ {
1081
+ no: 11,
1082
+ name: "customerExtensionsDataLength",
1083
+ kind: "scalar",
1084
+ T: 13
1085
+ /* ScalarType.UINT32 */
1086
+ },
1087
+ {
1088
+ no: 12,
1089
+ name: "customerExtensionsFileSize",
1090
+ kind: "scalar",
1091
+ T: 13
1092
+ /* ScalarType.UINT32 */
1093
+ }
1094
+ ]
1095
+ );
1096
+ const BlueOssSoProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
1097
+ "BlueOssSoProvisioningConfiguration",
1098
+ () => [
1099
+ {
1100
+ no: 1,
1101
+ name: "numberOfDoors",
1102
+ kind: "scalar",
1103
+ T: 13
1104
+ /* ScalarType.UINT32 */
1105
+ },
1106
+ {
1107
+ no: 2,
1108
+ name: "numberOfDTSchedules",
1109
+ kind: "scalar",
1110
+ T: 13
1111
+ /* ScalarType.UINT32 */
1112
+ },
1113
+ {
1114
+ no: 3,
1115
+ name: "numberOfDayIdsPerDTSchedule",
1116
+ kind: "scalar",
1117
+ T: 13
1118
+ /* ScalarType.UINT32 */
1119
+ },
1120
+ {
1121
+ no: 4,
1122
+ name: "numberOfTimePeriodsPerDayId",
1123
+ kind: "scalar",
1124
+ T: 13
1125
+ /* ScalarType.UINT32 */
1126
+ },
1127
+ {
1128
+ no: 5,
1129
+ name: "numberOfEvents",
1130
+ kind: "scalar",
1131
+ T: 13
1132
+ /* ScalarType.UINT32 */
1133
+ },
1134
+ {
1135
+ no: 6,
1136
+ name: "supportedEventIds",
1137
+ kind: "scalar",
1138
+ T: 12
1139
+ /* ScalarType.BYTES */
1140
+ },
1141
+ {
1142
+ no: 7,
1143
+ name: "numberOfBlacklistEntries",
1144
+ kind: "scalar",
1145
+ T: 13
1146
+ /* ScalarType.UINT32 */
1147
+ },
1148
+ {
1149
+ no: 8,
1150
+ name: "customerExtensionsSize",
1151
+ kind: "scalar",
1152
+ T: 13
1153
+ /* ScalarType.UINT32 */
1154
+ }
1155
+ ]
1156
+ );
1157
+ const BlueOssSoProvisioningData = import_protobuf.proto2.makeMessageType(
1158
+ "BlueOssSoProvisioningData",
1159
+ () => [
1160
+ { no: 1, name: "configuration", kind: "message", T: BlueOssSoProvisioningConfiguration, opt: true },
1161
+ { no: 2, name: "credentialType", kind: "message", T: BlueOssSoCredentialType },
1162
+ { no: 3, name: "credentialId", kind: "message", T: BlueCredentialId },
1163
+ {
1164
+ no: 4,
1165
+ name: "siteId",
1166
+ kind: "scalar",
1167
+ T: 13
1168
+ /* ScalarType.UINT32 */
1169
+ }
1170
+ ]
1171
+ );
1172
+ const BlueOssSoMobile = import_protobuf.proto2.makeMessageType(
1173
+ "BlueOssSoMobile",
1174
+ () => [
1175
+ {
1176
+ no: 1,
1177
+ name: "infoFile",
1178
+ kind: "scalar",
1179
+ T: 12
1180
+ /* ScalarType.BYTES */
1181
+ },
1182
+ {
1183
+ no: 2,
1184
+ name: "dataFile",
1185
+ kind: "scalar",
1186
+ T: 12
1187
+ /* ScalarType.BYTES */
1188
+ },
1189
+ {
1190
+ no: 3,
1191
+ name: "blacklistFile",
1192
+ kind: "scalar",
1193
+ T: 12
1194
+ /* ScalarType.BYTES */
1195
+ },
1196
+ {
1197
+ no: 4,
1198
+ name: "customerExtensionsFile",
1199
+ kind: "scalar",
1200
+ T: 12
1201
+ /* ScalarType.BYTES */
1202
+ }
1203
+ ]
1204
+ );
1205
+ const BlueOssSoMobileProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
1206
+ "BlueOssSoMobileProvisioningConfiguration",
1207
+ () => [
1208
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13, default: 1 },
1209
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13, default: 1 },
1210
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13, default: 4 },
1211
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13, default: 4 },
1212
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13, default: 0 },
1213
+ {
1214
+ no: 6,
1215
+ name: "supportedEventIds",
1216
+ kind: "scalar",
1217
+ T: 12
1218
+ /* ScalarType.BYTES */
1219
+ },
1220
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13, default: 16 },
1221
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 32 }
1222
+ ]
1223
+ );
1224
+ const BlueOssSoMifareDesfireProvisioningConfiguration = import_protobuf.proto2.makeMessageType(
1225
+ "BlueOssSoMifareDesfireProvisioningConfiguration",
1226
+ () => [
1227
+ { no: 1, name: "numberOfDoors", kind: "scalar", T: 13, default: 70 },
1228
+ { no: 2, name: "numberOfDTSchedules", kind: "scalar", T: 13, default: 1 },
1229
+ { no: 3, name: "numberOfDayIdsPerDTSchedule", kind: "scalar", T: 13, default: 4 },
1230
+ { no: 4, name: "numberOfTimePeriodsPerDayId", kind: "scalar", T: 13, default: 2 },
1231
+ { no: 5, name: "numberOfEvents", kind: "scalar", T: 13, default: 16 },
1232
+ { no: 6, name: "supportedEventIds", kind: "scalar", T: 12, default: new Uint8Array([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]) },
1233
+ { no: 7, name: "numberOfBlacklistEntries", kind: "scalar", T: 13, default: 3 },
1234
+ { no: 8, name: "customerExtensionsSize", kind: "scalar", T: 13, default: 16 }
1235
+ ]
1236
+ );
1237
+ const BlueOssSoMifareDesfireConfiguration = import_protobuf.proto2.makeMessageType(
1238
+ "BlueOssSoMifareDesfireConfiguration",
1239
+ () => [
1240
+ { no: 1, name: "piccMasterKey", kind: "scalar", T: 12, default: new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 170]) },
1241
+ { no: 2, name: "appMasterKey", kind: "scalar", T: 12, default: new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]) },
1242
+ { no: 3, name: "projectKey", kind: "scalar", T: 12, default: new Uint8Array([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]) },
1243
+ { no: 4, name: "aid", kind: "scalar", T: 13, default: 16076800 }
1244
+ ]
1245
+ );
1246
+ const BlueOssSoSettings = import_protobuf.proto2.makeMessageType(
1247
+ "BlueOssSoSettings",
1248
+ () => [
1249
+ { no: 1, name: "mifareDesfireConfig", kind: "message", T: BlueOssSoMifareDesfireConfiguration, opt: true }
1250
+ ]
1251
+ );
1252
+ const _BlueTestEncodeDecode = import_protobuf.proto2.makeMessageType(
1253
+ "_BlueTestEncodeDecode",
1254
+ () => [
1255
+ {
1256
+ no: 1,
1257
+ name: "vendor",
1258
+ kind: "scalar",
1259
+ T: 9
1260
+ /* ScalarType.STRING */
1261
+ },
1262
+ {
1263
+ no: 2,
1264
+ name: "hardware_name",
1265
+ kind: "scalar",
1266
+ T: 9
1267
+ /* ScalarType.STRING */
1268
+ },
1269
+ {
1270
+ no: 3,
1271
+ name: "hardware_version",
1272
+ kind: "scalar",
1273
+ T: 5
1274
+ /* ScalarType.INT32 */
1275
+ },
1276
+ {
1277
+ no: 4,
1278
+ name: "application_version",
1279
+ kind: "scalar",
1280
+ T: 5
1281
+ /* ScalarType.INT32 */
1282
+ }
1283
+ ]
1284
+ );