@blueid/access-proto 2.0.0-beta.2 → 2.0.0-beta.21
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/BlueSDK.proto +2 -1
- package/cjs/BlueSDK_pb.d.ts +6 -1
- package/cjs/BlueSDK_pb.js +8 -1
- package/es/BlueSDK_pb.d.ts +6 -1
- package/es/BlueSDK_pb.js +2 -1
- package/nanopb/BlueSDK.pb.h +7 -4
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +299 -74
- package/swift/BlueLock.pb.swift +18 -4
- package/swift/BlueSDK.pb.swift +111 -31
- package/swift/BlueSystem.pb.swift +79 -21
package/swift/BlueLock.pb.swift
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// DO NOT EDIT.
|
|
2
2
|
// swift-format-ignore-file
|
|
3
|
-
// swiftlint:disable all
|
|
4
3
|
//
|
|
5
4
|
// Generated by the Swift generator plugin for the protocol buffer compiler.
|
|
6
5
|
// Source: BlueLock.proto
|
|
@@ -8,6 +7,7 @@
|
|
|
8
7
|
// For information on using the generated types, please see the documentation:
|
|
9
8
|
// https://github.com/apple/swift-protobuf/
|
|
10
9
|
|
|
10
|
+
import Foundation
|
|
11
11
|
import SwiftProtobuf
|
|
12
12
|
|
|
13
13
|
// If the compiler emits an error on this type, it is because this file
|
|
@@ -20,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
|
|
|
20
20
|
typealias Version = _2
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
public enum BlueLockState: SwiftProtobuf.Enum
|
|
23
|
+
public enum BlueLockState: SwiftProtobuf.Enum {
|
|
24
24
|
public typealias RawValue = Int
|
|
25
25
|
case unknownLockState // = 1
|
|
26
26
|
case locked // = 2
|
|
@@ -52,7 +52,15 @@ public enum BlueLockState: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
52
52
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
#if swift(>=4.2)
|
|
56
|
+
|
|
57
|
+
extension BlueLockState: CaseIterable {
|
|
58
|
+
// Support synthesized by the compiler.
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#endif // swift(>=4.2)
|
|
62
|
+
|
|
63
|
+
public struct BlueLockConfig {
|
|
56
64
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
57
65
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
58
66
|
// methods supported on all messages.
|
|
@@ -111,7 +119,7 @@ public struct BlueLockConfig: Sendable {
|
|
|
111
119
|
fileprivate var _extendedOpenTimeSec: UInt32? = nil
|
|
112
120
|
}
|
|
113
121
|
|
|
114
|
-
public struct BlueLockStatus
|
|
122
|
+
public struct BlueLockStatus {
|
|
115
123
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
116
124
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
117
125
|
// methods supported on all messages.
|
|
@@ -142,6 +150,12 @@ public struct BlueLockStatus: Sendable {
|
|
|
142
150
|
fileprivate var _openings: UInt32? = nil
|
|
143
151
|
}
|
|
144
152
|
|
|
153
|
+
#if swift(>=5.5) && canImport(_Concurrency)
|
|
154
|
+
extension BlueLockState: @unchecked Sendable {}
|
|
155
|
+
extension BlueLockConfig: @unchecked Sendable {}
|
|
156
|
+
extension BlueLockStatus: @unchecked Sendable {}
|
|
157
|
+
#endif // swift(>=5.5) && canImport(_Concurrency)
|
|
158
|
+
|
|
145
159
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
146
160
|
|
|
147
161
|
extension BlueLockState: SwiftProtobuf._ProtoNameProviding {
|
package/swift/BlueSDK.pb.swift
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// DO NOT EDIT.
|
|
2
2
|
// swift-format-ignore-file
|
|
3
|
-
// swiftlint:disable all
|
|
4
3
|
//
|
|
5
4
|
// Generated by the Swift generator plugin for the protocol buffer compiler.
|
|
6
5
|
// Source: BlueSDK.proto
|
|
@@ -21,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
|
|
|
21
20
|
typealias Version = _2
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
public enum BlueDeviceType: SwiftProtobuf.Enum
|
|
23
|
+
public enum BlueDeviceType: SwiftProtobuf.Enum {
|
|
25
24
|
public typealias RawValue = Int
|
|
26
25
|
case bluetoothDevice // = 1
|
|
27
26
|
case uwbdevice // = 2
|
|
@@ -47,7 +46,15 @@ public enum BlueDeviceType: SwiftProtobuf.Enum, Swift.CaseIterable {
|
|
|
47
46
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
#if swift(>=4.2)
|
|
50
|
+
|
|
51
|
+
extension BlueDeviceType: CaseIterable {
|
|
52
|
+
// Support synthesized by the compiler.
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
#endif // swift(>=4.2)
|
|
56
|
+
|
|
57
|
+
public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum {
|
|
51
58
|
public typealias RawValue = Int
|
|
52
59
|
case succeeded // = 1
|
|
53
60
|
case failed // = 2
|
|
@@ -79,7 +86,15 @@ public enum BlueRefreshOssSoCredentialStatus: SwiftProtobuf.Enum, Swift.CaseIter
|
|
|
79
86
|
|
|
80
87
|
}
|
|
81
88
|
|
|
82
|
-
|
|
89
|
+
#if swift(>=4.2)
|
|
90
|
+
|
|
91
|
+
extension BlueRefreshOssSoCredentialStatus: CaseIterable {
|
|
92
|
+
// Support synthesized by the compiler.
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
#endif // swift(>=4.2)
|
|
96
|
+
|
|
97
|
+
public struct BlueI18n {
|
|
83
98
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
84
99
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
85
100
|
// methods supported on all messages.
|
|
@@ -640,7 +655,7 @@ public struct BlueI18n: @unchecked Sendable {
|
|
|
640
655
|
fileprivate var _storage = _StorageClass.defaultInstance
|
|
641
656
|
}
|
|
642
657
|
|
|
643
|
-
public struct BlueDeviceDetailsBluetooth
|
|
658
|
+
public struct BlueDeviceDetailsBluetooth {
|
|
644
659
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
645
660
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
646
661
|
// methods supported on all messages.
|
|
@@ -681,7 +696,7 @@ public struct BlueDeviceDetailsBluetooth: Sendable {
|
|
|
681
696
|
fileprivate var _isIbeacon: Bool? = nil
|
|
682
697
|
}
|
|
683
698
|
|
|
684
|
-
public struct BlueDeviceDetailsUWB
|
|
699
|
+
public struct BlueDeviceDetailsUWB {
|
|
685
700
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
686
701
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
687
702
|
// methods supported on all messages.
|
|
@@ -702,7 +717,7 @@ public struct BlueDeviceDetailsUWB: Sendable {
|
|
|
702
717
|
fileprivate var _notUsed: Bool? = nil
|
|
703
718
|
}
|
|
704
719
|
|
|
705
|
-
public struct BlueDeviceInfo
|
|
720
|
+
public struct BlueDeviceInfo {
|
|
706
721
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
707
722
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
708
723
|
// methods supported on all messages.
|
|
@@ -763,7 +778,7 @@ public struct BlueDeviceInfo: Sendable {
|
|
|
763
778
|
|
|
764
779
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
765
780
|
|
|
766
|
-
public enum OneOf_Details: Equatable
|
|
781
|
+
public enum OneOf_Details: Equatable {
|
|
767
782
|
case bluetooth(BlueDeviceDetailsBluetooth)
|
|
768
783
|
case uwb(BlueDeviceDetailsUWB)
|
|
769
784
|
|
|
@@ -783,6 +798,24 @@ public struct BlueDeviceInfo: Sendable {
|
|
|
783
798
|
}
|
|
784
799
|
}
|
|
785
800
|
|
|
801
|
+
#if !swift(>=4.1)
|
|
802
|
+
public static func ==(lhs: BlueDeviceInfo.OneOf_Details, rhs: BlueDeviceInfo.OneOf_Details) -> Bool {
|
|
803
|
+
// The use of inline closures is to circumvent an issue where the compiler
|
|
804
|
+
// allocates stack space for every case branch when no optimizations are
|
|
805
|
+
// enabled. https://github.com/apple/swift-protobuf/issues/1034
|
|
806
|
+
switch (lhs, rhs) {
|
|
807
|
+
case (.bluetooth, .bluetooth): return {
|
|
808
|
+
guard case .bluetooth(let l) = lhs, case .bluetooth(let r) = rhs else { preconditionFailure() }
|
|
809
|
+
return l == r
|
|
810
|
+
}()
|
|
811
|
+
case (.uwb, .uwb): return {
|
|
812
|
+
guard case .uwb(let l) = lhs, case .uwb(let r) = rhs else { preconditionFailure() }
|
|
813
|
+
return l == r
|
|
814
|
+
}()
|
|
815
|
+
default: return false
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
#endif
|
|
786
819
|
}
|
|
787
820
|
|
|
788
821
|
public init() {}
|
|
@@ -793,7 +826,7 @@ public struct BlueDeviceInfo: Sendable {
|
|
|
793
826
|
fileprivate var _manufacturerInfo: BlueBleManufacturerInfo? = nil
|
|
794
827
|
}
|
|
795
828
|
|
|
796
|
-
public struct BlueIdentity
|
|
829
|
+
public struct BlueIdentity {
|
|
797
830
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
798
831
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
799
832
|
// methods supported on all messages.
|
|
@@ -915,7 +948,7 @@ public struct BlueIdentity: @unchecked Sendable {
|
|
|
915
948
|
fileprivate var _storage = _StorageClass.defaultInstance
|
|
916
949
|
}
|
|
917
950
|
|
|
918
|
-
public struct BlueIdentitiesList
|
|
951
|
+
public struct BlueIdentitiesList {
|
|
919
952
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
920
953
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
921
954
|
// methods supported on all messages.
|
|
@@ -927,7 +960,7 @@ public struct BlueIdentitiesList: Sendable {
|
|
|
927
960
|
public init() {}
|
|
928
961
|
}
|
|
929
962
|
|
|
930
|
-
public struct BlueAccessDevice
|
|
963
|
+
public struct BlueAccessDevice {
|
|
931
964
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
932
965
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
933
966
|
// methods supported on all messages.
|
|
@@ -968,7 +1001,7 @@ public struct BlueAccessDevice: Sendable {
|
|
|
968
1001
|
fileprivate var _objectID: Int32? = nil
|
|
969
1002
|
}
|
|
970
1003
|
|
|
971
|
-
public struct BlueAccessDeviceList
|
|
1004
|
+
public struct BlueAccessDeviceList {
|
|
972
1005
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
973
1006
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
974
1007
|
// methods supported on all messages.
|
|
@@ -980,7 +1013,7 @@ public struct BlueAccessDeviceList: Sendable {
|
|
|
980
1013
|
public init() {}
|
|
981
1014
|
}
|
|
982
1015
|
|
|
983
|
-
public struct BlueAccessObject
|
|
1016
|
+
public struct BlueAccessObject {
|
|
984
1017
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
985
1018
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
986
1019
|
// methods supported on all messages.
|
|
@@ -1033,7 +1066,7 @@ public struct BlueAccessObject: Sendable {
|
|
|
1033
1066
|
fileprivate var _description_p: String? = nil
|
|
1034
1067
|
}
|
|
1035
1068
|
|
|
1036
|
-
public struct BlueAccessObjectList
|
|
1069
|
+
public struct BlueAccessObjectList {
|
|
1037
1070
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1038
1071
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1039
1072
|
// methods supported on all messages.
|
|
@@ -1045,7 +1078,7 @@ public struct BlueAccessObjectList: Sendable {
|
|
|
1045
1078
|
public init() {}
|
|
1046
1079
|
}
|
|
1047
1080
|
|
|
1048
|
-
public struct BlueHardwareInfo
|
|
1081
|
+
public struct BlueHardwareInfo {
|
|
1049
1082
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1050
1083
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1051
1084
|
// methods supported on all messages.
|
|
@@ -1106,7 +1139,7 @@ public struct BlueHardwareInfo: Sendable {
|
|
|
1106
1139
|
fileprivate var _type: BlueHardwareType? = nil
|
|
1107
1140
|
}
|
|
1108
1141
|
|
|
1109
|
-
public struct BlueSystemStatusExt
|
|
1142
|
+
public struct BlueSystemStatusExt {
|
|
1110
1143
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1111
1144
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1112
1145
|
// methods supported on all messages.
|
|
@@ -1167,7 +1200,7 @@ public struct BlueSystemStatusExt: Sendable {
|
|
|
1167
1200
|
fileprivate var _hardwareInfo: BlueHardwareInfo? = nil
|
|
1168
1201
|
}
|
|
1169
1202
|
|
|
1170
|
-
public struct BlueRefreshOssSoIdentity
|
|
1203
|
+
public struct BlueRefreshOssSoIdentity {
|
|
1171
1204
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1172
1205
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1173
1206
|
// methods supported on all messages.
|
|
@@ -1210,7 +1243,7 @@ public struct BlueRefreshOssSoIdentity: Sendable {
|
|
|
1210
1243
|
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1211
1244
|
}
|
|
1212
1245
|
|
|
1213
|
-
public struct BlueRefreshOssSoIdentities
|
|
1246
|
+
public struct BlueRefreshOssSoIdentities {
|
|
1214
1247
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1215
1248
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1216
1249
|
// methods supported on all messages.
|
|
@@ -1222,7 +1255,7 @@ public struct BlueRefreshOssSoIdentities: Sendable {
|
|
|
1222
1255
|
public init() {}
|
|
1223
1256
|
}
|
|
1224
1257
|
|
|
1225
|
-
public struct BlueSynchronizeIdentity
|
|
1258
|
+
public struct BlueSynchronizeIdentity {
|
|
1226
1259
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1227
1260
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1228
1261
|
// methods supported on all messages.
|
|
@@ -1263,7 +1296,7 @@ public struct BlueSynchronizeIdentity: Sendable {
|
|
|
1263
1296
|
fileprivate var _errorDescription: String? = nil
|
|
1264
1297
|
}
|
|
1265
1298
|
|
|
1266
|
-
public struct BlueSynchronizeIdentities
|
|
1299
|
+
public struct BlueSynchronizeIdentities {
|
|
1267
1300
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1268
1301
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1269
1302
|
// methods supported on all messages.
|
|
@@ -1275,7 +1308,7 @@ public struct BlueSynchronizeIdentities: Sendable {
|
|
|
1275
1308
|
public init() {}
|
|
1276
1309
|
}
|
|
1277
1310
|
|
|
1278
|
-
public struct BlueLegacyProvisioningRequest
|
|
1311
|
+
public struct BlueLegacyProvisioningRequest {
|
|
1279
1312
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1280
1313
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1281
1314
|
// methods supported on all messages.
|
|
@@ -1346,7 +1379,7 @@ public struct BlueLegacyProvisioningRequest: Sendable {
|
|
|
1346
1379
|
fileprivate var _hardwareSerialNumber: String? = nil
|
|
1347
1380
|
}
|
|
1348
1381
|
|
|
1349
|
-
public struct BlueLegacyProvisioningResponse
|
|
1382
|
+
public struct BlueLegacyProvisioningResponse {
|
|
1350
1383
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1351
1384
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1352
1385
|
// methods supported on all messages.
|
|
@@ -1369,6 +1402,15 @@ public struct BlueLegacyProvisioningResponse: Sendable {
|
|
|
1369
1402
|
/// Clears the value of `objectID`. Subsequent reads from it will return its default value.
|
|
1370
1403
|
public mutating func clearObjectID() {self._objectID = nil}
|
|
1371
1404
|
|
|
1405
|
+
public var objectName: String {
|
|
1406
|
+
get {return _objectName ?? String()}
|
|
1407
|
+
set {_objectName = newValue}
|
|
1408
|
+
}
|
|
1409
|
+
/// Returns true if `objectName` has been explicitly set.
|
|
1410
|
+
public var hasObjectName: Bool {return self._objectName != nil}
|
|
1411
|
+
/// Clears the value of `objectName`. Subsequent reads from it will return its default value.
|
|
1412
|
+
public mutating func clearObjectName() {self._objectName = nil}
|
|
1413
|
+
|
|
1372
1414
|
public var provisioning: BlueSystemProvisioning {
|
|
1373
1415
|
get {return _provisioning ?? BlueSystemProvisioning()}
|
|
1374
1416
|
set {_provisioning = newValue}
|
|
@@ -1384,11 +1426,12 @@ public struct BlueLegacyProvisioningResponse: Sendable {
|
|
|
1384
1426
|
|
|
1385
1427
|
fileprivate var _deviceID: String? = nil
|
|
1386
1428
|
fileprivate var _objectID: String? = nil
|
|
1429
|
+
fileprivate var _objectName: String? = nil
|
|
1387
1430
|
fileprivate var _provisioning: BlueSystemProvisioning? = nil
|
|
1388
1431
|
}
|
|
1389
1432
|
|
|
1390
1433
|
/// @TODO: Keep it until we have updated all places in both iOS and Android SDK.
|
|
1391
|
-
public struct BlueAccessCredential
|
|
1434
|
+
public struct BlueAccessCredential {
|
|
1392
1435
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1393
1436
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1394
1437
|
// methods supported on all messages.
|
|
@@ -1517,7 +1560,7 @@ public struct BlueAccessCredential: @unchecked Sendable {
|
|
|
1517
1560
|
fileprivate var _storage = _StorageClass.defaultInstance
|
|
1518
1561
|
}
|
|
1519
1562
|
|
|
1520
|
-
public struct BlueAccessCredentialList
|
|
1563
|
+
public struct BlueAccessCredentialList {
|
|
1521
1564
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1522
1565
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1523
1566
|
// methods supported on all messages.
|
|
@@ -1529,7 +1572,7 @@ public struct BlueAccessCredentialList: Sendable {
|
|
|
1529
1572
|
public init() {}
|
|
1530
1573
|
}
|
|
1531
1574
|
|
|
1532
|
-
public struct BlueRefreshOssSoCredential
|
|
1575
|
+
public struct BlueRefreshOssSoCredential {
|
|
1533
1576
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1534
1577
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1535
1578
|
// methods supported on all messages.
|
|
@@ -1570,7 +1613,7 @@ public struct BlueRefreshOssSoCredential: Sendable {
|
|
|
1570
1613
|
fileprivate var _configuration: BlueOssSoConfiguration? = nil
|
|
1571
1614
|
}
|
|
1572
1615
|
|
|
1573
|
-
public struct BlueRefreshOssSoCredentials
|
|
1616
|
+
public struct BlueRefreshOssSoCredentials {
|
|
1574
1617
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1575
1618
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1576
1619
|
// methods supported on all messages.
|
|
@@ -1582,7 +1625,7 @@ public struct BlueRefreshOssSoCredentials: Sendable {
|
|
|
1582
1625
|
public init() {}
|
|
1583
1626
|
}
|
|
1584
1627
|
|
|
1585
|
-
public struct BlueSynchronizeAccessCredential
|
|
1628
|
+
public struct BlueSynchronizeAccessCredential {
|
|
1586
1629
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1587
1630
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1588
1631
|
// methods supported on all messages.
|
|
@@ -1623,7 +1666,7 @@ public struct BlueSynchronizeAccessCredential: Sendable {
|
|
|
1623
1666
|
fileprivate var _errorDescription: String? = nil
|
|
1624
1667
|
}
|
|
1625
1668
|
|
|
1626
|
-
public struct BlueSynchronizeAccessCredentials
|
|
1669
|
+
public struct BlueSynchronizeAccessCredentials {
|
|
1627
1670
|
// SwiftProtobuf.Message conformance is added in an extension below. See the
|
|
1628
1671
|
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
|
|
1629
1672
|
// methods supported on all messages.
|
|
@@ -1635,6 +1678,36 @@ public struct BlueSynchronizeAccessCredentials: Sendable {
|
|
|
1635
1678
|
public init() {}
|
|
1636
1679
|
}
|
|
1637
1680
|
|
|
1681
|
+
#if swift(>=5.5) && canImport(_Concurrency)
|
|
1682
|
+
extension BlueDeviceType: @unchecked Sendable {}
|
|
1683
|
+
extension BlueRefreshOssSoCredentialStatus: @unchecked Sendable {}
|
|
1684
|
+
extension BlueI18n: @unchecked Sendable {}
|
|
1685
|
+
extension BlueDeviceDetailsBluetooth: @unchecked Sendable {}
|
|
1686
|
+
extension BlueDeviceDetailsUWB: @unchecked Sendable {}
|
|
1687
|
+
extension BlueDeviceInfo: @unchecked Sendable {}
|
|
1688
|
+
extension BlueDeviceInfo.OneOf_Details: @unchecked Sendable {}
|
|
1689
|
+
extension BlueIdentity: @unchecked Sendable {}
|
|
1690
|
+
extension BlueIdentitiesList: @unchecked Sendable {}
|
|
1691
|
+
extension BlueAccessDevice: @unchecked Sendable {}
|
|
1692
|
+
extension BlueAccessDeviceList: @unchecked Sendable {}
|
|
1693
|
+
extension BlueAccessObject: @unchecked Sendable {}
|
|
1694
|
+
extension BlueAccessObjectList: @unchecked Sendable {}
|
|
1695
|
+
extension BlueHardwareInfo: @unchecked Sendable {}
|
|
1696
|
+
extension BlueSystemStatusExt: @unchecked Sendable {}
|
|
1697
|
+
extension BlueRefreshOssSoIdentity: @unchecked Sendable {}
|
|
1698
|
+
extension BlueRefreshOssSoIdentities: @unchecked Sendable {}
|
|
1699
|
+
extension BlueSynchronizeIdentity: @unchecked Sendable {}
|
|
1700
|
+
extension BlueSynchronizeIdentities: @unchecked Sendable {}
|
|
1701
|
+
extension BlueLegacyProvisioningRequest: @unchecked Sendable {}
|
|
1702
|
+
extension BlueLegacyProvisioningResponse: @unchecked Sendable {}
|
|
1703
|
+
extension BlueAccessCredential: @unchecked Sendable {}
|
|
1704
|
+
extension BlueAccessCredentialList: @unchecked Sendable {}
|
|
1705
|
+
extension BlueRefreshOssSoCredential: @unchecked Sendable {}
|
|
1706
|
+
extension BlueRefreshOssSoCredentials: @unchecked Sendable {}
|
|
1707
|
+
extension BlueSynchronizeAccessCredential: @unchecked Sendable {}
|
|
1708
|
+
extension BlueSynchronizeAccessCredentials: @unchecked Sendable {}
|
|
1709
|
+
#endif // swift(>=5.5) && canImport(_Concurrency)
|
|
1710
|
+
|
|
1638
1711
|
// MARK: - Code below here is support for the SwiftProtobuf runtime.
|
|
1639
1712
|
|
|
1640
1713
|
extension BlueDeviceType: SwiftProtobuf._ProtoNameProviding {
|
|
@@ -3281,12 +3354,14 @@ extension BlueLegacyProvisioningResponse: SwiftProtobuf.Message, SwiftProtobuf._
|
|
|
3281
3354
|
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
|
|
3282
3355
|
1: .same(proto: "deviceId"),
|
|
3283
3356
|
2: .same(proto: "objectId"),
|
|
3284
|
-
3: .same(proto: "
|
|
3357
|
+
3: .same(proto: "objectName"),
|
|
3358
|
+
4: .same(proto: "provisioning"),
|
|
3285
3359
|
]
|
|
3286
3360
|
|
|
3287
3361
|
public var isInitialized: Bool {
|
|
3288
3362
|
if self._deviceID == nil {return false}
|
|
3289
3363
|
if self._objectID == nil {return false}
|
|
3364
|
+
if self._objectName == nil {return false}
|
|
3290
3365
|
if self._provisioning == nil {return false}
|
|
3291
3366
|
if let v = self._provisioning, !v.isInitialized {return false}
|
|
3292
3367
|
return true
|
|
@@ -3300,7 +3375,8 @@ extension BlueLegacyProvisioningResponse: SwiftProtobuf.Message, SwiftProtobuf._
|
|
|
3300
3375
|
switch fieldNumber {
|
|
3301
3376
|
case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
|
|
3302
3377
|
case 2: try { try decoder.decodeSingularStringField(value: &self._objectID) }()
|
|
3303
|
-
case 3: try { try decoder.
|
|
3378
|
+
case 3: try { try decoder.decodeSingularStringField(value: &self._objectName) }()
|
|
3379
|
+
case 4: try { try decoder.decodeSingularMessageField(value: &self._provisioning) }()
|
|
3304
3380
|
default: break
|
|
3305
3381
|
}
|
|
3306
3382
|
}
|
|
@@ -3317,8 +3393,11 @@ extension BlueLegacyProvisioningResponse: SwiftProtobuf.Message, SwiftProtobuf._
|
|
|
3317
3393
|
try { if let v = self._objectID {
|
|
3318
3394
|
try visitor.visitSingularStringField(value: v, fieldNumber: 2)
|
|
3319
3395
|
} }()
|
|
3396
|
+
try { if let v = self._objectName {
|
|
3397
|
+
try visitor.visitSingularStringField(value: v, fieldNumber: 3)
|
|
3398
|
+
} }()
|
|
3320
3399
|
try { if let v = self._provisioning {
|
|
3321
|
-
try visitor.visitSingularMessageField(value: v, fieldNumber:
|
|
3400
|
+
try visitor.visitSingularMessageField(value: v, fieldNumber: 4)
|
|
3322
3401
|
} }()
|
|
3323
3402
|
try unknownFields.traverse(visitor: &visitor)
|
|
3324
3403
|
}
|
|
@@ -3326,6 +3405,7 @@ extension BlueLegacyProvisioningResponse: SwiftProtobuf.Message, SwiftProtobuf._
|
|
|
3326
3405
|
public static func ==(lhs: BlueLegacyProvisioningResponse, rhs: BlueLegacyProvisioningResponse) -> Bool {
|
|
3327
3406
|
if lhs._deviceID != rhs._deviceID {return false}
|
|
3328
3407
|
if lhs._objectID != rhs._objectID {return false}
|
|
3408
|
+
if lhs._objectName != rhs._objectName {return false}
|
|
3329
3409
|
if lhs._provisioning != rhs._provisioning {return false}
|
|
3330
3410
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
3331
3411
|
return true
|