@blueid/access-proto 12.15.0 → 12.16.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/BlueCore.proto +11 -39
- package/BlueNetworkCore.proto +122 -0
- package/BlueSystem.proto +13 -1
- package/cjs/BlueCore_pb.d.ts +6 -178
- package/cjs/BlueCore_pb.js +2 -70
- package/cjs/BlueNetworkCore_pb.d.ts +591 -0
- package/cjs/BlueNetworkCore_pb.js +234 -0
- package/cjs/BlueSystem_pb.d.ts +32 -0
- package/cjs/BlueSystem_pb.js +12 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +1 -0
- package/es/BlueCore_pb.d.ts +6 -178
- package/es/BlueCore_pb.js +1 -67
- package/es/BlueNetworkCore_pb.d.ts +591 -0
- package/es/BlueNetworkCore_pb.js +215 -0
- package/es/BlueSystem_pb.d.ts +32 -0
- package/es/BlueSystem_pb.js +14 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/nanopb/BlueCore.pb.c +2 -20
- package/nanopb/BlueCore.pb.h +8 -128
- package/nanopb/BlueNetworkCore.pb.c +63 -0
- package/nanopb/BlueNetworkCore.pb.h +409 -0
- package/nanopb/BlueSystem.pb.c +1 -0
- package/nanopb/BlueSystem.pb.h +48 -7
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +3 -488
- package/swift/BlueNetworkCore.pb.swift +1700 -0
- package/swift/BlueSystem.pb.swift +33 -1
|
@@ -21,6 +21,18 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
|
|
|
21
21
|
typealias Version = _2
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
public enum BlueNetworkType: Int, SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
25
|
+
case none = 1
|
|
26
|
+
case ethernet = 2
|
|
27
|
+
case wifi = 3
|
|
28
|
+
case gsm = 4
|
|
29
|
+
|
|
30
|
+
public init() {
|
|
31
|
+
self = .none
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
24
36
|
public struct BlueBaseConfig: Sendable {
|
|
25
37
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
26
38
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
@@ -374,6 +386,16 @@ public struct BlueOssConfig: Sendable {
|
|
|
374
386
|
/// Clears the value of `soMifareAid`. Subsequent reads from it will return its default value.
|
|
375
387
|
public mutating func clearSoMifareAid() {self._soMifareAid = nil}
|
|
376
388
|
|
|
389
|
+
/// The card will request to refresh if the existing days passed. It can become required after stable
|
|
390
|
+
public var minRefreshDays: UInt32 {
|
|
391
|
+
get {return _minRefreshDays ?? 5}
|
|
392
|
+
set {_minRefreshDays = newValue}
|
|
393
|
+
}
|
|
394
|
+
/// Returns true if `minRefreshDays` has been explicitly set.
|
|
395
|
+
public var hasMinRefreshDays: Bool {return self._minRefreshDays != nil}
|
|
396
|
+
/// Clears the value of `minRefreshDays`. Subsequent reads from it will return its default value.
|
|
397
|
+
public mutating func clearMinRefreshDays() {self._minRefreshDays = nil}
|
|
398
|
+
|
|
377
399
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
378
400
|
|
|
379
401
|
public init() {}
|
|
@@ -386,6 +408,7 @@ public struct BlueOssConfig: Sendable {
|
|
|
386
408
|
fileprivate var _soUpdateFromBlacklist: Bool? = nil
|
|
387
409
|
fileprivate var _soMifareAesKey: Data? = nil
|
|
388
410
|
fileprivate var _soMifareAid: UInt32? = nil
|
|
411
|
+
fileprivate var _minRefreshDays: UInt32? = nil
|
|
389
412
|
}
|
|
390
413
|
|
|
391
414
|
public struct BlueSystemAVRInfo: Sendable {
|
|
@@ -1074,6 +1097,10 @@ public struct BlueBlacklistEntries: Sendable {
|
|
|
1074
1097
|
|
|
1075
1098
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
1076
1099
|
|
|
1100
|
+
extension BlueNetworkType: SwiftProtobuf._ProtoNameProviding {
|
|
1101
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}None\0\u{1}Ethernet\0\u{1}Wifi\0\u{1}Gsm\0")
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1077
1104
|
extension BlueBaseConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1078
1105
|
public static let protoMessageName: String = "BlueBaseConfig"
|
|
1079
1106
|
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}isoCountry\0\u{1}isoState\0\u{1}utcOffsetMinutes\0\u{1}autoCheckSystemStatus\0")
|
|
@@ -1371,7 +1398,7 @@ extension BlueAccessConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
|
|
|
1371
1398
|
|
|
1372
1399
|
extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1373
1400
|
public static let protoMessageName: String = "BlueOssConfig"
|
|
1374
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}sidMifareAesKey\0\u{1}sidMifareAid\0\u{1}soUpdater\0\u{1}soPushEvents\0\u{1}soWritePendingEvents\0\u{1}soUpdateFromBlacklist\0\u{1}soMifareAesKey\0\u{1}soMifareAid\0")
|
|
1401
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}sidMifareAesKey\0\u{1}sidMifareAid\0\u{1}soUpdater\0\u{1}soPushEvents\0\u{1}soWritePendingEvents\0\u{1}soUpdateFromBlacklist\0\u{1}soMifareAesKey\0\u{1}soMifareAid\0\u{1}minRefreshDays\0")
|
|
1375
1402
|
|
|
1376
1403
|
public var isInitialized: Bool {
|
|
1377
1404
|
if self._sidMifareAesKey == nil {return false}
|
|
@@ -1399,6 +1426,7 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
|
|
1399
1426
|
case 6: try { try decoder.decodeSingularBoolField(value: &self._soUpdateFromBlacklist) }()
|
|
1400
1427
|
case 7: try { try decoder.decodeSingularBytesField(value: &self._soMifareAesKey) }()
|
|
1401
1428
|
case 8: try { try decoder.decodeSingularUInt32Field(value: &self._soMifareAid) }()
|
|
1429
|
+
case 9: try { try decoder.decodeSingularUInt32Field(value: &self._minRefreshDays) }()
|
|
1402
1430
|
default: break
|
|
1403
1431
|
}
|
|
1404
1432
|
}
|
|
@@ -1433,6 +1461,9 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
|
|
1433
1461
|
try { if let v = self._soMifareAid {
|
|
1434
1462
|
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 8)
|
|
1435
1463
|
} }()
|
|
1464
|
+
try { if let v = self._minRefreshDays {
|
|
1465
|
+
try visitor.visitSingularUInt32Field(value: v, fieldNumber: 9)
|
|
1466
|
+
} }()
|
|
1436
1467
|
try unknownFields.traverse(visitor: &visitor)
|
|
1437
1468
|
}
|
|
1438
1469
|
|
|
@@ -1445,6 +1476,7 @@ extension BlueOssConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementa
|
|
|
1445
1476
|
if lhs._soUpdateFromBlacklist != rhs._soUpdateFromBlacklist {return false}
|
|
1446
1477
|
if lhs._soMifareAesKey != rhs._soMifareAesKey {return false}
|
|
1447
1478
|
if lhs._soMifareAid != rhs._soMifareAid {return false}
|
|
1479
|
+
if lhs._minRefreshDays != rhs._minRefreshDays {return false}
|
|
1448
1480
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1449
1481
|
return true
|
|
1450
1482
|
}
|