@blueid/access-proto 0.78.0 → 0.79.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/BlueSDK.proto CHANGED
@@ -149,3 +149,13 @@ message BlueRefreshOssSoCredential {
149
149
  message BlueRefreshOssSoCredentials {
150
150
  repeated BlueRefreshOssSoCredential credentials = 1;
151
151
  }
152
+
153
+ message BlueSynchronizeAccessCredential {
154
+ required BlueCredentialId credentialId = 1;
155
+ required BlueReturnCode returnCode = 2;
156
+ optional string errorDescription = 3;
157
+ }
158
+
159
+ message BlueSynchronizeAccessCredentials {
160
+ repeated BlueSynchronizeAccessCredential credentials = 1;
161
+ }
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto2 } from "@bufbuild/protobuf";
8
- import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration } from "./BlueCore_pb.js";
8
+ import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from enum BlueDeviceType
@@ -562,3 +562,61 @@ export declare class BlueRefreshOssSoCredentials extends Message<BlueRefreshOssS
562
562
  static equals(a: BlueRefreshOssSoCredentials | PlainMessage<BlueRefreshOssSoCredentials> | undefined, b: BlueRefreshOssSoCredentials | PlainMessage<BlueRefreshOssSoCredentials> | undefined): boolean;
563
563
  }
564
564
 
565
+ /**
566
+ * @generated from message BlueSynchronizeAccessCredential
567
+ */
568
+ export declare class BlueSynchronizeAccessCredential extends Message<BlueSynchronizeAccessCredential> {
569
+ /**
570
+ * @generated from field: required BlueCredentialId credentialId = 1;
571
+ */
572
+ credentialId?: BlueCredentialId;
573
+
574
+ /**
575
+ * @generated from field: required BlueReturnCode returnCode = 2;
576
+ */
577
+ returnCode: BlueReturnCode;
578
+
579
+ /**
580
+ * @generated from field: optional string errorDescription = 3;
581
+ */
582
+ errorDescription?: string;
583
+
584
+ constructor(data?: PartialMessage<BlueSynchronizeAccessCredential>);
585
+
586
+ static readonly runtime: typeof proto2;
587
+ static readonly typeName = "BlueSynchronizeAccessCredential";
588
+ static readonly fields: FieldList;
589
+
590
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSynchronizeAccessCredential;
591
+
592
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredential;
593
+
594
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredential;
595
+
596
+ static equals(a: BlueSynchronizeAccessCredential | PlainMessage<BlueSynchronizeAccessCredential> | undefined, b: BlueSynchronizeAccessCredential | PlainMessage<BlueSynchronizeAccessCredential> | undefined): boolean;
597
+ }
598
+
599
+ /**
600
+ * @generated from message BlueSynchronizeAccessCredentials
601
+ */
602
+ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchronizeAccessCredentials> {
603
+ /**
604
+ * @generated from field: repeated BlueSynchronizeAccessCredential credentials = 1;
605
+ */
606
+ credentials: BlueSynchronizeAccessCredential[];
607
+
608
+ constructor(data?: PartialMessage<BlueSynchronizeAccessCredentials>);
609
+
610
+ static readonly runtime: typeof proto2;
611
+ static readonly typeName = "BlueSynchronizeAccessCredentials";
612
+ static readonly fields: FieldList;
613
+
614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSynchronizeAccessCredentials;
615
+
616
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredentials;
617
+
618
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredentials;
619
+
620
+ static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
621
+ }
622
+
package/cjs/BlueSDK_pb.js CHANGED
@@ -30,7 +30,9 @@ __export(BlueSDK_pb_exports, {
30
30
  BlueI18n: () => BlueI18n,
31
31
  BlueRefreshOssSoCredential: () => BlueRefreshOssSoCredential,
32
32
  BlueRefreshOssSoCredentialStatus: () => BlueRefreshOssSoCredentialStatus,
33
- BlueRefreshOssSoCredentials: () => BlueRefreshOssSoCredentials
33
+ BlueRefreshOssSoCredentials: () => BlueRefreshOssSoCredentials,
34
+ BlueSynchronizeAccessCredential: () => BlueSynchronizeAccessCredential,
35
+ BlueSynchronizeAccessCredentials: () => BlueSynchronizeAccessCredentials
34
36
  });
