@blueid/access-proto 9.10.0 → 9.11.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
@@ -150,6 +150,9 @@ message BlueI18n {
150
150
  [ default = "Select an access type" ];
151
151
  required string openViaOssSoSelectAccessTypeMessage = 59
152
152
  [ default = "You have multiple access types available." ];
153
+
154
+ required string provisioningDone = 60
155
+ [ default = "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." ];
153
156
  }
154
157
 
155
158
  ///////////////////////////////////////////////////////////////////////
@@ -377,6 +377,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
377
377
  */
378
378
  openViaOssSoSelectAccessTypeMessage: string;
379
379
 
380
+ /**
381
+ * @generated from field: required string provisioningDone = 60 [default = "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock."];
382
+ */
383
+ provisioningDone: string;
384
+
380
385
  constructor(data?: PartialMessage<BlueI18n>);
381
386
 
382
387
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -133,7 +133,8 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
133
133
  { no: 56, name: "accessTypeClose", kind: "scalar", T: 9, default: "Close" },
134
134
  { no: 57, name: "accessTypeCustomTime", kind: "scalar", T: 9, default: "Custom" },
135
135
  { no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9, default: "Select an access type" },
136
- { no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9, default: "You have multiple access types available." }
136
+ { no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9, default: "You have multiple access types available." },
137
+ { no: 60, name: "provisioningDone", kind: "scalar", T: 9, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn\u2019t discover, try removing the batteries and restarting the lock." }
137
138
  ]
138
139
  );
139
140
  const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
@@ -377,6 +377,11 @@ export declare class BlueI18n extends Message<BlueI18n> {
377
377
  */
378
378
  openViaOssSoSelectAccessTypeMessage: string;
379
379
 
380
+ /**
381
+ * @generated from field: required string provisioningDone = 60 [default = "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock."];
382
+ */
383
+ provisioningDone: string;
384
+
380
385
  constructor(data?: PartialMessage<BlueI18n>);
381
386
 
382
387
  static readonly runtime: typeof proto2;
package/es/BlueSDK_pb.js CHANGED
@@ -102,6 +102,7 @@ export const BlueI18n = proto2.makeMessageType(
102
102
  { no: 57, name: "accessTypeCustomTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Custom" },
103
103
  { no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Select an access type" },
104
104
  { no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "You have multiple access types available." },
105
+ { no: 60, name: "provisioningDone", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." },
105
106
  ],
106
107
  );
107
108
 
@@ -88,8 +88,8 @@ PB_BIND(BLUESYNCHRONIZEACCESSCREDENTIALS, BlueSynchronizeAccessCredentials_t, AU
88
88
 
89
89
 
90
90
  /* Check that missing required fields will be properly detected */
91
- #if PB_MAX_REQUIRED_FIELDS < 65
91
+ #if PB_MAX_REQUIRED_FIELDS < 66
92
92
  #error Properly detecting missing required fields in BlueI18n requires \
93
- setting PB_MAX_REQUIRED_FIELDS to 65 or more.
93
+ setting PB_MAX_REQUIRED_FIELDS to 66 or more.
94
94
  #endif
95
95
 
@@ -85,6 +85,7 @@ typedef struct BlueI18n {
85
85
  pb_callback_t accessTypeCustomTime;
86
86
  pb_callback_t openViaOssSoSelectAccessTypeTitle;
87
87
  pb_callback_t openViaOssSoSelectAccessTypeMessage;
88
+ pb_callback_t provisioningDone;
88
89
  pb_callback_t nfcTransponderConnected;
89
90
  pb_callback_t nfcTransponderDisconnected;
90
91
  pb_callback_t nfcTransponderSuccessReadMessage;
@@ -329,7 +330,7 @@ extern "C" {
329
330
 
330
331
 
331
332
  /* Initializer values for message structs */
332
- #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}, {{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}, {{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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
333
+ #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}, {{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}, {{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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
333
334
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
334
335
  #define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
335
336
  #define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
@@ -355,7 +356,7 @@ extern "C" {
355
356
  #define BLUEREFRESHOSSSOCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
356
357
  #define BLUESYNCHRONIZEACCESSCREDENTIAL_INIT_DEFAULT {BLUECREDENTIALID_INIT_DEFAULT, _BLUERETURNCODE_MIN, {{NULL}, NULL}}
357
358
  #define BLUESYNCHRONIZEACCESSCREDENTIALS_INIT_DEFAULT {{{NULL}, NULL}}
358
- #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}, {{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}, {{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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
359
+ #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}, {{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}, {{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}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
359
360
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
360
361
  #define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
361
362
  #define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
@@ -442,6 +443,7 @@ extern "C" {
442
443
  #define BLUEI18N_ACCESSTYPECUSTOMTIME_TAG 57
443
444
  #define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPETITLE_TAG 58
444
445
  #define BLUEI18N_OPENVIAOSSSOSELECTACCESSTYPEMESSAGE_TAG 59
446
+ #define BLUEI18N_PROVISIONINGDONE_TAG 60
445
447
  #define BLUEI18N_NFCTRANSPONDERCONNECTED_TAG 100
446
448
  #define BLUEI18N_NFCTRANSPONDERDISCONNECTED_TAG 101
447
449
  #define BLUEI18N_NFCTRANSPONDERSUCCESSREADMESSAGE_TAG 102
@@ -599,6 +601,7 @@ X(a, CALLBACK, REQUIRED, STRING, accessTypeClose, 56) \
599
601
  X(a, CALLBACK, REQUIRED, STRING, accessTypeCustomTime, 57) \
600
602
  X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeTitle, 58) \
601
603
  X(a, CALLBACK, REQUIRED, STRING, openViaOssSoSelectAccessTypeMessage, 59) \
604
+ X(a, CALLBACK, REQUIRED, STRING, provisioningDone, 60) \
602
605
  X(a, CALLBACK, REQUIRED, STRING, nfcTransponderConnected, 100) \
603
606
  X(a, CALLBACK, REQUIRED, STRING, nfcTransponderDisconnected, 101) \
604
607
  X(a, CALLBACK, REQUIRED, STRING, nfcTransponderSuccessReadMessage, 102) \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "9.10.0",
3
+ "version": "9.11.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -633,6 +633,15 @@ public struct BlueI18n: @unchecked Sendable {
633
633
  /// Clears the value of `openViaOssSoSelectAccessTypeMessage`. Subsequent reads from it will return its default value.
634
634
  public mutating func clearOpenViaOssSoSelectAccessTypeMessage() {_uniqueStorage()._openViaOssSoSelectAccessTypeMessage = nil}
635
635
 
636
+ public var provisioningDone: String {
637
+ get {return _storage._provisioningDone ?? "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock."}
638
+ set {_uniqueStorage()._provisioningDone = newValue}
639
+ }
640
+ /// Returns true if `provisioningDone` has been explicitly set.
641
+ public var hasProvisioningDone: Bool {return _storage._provisioningDone != nil}
642
+ /// Clears the value of `provisioningDone`. Subsequent reads from it will return its default value.
643
+ public mutating func clearProvisioningDone() {_uniqueStorage()._provisioningDone = nil}
644
+
636
645
  public var unknownFields = SwiftProtobuf.UnknownStorage()
637
646
 
638
647
  public init() {}
@@ -1787,6 +1796,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1787
1796
  57: .same(proto: "accessTypeCustomTime"),
1788
1797
  58: .same(proto: "openViaOssSoSelectAccessTypeTitle"),
1789
1798
  59: .same(proto: "openViaOssSoSelectAccessTypeMessage"),
1799
+ 60: .same(proto: "provisioningDone"),
1790
1800
  ]
1791
1801
 
1792
1802
  fileprivate class _StorageClass {
@@ -1855,6 +1865,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1855
1865
  var _accessTypeCustomTime: String? = nil
1856
1866
  var _openViaOssSoSelectAccessTypeTitle: String? = nil
1857
1867
  var _openViaOssSoSelectAccessTypeMessage: String? = nil
1868
+ var _provisioningDone: String? = nil
1858
1869
 
1859
1870
  // This property is used as the initial default value for new instances of the type.
1860
1871
  // The type itself is protecting the reference to its storage via CoW semantics.
@@ -1930,6 +1941,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
1930
1941
  _accessTypeCustomTime = source._accessTypeCustomTime
1931
1942
  _openViaOssSoSelectAccessTypeTitle = source._openViaOssSoSelectAccessTypeTitle
1932
1943
  _openViaOssSoSelectAccessTypeMessage = source._openViaOssSoSelectAccessTypeMessage
1944
+ _provisioningDone = source._provisioningDone
1933
1945
  }
1934
1946
  }
1935
1947
 
@@ -2007,6 +2019,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
2007
2019
  if _storage._accessTypeCustomTime == nil {return false}
2008
2020
  if _storage._openViaOssSoSelectAccessTypeTitle == nil {return false}
2009
2021
  if _storage._openViaOssSoSelectAccessTypeMessage == nil {return false}
2022
+ if _storage._provisioningDone == nil {return false}
2010
2023
  return true
2011
2024
  }
2012
2025
  }
@@ -2078,6 +2091,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
2078
2091
  case 57: try { try decoder.decodeSingularStringField(value: &_storage._accessTypeCustomTime) }()
2079
2092
  case 58: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeTitle) }()
