@blueid/access-proto 12.17.0 → 12.19.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/BlueSystem.proto +2 -0
- package/cjs/BlueSystem_pb.d.ts +7 -0
- package/cjs/BlueSystem_pb.js +2 -1
- package/es/BlueSystem_pb.d.ts +7 -0
- package/es/BlueSystem_pb.js +1 -0
- package/nanopb/BlueSystem.pb.h +9 -5
- package/package.json +1 -1
- package/swift/BlueSystem.pb.swift +17 -1
package/BlueSystem.proto
CHANGED
|
@@ -213,6 +213,8 @@ message BlueSystemProvisioning {
|
|
|
213
213
|
// Public key used for verifying signatures being valid on this device
|
|
214
214
|
// (default set from BlueSharedDemoKeys)
|
|
215
215
|
required bytes signaturePublicKey = 5 [ (nanopb).max_size = 100 ];
|
|
216
|
+
|
|
217
|
+
optional bool isDev = 6 [default = false]; // This will use to set server url for Nexus for UUZ this will ignore
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
message BlueSystemStatus {
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -643,6 +643,13 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
|
|
|
643
643
|
*/
|
|
644
644
|
signaturePublicKey: Uint8Array;
|
|
645
645
|
|
|
646
|
+
/**
|
|
647
|
+
* This will use to set server url for Nexus for UUZ this will ignore
|
|
648
|
+
*
|
|
649
|
+
* @generated from field: optional bool isDev = 6 [default = false];
|
|
650
|
+
*/
|
|
651
|
+
isDev?: boolean;
|
|
652
|
+
|
|
646
653
|
constructor(data?: PartialMessage<BlueSystemProvisioning>);
|
|
647
654
|
|
|
648
655
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -266,7 +266,8 @@ const BlueSystemProvisioning = import_protobuf.proto2.makeMessageType(
|
|
|
266
266
|
kind: "scalar",
|
|
267
267
|
T: 12
|
|
268
268
|
/* ScalarType.BYTES */
|
|
269
|
-
}
|
|
269
|
+
},
|
|
270
|
+
{ no: 6, name: "isDev", kind: "scalar", T: 8, opt: true, default: false }
|
|
270
271
|
]
|
|
271
272
|
);
|
|
272
273
|
const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
|
package/es/BlueSystem_pb.d.ts
CHANGED
|
@@ -643,6 +643,13 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
|
|
|
643
643
|
*/
|
|
644
644
|
signaturePublicKey: Uint8Array;
|
|
645
645
|
|
|
646
|
+
/**
|
|
647
|
+
* This will use to set server url for Nexus for UUZ this will ignore
|
|
648
|
+
*
|
|
649
|
+
* @generated from field: optional bool isDev = 6 [default = false];
|
|
650
|
+
*/
|
|
651
|
+
isDev?: boolean;
|
|
652
|
+
|
|
646
653
|
constructor(data?: PartialMessage<BlueSystemProvisioning>);
|
|
647
654
|
|
|
648
655
|
static readonly runtime: typeof proto2;
|
package/es/BlueSystem_pb.js
CHANGED
|
@@ -191,6 +191,7 @@ export const BlueSystemProvisioning = proto2.makeMessageType(
|
|
|
191
191
|
{ no: 3, name: "serialNumber", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "00000000000000000000" },
|
|
192
192
|
{ no: 4, name: "terminalPrivateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
193
193
|
{ no: 5, name: "signaturePublicKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
194
|
+
{ no: 6, name: "isDev", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
|
|
194
195
|
],
|
|
195
196
|
);
|
|
196
197
|
|
package/nanopb/BlueSystem.pb.h
CHANGED
|
@@ -179,6 +179,8 @@ typedef struct BlueSystemProvisioning {
|
|
|
179
179
|
/* Public key used for verifying signatures being valid on this device
|
|
180
180
|
(default set from BlueSharedDemoKeys) */
|
|
181
181
|
BlueSystemProvisioning_signaturePublicKey_t signaturePublicKey;
|
|
182
|
+
bool has_isDev;
|
|
183
|
+
bool isDev; /* This will use to set server url for Nexus for UUZ this will ignore */
|
|
182
184
|
} BlueSystemProvisioning_t;
|
|
183
185
|
|
|
184
186
|
typedef struct BlueSystemStatus {
|
|
@@ -284,7 +286,7 @@ extern "C" {
|
|
|
284
286
|
#define BLUESYSTEMTIMEUNIX_INIT_DEFAULT {0}
|
|
285
287
|
#define BLUESYSTEMUPDATE_INIT_DEFAULT {false, BLUESYSTEMCONFIG_INIT_DEFAULT, false, BLUESYSTEMTIMEUNIX_INIT_DEFAULT}
|
|
286
288
|
#define BLUESYSTEMSETTINGS_INIT_DEFAULT {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u, 0, 0}
|
|
287
|
-
#define BLUESYSTEMPROVISIONING_INIT_DEFAULT {BlueHardwareType_TestHardware, "", "00000000000000000000", {0, {0}}, {0, {0}}}
|
|
289
|
+
#define BLUESYSTEMPROVISIONING_INIT_DEFAULT {BlueHardwareType_TestHardware, "", "00000000000000000000", {0, {0}}, {0, {0}}, false, false}
|
|
288
290
|
#define BLUESYSTEMSTATUS_INIT_DEFAULT {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_DEFAULT, BLUESYSTEMSETTINGS_INIT_DEFAULT, false, BLUELOCKSTATUS_INIT_DEFAULT, false, 0}
|
|
289
291
|
#define BLUESYSTEMLOGQUERY_INIT_DEFAULT {0, 0, {0}}
|
|
290
292
|
#define BLUESYSTEMLOGENTRY_INIT_DEFAULT {0, BLUELOCALTIMESTAMP_INIT_DEFAULT, 0, 0, "", ""}
|
|
@@ -303,7 +305,7 @@ extern "C" {
|
|
|
303
305
|
#define BLUESYSTEMTIMEUNIX_INIT_ZERO {0}
|
|
304
306
|
#define BLUESYSTEMUPDATE_INIT_ZERO {false, BLUESYSTEMCONFIG_INIT_ZERO, false, BLUESYSTEMTIMEUNIX_INIT_ZERO}
|
|
305
307
|
#define BLUESYSTEMSETTINGS_INIT_ZERO {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
|
306
|
-
#define BLUESYSTEMPROVISIONING_INIT_ZERO {_BLUEHARDWARETYPE_MIN, "", "", {0, {0}}, {0, {0}}}
|
|
308
|
+
#define BLUESYSTEMPROVISIONING_INIT_ZERO {_BLUEHARDWARETYPE_MIN, "", "", {0, {0}}, {0, {0}}, false, 0}
|
|
307
309
|
#define BLUESYSTEMSTATUS_INIT_ZERO {"", "", "", _BLUEHARDWARETYPE_MIN, _BLUEBATTERYLEVEL_MIN, 0, BLUELOCALTIMESTAMP_INIT_ZERO, BLUESYSTEMSETTINGS_INIT_ZERO, false, BLUELOCKSTATUS_INIT_ZERO, false, 0}
|
|
308
310
|
#define BLUESYSTEMLOGQUERY_INIT_ZERO {0, 0, {0}}
|
|
309
311
|
#define BLUESYSTEMLOGENTRY_INIT_ZERO {0, BLUELOCALTIMESTAMP_INIT_ZERO, 0, 0, "", ""}
|
|
@@ -375,6 +377,7 @@ extern "C" {
|
|
|
375
377
|
#define BLUESYSTEMPROVISIONING_SERIALNUMBER_TAG 3
|
|
376
378
|
#define BLUESYSTEMPROVISIONING_TERMINALPRIVATEKEY_TAG 4
|
|
377
379
|
#define BLUESYSTEMPROVISIONING_SIGNATUREPUBLICKEY_TAG 5
|
|
380
|
+
#define BLUESYSTEMPROVISIONING_ISDEV_TAG 6
|
|
378
381
|
#define BLUESYSTEMSTATUS_CONFIGID_TAG 1
|
|
379
382
|
#define BLUESYSTEMSTATUS_DEVICEID_TAG 2
|
|
380
383
|
#define BLUESYSTEMSTATUS_SERIALNUMBER_TAG 3
|
|
@@ -520,9 +523,10 @@ X(a, STATIC, REQUIRED, UENUM, hardwareType, 1) \
|
|
|
520
523
|
X(a, STATIC, REQUIRED, STRING, deviceId, 2) \
|
|
521
524
|
X(a, STATIC, REQUIRED, STRING, serialNumber, 3) \
|
|
522
525
|
X(a, STATIC, REQUIRED, BYTES, terminalPrivateKey, 4) \
|
|
523
|
-
X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5)
|
|
526
|
+
X(a, STATIC, REQUIRED, BYTES, signaturePublicKey, 5) \
|
|
527
|
+
X(a, STATIC, OPTIONAL, BOOL, isDev, 6)
|
|
524
528
|
#define BLUESYSTEMPROVISIONING_CALLBACK NULL
|
|
525
|
-
#define BLUESYSTEMPROVISIONING_DEFAULT (const pb_byte_t*)"\x08\x01\x1a\x14\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00"
|
|
529
|
+
#define BLUESYSTEMPROVISIONING_DEFAULT (const pb_byte_t*)"\x08\x01\x1a\x14\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x00\x00"
|
|
526
530
|
|
|
527
531
|
#define BLUESYSTEMSTATUS_FIELDLIST(X, a) \
|
|
528
532
|
X(a, STATIC, REQUIRED, STRING, configId, 1) \
|
|
@@ -640,7 +644,7 @@ extern const pb_msgdesc_t BlueBlacklistEntries_t_msg;
|
|
|
640
644
|
#define BLUESYSTEMLOGENTRY_SIZE 152
|
|
641
645
|
#define BLUESYSTEMLOGQUERY_SIZE 9
|
|
642
646
|
#define BLUESYSTEMLOGRESULT_SIZE 1550
|
|
643
|
-
#define BLUESYSTEMPROVISIONING_SIZE
|
|
647
|
+
#define BLUESYSTEMPROVISIONING_SIZE 301
|
|
644
648
|
#define BLUESYSTEMSETTINGS_SIZE 48
|
|
645
649
|
#define BLUESYSTEMSTATUS_SIZE 140
|
|
646
650
|
#define BLUESYSTEMTIMEUNIX_SIZE 6
|
package/package.json
CHANGED
|
@@ -780,6 +780,16 @@ public struct BlueSystemProvisioning: Sendable {
|
|
|
780
780
|
/// Clears the value of `signaturePublicKey`. Subsequent reads from it will return its default value.
|
|
781
781
|
public mutating func clearSignaturePublicKey() {self._signaturePublicKey = nil}
|
|
782
782
|
|
|
783
|
+
/// This will use to set server url for Nexus for UUZ this will ignore
|
|
784
|
+
public var isDev: Bool {
|
|
785
|
+
get {return _isDev ?? false}
|
|
786
|
+
set {_isDev = newValue}
|
|
787
|
+
}
|
|
788
|
+
/// Returns true if `isDev` has been explicitly set.
|
|
789
|
+
public var hasIsDev: Bool {return self._isDev != nil}
|
|
790
|
+
/// Clears the value of `isDev`. Subsequent reads from it will return its default value.
|
|
791
|
+
public mutating func clearIsDev() {self._isDev = nil}
|
|
792
|
+
|
|
783
793
|
public var unknownFields = SwiftProtobuf.UnknownStorage()
|
|
784
794
|
|
|
785
795
|
public init() {}
|
|
@@ -789,6 +799,7 @@ public struct BlueSystemProvisioning: Sendable {
|
|
|
789
799
|
fileprivate var _serialNumber: String? = nil
|
|
790
800
|
fileprivate var _terminalPrivateKey: Data? = nil
|
|
791
801
|
fileprivate var _signaturePublicKey: Data? = nil
|
|
802
|
+
fileprivate var _isDev: Bool? = nil
|
|
792
803
|
}
|
|
793
804
|
|
|
794
805
|
public struct BlueSystemStatus: @unchecked Sendable {
|
|
@@ -1859,7 +1870,7 @@ extension BlueSystemSettings: SwiftProtobuf.Message, SwiftProtobuf._MessageImple
|
|
|
1859
1870
|
|
|
1860
1871
|
extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
|
|
1861
1872
|
public static let protoMessageName: String = "BlueSystemProvisioning"
|
|
1862
|
-
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}hardwareType\0\u{1}deviceId\0\u{1}serialNumber\0\u{1}terminalPrivateKey\0\u{1}signaturePublicKey\0")
|
|
1873
|
+
public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}hardwareType\0\u{1}deviceId\0\u{1}serialNumber\0\u{1}terminalPrivateKey\0\u{1}signaturePublicKey\0\u{1}isDev\0")
|
|
1863
1874
|
|
|
1864
1875
|
public var isInitialized: Bool {
|
|
1865
1876
|
if self._hardwareType == nil {return false}
|
|
@@ -1881,6 +1892,7 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
|
|
1881
1892
|
case 3: try { try decoder.decodeSingularStringField(value: &self._serialNumber) }()
|
|
1882
1893
|
case 4: try { try decoder.decodeSingularBytesField(value: &self._terminalPrivateKey) }()
|
|
1883
1894
|
case 5: try { try decoder.decodeSingularBytesField(value: &self._signaturePublicKey) }()
|
|
1895
|
+
case 6: try { try decoder.decodeSingularBoolField(value: &self._isDev) }()
|
|
1884
1896
|
default: break
|
|
1885
1897
|
}
|
|
1886
1898
|
}
|
|
@@ -1906,6 +1918,9 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
|
|
1906
1918
|
try { if let v = self._signaturePublicKey {
|
|
1907
1919
|
try visitor.visitSingularBytesField(value: v, fieldNumber: 5)
|
|
1908
1920
|
} }()
|
|
1921
|
+
try { if let v = self._isDev {
|
|
1922
|
+
try visitor.visitSingularBoolField(value: v, fieldNumber: 6)
|
|
1923
|
+
} }()
|
|
1909
1924
|
try unknownFields.traverse(visitor: &visitor)
|
|
1910
1925
|
}
|
|
1911
1926
|
|
|
@@ -1915,6 +1930,7 @@ extension BlueSystemProvisioning: SwiftProtobuf.Message, SwiftProtobuf._MessageI
|
|
|
1915
1930
|
if lhs._serialNumber != rhs._serialNumber {return false}
|
|
1916
1931
|
if lhs._terminalPrivateKey != rhs._terminalPrivateKey {return false}
|
|
1917
1932
|
if lhs._signaturePublicKey != rhs._signaturePublicKey {return false}
|
|
1933
|
+
if lhs._isDev != rhs._isDev {return false}
|
|
1918
1934
|
if lhs.unknownFields != rhs.unknownFields {return false}
|
|
1919
1935
|
return true
|
|
1920
1936
|
}
|