@blueid/access-proto 0.47.0 → 0.52.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
@@ -24,6 +24,16 @@ message BlueI18n {
24
24
  [ default = "Successfully unprovisioned" ];
25
25
  required string nfcOssSuccessFormatMessage = 8
26
26
  [ default = "Transponder was successfully formatted" ];
27
+
28
+ required string cmnCancelLabel = 9
29
+ [ default = "Cancel"];
30
+
31
+ required string openViaOssTitle = 10
32
+ [ default = "Unlocking the device"];
33
+ required string openViaOssWaitMessage = 11
34
+ [ default = "Please wait..."];
35
+ required string openViaOssSuccessMessage = 12
36
+ [ default = "Successfully unlocked"];
27
37
  }
28
38
 
29
39
  ///////////////////////////////////////////////////////////////////////
@@ -66,6 +66,26 @@ export declare class BlueI18n extends Message<BlueI18n> {
66
66
  */
67
67
  nfcOssSuccessFormatMessage: string;
68
68
 
69
+ /**
70
+ * @generated from field: required string cmnCancelLabel = 9 [default = "Cancel"];
71
+ */
72
+ cmnCancelLabel: string;
73
+
74
+ /**
75
+ * @generated from field: required string openViaOssTitle = 10 [default = "Unlocking the device"];
76
+ */
77
+ openViaOssTitle: string;
78
+
79
+ /**
80
+ * @generated from field: required string openViaOssWaitMessage = 11 [default = "Please wait..."];
81
+ */
82
+ openViaOssWaitMessage: string;
83
+
84
+ /**
85
+ * @generated from field: required string openViaOssSuccessMessage = 12 [default = "Successfully unlocked"];
86
+ */
87
+ openViaOssSuccessMessage: string;
88
+
69
89
  constructor(data?: PartialMessage<BlueI18n>);
70
90
 
71
91
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -49,7 +49,11 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
49
49
  { no: 5, name: "nfcOssSuccessIsProvisionedMessage", kind: "scalar", T: 9, default: "Is already provisioned" },
50
50
  { no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9, default: "Successfully provisioned" },
51
51
  { no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9, default: "Successfully unprovisioned" },
52
- { no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9, default: "Transponder was successfully formatted" }
52
+ { no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9, default: "Transponder was successfully formatted" },
53
+ { no: 9, name: "cmnCancelLabel", kind: "scalar", T: 9, default: "Cancel" },
54
+ { no: 10, name: "openViaOssTitle", kind: "scalar", T: 9, default: "Unlocking the device" },
55
+ { no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9, default: "Please wait..." },
56
+ { no: 12, name: "openViaOssSuccessMessage", kind: "scalar", T: 9, default: "Successfully unlocked" }
53
57
  ]
54
58
  );
55
59
  const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
@@ -66,6 +66,26 @@ export declare class BlueI18n extends Message<BlueI18n> {
66
66
  */
67
67
  nfcOssSuccessFormatMessage: string;
68
68
 
69
+ /**
70
+ * @generated from field: required string cmnCancelLabel = 9 [default = "Cancel"];
71
+ */
72
+ cmnCancelLabel: string;
73
+
74
+ /**
75
+ * @generated from field: required string openViaOssTitle = 10 [default = "Unlocking the device"];
76
+ */
77
+ openViaOssTitle: string;
78
+
79
+ /**
80
+ * @generated from field: required string openViaOssWaitMessage = 11 [default = "Please wait..."];
81
+ */
82
+ openViaOssWaitMessage: string;
83
+
84
+ /**
85
+ * @generated from field: required string openViaOssSuccessMessage = 12 [default = "Successfully unlocked"];
86
+ */
87
+ openViaOssSuccessMessage: string;
88
+
69
89
  constructor(data?: PartialMessage<BlueI18n>);
70
90
 
71
91
  static readonly runtime: typeof proto2;
package/es/BlueSDK_pb.js CHANGED
@@ -31,6 +31,10 @@ export const BlueI18n = proto2.makeMessageType(
31
31
  { no: 6, name: "nfcOssSuccessProvisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully provisioned" },
32
32
  { no: 7, name: "nfcOssSuccessUnprovisionMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully unprovisioned" },
33
33
  { no: 8, name: "nfcOssSuccessFormatMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Transponder was successfully formatted" },
34
+ { no: 9, name: "cmnCancelLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancel" },
35
+ { no: 10, name: "openViaOssTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Unlocking the device" },
36
+ { no: 11, name: "openViaOssWaitMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Please wait..." },
37
+ { no: 12, name: "openViaOssSuccessMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Successfully unlocked" },
34
38
  ],
35
39
  );
