@blueid/access-proto 2.22.0 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/BlueSystem.proto CHANGED
@@ -139,10 +139,6 @@ message BlueOssConfig {
139
139
  required uint32 soMifareAid = 8 [ default = 16076800 ];
140
140
  }
141
141
 
142
- message BlueSystemAVRUpdate {
143
- required bytes data = 1 [ (nanopb).max_size = 800 ];
144
- }
145
-
146
142
  message BlueSystemAVRInfo {
147
143
  required uint32 vermaj = 1 [ (nanopb).int_size = IS_8 ];
148
144
  required uint32 vermin = 2 [ (nanopb).int_size = IS_8 ];
@@ -333,30 +333,6 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
333
333
  static equals(a: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined, b: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined): boolean;
334
334
  }
335
335
 
336
- /**
337
- * @generated from message BlueSystemAVRUpdate
338
- */
339
- export declare class BlueSystemAVRUpdate extends Message<BlueSystemAVRUpdate> {
340
- /**
341
- * @generated from field: required bytes data = 1;
342
- */
343
- data: Uint8Array;
344
-
345
- constructor(data?: PartialMessage<BlueSystemAVRUpdate>);
346
-
347
- static readonly runtime: typeof proto2;
348
- static readonly typeName = "BlueSystemAVRUpdate";
349
- static readonly fields: FieldList;
350
-
351
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRUpdate;
352
-
353
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
354
-
355
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
356
-
357
- static equals(a: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined, b: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined): boolean;
358
- }
359
-
360
336
  /**
361
337
  * @generated from message BlueSystemAVRInfo
362
338
  */