2080
2093
  case 59: try { try decoder.decodeSingularStringField(value: &_storage._openViaOssSoSelectAccessTypeMessage) }()
2094
+ case 60: try { try decoder.decodeSingularStringField(value: &_storage._provisioningDone) }()
2081
2095
  case 100: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderConnected) }()
2082
2096
  case 101: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderDisconnected) }()
2083
2097
  case 102: try { try decoder.decodeSingularStringField(value: &_storage._nfcTransponderSuccessReadMessage) }()
@@ -2273,6 +2287,9 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
2273
2287
  try { if let v = _storage._openViaOssSoSelectAccessTypeMessage {
2274
2288
  try visitor.visitSingularStringField(value: v, fieldNumber: 59)
2275
2289
  } }()
2290
+ try { if let v = _storage._provisioningDone {
2291
+ try visitor.visitSingularStringField(value: v, fieldNumber: 60)
2292
+ } }()
2276
2293
  try { if let v = _storage._nfcTransponderConnected {
2277
2294
  try visitor.visitSingularStringField(value: v, fieldNumber: 100)
2278
2295
  } }()
@@ -2365,6 +2382,7 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
2365
2382
  if _storage._accessTypeCustomTime != rhs_storage._accessTypeCustomTime {return false}
2366
2383
  if _storage._openViaOssSoSelectAccessTypeTitle != rhs_storage._openViaOssSoSelectAccessTypeTitle {return false}
2367
2384
  if _storage._openViaOssSoSelectAccessTypeMessage != rhs_storage._openViaOssSoSelectAccessTypeMessage {return false}
2385
+ if _storage._provisioningDone != rhs_storage._provisioningDone {return false}
2368
2386
  return true
2369
2387
  }
2370
2388
  if !storagesAreEqual {return false}