36
40
 
@@ -26,6 +26,10 @@ typedef struct BlueI18n {
26
26
  pb_callback_t nfcOssSuccessProvisionMessage;
27
27
  pb_callback_t nfcOssSuccessUnprovisionMessage;
28
28
  pb_callback_t nfcOssSuccessFormatMessage;
29
+ pb_callback_t cmnCancelLabel;
30
+ pb_callback_t openViaOssTitle;
31
+ pb_callback_t openViaOssWaitMessage;
32
+ pb_callback_t openViaOssSuccessMessage;
29
33
  } BlueI18n_t;
30
34
 
31
35
  typedef struct BlueDeviceDetailsBluetooth {
@@ -121,7 +125,7 @@ extern "C" {
121
125
 
122
126
 
123
127
  /* Initializer values for message structs */
124
- #define BLUEI18N_INIT_DEFAULT {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
128
+ #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}}
125
129
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT {0, 0, 0}
126
130
  #define BLUEDEVICEDETAILSUWB_INIT_DEFAULT {0}
127
131
  #define BLUEDEVICEINFO_INIT_DEFAULT {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_DEFAULT, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_DEFAULT}}
@@ -131,7 +135,7 @@ extern "C" {
131
135
  #define BLUEACCESSDEVICELIST_INIT_DEFAULT {{{NULL}, NULL}}
132
136
  #define BLUEACCESSOBJECT_INIT_DEFAULT {{{NULL}, NULL}, 0, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
133
137
  #define BLUEACCESSOBJECTLIST_INIT_DEFAULT {{{NULL}, NULL}}
134
- #define BLUEI18N_INIT_ZERO {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
138
+ #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}}
135
139
  #define BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO {0, 0, 0}
136
140
  #define BLUEDEVICEDETAILSUWB_INIT_ZERO {0}
137
141
  #define BLUEDEVICEINFO_INIT_ZERO {_BLUEDEVICETYPE_MIN, {{NULL}, NULL}, 0, false, BLUEBLEMANUFACTURERINFO_INIT_ZERO, 0, {BLUEDEVICEDETAILSBLUETOOTH_INIT_ZERO}}
@@ -151,6 +155,10 @@ extern "C" {
151
155
  #define BLUEI18N_NFCOSSSUCCESSPROVISIONMESSAGE_TAG 6
152
156
  #define BLUEI18N_NFCOSSSUCCESSUNPROVISIONMESSAGE_TAG 7
153
157
  #define BLUEI18N_NFCOSSSUCCESSFORMATMESSAGE_TAG 8
158
+ #define BLUEI18N_CMNCANCELLABEL_TAG 9
159
+ #define BLUEI18N_OPENVIAOSSTITLE_TAG 10
160
+ #define BLUEI18N_OPENVIAOSSWAITMESSAGE_TAG 11
161
+ #define BLUEI18N_OPENVIAOSSSUCCESSMESSAGE_TAG 12
154
162
  #define BLUEDEVICEDETAILSBLUETOOTH_RSSI_TAG 1
155
163
  #define BLUEDEVICEDETAILSBLUETOOTH_TXPOWER_TAG 2
156
164
  #define BLUEDEVICEDETAILSBLUETOOTH_ISIBEACON_TAG 3
@@ -195,7 +203,11 @@ X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessClearEventsMessage, 4) \
195
203
  X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessIsProvisionedMessage, 5) \
196
204
  X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessProvisionMessage, 6) \
197
205
  X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessUnprovisionMessage, 7) \