35
37
  module.exports = __toCommonJS(BlueSDK_pb_exports);
36
38
  var import_protobuf = require("@bufbuild/protobuf");
@@ -239,3 +241,17 @@ const BlueRefreshOssSoCredentials = import_protobuf.proto2.makeMessageType(
239
241
  { no: 1, name: "credentials", kind: "message", T: BlueRefreshOssSoCredential, repeated: true }
240
242
  ]
241
243
  );
244
+ const BlueSynchronizeAccessCredential = import_protobuf.proto2.makeMessageType(
245
+ "BlueSynchronizeAccessCredential",
246
+ () => [
247
+ { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
248
+ { no: 2, name: "returnCode", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode) },
249
+ { no: 3, name: "errorDescription", kind: "scalar", T: 9, opt: true }
250
+ ]
251
+ );
252
+ const BlueSynchronizeAccessCredentials = import_protobuf.proto2.makeMessageType(
253
+ "BlueSynchronizeAccessCredentials",
254
+ () => [
255
+ { no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true }
256
+ ]
257
+ );
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto2 } from "@bufbuild/protobuf";
8
- import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration } from "./BlueCore_pb.js";
8
+ import type { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from enum BlueDeviceType
@@ -562,3 +562,61 @@ export declare class BlueRefreshOssSoCredentials extends Message<BlueRefreshOssS
562
562
  static equals(a: BlueRefreshOssSoCredentials | PlainMessage<BlueRefreshOssSoCredentials> | undefined, b: BlueRefreshOssSoCredentials | PlainMessage<BlueRefreshOssSoCredentials> | undefined): boolean;
563
563
  }
564
564
 
565
+ /**
566
+ * @generated from message BlueSynchronizeAccessCredential
567
+ */
568
+ export declare class BlueSynchronizeAccessCredential extends Message<BlueSynchronizeAccessCredential> {
569
+ /**
570
+ * @generated from field: required BlueCredentialId credentialId = 1;
571
+ */
572
+ credentialId?: BlueCredentialId;
573
+
574
+ /**
575
+ * @generated from field: required BlueReturnCode returnCode = 2;
576
+ */
577
+ returnCode: BlueReturnCode;
578
+
579
+ /**
580
+ * @generated from field: optional string errorDescription = 3;
581
+ */
582
+ errorDescription?: string;
583
+
584
+ constructor(data?: PartialMessage<BlueSynchronizeAccessCredential>);
585
+
586
+ static readonly runtime: typeof proto2;
587
+ static readonly typeName = "BlueSynchronizeAccessCredential";
588
+ static readonly fields: FieldList;
589
+
590
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSynchronizeAccessCredential;
591
+
592
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredential;
593
+
594
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredential;
595
+
596
+ static equals(a: BlueSynchronizeAccessCredential | PlainMessage<BlueSynchronizeAccessCredential> | undefined, b: BlueSynchronizeAccessCredential | PlainMessage<BlueSynchronizeAccessCredential> | undefined): boolean;
597
+ }
598
+
599
+ /**
600
+ * @generated from message BlueSynchronizeAccessCredentials
601
+ */
602
+ export declare class BlueSynchronizeAccessCredentials extends Message<BlueSynchronizeAccessCredentials> {
603
+ /**
604
+ * @generated from field: repeated BlueSynchronizeAccessCredential credentials = 1;
605
+ */
606
+ credentials: BlueSynchronizeAccessCredential[];
607
+
608
+ constructor(data?: PartialMessage<BlueSynchronizeAccessCredentials>);
609
+
610
+ static readonly runtime: typeof proto2;
611
+ static readonly typeName = "BlueSynchronizeAccessCredentials";
612
+ static readonly fields: FieldList;
613
+
614
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueSynchronizeAccessCredentials;
615
+
616
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredentials;
617
+
618
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueSynchronizeAccessCredentials;
619
+
620
+ static equals(a: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined, b: BlueSynchronizeAccessCredentials | PlainMessage<BlueSynchronizeAccessCredentials> | undefined): boolean;
621
+ }
622
+
package/es/BlueSDK_pb.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto2 } from "@bufbuild/protobuf";
7
- import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration } from "./BlueCore_pb.js";
7
+ import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp, BlueOssSoConfiguration, BlueReturnCode } from "./BlueCore_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from enum BlueDeviceType
@@ -194,3 +194,25 @@ export const BlueRefreshOssSoCredentials = proto2.makeMessageType(
194
194
  ],
195
195
  );
196
196
 
197
+ /**
198
+ * @generated from message BlueSynchronizeAccessCredential
199
+ */
200
+ export const BlueSynchronizeAccessCredential = proto2.makeMessageType(
201
+ "BlueSynchronizeAccessCredential",
202
+ () => [
203
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
204
+ { no: 2, name: "returnCode", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
205
+ { no: 3, name: "errorDescription", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
206
+ ],
207
+ );
208
+
209
+ /**
210
+ * @generated from message BlueSynchronizeAccessCredentials
211
+ */
212
+ export const BlueSynchronizeAccessCredentials = proto2.makeMessageType(
213
+ "BlueSynchronizeAccessCredentials",
214
+ () => [
215
+ { no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true },
216
+ ],
217
+ );
218
+
@@ -42,6 +42,12 @@ PB_BIND(BLUEREFRESHOSSSOCREDENTIAL, BlueRefreshOssSoCredential_t, 4)
42
42
  PB_BIND(BLUEREFRESHOSSSOCREDENTIALS, BlueRefreshOssSoCredentials_t, AUTO)
43
43
 
44
44
 
45
+ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIAL, BlueSynchronizeAccessCredential_t, AUTO)
46
+
47
+
48
+ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIALS, BlueSynchronizeAccessCredentials_t, AUTO)
49
+
50
+
45
51
 
46
52
 
47
53
 
@@ -125,6 +125,16 @@ typedef struct BlueRefreshOssSoCredentials {
125
125
  pb_callback_t credentials;
126
126
  } BlueRefreshOssSoCredentials_t;
127
127
 
128
+ typedef struct BlueSynchronizeAccessCredential {
129
+ BlueCredentialId_t credentialId;
130
+ BlueReturnCode_t returnCode;
131
+ pb_callback_t errorDescription;
132
+ } BlueSynchronizeAccessCredential_t;
133
+
134
+ typedef struct BlueSynchronizeAccessCredentials {
135
+ pb_callback_t credentials;
136
+ } BlueSynchronizeAccessCredentials_t;
137
+
128
138
 
129
139
  #ifdef __cplusplus
130
140
  extern "C" {
@@ -154,6 +164,9 @@ extern "C" {
154
164
  #define BlueRefreshOssSoCredential_t_status_ENUMTYPE BlueRefreshOssSoCredentialStatus_t
155
165
 
156
166
 
167
+ #define BlueSynchronizeAccessCredential_t_returnCode_ENUMTYPE BlueReturnCode_t
168
+
169
+
157
170
 
158
171
  /* Initializer values for message structs */
159
172
  #define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
@@ -168,6 +181,8 @@ extern "C" {
168
181
  #define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
169
182
  #define BLUEREFRESHOSSSOCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUEREFRESHOSSSOCREDENTIALSTATUS_MIN, false, BLUEOSSSOCONFIGURATION_INIT_DEFAULT}
170
183
  #define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
184
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
185
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
171
186
  #define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
172
187
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
173
188
  #define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
@@ -180,6 +195,8 @@ extern "C" {
180
195
  #define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
181
196
  #define BLUEREFRESHOSSSOCREDENTIAL_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, _BLUEREFRESHOSSSOCREDENTIALSTATUS_MIN, false, BLUEOSSSOCONFIGURATION_INIT_ZERO}
182
197
  #define BLUEREFRESHOSSSOCREDENTIALS_INIT_ZERO {{{NULL}, NULL}}
198
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_ZERO {BLUECREDENTIALID_INIT_ZERO, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
199
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_ZERO {{{NULL}, NULL}}
183
200
 
184
201
  /* Field tags (for use in manual encoding/decoding) */
185
202
  #define BLUEI18N_NFCWAITMESSAGE_TAG 1
@@ -238,6 +255,10 @@ extern "C" {
238
255
  #define BLUEREFRESHOSSSOCREDENTIAL_STATUS_TAG 2
239
256
  #define BLUEREFRESHOSSSOCREDENTIAL_CONFIGURATION_TAG 3
240
257
  #define BLUEREFRESHOSSSOCREDENTIALS_CREDENTIALS_TAG 1
258
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_CREDENTIALID_TAG 1
259
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_RETURNCODE_TAG 2
260
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_ERRORDESCRIPTION_TAG 3
261
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_CREDENTIALS_TAG 1
241
262
 
242
263
  /* Struct field encoding specification for nanopb */
243
264
  #define BLUEI18N_FIELDLIST(X, a) \
@@ -357,6 +378,20 @@ X(a, CALLBACK, REPEATED, MESSAGE, credentials, 1)
357
378
  #define BLUEREFRESHOSSSOCREDENTIALS_DEFAULT NULL
358
379
  #define BlueRefreshOssSoCredentials_t_credentials_MSGTYPE BlueRefreshOssSoCredential_t
359
380
 
381
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_FIELDLIST(X, a) \
382
+ X(a, STATIC, REQUIRED, MESSAGE, credentialId, 1) \
383
+ X(a, STATIC, REQUIRED, ENUM, returnCode, 2) \
384
+ X(a, CALLBACK, OPTIONAL, STRING, errorDescription, 3)
385
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_CALLBACK pb_default_field_callback
386
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_DEFAULT NULL
387
+ #define BlueSynchronizeAccessCredential_t_credentialId_MSGTYPE BlueCredentialId_t
388
+
389
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_FIELDLIST(X, a) \
390
+ X(a, CALLBACK, REPEATED, MESSAGE, credentials, 1)
391
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_CALLBACK pb_default_field_callback
392
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_DEFAULT NULL
393
+ #define BlueSynchronizeAccessCredentials_t_credentials_MSGTYPE BlueSynchronizeAccessCredential_t
394
+
360
395
  extern const pb_msgdesc_t BlueI18n_t_msg;
361
396
  extern const pb_msgdesc_t BlueDeviceDetailsBluetooth_t_msg;
362
397
  extern const pb_msgdesc_t BlueDeviceDetailsUWB_t_msg;
@@ -369,6 +404,8 @@ extern const pb_msgdesc_t BlueAccessObject_t_msg;
369
404
  extern const pb_msgdesc_t BlueAccessObjectList_t_msg;
370
405
  extern const pb_msgdesc_t BlueRefreshOssSoCredential_t_msg;
371
406
  extern const pb_msgdesc_t BlueRefreshOssSoCredentials_t_msg;
407
+ extern const pb_msgdesc_t BlueSynchronizeAccessCredential_t_msg;
408
+ extern const pb_msgdesc_t BlueSynchronizeAccessCredentials_t_msg;
372
409
 
373
410
  /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
374
411
  #define BLUEI18N_FIELDS &BlueI18n_t_msg
@@ -383,6 +420,8 @@ extern const pb_msgdesc_t BlueRefreshOssSoCredentials_t_msg;
383
420
  #define BLUEACCESSOBJECTLIST_FIELDS &BlueAccessObjectList_t_msg
384
421
  #define BLUEREFRESHOSSSOCREDENTIAL_FIELDS &BlueRefreshOssSoCredential_t_msg
385
422
  #define BLUEREFRESHOSSSOCREDENTIALS_FIELDS &BlueRefreshOssSoCredentials_t_msg
423
+ #define BLUESYNCHRONIZEACCESSCREDENTIAL_FIELDS &BlueSynchronizeAccessCredential_t_msg
424
+ #define BLUESYNCHRONIZEACCESSCREDENTIALS_FIELDS &BlueSynchronizeAccessCredentials_t_msg
386
425
 
387
426
  /* Maximum encoded size of messages (where known) */
388
427
  /* BlueI18n_size depends on runtime parameters */
@@ -394,6 +433,8 @@ extern const pb_msgdesc_t BlueRefreshOssSoCredentials_t_msg;
394
433
  /* BlueAccessObject_size depends on runtime parameters */
395
434
  /* BlueAccessObjectList_size depends on runtime parameters */
396
435
  /* BlueRefreshOssSoCredentials_size depends on runtime parameters */
436
+ /* BlueSynchronizeAccessCredential_size depends on runtime parameters */
437
+ /* BlueSynchronizeAccessCredentials_size depends on runtime parameters */
397
438
  #define BLUEDEVICEDETAILSBLUETOOTH_SIZE 24
398
439
  #define BLUEDEVICEDETAILSUWB_SIZE 2
399
440
  #define BLUEREFRESHOSSSOCREDENTIAL_SIZE 28588
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -751,6 +751,59 @@ public struct BlueRefreshOssSoCredentials {
751
751
  public init() {}
752
752
  }
753
753
 
754
+ public struct BlueSynchronizeAccessCredential {
755
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
756
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
757
+ // methods supported on all messages.
758
+
759
+ public var credentialID: BlueCredentialId {
760
+ get {return _credentialID ?? BlueCredentialId()}
761
+ set {_credentialID = newValue}
762
+ }
763
+ /// Returns true if `credentialID` has been explicitly set.
764
+ public var hasCredentialID: Bool {return self._credentialID != nil}
765
+ /// Clears the value of `credentialID`. Subsequent reads from it will return its default value.
766
+ public mutating func clearCredentialID() {self._credentialID = nil}
767
+
768
+ public var returnCode: BlueReturnCode {
769
+ get {return _returnCode ?? .ok}
770
+ set {_returnCode = newValue}
771
+ }
772
+ /// Returns true if `returnCode` has been explicitly set.
773
+ public var hasReturnCode: Bool {return self._returnCode != nil}
774
+ /// Clears the value of `returnCode`. Subsequent reads from it will return its default value.
775
+ public mutating func clearReturnCode() {self._returnCode = nil}
776
+
777
+ public var errorDescription: String {
778
+ get {return _errorDescription ?? String()}
779
+ set {_errorDescription = newValue}
780
+ }
781
+ /// Returns true if `errorDescription` has been explicitly set.
782
+ public var hasErrorDescription: Bool {return self._errorDescription != nil}
783
+ /// Clears the value of `errorDescription`. Subsequent reads from it will return its default value.
784
+ public mutating func clearErrorDescription() {self._errorDescription = nil}
785
+
786
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
787
+
788
+ public init() {}
789
+
790
+ fileprivate var _credentialID: BlueCredentialId? = nil
791
+ fileprivate var _returnCode: BlueReturnCode? = nil
792
+ fileprivate var _errorDescription: String? = nil
793
+ }
794
+
795
+ public struct BlueSynchronizeAccessCredentials {
796
+ // SwiftProtobuf.Message conformance is added in an extension below. See the
797
+ // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
798
+ // methods supported on all messages.
799
+
800
+ public var credentials: [BlueSynchronizeAccessCredential] = []
801
+
802
+ public var unknownFields = SwiftProtobuf.UnknownStorage()
803
+
804
+ public init() {}
805
+ }
806
+
754
807
  #if swift(>=5.5) && canImport(_Concurrency)
755
808
  extension BlueDeviceType: @unchecked Sendable {}
756
809
  extension BlueRefreshOssSoCredentialStatus: @unchecked Sendable {}
@@ -767,6 +820,8 @@ extension BlueAccessObject: @unchecked Sendable {}
767
820
  extension BlueAccessObjectList: @unchecked Sendable {}
768
821
  extension BlueRefreshOssSoCredential: @unchecked Sendable {}
769
822
  extension BlueRefreshOssSoCredentials: @unchecked Sendable {}
823
+ extension BlueSynchronizeAccessCredential: @unchecked Sendable {}
824
+ extension BlueSynchronizeAccessCredentials: @unchecked Sendable {}
770
825
  #endif // swift(>=5.5) && canImport(_Concurrency)
771
826
 
772
827
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
@@ -1715,3 +1770,95 @@ extension BlueRefreshOssSoCredentials: SwiftProtobuf.Message, SwiftProtobuf._Mes
1715
1770
  return true
1716
1771
  }
1717
1772
  }
1773
+
1774
+ extension BlueSynchronizeAccessCredential: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1775
+ public static let protoMessageName: String = "BlueSynchronizeAccessCredential"
1776
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1777
+ 1: .same(proto: "credentialId"),
1778
+ 2: .same(proto: "returnCode"),
1779
+ 3: .same(proto: "errorDescription"),
1780
+ ]
1781
+
1782
+ public var isInitialized: Bool {
1783
+ if self._credentialID == nil {return false}
1784
+ if self._returnCode == nil {return false}
1785
+ if let v = self._credentialID, !v.isInitialized {return false}
1786
+ return true
1787
+ }
1788
+
1789
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1790
+ while let fieldNumber = try decoder.nextFieldNumber() {
1791
+ // The use of inline closures is to circumvent an issue where the compiler
1792
+ // allocates stack space for every case branch when no optimizations are
1793
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
1794
+ switch fieldNumber {
1795
+ case 1: try { try decoder.decodeSingularMessageField(value: &self._credentialID) }()
1796
+ case 2: try { try decoder.decodeSingularEnumField(value: &self._returnCode) }()
1797
+ case 3: try { try decoder.decodeSingularStringField(value: &self._errorDescription) }()
1798
+ default: break
1799
+ }
1800
+ }
1801
+ }
1802
+
1803
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1804
+ // The use of inline closures is to circumvent an issue where the compiler
1805
+ // allocates stack space for every if/case branch local when no optimizations
1806
+ // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and
1807
+ // https://github.com/apple/swift-protobuf/issues/1182
1808
+ try { if let v = self._credentialID {
1809
+ try visitor.visitSingularMessageField(value: v, fieldNumber: 1)
1810
+ } }()
1811
+ try { if let v = self._returnCode {
1812
+ try visitor.visitSingularEnumField(value: v, fieldNumber: 2)
1813
+ } }()
1814
+ try { if let v = self._errorDescription {
1815
+ try visitor.visitSingularStringField(value: v, fieldNumber: 3)
1816
+ } }()
1817
+ try unknownFields.traverse(visitor: &visitor)
1818
+ }
1819
+
1820
+ public static func ==(lhs: BlueSynchronizeAccessCredential, rhs: BlueSynchronizeAccessCredential) -> Bool {
1821
+ if lhs._credentialID != rhs._credentialID {return false}
1822
+ if lhs._returnCode != rhs._returnCode {return false}
1823
+ if lhs._errorDescription != rhs._errorDescription {return false}
1824
+ if lhs.unknownFields != rhs.unknownFields {return false}
1825
+ return true
1826
+ }
1827
+ }
1828
+
1829
+ extension BlueSynchronizeAccessCredentials: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
1830
+ public static let protoMessageName: String = "BlueSynchronizeAccessCredentials"
1831
+ public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1832
+ 1: .same(proto: "credentials"),
1833
+ ]
1834
+
1835
+ public var isInitialized: Bool {
1836
+ if !SwiftProtobuf.Internal.areAllInitialized(self.credentials) {return false}
1837
+ return true
1838
+ }
1839
+
1840
+ public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws {
1841
+ while let fieldNumber = try decoder.nextFieldNumber() {
1842
+ // The use of inline closures is to circumvent an issue where the compiler
1843
+ // allocates stack space for every case branch when no optimizations are
1844
+ // enabled. https://github.com/apple/swift-protobuf/issues/1034
1845
+ switch fieldNumber {
1846
+ case 1: try { try decoder.decodeRepeatedMessageField(value: &self.credentials) }()
1847
+ default: break
1848
+ }
1849
+ }
1850
+ }
1851
+
1852
+ public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws {
1853
+ if !self.credentials.isEmpty {
1854
+ try visitor.visitRepeatedMessageField(value: self.credentials, fieldNumber: 1)
1855
+ }
1856
+ try unknownFields.traverse(visitor: &visitor)
1857
+ }
1858
+
1859
+ public static func ==(lhs: BlueSynchronizeAccessCredentials, rhs: BlueSynchronizeAccessCredentials) -> Bool {
1860
+ if lhs.credentials != rhs.credentials {return false}
1861
+ if lhs.unknownFields != rhs.unknownFields {return false}
1862
+ return true
1863
+ }
1864
+ }