@blueid/access-proto 11.2.0 → 11.3.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
@@ -238,6 +238,7 @@ message BlueAccessDevice {
238
238
  required string deviceId = 1;
239
239
  optional string objectName = 2;
240
240
  optional int32 objectId = 3;
241
+ optional string deviceStatus = 4;
241
242
  }
242
243
 
243
244
  message BlueAccessDeviceList {
@@ -671,6 +671,11 @@ export declare class BlueAccessDevice extends Message<BlueAccessDevice> {
671
671
  */
672
672
  objectId?: number;
673
673
 
674
+ /**
675
+ * @generated from field: optional string deviceStatus = 4;
676
+ */
677
+ deviceStatus?: string;
678
+
674
679
  constructor(data?: PartialMessage<BlueAccessDevice>);
675
680
 
676
681
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -257,7 +257,8 @@ const BlueAccessDevice = import_protobuf.proto2.makeMessageType(
257
257
  /* ScalarType.STRING */
258
258
  },
259
259
  { no: 2, name: "objectName", kind: "scalar", T: 9, opt: true },
260
- { no: 3, name: "objectId", kind: "scalar", T: 5, opt: true }
260
+ { no: 3, name: "objectId", kind: "scalar", T: 5, opt: true },
261
+ { no: 4, name: "deviceStatus", kind: "scalar", T: 9, opt: true }
261
262
  ]
262
263
  );
263
264
  const BlueAccessDeviceList = import_protobuf.proto2.makeMessageType(
@@ -671,6 +671,11 @@ export declare class BlueAccessDevice extends Message<BlueAccessDevice> {
671
671
  */
672
672
  objectId?: number;
673
673
 
674
+ /**
675
+ * @generated from field: optional string deviceStatus = 4;
676
+ */
677
+ deviceStatus?: string;
678
+
674
679
  constructor(data?: PartialMessage<BlueAccessDevice>);
675
680
 
676
681
  static readonly runtime: typeof proto2;
package/es/BlueSDK_pb.js CHANGED
@@ -190,6 +190,7 @@ export const BlueAccessDevice = proto2.makeMessageType(
190
190
  { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
191
191
  { no: 2, name: "objectName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
192
192
  { no: 3, name: "objectId", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
193
+ { no: 4, name: "deviceStatus", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
193
194
  ],
194
195
  );
195
196
 
@@ -152,6 +152,7 @@ typedef struct BlueAccessDevice {
152
152
  pb_callback_t objectName;
153
153
  bool has_objectId;
154
154
  int32_t objectId;
155
+ pb_callback_t deviceStatus;
155
156
  } BlueAccessDevice_t;
156
157
 
157
158
  typedef struct BlueAccessDeviceList {
@@ -342,7 +343,7 @@ extern "C" {
342
343
  #define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
343
344
  #define BLUEIDENTITY_INIT_DEFAULT {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, false, BLUELOCALTIMESTAMP_INIT_DEFAULT, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
344
345
  #define BLUEIDENTITIESLIST_INIT_DEFAULT {{{NULL}, NULL}}
345
- #define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
346
+ #define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0, {{NULL}, NULL}}
346
347
  #define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
347
348
  #define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
348
349
  #define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
@@ -368,7 +369,7 @@ extern "C" {
368
369
  #define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
369
370
  #define BLUEIDENTITY_INIT_ZERO {{{NULL}, NULL}, _BLUECREDENTIALTYPE_MIN, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, false, BLUELOCALTIMESTAMP_INIT_ZERO, false, BLUELOCALTIMESTAMP_INIT_ZERO, {{NULL}, NULL}, {{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
370
371
  #define BLUEIDENTITIESLIST_INIT_ZERO {{{NULL}, NULL}}
371
- #define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
372
+ #define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0, {{NULL}, NULL}}
372
373
  #define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
373
374
  #define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
374
375
  #define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
@@ -489,6 +490,7 @@ extern "C" {
489
490
  #define BLUEACCESSDEVICE_DEVICEID_TAG 1
490
491
  #define BLUEACCESSDEVICE_OBJECTNAME_TAG 2
491
492
  #define BLUEACCESSDEVICE_OBJECTID_TAG 3
493
+ #define BLUEACCESSDEVICE_DEVICESTATUS_TAG 4
492
494
  #define BLUEACCESSDEVICELIST_DEVICES_TAG 1
493
495
  #define BLUEACCESSOBJECT__ID_TAG 1
494
496
  #define BLUEACCESSOBJECT_OBJECTID_TAG 2
@@ -682,7 +684,8 @@ X(a, CALLBACK, REPEATED, MESSAGE, identities, 1)
682
684
  #define BLUEACCESSDEVICE_FIELDLIST(X, a) \
683
685
  X(a, CALLBACK, REQUIRED, STRING, deviceId, 1) \
684
686
  X(a, CALLBACK, OPTIONAL, STRING, objectName, 2) \
685
- X(a, STATIC, OPTIONAL, INT32, objectId, 3)
687
+ X(a, STATIC, OPTIONAL, INT32, objectId, 3) \
688
+ X(a, CALLBACK, OPTIONAL, STRING, deviceStatus, 4)
686
689
  #define BLUEACCESSDEVICE_CALLBACK pb_default_field_callback
687
690
  #define BLUEACCESSDEVICE_DEFAULT NULL
688
691
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -1031,6 +1031,15 @@ public struct BlueAccessDevice: Sendable {
1031
1031
  /// Clears the value of `objectID`. Subsequent reads from it will return its default value.
1032
1032
  public mutating func clearObjectID() {self._objectID = nil}
1033
1033
 
1034
+ public var deviceStatus: String {
1035
+ get {return _deviceStatus ?? String()}
1036
+ set {_deviceStatus = newValue}
1037
+ }
1038
+ /// Returns true if `deviceStatus` has been explicitly set.
1039
+ public var hasDeviceStatus: Bool {return self._deviceStatus != nil}
1040
+ /// Clears the value of `deviceStatus`. Subsequent reads from it will return its default value.
1041
+ public mutating func clearDeviceStatus() {self._deviceStatus = nil}
1042
+
1034
1043
  public var unknownFields = SwiftProtobuf.UnknownStorage()
1035
1044
 
1036
1045
  public init() {}
@@ -1038,6 +1047,7 @@ public struct BlueAccessDevice: Sendable {
1038
1047
  fileprivate var _deviceID: String? = nil
1039
1048
  fileprivate var _objectName: String? = nil
1040
1049
  fileprivate var _objectID: Int32? = nil
1050
+ fileprivate var _deviceStatus: String? = nil
1041
1051
  }
1042
1052
 
1043
1053
  public struct BlueAccessDeviceList: Sendable {
@@ -2808,7 +2818,7 @@ extension BlueIdentitiesList: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
2808
2818
 
2809
2819
  extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
2810
2820
  public static let protoMessageName: String = "BlueAccessDevice"
2811
- public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}objectName\0\u{1}objectId\0")
2821
+ public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}objectName\0\u{1}objectId\0\u{1}deviceStatus\0")
2812
2822
 
2813
2823
  public var isInitialized: Bool {
2814
2824
  if self._deviceID == nil {return false}
@@ -2824,6 +2834,7 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
2824
2834
  case 1: try { try decoder.decodeSingularStringField(value: &self._deviceID) }()
2825
2835
  case 2: try { try decoder.decodeSingularStringField(value: &self._objectName) }()
2826
2836
  case 3: try { try decoder.decodeSingularInt32Field(value: &self._objectID) }()
2837
+ case 4: try { try decoder.decodeSingularStringField(value: &self._deviceStatus) }()
2827
2838
  default: break
2828
2839
  }
2829
2840
  }
@@ -2843,6 +2854,9 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
2843
2854
  try { if let v = self._objectID {
2844
2855
  try visitor.visitSingularInt32Field(value: v, fieldNumber: 3)
2845
2856
  } }()
2857
+ try { if let v = self._deviceStatus {
2858
+ try visitor.visitSingularStringField(value: v, fieldNumber: 4)
2859
+ } }()
2846
2860
  try unknownFields.traverse(visitor: &visitor)
2847
2861
  }
2848
2862
 
@@ -2850,6 +2864,7 @@ extension BlueAccessDevice: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
2850
2864
  if lhs._deviceID != rhs._deviceID {return false}
2851
2865
  if lhs._objectName != rhs._objectName {return false}
2852
2866
  if lhs._objectID != rhs._objectID {return false}
2867
+ if lhs._deviceStatus != rhs._deviceStatus {return false}
2853
2868
  if lhs.unknownFields != rhs.unknownFields {return false}
2854
2869
  return true
2855
2870
  }