@blueid/access-proto 1.95.0 → 2.0.0-beta.1

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/cjs/BlueSDK_pb.js CHANGED
@@ -29,11 +29,19 @@ __export(BlueSDK_pb_exports, {
29
29
  BlueDeviceType: () => BlueDeviceType,
30
30
  BlueHardwareInfo: () => BlueHardwareInfo,
31
31
  BlueI18n: () => BlueI18n,
32
+ BlueIdentitiesList: () => BlueIdentitiesList,
33
+ BlueIdentity: () => BlueIdentity,
34
+ BlueLegacyProvisioningRequest: () => BlueLegacyProvisioningRequest,
35
+ BlueLegacyProvisioningResponse: () => BlueLegacyProvisioningResponse,
32
36
  BlueRefreshOssSoCredential: () => BlueRefreshOssSoCredential,
33
37
  BlueRefreshOssSoCredentialStatus: () => BlueRefreshOssSoCredentialStatus,
34
38
  BlueRefreshOssSoCredentials: () => BlueRefreshOssSoCredentials,
39
+ BlueRefreshOssSoIdentities: () => BlueRefreshOssSoIdentities,
40
+ BlueRefreshOssSoIdentity: () => BlueRefreshOssSoIdentity,
35
41
  BlueSynchronizeAccessCredential: () => BlueSynchronizeAccessCredential,
36
42
  BlueSynchronizeAccessCredentials: () => BlueSynchronizeAccessCredentials,
43
+ BlueSynchronizeIdentities: () => BlueSynchronizeIdentities,
44
+ BlueSynchronizeIdentity: () => BlueSynchronizeIdentity,
37
45
  BlueSystemStatusExt: () => BlueSystemStatusExt
38
46
  });
39
47
  module.exports = __toCommonJS(BlueSDK_pb_exports);
@@ -183,40 +191,45 @@ const BlueDeviceInfo = import_protobuf.proto2.makeMessageType(
183
191
  { no: 6, name: "uwb", kind: "message", T: BlueDeviceDetailsUWB, oneof: "details" }
184
192
  ]
185
193
  );