@@ -27,7 +27,6 @@ __export(BlueSystem_pb_exports, {
27
27
  BlueOnlineConfig: () => BlueOnlineConfig,
28
28
  BlueOssConfig: () => BlueOssConfig,
29
29
  BlueSystemAVRInfo: () => BlueSystemAVRInfo,
30
- BlueSystemAVRUpdate: () => BlueSystemAVRUpdate,
31
30
  BlueSystemConfig: () => BlueSystemConfig,
32
31
  BlueSystemLogEntry: () => BlueSystemLogEntry,
33
32
  BlueSystemLogQuery: () => BlueSystemLogQuery,
@@ -137,18 +136,6 @@ const BlueOssConfig = import_protobuf.proto2.makeMessageType(
137
136
  { no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
138
137
  ]
139
138
  );
140
- const BlueSystemAVRUpdate = import_protobuf.proto2.makeMessageType(
141
- "BlueSystemAVRUpdate",
142
- () => [
143
- {
144
- no: 1,
145
- name: "data",
146
- kind: "scalar",
147
- T: 12
148
- /* ScalarType.BYTES */
149
- }
150
- ]
151
- );
152
139
  const BlueSystemAVRInfo = import_protobuf.proto2.makeMessageType(
153
140
  "BlueSystemAVRInfo",
154
141
  () => [
@@ -333,30 +333,6 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
333
333
  static equals(a: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined, b: BlueOssConfig | PlainMessage<BlueOssConfig> | undefined): boolean;
334
334
  }
335
335
 
336
- /**
337
- * @generated from message BlueSystemAVRUpdate
338
- */
339
- export declare class BlueSystemAVRUpdate extends Message<BlueSystemAVRUpdate> {
340
- /**
341
- * @generated from field: required bytes data = 1;
342
- */
343
- data: Uint8Array;
344
-
345
- constructor(data?: PartialMessage<BlueSystemAVRUpdate>);
346
-
347
- static readonly runtime: typeof proto2;
348
- static readonly typeName = "BlueSystemAVRUpdate";
349
- static readonly fields: FieldList;
350
-
351
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSystemAVRUpdate;
352
-
353
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
354
-
355
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSystemAVRUpdate;
356
-
357
- static equals(a: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined, b: BlueSystemAVRUpdate | PlainMessage<BlueSystemAVRUpdate> | undefined): boolean;
358
- }
359
-
360
336
  /**
361
337
  * @generated from message BlueSystemAVRInfo
362
338
  */
@@ -94,16 +94,6 @@ export const BlueOssConfig = proto2.makeMessageType(
94
94
  ],
95
95
  );
96
96
 
97
- /**
98
- * @generated from message BlueSystemAVRUpdate
99
- */
100
- export const BlueSystemAVRUpdate = proto2.makeMessageType(
101
- "BlueSystemAVRUpdate",
102
- () => [
103
- { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
104
- ],
105
- );
106
-
107
97
  /**
108
98
  * @generated from message BlueSystemAVRInfo
109
99
  */
@@ -24,9 +24,6 @@ PB_BIND(BLUEACCESSCONFIG, BlueAccessConfig_t, 2)
24
24
  PB_BIND(BLUEOSSCONFIG, BlueOssConfig_t, AUTO)
25
25
 
26
26
 
27
- PB_BIND(BLUESYSTEMAVRUPDATE, BlueSystemAVRUpdate_t, 2)
28
-
29
-
30
27
  PB_BIND(BLUESYSTEMAVRINFO, BlueSystemAVRInfo_t, AUTO)
31
28
 
32
29
 
@@ -102,11 +102,6 @@ typedef struct BlueOssConfig { /* -- Oss SecureId -- */
102
102
  uint32_t soMifareAid;
103
103
  } BlueOssConfig_t;
104
104
 
105
- typedef PB_BYTES_ARRAY_T(800) BlueSystemAVRUpdate_data_t;
106
- typedef struct BlueSystemAVRUpdate {
107
- BlueSystemAVRUpdate_data_t data;
108
- } BlueSystemAVRUpdate_t;
109
-
110
105
  typedef struct BlueSystemAVRInfo {
111
106
  uint8_t vermaj;
112
107
  uint8_t vermin;
@@ -239,7 +234,6 @@ extern "C" {
239
234
  #define BLUEACCESSCONFIGGROUP_INIT_DEFAULT {0, 0, {BLUELOCALTIMESCHEDULE_INIT_DEFAULT, BLUELOCALTIMESCHEDULE_INIT_DEFAULT}}
240
235
  #define BLUEACCESSCONFIG_INIT_DEFAULT {1u, 1u, 0, {BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT, BLUEACCESSCONFIGGROUP_INIT_DEFAULT}}
241
236
  #define BLUEOSSCONFIG_INIT_DEFAULT {{0xff,0xee,0xdd,0xcc,0xbb,0xaa,0x99,0x88,0x77,0x66,0x55,0x44,0x33,0x22,0x11,0x00}, 16076801u, false, false, true, true, {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f}, 16076800u}
242
- #define BLUESYSTEMAVRUPDATE_INIT_DEFAULT {{0, {0}}}
243
237
  #define BLUESYSTEMAVRINFO_INIT_DEFAULT {0, 0, 0}
244
238
  #define BLUESYSTEMCONFIG_INIT_DEFAULT {"", BLUEBASECONFIG_INIT_DEFAULT, BLUEBLECONFIG_INIT_DEFAULT, BLUEONLINECONFIG_INIT_DEFAULT, BLUEACCESSCONFIG_INIT_DEFAULT, BLUEOSSCONFIG_INIT_DEFAULT, false, BLUELOCKCONFIG_INIT_DEFAULT}
245
239
  #define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
@@ -259,7 +253,6 @@ extern "C" {
259
253
  #define BLUEACCESSCONFIGGROUP_INIT_ZERO {0, 0, {BLUELOCALTIMESCHEDULE_INIT_ZERO, BLUELOCALTIMESCHEDULE_INIT_ZERO}}
260
254
  #define BLUEACCESSCONFIG_INIT_ZERO {0, 0, 0, {BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO, BLUEACCESSCONFIGGROUP_INIT_ZERO}}
261
255
  #define BLUEOSSCONFIG_INIT_ZERO {{0}, 0, 0, 0, 0, 0, {0}, 0}
262
- #define BLUESYSTEMAVRUPDATE_INIT_ZERO {{0, {0}}}
263
256
  #define BLUESYSTEMAVRINFO_INIT_ZERO {0, 0, 0}
264
257
  #define BLUESYSTEMCONFIG_INIT_ZERO {"", BLUEBASECONFIG_INIT_ZERO, BLUEBLECONFIG_INIT_ZERO, BLUEONLINECONFIG_INIT_ZERO, BLUEACCESSCONFIG_INIT_ZERO, BLUEOSSCONFIG_INIT_ZERO, false, BLUELOCKCONFIG_INIT_ZERO}
265
258
  #define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
@@ -304,7 +297,6 @@ extern "C" {
304
297
  #define BLUEOSSCONFIG_SOUPDATEFROMBLACKLIST_TAG 6
305
298
  #define BLUEOSSCONFIG_SOMIFAREAESKEY_TAG 7
306
299
  #define BLUEOSSCONFIG_SOMIFAREAID_TAG 8
307
- #define BLUESYSTEMAVRUPDATE_DATA_TAG 1
308
300
  #define BLUESYSTEMAVRINFO_VERMAJ_TAG 1
309
301
  #define BLUESYSTEMAVRINFO_VERMIN_TAG 2
310
302
  #define BLUESYSTEMAVRINFO_BUILDNR_TAG 3
@@ -419,11 +411,6 @@ X(a, STATIC, REQUIRED, UINT32, soMifareAid, 8)
419
411
  #define BLUEOSSCONFIG_CALLBACK NULL
420
412
  #define BLUEOSSCONFIG_DEFAULT (const pb_byte_t*)"\x0a\x10\xff\xee\xdd\xcc\xbb\xaa\x99\x88\x77\x66\x55\x44\x33\x22\x11\x00\x10\x81\xa0\xd5\x07\x18\x00\x20\x00\x28\x01\x30\x01\x3a\x10\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x40\x80\xa0\xd5\x07\x00"
421
413
 
422
- #define BLUESYSTEMAVRUPDATE_FIELDLIST(X, a) \
423
- X(a, STATIC, REQUIRED, BYTES, data, 1)
424
- #define BLUESYSTEMAVRUPDATE_CALLBACK NULL
425
- #define BLUESYSTEMAVRUPDATE_DEFAULT NULL
426
-
427
414
  #define BLUESYSTEMAVRINFO_FIELDLIST(X, a) \
428
415
  X(a, STATIC, REQUIRED, UINT32, vermaj, 1) \
429
416
  X(a, STATIC, REQUIRED, UINT32, vermin, 2) \
@@ -552,7 +539,6 @@ extern const pb_msgdesc_t BlueOnlineConfig_t_msg;
552
539
  extern const pb_msgdesc_t BlueAccessConfigGroup_t_msg;
553
540
  extern const pb_msgdesc_t BlueAccessConfig_t_msg;
554
541
  extern const pb_msgdesc_t BlueOssConfig_t_msg;
555
- extern const pb_msgdesc_t BlueSystemAVRUpdate_t_msg;
556
542
  extern const pb_msgdesc_t BlueSystemAVRInfo_t_msg;
557
543
  extern const pb_msgdesc_t BlueSystemConfig_t_msg;
558
544
  extern const pb_msgdesc_t BlueSystemTimeUnix_t_msg;
@@ -574,7 +560,6 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
574
560
  #define BLUEACCESSCONFIGGROUP_FIELDS &BlueAccessConfigGroup_t_msg
575
561
  #define BLUEACCESSCONFIG_FIELDS &BlueAccessConfig_t_msg
576
562
  #define BLUEOSSCONFIG_FIELDS &BlueOssConfig_t_msg
577
- #define BLUESYSTEMAVRUPDATE_FIELDS &BlueSystemAVRUpdate_t_msg
578
563
  #define BLUESYSTEMAVRINFO_FIELDS &BlueSystemAVRInfo_t_msg
579
564
  #define BLUESYSTEMCONFIG_FIELDS &BlueSystemConfig_t_msg
580
565
  #define BLUESYSTEMTIMEUNIX_FIELDS &BlueSystemTimeUnix_t_msg
@@ -600,7 +585,6 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
600
585
  #define BLUEONLINECONFIG_SIZE 224
601
586
  #define BLUEOSSCONFIG_SIZE 56
602
587
  #define BLUESYSTEMAVRINFO_SIZE 9
603
- #define BLUESYSTEMAVRUPDATE_SIZE 803
604
588
  #define BLUESYSTEMCONFIG_SIZE 1657
605
589
  #define BLUESYSTEMLOGENTRY_SIZE 152
606
590
  #define BLUESYSTEMLOGQUERY_SIZE 9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -377,27 +377,6 @@ public struct BlueOssConfig: @unchecked Sendable {
377
377
  fileprivate var _soMifareAid: UInt32? = nil
378
378
  }
379
379
 
380
- public struct BlueSystemAVRUpdate: @unchecked Sendable {
381
- // SwiftProtobuf.Message conformance is added in an extension below. See the
382
- // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
383
- // methods supported on all messages.
384
-
385
- public var data: Data {
386
- get {return _data ?? Data()}
387
- set {_data = newValue}
388
- }
389
- /// Returns true if `data` has been explicitly set.
390
- public var hasData: Bool {return self._data != nil}
391
- /// Clears the value of `data`. Subsequent reads from it will return its default value.
392
- public mutating func clearData() {self._data = nil}
393
-
394
- public var unknownFields = SwiftProtobuf.UnknownStorage()
395
-
396
- public init() {}
397
-
398
- fileprivate var _data: Data? = nil
399
- }
400
-
401
380
  public struct BlueSystemAVRInfo: Sendable {
402
381
  // SwiftProtobuf.Message conformance is added in an extension below. See the
403
382
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
@@ -1479,47 +1458,6 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
1479
1458
  }
1480
1459
  }
1481
1460
 
1482
- extension BlueSystemAVRUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1483
- public static let protoMessageName: String = "BlueSystemAVRUpdate"
1484
- public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1485
- 1: .same(proto: "data"),
1486
- ]
1487
-
1488
- public var isInitialized: Bool {
1489
- if self._data == nil {return false}
1490
- return true
1491
- }
1492
-
1493
- public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1494
- while let fieldNumber = try decoder.nextFieldNumber() {
1495
- // The use of inline closures is to circumvent an issue where the compiler
1496
- // allocates stack space for every case branch when no optimizations are
1497
- // enabled. https://github.com/apple/swift-protobuf/issues/1034
1498
- switch fieldNumber {
1499
- case 1: try { try decoder.decodeSingularBytesField(value: &self._data) }()
1500
- default: break
1501
- }
1502
- }
1503
- }
1504
-
1505
- public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1506
- // The use of inline closures is to circumvent an issue where the compiler
1507
- // allocates stack space for every if/case branch local when no optimizations
1508
- // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
1509
- // https://github.com/apple/swift-protobuf/issues/1182
1510
- try { if let v = self._data {
1511
- try visitor.visitSingularBytesField(value: v, fieldNumber: 1)
1512
- } }()
1513
- try unknownFields.traverse(visitor: &visitor)
1514
- }
1515
-
1516
- public static func ==(lhs: BlueSystemAVRUpdate, rhs: BlueSystemAVRUpdate) -> Bool {
1517
- if lhs._data != rhs._data {return false}
1518
- if lhs.unknownFields != rhs.unknownFields {return false}
1519
- return true
1520
- }
1521
- }
1522
-
1523
1461
  extension BlueSystemAVRInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1524
1462
  public static let protoMessageName: String = "BlueSystemAVRInfo"
1525
1463
  public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [