@blueid/access-proto 0.37.0 → 0.39.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
@@ -98,6 +98,7 @@ message BlueAccessObject {
98
98
  required int32 objectId = 2;
99
99
  required string name = 3;
100
100
  optional string description = 4;
101
+ repeated string deviceIds = 5;
101
102
  }
102
103
 
103
104
  message BlueAccessObjectList {
@@ -365,6 +365,11 @@ export declare class BlueAccessObject extends Message<BlueAccessObject> {
365
365
  */
366
366
  description?: string;
367
367
 
368
+ /**
369
+ * @generated from field: repeated string deviceIds = 5;
370
+ */
371
+ deviceIds: string[];
372
+
368
373
  constructor(data?: PartialMessage<BlueAccessObject>);
369
374
 
370
375
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -177,7 +177,8 @@ const BlueAccessObject = import_protobuf.proto2.makeMessageType(
177
177
  T: 9
178
178
  /* ScalarType.STRING */
179
179
  },
180
- { no: 4, name: "description", kind: "scalar", T: 9, opt: true }
180
+ { no: 4, name: "description", kind: "scalar", T: 9, opt: true },
181
+ { no: 5, name: "deviceIds", kind: "scalar", T: 9, repeated: true }
181
182
  ]
182
183
  );
183
184
  const BlueAccessObjectList = import_protobuf.proto2.makeMessageType(
@@ -365,6 +365,11 @@ export declare class BlueAccessObject extends Message<BlueAccessObject> {
365
365
  */
366
366
  description?: string;
367
367
 
368
+ /**
369
+ * @generated from field: repeated string deviceIds = 5;
370
+ */
371
+ deviceIds: string[];
372
+
368
373
  constructor(data?: PartialMessage<BlueAccessObject>);
369
374
 
370
375
  static readonly runtime: typeof proto2;
package/es/BlueSDK_pb.js CHANGED
@@ -131,6 +131,7 @@ export const BlueAccessObject = proto2.makeMessageType(
131
131
  { no: 2, name: "objectId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
132
132
  { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
133
133
  { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
134
+ { no: 5, name: "deviceIds", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
134
135
  ],
135
136
  );
136
137
 
@@ -87,6 +87,7 @@ typedef struct BlueAccessObject {
87
87
  int32_t objectId;
88
88
  pb_callback_t name;
89
89
  pb_callback_t description;
90
+ pb_callback_t deviceIds;
90
91
  } BlueAccessObject_t;
91
92
 
92
93
  typedef struct BlueAccessObjectList {
@@ -125,7 +126,7 @@ extern "C" {
125
126
  #define BLUEACCESSCREDENTIALLIST_INIT_DEFAULT {{{NULL}, NULL}}
126
127
  #define BLUEACCESSDEVICE_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
127
128
  #define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
128
- #define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}}
129
+ #define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
129
130
  #define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
130
131
  #define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
131
132
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
@@ -135,7 +136,7 @@ extern "C" {
135
136
  #define BLUEACCESSCREDENTIALLIST_INIT_ZERO {{{NULL}, NULL}}
136
137
  #define BLUEACCESSDEVICE_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, false, 0}
137
138
  #define BLUEACCESSDEVICELIST_INIT_ZERO {{{NULL}, NULL}}
138
- #define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}}
139
+ #define BLUEACCESSOBJECT_INIT_ZERO {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
139
140
  #define BLUEACCESSOBJECTLIST_INIT_ZERO {{{NULL}, NULL}}
140
141
 
141
142
  /* Field tags (for use in manual encoding/decoding) */
@@ -175,6 +176,7 @@ extern "C" {
175
176
  #define BLUEACCESSOBJECT_OBJECTID_TAG 2
176
177
  #define BLUEACCESSOBJECT_NAME_TAG 3
177
178
  #define BLUEACCESSOBJECT_DESCRIPTION_TAG 4
179
+ #define BLUEACCESSOBJECT_DEVICEIDS_TAG 5
178
180
  #define BLUEACCESSOBJECTLIST_OBJECTS_TAG 1
179
181
 
180
182
  /* Struct field encoding specification for nanopb */
@@ -255,7 +257,8 @@ X(a, CALLBACK, REPEATED, MESSAGE, devices, 1)
255
257
  X(a, CALLBACK, REQUIRED, STRING, _id, 1) \
256
258
  X(a, STATIC, REQUIRED, INT32, objectId, 2) \
257
259
  X(a, CALLBACK, REQUIRED, STRING, name, 3) \
258
- X(a, CALLBACK, OPTIONAL, STRING, description, 4)
260
+ X(a, CALLBACK, OPTIONAL, STRING, description, 4) \
261
+ X(a, CALLBACK, REPEATED, STRING, deviceIds, 5)
259
262
  #define BLUEACCESSOBJECT_CALLBACK pb_default_field_callback
260
263
  #define BLUEACCESSOBJECT_DEFAULT NULL
261
264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "0.37.0",
3
+ "version": "0.39.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -515,6 +515,8 @@ public struct BlueAccessObject {
515
515
  /// Clears the value of `description_p`. Subsequent reads from it will return its default value.
516
516
  public mutating func clearDescription_p() {self._description_p = nil}
517
517
 
518
+ public var deviceIds: [String] = []
519
+
518
520
  public var unknownFields = SwiftProtobuf.UnknownStorage()
519
521
 
520
522
  public init() {}
@@ -1128,6 +1130,7 @@ extension BlueAccessObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
1128
1130
  2: .same(proto: "objectId"),
1129
1131
  3: .same(proto: "name"),
1130
1132
  4: .same(proto: "description"),
1133
+ 5: .same(proto: "deviceIds"),
1131
1134
  ]
1132
1135
 
1133
1136
  public var isInitialized: Bool {
@@ -1147,6 +1150,7 @@ extension BlueAccessObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
1147
1150
  case 2: try { try decoder.decodeSingularInt32Field(value: &self._objectID) }()
1148
1151
  case 3: try { try decoder.decodeSingularStringField(value: &self._name) }()
1149
1152
  case 4: try { try decoder.decodeSingularStringField(value: &self._description_p) }()
1153
+ case 5: try { try decoder.decodeRepeatedStringField(value: &self.deviceIds) }()
1150
1154
  default: break
1151
1155
  }
1152
1156
  }
@@ -1169,6 +1173,9 @@ extension BlueAccessObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
1169
1173
  try { if let v = self._description_p {
1170
1174
  try visitor.visitSingularStringField(value: v, fieldNumber: 4)
1171
1175
  } }()
1176
+ if !self.deviceIds.isEmpty {
1177
+ try visitor.visitRepeatedStringField(value: self.deviceIds, fieldNumber: 5)
1178
+ }
1172
1179
  try unknownFields.traverse(visitor: &visitor)
1173
1180
  }
1174
1181
 
@@ -1177,6 +1184,7 @@ extension BlueAccessObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImpleme
1177
1184
  if lhs._objectID != rhs._objectID {return false}
1178
1185
  if lhs._name != rhs._name {return false}
1179
1186
  if lhs._description_p != rhs._description_p {return false}
1187
+ if lhs.deviceIds != rhs.deviceIds {return false}
1180
1188
  if lhs.unknownFields != rhs.unknownFields {return false}
1181
1189
  return true
1182
1190
  }