198
- X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessFormatMessage, 8)
206
+ X(a, CALLBACK, REQUIRED, STRING, nfcOssSuccessFormatMessage, 8) \
207
+ X(a, CALLBACK, REQUIRED, STRING, cmnCancelLabel, 9) \
208
+ X(a, CALLBACK, REQUIRED, STRING, openViaOssTitle, 10) \
209
+ X(a, CALLBACK, REQUIRED, STRING, openViaOssWaitMessage, 11) \
210
+ X(a, CALLBACK, REQUIRED, STRING, openViaOssSuccessMessage, 12)
199
211
  #define BLUEI18N_CALLBACK pb_default_field_callback
200
212
  #define BLUEI18N_DEFAULT NULL
201
213
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "0.47.0",
3
+ "version": "0.52.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -131,6 +131,42 @@ public struct BlueI18n {
131
131
  /// Clears the value of `nfcOssSuccessFormatMessage`. Subsequent reads from it will return its default value.
132
132
  public mutating func clearNfcOssSuccessFormatMessage() {self._nfcOssSuccessFormatMessage = nil}
133
133
 
134
+ public var cmnCancelLabel: String {
135
+ get {return _cmnCancelLabel ?? "Cancel"}
136
+ set {_cmnCancelLabel = newValue}
137
+ }
138
+ /// Returns true if `cmnCancelLabel` has been explicitly set.
139
+ public var hasCmnCancelLabel: Bool {return self._cmnCancelLabel != nil}
140
+ /// Clears the value of `cmnCancelLabel`. Subsequent reads from it will return its default value.
141
+ public mutating func clearCmnCancelLabel() {self._cmnCancelLabel = nil}
142
+
143
+ public var openViaOssTitle: String {
144
+ get {return _openViaOssTitle ?? "Unlocking the device"}
145
+ set {_openViaOssTitle = newValue}
146
+ }
147
+ /// Returns true if `openViaOssTitle` has been explicitly set.
148
+ public var hasOpenViaOssTitle: Bool {return self._openViaOssTitle != nil}
149
+ /// Clears the value of `openViaOssTitle`. Subsequent reads from it will return its default value.
150
+ public mutating func clearOpenViaOssTitle() {self._openViaOssTitle = nil}
151
+
152
+ public var openViaOssWaitMessage: String {
153
+ get {return _openViaOssWaitMessage ?? "Please wait..."}
154
+ set {_openViaOssWaitMessage = newValue}
155
+ }
156
+ /// Returns true if `openViaOssWaitMessage` has been explicitly set.
157
+ public var hasOpenViaOssWaitMessage: Bool {return self._openViaOssWaitMessage != nil}
158
+ /// Clears the value of `openViaOssWaitMessage`. Subsequent reads from it will return its default value.
159
+ public mutating func clearOpenViaOssWaitMessage() {self._openViaOssWaitMessage = nil}
160
+
161
+ public var openViaOssSuccessMessage: String {
162
+ get {return _openViaOssSuccessMessage ?? "Successfully unlocked"}
163
+ set {_openViaOssSuccessMessage = newValue}
164
+ }
165
+ /// Returns true if `openViaOssSuccessMessage` has been explicitly set.
166
+ public var hasOpenViaOssSuccessMessage: Bool {return self._openViaOssSuccessMessage != nil}
167
+ /// Clears the value of `openViaOssSuccessMessage`. Subsequent reads from it will return its default value.
168
+ public mutating func clearOpenViaOssSuccessMessage() {self._openViaOssSuccessMessage = nil}
169
+
134
170
  public var unknownFields = SwiftProtobuf.UnknownStorage()
135
171
 
136
172
  public init() {}
@@ -143,6 +179,10 @@ public struct BlueI18n {
143
179
  fileprivate var _nfcOssSuccessProvisionMessage: String? = nil
144
180
  fileprivate var _nfcOssSuccessUnprovisionMessage: String? = nil
145
181
  fileprivate var _nfcOssSuccessFormatMessage: String? = nil
182
+ fileprivate var _cmnCancelLabel: String? = nil
183
+ fileprivate var _openViaOssTitle: String? = nil
184
+ fileprivate var _openViaOssWaitMessage: String? = nil
185
+ fileprivate var _openViaOssSuccessMessage: String? = nil
146
186
  }
147
187
 