186
- const BlueAccessCredential = import_protobuf.proto2.makeMessageType(
187
- "BlueAccessCredential",
194
+ const BlueIdentity = import_protobuf.proto2.makeMessageType(
195
+ "BlueIdentity",
188
196
  () => [
189
- { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
190
- { no: 2, name: "credentialType", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueCredentialType) },
191
- { no: 3, name: "name", kind: "scalar", T: 9, opt: true },
192
- { no: 4, name: "description", kind: "scalar", T: 9, opt: true },
193
197
  {
194
- no: 5,
195
- name: "siteId",
198
+ no: 1,
199
+ name: "identityId",
196
200
  kind: "scalar",
197
- T: 5
198
- /* ScalarType.INT32 */
201
+ T: 9
202
+ /* ScalarType.STRING */
199
203
  },
200
- { no: 6, name: "siteName", kind: "scalar", T: 9, opt: true },
201
- { no: 7, name: "validFrom", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
202
- { no: 8, name: "validTo", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
203
- { no: 9, name: "validity", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
204
- { no: 10, name: "privateKey", kind: "scalar", T: 12, opt: true },
205
- { no: 11, name: "receiverName", kind: "scalar", T: 9, opt: true },
204
+ { no: 2, name: "role", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueCredentialType) },
205
+ { no: 3, name: "name", kind: "scalar", T: 9, opt: true },
206
+ { no: 4, name: "description", kind: "scalar", T: 9, opt: true },
207
+ { no: 5, name: "receiverName", kind: "scalar", T: 9, opt: true },
208
+ { no: 6, name: "validFrom", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
209
+ { no: 7, name: "validTo", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
206
210
  {
207
- no: 12,
208
- name: "organisation",
211
+ no: 8,
212
+ name: "organization",
209
213
  kind: "scalar",
210
214
  T: 9
211
215
  /* ScalarType.STRING */
212
216
  },
213
- { no: 13, name: "organisationName", kind: "scalar", T: 9, opt: true }
217
+ { no: 9, name: "organizationName", kind: "scalar", T: 9, opt: true },
218
+ {
219
+ no: 10,
220
+ name: "siteId",
221
+ kind: "scalar",
222
+ T: 5
223
+ /* ScalarType.INT32 */
224
+ },
225
+ { no: 11, name: "siteName", kind: "scalar", T: 9, opt: true },
226
+ { no: 12, name: "privateKey", kind: "scalar", T: 12, opt: true }
214
227
  ]
215
228
  );
216
- const BlueAccessCredentialList = import_protobuf.proto2.makeMessageType(
217
- "BlueAccessCredentialList",
229
+ const BlueIdentitiesList = import_protobuf.proto2.makeMessageType(
230
+ "BlueIdentitiesList",
218
231
  () => [
219
- { no: 1, name: "credentials", kind: "message", T: BlueAccessCredential, repeated: true }
232
+ { no: 1, name: "identities", kind: "message", T: BlueIdentity, repeated: true }
220
233
  ]
221
234
  );
222
235
  const BlueAccessDevice = import_protobuf.proto2.makeMessageType(
@@ -273,75 +286,206 @@ const BlueAccessObjectList = import_protobuf.proto2.makeMessageType(
273
286
  { no: 1, name: "objects", kind: "message", T: BlueAccessObject, repeated: true }
274
287
  ]
275
288
  );
276
- const BlueRefreshOssSoCredential = import_protobuf.proto2.makeMessageType(
277
- "BlueRefreshOssSoCredential",
289
+ const BlueHardwareInfo = import_protobuf.proto2.makeMessageType(
290
+ "BlueHardwareInfo",
278
291
  () => [
279
- { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
292
+ {
293
+ no: 1,
294
+ name: "name",
295
+ kind: "scalar",
296
+ T: 9
297
+ /* ScalarType.STRING */
298
+ },
299
+ {
300
+ no: 2,
301
+ name: "vendor",
302
+ kind: "scalar",
303
+ T: 9
304
+ /* ScalarType.STRING */
305
+ },
306
+ {
307
+ no: 3,
308
+ name: "vendorName",
309
+ kind: "scalar",
310
+ T: 9
311
+ /* ScalarType.STRING */
312
+ },
313
+ {
314
+ no: 4,
315
+ name: "version",
316
+ kind: "scalar",
317
+ T: 13
318
+ /* ScalarType.UINT32 */
319
+ },
320
+ { no: 5, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) }
321
+ ]
322
+ );
323
+ const BlueSystemStatusExt = import_protobuf.proto2.makeMessageType(
324
+ "BlueSystemStatusExt",
325
+ () => [
326
+ { no: 1, name: "status", kind: "message", T: import_BlueSystem_pb.BlueSystemStatus },
327
+ { no: 2, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
328
+ { no: 3, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
329
+ { no: 4, name: "newConfigurationAvailable", kind: "scalar", T: 8, opt: true },
330
+ { no: 5, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true }
331
+ ]
332
+ );
333
+ const BlueRefreshOssSoIdentity = import_protobuf.proto2.makeMessageType(
334
+ "BlueRefreshOssSoIdentity",
335
+ () => [
336
+ {
337
+ no: 1,
338
+ name: "identityId",
339
+ kind: "scalar",
340
+ T: 9
341
+ /* ScalarType.STRING */
342
+ },
280
343
  { no: 2, name: "status", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueRefreshOssSoCredentialStatus) },
281
344
  { no: 3, name: "configuration", kind: "message", T: import_BlueCore_pb.BlueOssSoConfiguration, opt: true }
282
345
  ]
283
346
  );
284
- const BlueRefreshOssSoCredentials = import_protobuf.proto2.makeMessageType(
285
- "BlueRefreshOssSoCredentials",
347
+ const BlueRefreshOssSoIdentities = import_protobuf.proto2.makeMessageType(
348
+ "BlueRefreshOssSoIdentities",
286
349
  () => [
287
- { no: 1, name: "credentials", kind: "message", T: BlueRefreshOssSoCredential, repeated: true }
350
+ { no: 1, name: "identities", kind: "message", T: BlueRefreshOssSoIdentity, repeated: true }
288
351
  ]
289
352
  );
290
- const BlueSynchronizeAccessCredential = import_protobuf.proto2.makeMessageType(
291
- "BlueSynchronizeAccessCredential",
353
+ const BlueSynchronizeIdentity = import_protobuf.proto2.makeMessageType(
354
+ "BlueSynchronizeIdentity",
292
355
  () => [
293
- { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
356
+ {
357
+ no: 1,
358
+ name: "identityId",
359
+ kind: "scalar",
360
+ T: 9
361
+ /* ScalarType.STRING */
362
+ },
294
363
  { no: 2, name: "returnCode", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode) },
295
364
  { no: 3, name: "errorDescription", kind: "scalar", T: 9, opt: true }
296
365
  ]
297
366
  );
298
- const BlueSynchronizeAccessCredentials = import_protobuf.proto2.makeMessageType(
299
- "BlueSynchronizeAccessCredentials",
367
+ const BlueSynchronizeIdentities = import_protobuf.proto2.makeMessageType(
368
+ "BlueSynchronizeIdentities",
300
369
  () => [
301
- { no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true }
370
+ { no: 1, name: "identities", kind: "message", T: BlueSynchronizeIdentity, repeated: true }
302
371
  ]
303
372
  );
304
- const BlueHardwareInfo = import_protobuf.proto2.makeMessageType(
305
- "BlueHardwareInfo",
373
+ const BlueLegacyProvisioningRequest = import_protobuf.proto2.makeMessageType(
374
+ "BlueLegacyProvisioningRequest",
306
375
  () => [
307
376
  {
308
377
  no: 1,
309
- name: "name",
378
+ name: "deviceId",
310
379
  kind: "scalar",
311
380
  T: 9
312
381
  /* ScalarType.STRING */
313
382
  },
314
383
  {
315
384
  no: 2,
316
- name: "vendor",
385
+ name: "soid",
317
386
  kind: "scalar",
318
387
  T: 9
319
388
  /* ScalarType.STRING */
320
389
  },
321
390
  {
322
391
  no: 3,
323
- name: "vendorName",
392
+ name: "vendor",
324
393
  kind: "scalar",
325
394
  T: 9
326
395
  /* ScalarType.STRING */
327
396
  },
397
+ { no: 4, name: "hardwareType", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) },
328
398
  {
329
- no: 4,
330
- name: "version",
399
+ no: 5,
400
+ name: "hardwareVersion",
331
401
  kind: "scalar",
332
402
  T: 13
333
403
  /* ScalarType.UINT32 */
334
404
  },
335
- { no: 5, name: "type", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueHardwareType) }
405
+ { no: 6, name: "hardwareSerialNumber", kind: "scalar", T: 9, opt: true }
336
406
  ]
337
407
  );
338
- const BlueSystemStatusExt = import_protobuf.proto2.makeMessageType(
339
- "BlueSystemStatusExt",
408
+ const BlueLegacyProvisioningResponse = import_protobuf.proto2.makeMessageType(
409
+ "BlueLegacyProvisioningResponse",
340
410
  () => [
341
- { no: 1, name: "status", kind: "message", T: import_BlueSystem_pb.BlueSystemStatus },
342
- { no: 2, name: "newFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
343
- { no: 3, name: "newTestFirmwareVersionAvailable", kind: "scalar", T: 8, opt: true },
344
- { no: 4, name: "newConfigurationAvailable", kind: "scalar", T: 8, opt: true },
345
- { no: 5, name: "hardwareInfo", kind: "message", T: BlueHardwareInfo, opt: true }
411
+ {
412
+ no: 1,
413
+ name: "deviceId",
414
+ kind: "scalar",
415
+ T: 9
416
+ /* ScalarType.STRING */
417
+ },
418
+ {
419
+ no: 2,
420
+ name: "objectId",
421
+ kind: "scalar",
422
+ T: 9
423
+ /* ScalarType.STRING */
424
+ },
425
+ { no: 3, name: "provisioning", kind: "message", T: import_BlueSystem_pb.BlueSystemProvisioning }
426
+ ]
427
+ );
428
+ const BlueAccessCredential = import_protobuf.proto2.makeMessageType(
429
+ "BlueAccessCredential",
430
+ () => [
431
+ { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
432
+ { no: 2, name: "credentialType", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueCredentialType) },
433
+ { no: 3, name: "name", kind: "scalar", T: 9, opt: true },
434
+ { no: 4, name: "description", kind: "scalar", T: 9, opt: true },
435
+ {
436
+ no: 5,
437
+ name: "siteId",
438
+ kind: "scalar",
439
+ T: 5
440
+ /* ScalarType.INT32 */
441
+ },
442
+ { no: 6, name: "siteName", kind: "scalar", T: 9, opt: true },
443
+ { no: 7, name: "validFrom", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
444
+ { no: 8, name: "validTo", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
445
+ { no: 9, name: "validity", kind: "message", T: import_BlueCore_pb.BlueLocalTimestamp, opt: true },
446
+ { no: 10, name: "privateKey", kind: "scalar", T: 12, opt: true },
447
+ { no: 11, name: "receiverName", kind: "scalar", T: 9, opt: true },
448
+ {
449
+ no: 12,
450
+ name: "organisation",
451
+ kind: "scalar",
452
+ T: 9
453
+ /* ScalarType.STRING */
454
+ },
455
+ { no: 13, name: "organisationName", kind: "scalar", T: 9, opt: true }
456
+ ]
457
+ );
458
+ const BlueAccessCredentialList = import_protobuf.proto2.makeMessageType(
459
+ "BlueAccessCredentialList",
460
+ () => [
461
+ { no: 1, name: "credentials", kind: "message", T: BlueAccessCredential, repeated: true }
462
+ ]
463
+ );
464
+ const BlueRefreshOssSoCredential = import_protobuf.proto2.makeMessageType(
465
+ "BlueRefreshOssSoCredential",
466
+ () => [
467
+ { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
468
+ { no: 2, name: "status", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueRefreshOssSoCredentialStatus) },
469
+ { no: 3, name: "configuration", kind: "message", T: import_BlueCore_pb.BlueOssSoConfiguration, opt: true }
470
+ ]
471
+ );
472
+ const BlueRefreshOssSoCredentials = import_protobuf.proto2.makeMessageType(
473
+ "BlueRefreshOssSoCredentials",
474
+ () => [
475
+ { no: 1, name: "credentials", kind: "message", T: BlueRefreshOssSoCredential, repeated: true }
476
+ ]
477
+ );
478
+ const BlueSynchronizeAccessCredential = import_protobuf.proto2.makeMessageType(
479
+ "BlueSynchronizeAccessCredential",
480
+ () => [
481
+ { no: 1, name: "credentialId", kind: "message", T: import_BlueCore_pb.BlueCredentialId },
482
+ { no: 2, name: "returnCode", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode) },
483
+ { no: 3, name: "errorDescription", kind: "scalar", T: 9, opt: true }
484
+ ]
485
+ );
486
+ const BlueSynchronizeAccessCredentials = import_protobuf.proto2.makeMessageType(
487
+ "BlueSynchronizeAccessCredentials",
488
+ () => [
489
+ { no: 1, name: "credentials", kind: "message", T: BlueSynchronizeAccessCredential, repeated: true }
346
490
  ]
347
491
  );
@@ -610,6 +610,9 @@ export declare enum BlueWeekday {
610
610
  }
611
611
 
612
612
  /**
613
+ * @TODO: Keep it until we have updated all places in both iOS and Android SDK.
614
+ * This should be renamed to BlueIdentityRole later on.
615
+ *
613
616
  * @generated from enum BlueCredentialType
614
617
  */
615
618
  export declare enum BlueCredentialType {
package/es/BlueCore_pb.js CHANGED
@@ -149,6 +149,9 @@ export const BlueWeekday = proto2.makeEnum(
149
149
  );
150
150
 
151
151
  /**
152
+ * @TODO: Keep it until we have updated all places in both iOS and Android SDK.
153
+ * This should be renamed to BlueIdentityRole later on.
154
+ *
152
155
  * @generated from enum BlueCredentialType
153
156
  */
154
157
  export const BlueCredentialType = proto2.makeEnum(