148
188
  public struct BlueDeviceDetailsBluetooth {
@@ -610,6 +650,10 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
610
650
  6: .same(proto: "nfcOssSuccessProvisionMessage"),
611
651
  7: .same(proto: "nfcOssSuccessUnprovisionMessage"),
612
652
  8: .same(proto: "nfcOssSuccessFormatMessage"),
653
+ 9: .same(proto: "cmnCancelLabel"),
654
+ 10: .same(proto: "openViaOssTitle"),
655
+ 11: .same(proto: "openViaOssWaitMessage"),
656
+ 12: .same(proto: "openViaOssSuccessMessage"),
613
657
  ]
614
658
 
615
659
  public var isInitialized: Bool {
@@ -621,6 +665,10 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
621
665
  if self._nfcOssSuccessProvisionMessage == nil {return false}
622
666
  if self._nfcOssSuccessUnprovisionMessage == nil {return false}
623
667
  if self._nfcOssSuccessFormatMessage == nil {return false}
668
+ if self._cmnCancelLabel == nil {return false}
669
+ if self._openViaOssTitle == nil {return false}
670
+ if self._openViaOssWaitMessage == nil {return false}
671
+ if self._openViaOssSuccessMessage == nil {return false}
624
672
  return true
625
673
  }
626
674
 
@@ -638,6 +686,10 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
638
686
  case 6: try { try decoder.decodeSingularStringField(value: &self._nfcOssSuccessProvisionMessage) }()
639
687
  case 7: try { try decoder.decodeSingularStringField(value: &self._nfcOssSuccessUnprovisionMessage) }()
640
688
  case 8: try { try decoder.decodeSingularStringField(value: &self._nfcOssSuccessFormatMessage) }()
689
+ case 9: try { try decoder.decodeSingularStringField(value: &self._cmnCancelLabel) }()
690
+ case 10: try { try decoder.decodeSingularStringField(value: &self._openViaOssTitle) }()
691
+ case 11: try { try decoder.decodeSingularStringField(value: &self._openViaOssWaitMessage) }()
692
+ case 12: try { try decoder.decodeSingularStringField(value: &self._openViaOssSuccessMessage) }()
641
693
  default: break
642
694
  }
643
695
  }
@@ -672,6 +724,18 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
672
724
  try { if let v = self._nfcOssSuccessFormatMessage {
673
725
  try visitor.visitSingularStringField(value: v, fieldNumber: 8)
674
726
  } }()
727
+ try { if let v = self._cmnCancelLabel {
728
+ try visitor.visitSingularStringField(value: v, fieldNumber: 9)
729
+ } }()
730
+ try { if let v = self._openViaOssTitle {
731
+ try visitor.visitSingularStringField(value: v, fieldNumber: 10)
732
+ } }()
733
+ try { if let v = self._openViaOssWaitMessage {
734
+ try visitor.visitSingularStringField(value: v, fieldNumber: 11)
735
+ } }()
736
+ try { if let v = self._openViaOssSuccessMessage {
737
+ try visitor.visitSingularStringField(value: v, fieldNumber: 12)
738
+ } }()
675
739
  try unknownFields.traverse(visitor: &visitor)
676
740
  }
677
741
 
@@ -684,6 +748,10 @@ extension BlueI18n: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationB
684
748
  if lhs._nfcOssSuccessProvisionMessage != rhs._nfcOssSuccessProvisionMessage {return false}
685
749
  if lhs._nfcOssSuccessUnprovisionMessage != rhs._nfcOssSuccessUnprovisionMessage {return false}
686
750
  if lhs._nfcOssSuccessFormatMessage != rhs._nfcOssSuccessFormatMessage {return false}
751
+ if lhs._cmnCancelLabel != rhs._cmnCancelLabel {return false}
752
+ if lhs._openViaOssTitle != rhs._openViaOssTitle {return false}
753
+ if lhs._openViaOssWaitMessage != rhs._openViaOssWaitMessage {return false}
754
+ if lhs._openViaOssSuccessMessage != rhs._openViaOssSuccessMessage {return false}
687
755
  if lhs.unknownFields != rhs.unknownFields {return false}
688
756
  return true
689
757
  }