@blueid/access-proto 12.25.0 → 12.27.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/BlueCore.proto +39 -10
- package/BlueSDK.proto +0 -7
- package/BlueSystem.proto +1 -15
- package/cjs/BlueCore_pb.d.ts +178 -1
- package/cjs/BlueCore_pb.js +69 -0
- package/cjs/BlueSDK_pb.d.ts +0 -26
- package/cjs/BlueSDK_pb.js +1 -10
- package/cjs/BlueSystem_pb.d.ts +0 -39
- package/cjs/BlueSystem_pb.js +2 -14
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -1
- package/es/BlueCore_pb.d.ts +178 -1
- package/es/BlueCore_pb.js +67 -0
- package/es/BlueSDK_pb.d.ts +0 -26
- package/es/BlueSDK_pb.js +0 -12
- package/es/BlueSystem_pb.d.ts +0 -39
- package/es/BlueSystem_pb.js +0 -15
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/nanopb/BlueCore.pb.c +20 -2
- package/nanopb/BlueCore.pb.h +125 -4
- package/nanopb/BlueSDK.pb.c +0 -1
- package/nanopb/BlueSDK.pb.h +3 -16
- package/nanopb/BlueSystem.pb.c +0 -1
- package/nanopb/BlueSystem.pb.h +12 -57
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +487 -1
- package/swift/BlueSDK.pb.swift +1 -36
- package/swift/BlueSystem.pb.swift +2 -50
- package/BlueNetworkCore.proto +0 -122
- package/cjs/BlueNetworkCore_pb.d.ts +0 -591
- package/cjs/BlueNetworkCore_pb.js +0 -234
- package/es/BlueNetworkCore_pb.d.ts +0 -591
- package/es/BlueNetworkCore_pb.js +0 -215
- package/nanopb/BlueNetworkCore.pb.c +0 -63
- package/nanopb/BlueNetworkCore.pb.h +0 -409
- package/swift/BlueNetworkCore.pb.swift +0 -1700
package/BlueCore.proto
CHANGED
|
@@ -231,11 +231,6 @@ message BlueLocalTimeperiod {
|
|
|
231
231
|
required uint32 minutesTo = 4 [ (nanopb).int_size = IS_8 ];
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
//message BlueTransponderId {
|
|
235
|
-
// required string id = 1 [ (nanopb).max_length = 21 ]; // Most NFC UIDs are 4, 7, or 10 bytes (not 15). When converted to hex, each byte becomes 2 hex characters → maximum 20 characters + null = 21 bytes
|
|
236
|
-
//}
|
|
237
|
-
|
|
238
|
-
|
|
239
234
|
enum BlueTimeUnit {
|
|
240
235
|
option (nanopb_enumopt).packed_enum = true;
|
|
241
236
|
|
|
@@ -486,9 +481,6 @@ message BlueEvent {
|
|
|
486
481
|
|
|
487
482
|
// Set if eventId =
|
|
488
483
|
optional string command = 6 [ (nanopb).max_length = 8 ];
|
|
489
|
-
|
|
490
|
-
// Set if credential related
|
|
491
|
-
// optional BlueTransponderId transponderId = 7;
|
|
492
484
|
}
|
|
493
485
|
|
|
494
486
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -512,7 +504,7 @@ message BlueSPTokenCommand {
|
|
|
512
504
|
required BlueLocalTimestamp validityEnd = 3;
|
|
513
505
|
required string command = 4 [ (nanopb).max_length = 8 ];
|
|
514
506
|
required bytes data = 5
|
|
515
|
-
[ (nanopb).max_size =
|
|
507
|
+
[ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
|
|
516
508
|
}
|
|
517
509
|
|
|
518
510
|
message BlueSPToken {
|
|
@@ -530,6 +522,43 @@ message BlueSPResult {
|
|
|
530
522
|
[ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
|
|
531
523
|
}
|
|
532
524
|
|
|
525
|
+
///////////////////////////////////////////////////////////////////////
|
|
526
|
+
// Secure Protocol over WebSocket
|
|
527
|
+
///////////////////////////////////////////////////////////////////////
|
|
528
|
+
|
|
529
|
+
message BlueWebSPHandshake {
|
|
530
|
+
required bytes salt = 1
|
|
531
|
+
[ (nanopb).max_size = 16, (nanopb).fixed_length = true ];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
message BlueWebSPHandshakeReply {
|
|
535
|
+
required string deviceId = 1 [ (nanopb).max_length = 8 ];
|
|
536
|
+
required bytes signature = 2 [ (nanopb).max_size = 74 ];
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
message BlueWebSPMessage {
|
|
540
|
+
required uint32 transactionId = 1 [ (nanopb).int_size = IS_8 ];
|
|
541
|
+
required BlueSPResult payload = 2;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
// Message sent by the server to the device
|
|
545
|
+
message BlueWebSPServerMessage {
|
|
546
|
+
oneof payload {
|
|
547
|
+
BlueWebSPHandshake handshake = 2;
|
|
548
|
+
BlueSPTokenCommand command = 3;
|
|
549
|
+
BlueOssSoMobile ossSo = 4;
|
|
550
|
+
BlueOssSidMobile ossSid = 5;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
message BlueWebSPClientMessage {
|
|
555
|
+
// TODO: payload
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
message BlueWebSPStatusMessage {
|
|
559
|
+
required BlueReturnCode status = 1;
|
|
560
|
+
}
|
|
561
|
+
|
|
533
562
|
|
|
534
563
|
///////////////////////////////////////////////////////////////////////
|
|
535
564
|
// Oss shared types
|
|
@@ -971,4 +1000,4 @@ message _BlueTestEncodeDecode {
|
|
|
971
1000
|
required string hardware_name = 2 [ (nanopb).max_length = 32 ];
|
|
972
1001
|
required int32 hardware_version = 3;
|
|
973
1002
|
required int32 application_version = 4;
|
|
974
|
-
}
|
|
1003
|
+
}
|
package/BlueSDK.proto
CHANGED
|
@@ -224,7 +224,6 @@ message BlueIdentity {
|
|
|
224
224
|
optional string siteName = 11;
|
|
225
225
|
optional bytes privateKey = 12;
|
|
226
226
|
optional string status = 13;
|
|
227
|
-
optional uint64 syncedUntil = 14; // validity after syncing the identity
|
|
228
227
|
}
|
|
229
228
|
|
|
230
229
|
message BlueIdentitiesList {
|
|
@@ -378,9 +377,3 @@ message BlueAccessCredential {
|
|
|
378
377
|
message BlueSynchronizeAccessCredentials {
|
|
379
378
|
repeated BlueSynchronizeAccessCredential credentials = 1;
|
|
380
379
|
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
enum BlueHardwareVendor{
|
|
384
|
-
uundzlocks = 0;// UUNZ
|
|
385
|
-
dlogiclock = 1; // DigitalLogic
|
|
386
|
-
}
|
package/BlueSystem.proto
CHANGED
|
@@ -140,9 +140,6 @@ message BlueOssConfig {
|
|
|
140
140
|
// The mifare application id for the oss offline application, default is the
|
|
141
141
|
// oss so default aid. A value of 0 disables Oss So Mifare support.
|
|
142
142
|
required uint32 soMifareAid = 8 [ default = 16076800 ];
|
|
143
|
-
|
|
144
|
-
// The card will request to refresh if the existing days passed. It can become required after stable
|
|
145
|
-
optional uint32 minRefreshDays = 9 [ default = 5, (nanopb).int_size = IS_8 ];
|
|
146
143
|
}
|
|
147
144
|
|
|
148
145
|
message BlueSystemAVRInfo {
|
|
@@ -213,8 +210,6 @@ message BlueSystemProvisioning {
|
|
|
213
210
|
// Public key used for verifying signatures being valid on this device
|
|
214
211
|
// (default set from BlueSharedDemoKeys)
|
|
215
212
|
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
|
|
218
213
|
}
|
|
219
214
|
|
|
220
215
|
message BlueSystemStatus {
|
|
@@ -232,15 +227,6 @@ message BlueSystemStatus {
|
|
|
232
227
|
optional uint32 applicationVersionTest = 10;
|
|
233
228
|
}
|
|
234
229
|
|
|
235
|
-
enum BlueNetworkType {
|
|
236
|
-
option (nanopb_enumopt).packed_enum = true;
|
|
237
|
-
|
|
238
|
-
None = 1;
|
|
239
|
-
Ethernet = 2;
|
|
240
|
-
Wifi = 3;
|
|
241
|
-
Gsm = 4;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
230
|
///////////////////////////////////////////////////////////////////////
|
|
245
231
|
// System Log
|
|
246
232
|
///////////////////////////////////////////////////////////////////////
|
|
@@ -295,4 +281,4 @@ message BlueEventLogResult {
|
|
|
295
281
|
|
|
296
282
|
message BlueBlacklistEntries {
|
|
297
283
|
repeated BlueBlacklistEntry entries = 1 [ (nanopb).max_count = 75 ];
|
|
298
|
-
}
|
|
284
|
+
}
|
package/cjs/BlueCore_pb.d.ts
CHANGED
|
@@ -1653,7 +1653,7 @@ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
|
|
|
1653
1653
|
command: string;
|
|
1654
1654
|
|
|
1655
1655
|
/**
|
|
1656
|
-
* we'll add 256b for add. data
|
|
1656
|
+
* we'll add 256b for add. data
|
|
1657
1657
|
*
|
|
1658
1658
|
* @generated from field: required bytes data = 5;
|
|
1659
1659
|
*/
|
|
@@ -1747,6 +1747,183 @@ export declare class BlueSPResult extends Message<BlueSPResult> {
|
|
|
1747
1747
|
static equals(a: BlueSPResult | PlainMessage<BlueSPResult> | undefined, b: BlueSPResult | PlainMessage<BlueSPResult> | undefined): boolean;
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* @generated from message BlueWebSPHandshake
|
|
1752
|
+
*/
|
|
1753
|
+
export declare class BlueWebSPHandshake extends Message<BlueWebSPHandshake> {
|
|
1754
|
+
/**
|
|
1755
|
+
* @generated from field: required bytes salt = 1;
|
|
1756
|
+
*/
|
|
1757
|
+
salt: Uint8Array;
|
|
1758
|
+
|
|
1759
|
+
constructor(data?: PartialMessage<BlueWebSPHandshake>);
|
|
1760
|
+
|
|
1761
|
+
static readonly runtime: typeof proto2;
|
|
1762
|
+
static readonly typeName = "BlueWebSPHandshake";
|
|
1763
|
+
static readonly fields: FieldList;
|
|
1764
|
+
|
|
1765
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPHandshake;
|
|
1766
|
+
|
|
1767
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPHandshake;
|
|
1768
|
+
|
|
1769
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPHandshake;
|
|
1770
|
+
|
|
1771
|
+
static equals(a: BlueWebSPHandshake | PlainMessage<BlueWebSPHandshake> | undefined, b: BlueWebSPHandshake | PlainMessage<BlueWebSPHandshake> | undefined): boolean;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* @generated from message BlueWebSPHandshakeReply
|
|
1776
|
+
*/
|
|
1777
|
+
export declare class BlueWebSPHandshakeReply extends Message<BlueWebSPHandshakeReply> {
|
|
1778
|
+
/**
|
|
1779
|
+
* @generated from field: required string deviceId = 1;
|
|
1780
|
+
*/
|
|
1781
|
+
deviceId: string;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* @generated from field: required bytes signature = 2;
|
|
1785
|
+
*/
|
|
1786
|
+
signature: Uint8Array;
|
|
1787
|
+
|
|
1788
|
+
constructor(data?: PartialMessage<BlueWebSPHandshakeReply>);
|
|
1789
|
+
|
|
1790
|
+
static readonly runtime: typeof proto2;
|
|
1791
|
+
static readonly typeName = "BlueWebSPHandshakeReply";
|
|
1792
|
+
static readonly fields: FieldList;
|
|
1793
|
+
|
|
1794
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPHandshakeReply;
|
|
1795
|
+
|
|
1796
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPHandshakeReply;
|
|
1797
|
+
|
|
1798
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPHandshakeReply;
|
|
1799
|
+
|
|
1800
|
+
static equals(a: BlueWebSPHandshakeReply | PlainMessage<BlueWebSPHandshakeReply> | undefined, b: BlueWebSPHandshakeReply | PlainMessage<BlueWebSPHandshakeReply> | undefined): boolean;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* @generated from message BlueWebSPMessage
|
|
1805
|
+
*/
|
|
1806
|
+
export declare class BlueWebSPMessage extends Message<BlueWebSPMessage> {
|
|
1807
|
+
/**
|
|
1808
|
+
* @generated from field: required uint32 transactionId = 1;
|
|
1809
|
+
*/
|
|
1810
|
+
transactionId: number;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* @generated from field: required BlueSPResult payload = 2;
|
|
1814
|
+
*/
|
|
1815
|
+
payload?: BlueSPResult;
|
|
1816
|
+
|
|
1817
|
+
constructor(data?: PartialMessage<BlueWebSPMessage>);
|
|
1818
|
+
|
|
1819
|
+
static readonly runtime: typeof proto2;
|
|
1820
|
+
static readonly typeName = "BlueWebSPMessage";
|
|
1821
|
+
static readonly fields: FieldList;
|
|
1822
|
+
|
|
1823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPMessage;
|
|
1824
|
+
|
|
1825
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPMessage;
|
|
1826
|
+
|
|
1827
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPMessage;
|
|
1828
|
+
|
|
1829
|
+
static equals(a: BlueWebSPMessage | PlainMessage<BlueWebSPMessage> | undefined, b: BlueWebSPMessage | PlainMessage<BlueWebSPMessage> | undefined): boolean;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* Message sent by the server to the device
|
|
1834
|
+
*
|
|
1835
|
+
* @generated from message BlueWebSPServerMessage
|
|
1836
|
+
*/
|
|
1837
|
+
export declare class BlueWebSPServerMessage extends Message<BlueWebSPServerMessage> {
|
|
1838
|
+
/**
|
|
1839
|
+
* @generated from oneof BlueWebSPServerMessage.payload
|
|
1840
|
+
*/
|
|
1841
|
+
payload: {
|
|
1842
|
+
/**
|
|
1843
|
+
* @generated from field: BlueWebSPHandshake handshake = 2;
|
|
1844
|
+
*/
|
|
1845
|
+
value: BlueWebSPHandshake;
|
|
1846
|
+
case: "handshake";
|
|
1847
|
+
} | {
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: BlueSPTokenCommand command = 3;
|
|
1850
|
+
*/
|
|
1851
|
+
value: BlueSPTokenCommand;
|
|
1852
|
+
case: "command";
|
|
1853
|
+
} | {
|
|
1854
|
+
/**
|
|
1855
|
+
* @generated from field: BlueOssSoMobile ossSo = 4;
|
|
1856
|
+
*/
|
|
1857
|
+
value: BlueOssSoMobile;
|
|
1858
|
+
case: "ossSo";
|
|
1859
|
+
} | {
|
|
1860
|
+
/**
|
|
1861
|
+
* @generated from field: BlueOssSidMobile ossSid = 5;
|
|
1862
|
+
*/
|
|
1863
|
+
value: BlueOssSidMobile;
|
|
1864
|
+
case: "ossSid";
|
|
1865
|
+
} | { case: undefined; value?: undefined };
|
|
1866
|
+
|
|
1867
|
+
constructor(data?: PartialMessage<BlueWebSPServerMessage>);
|
|
1868
|
+
|
|
1869
|
+
static readonly runtime: typeof proto2;
|
|
1870
|
+
static readonly typeName = "BlueWebSPServerMessage";
|
|
1871
|
+
static readonly fields: FieldList;
|
|
1872
|
+
|
|
1873
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPServerMessage;
|
|
1874
|
+
|
|
1875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPServerMessage;
|
|
1876
|
+
|
|
1877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPServerMessage;
|
|
1878
|
+
|
|
1879
|
+
static equals(a: BlueWebSPServerMessage | PlainMessage<BlueWebSPServerMessage> | undefined, b: BlueWebSPServerMessage | PlainMessage<BlueWebSPServerMessage> | undefined): boolean;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* TODO: payload
|
|
1884
|
+
*
|
|
1885
|
+
* @generated from message BlueWebSPClientMessage
|
|
1886
|
+
*/
|
|
1887
|
+
export declare class BlueWebSPClientMessage extends Message<BlueWebSPClientMessage> {
|
|
1888
|
+
constructor(data?: PartialMessage<BlueWebSPClientMessage>);
|
|
1889
|
+
|
|
1890
|
+
static readonly runtime: typeof proto2;
|
|
1891
|
+
static readonly typeName = "BlueWebSPClientMessage";
|
|
1892
|
+
static readonly fields: FieldList;
|
|
1893
|
+
|
|
1894
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPClientMessage;
|
|
1895
|
+
|
|
1896
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPClientMessage;
|
|
1897
|
+
|
|
1898
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPClientMessage;
|
|
1899
|
+
|
|
1900
|
+
static equals(a: BlueWebSPClientMessage | PlainMessage<BlueWebSPClientMessage> | undefined, b: BlueWebSPClientMessage | PlainMessage<BlueWebSPClientMessage> | undefined): boolean;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* @generated from message BlueWebSPStatusMessage
|
|
1905
|
+
*/
|
|
1906
|
+
export declare class BlueWebSPStatusMessage extends Message<BlueWebSPStatusMessage> {
|
|
1907
|
+
/**
|
|
1908
|
+
* @generated from field: required BlueReturnCode status = 1;
|
|
1909
|
+
*/
|
|
1910
|
+
status: BlueReturnCode;
|
|
1911
|
+
|
|
1912
|
+
constructor(data?: PartialMessage<BlueWebSPStatusMessage>);
|
|
1913
|
+
|
|
1914
|
+
static readonly runtime: typeof proto2;
|
|
1915
|
+
static readonly typeName = "BlueWebSPStatusMessage";
|
|
1916
|
+
static readonly fields: FieldList;
|
|
1917
|
+
|
|
1918
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BlueWebSPStatusMessage;
|
|
1919
|
+
|
|
1920
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BlueWebSPStatusMessage;
|
|
1921
|
+
|
|
1922
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BlueWebSPStatusMessage;
|
|
1923
|
+
|
|
1924
|
+
static equals(a: BlueWebSPStatusMessage | PlainMessage<BlueWebSPStatusMessage> | undefined, b: BlueWebSPStatusMessage | PlainMessage<BlueWebSPStatusMessage> | undefined): boolean;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1750
1927
|
/**
|
|
1751
1928
|
* @generated from message BlueOssAccessResult
|
|
1752
1929
|
*/
|
package/cjs/BlueCore_pb.js
CHANGED
|
@@ -88,6 +88,12 @@ __export(BlueCore_pb_exports, {
|
|
|
88
88
|
BlueTimeUnit: () => BlueTimeUnit,
|
|
89
89
|
BlueTransponderType: () => BlueTransponderType,
|
|
90
90
|
BlueVersionInfo: () => BlueVersionInfo,
|
|
91
|
+
BlueWebSPClientMessage: () => BlueWebSPClientMessage,
|
|
92
|
+
BlueWebSPHandshake: () => BlueWebSPHandshake,
|
|
93
|
+
BlueWebSPHandshakeReply: () => BlueWebSPHandshakeReply,
|
|
94
|
+
BlueWebSPMessage: () => BlueWebSPMessage,
|
|
95
|
+
BlueWebSPServerMessage: () => BlueWebSPServerMessage,
|
|
96
|
+
BlueWebSPStatusMessage: () => BlueWebSPStatusMessage,
|
|
91
97
|
BlueWeekday: () => BlueWeekday,
|
|
92
98
|
_BlueTestEncodeDecode: () => _BlueTestEncodeDecode
|
|
93
99
|
});
|
|
@@ -684,6 +690,69 @@ const BlueSPResult = import_protobuf.proto2.makeMessageType(
|
|
|
684
690
|
}
|
|
685
691
|
]
|
|
686
692
|
);
|
|
693
|
+
const BlueWebSPHandshake = import_protobuf.proto2.makeMessageType(
|
|
694
|
+
"BlueWebSPHandshake",
|
|
695
|
+
() => [
|
|
696
|
+
{
|
|
697
|
+
no: 1,
|
|
698
|
+
name: "salt",
|
|
699
|
+
kind: "scalar",
|
|
700
|
+
T: 12
|
|
701
|
+
/* ScalarType.BYTES */
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
);
|
|
705
|
+
const BlueWebSPHandshakeReply = import_protobuf.proto2.makeMessageType(
|
|
706
|
+
"BlueWebSPHandshakeReply",
|
|
707
|
+
() => [
|
|
708
|
+
{
|
|
709
|
+
no: 1,
|
|
710
|
+
name: "deviceId",
|
|
711
|
+
kind: "scalar",
|
|
712
|
+
T: 9
|
|
713
|
+
/* ScalarType.STRING */
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
no: 2,
|
|
717
|
+
name: "signature",
|
|
718
|
+
kind: "scalar",
|
|
719
|
+
T: 12
|
|
720
|
+
/* ScalarType.BYTES */
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
);
|
|
724
|
+
const BlueWebSPMessage = import_protobuf.proto2.makeMessageType(
|
|
725
|
+
"BlueWebSPMessage",
|
|
726
|
+
() => [
|
|
727
|
+
{
|
|
728
|
+
no: 1,
|
|
729
|
+
name: "transactionId",
|
|
730
|
+
kind: "scalar",
|
|
731
|
+
T: 13
|
|
732
|
+
/* ScalarType.UINT32 */
|
|
733
|
+
},
|
|
734
|
+
{ no: 2, name: "payload", kind: "message", T: BlueSPResult }
|
|
735
|
+
]
|
|
736
|
+
);
|
|
737
|
+
const BlueWebSPServerMessage = import_protobuf.proto2.makeMessageType(
|
|
738
|
+
"BlueWebSPServerMessage",
|
|
739
|
+
() => [
|
|
740
|
+
{ no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
|
|
741
|
+
{ no: 3, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
|
|
742
|
+
{ no: 4, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
|
|
743
|
+
{ no: 5, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" }
|
|
744
|
+
]
|
|
745
|
+
);
|
|
746
|
+
const BlueWebSPClientMessage = import_protobuf.proto2.makeMessageType(
|
|
747
|
+
"BlueWebSPClientMessage",
|
|
748
|
+
[]
|
|
749
|
+
);
|
|
750
|
+
const BlueWebSPStatusMessage = import_protobuf.proto2.makeMessageType(
|
|
751
|
+
"BlueWebSPStatusMessage",
|
|
752
|
+
() => [
|
|
753
|
+
{ no: 1, name: "status", kind: "enum", T: import_protobuf.proto2.getEnumType(BlueReturnCode) }
|
|
754
|
+
]
|
|
755
|
+
);
|
|
687
756
|
const BlueOssAccessResult = import_protobuf.proto2.makeMessageType(
|
|
688
757
|
"BlueOssAccessResult",
|
|
689
758
|
() => [
|
package/cjs/BlueSDK_pb.d.ts
CHANGED
|
@@ -48,25 +48,6 @@ export declare enum BlueRefreshOssSoCredentialStatus {
|
|
|
48
48
|
Unsupported = 4,
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
/**
|
|
52
|
-
* @generated from enum BlueHardwareVendor
|
|
53
|
-
*/
|
|
54
|
-
export declare enum BlueHardwareVendor {
|
|
55
|
-
/**
|
|
56
|
-
* UUNZ
|
|
57
|
-
*
|
|
58
|
-
* @generated from enum value: uundzlocks = 0;
|
|
59
|
-
*/
|
|
60
|
-
uundzlocks = 0,
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* DigitalLogic
|
|
64
|
-
*
|
|
65
|
-
* @generated from enum value: dlogiclock = 1;
|
|
66
|
-
*/
|
|
67
|
-
dlogiclock = 1,
|
|
68
|
-
}
|
|
69
|
-
|
|
70
51
|
/**
|
|
71
52
|
* @generated from message BlueI18n
|
|
72
53
|
*/
|
|
@@ -632,13 +613,6 @@ export declare class BlueIdentity extends Message<BlueIdentity> {
|
|
|
632
613
|
*/
|
|
633
614
|
status?: string;
|
|
634
615
|
|
|
635
|
-
/**
|
|
636
|
-
* validity after syncing the identity
|
|
637
|
-
*
|
|
638
|
-
* @generated from field: optional uint64 syncedUntil = 14;
|
|
639
|
-
*/
|
|
640
|
-
syncedUntil?: bigint;
|
|
641
|
-
|
|
642
616
|
constructor(data?: PartialMessage<BlueIdentity>);
|
|
643
617
|
|
|
644
618
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSDK_pb.js
CHANGED
|
@@ -28,7 +28,6 @@ __export(BlueSDK_pb_exports, {
|
|
|
28
28
|
BlueDeviceInfo: () => BlueDeviceInfo,
|
|
29
29
|
BlueDeviceType: () => BlueDeviceType,
|
|
30
30
|
BlueHardwareInfo: () => BlueHardwareInfo,
|
|
31
|
-
BlueHardwareVendor: () => BlueHardwareVendor,
|
|
32
31
|
BlueI18n: () => BlueI18n,
|
|
33
32
|
BlueIdentitiesList: () => BlueIdentitiesList,
|
|
34
33
|
BlueIdentity: () => BlueIdentity,
|
|
@@ -67,13 +66,6 @@ const BlueRefreshOssSoCredentialStatus = import_protobuf.proto2.makeEnum(
|
|
|
67
66
|
{ no: 4, name: "Unsupported" }
|
|
68
67
|
]
|
|
69
68
|
);
|
|
70
|
-
const BlueHardwareVendor = import_protobuf.proto2.makeEnum(
|
|
71
|
-
"BlueHardwareVendor",
|
|
72
|
-
[
|
|
73
|
-
{ no: 0, name: "uundzlocks" },
|
|
74
|
-
{ no: 1, name: "dlogiclock" }
|
|
75
|
-
]
|
|
76
|
-
);
|
|
77
69
|
const BlueI18n = import_protobuf.proto2.makeMessageType(
|
|
78
70
|
"BlueI18n",
|
|
79
71
|
() => [
|
|
@@ -245,8 +237,7 @@ const BlueIdentity = import_protobuf.proto2.makeMessageType(
|
|
|
245
237
|
},
|
|
246
238
|
{ no: 11, name: "siteName", kind: "scalar", T: 9, opt: true },
|
|
247
239
|
{ no: 12, name: "privateKey", kind: "scalar", T: 12, opt: true },
|
|
248
|
-
{ no: 13, name: "status", kind: "scalar", T: 9, opt: true }
|
|
249
|
-
{ no: 14, name: "syncedUntil", kind: "scalar", T: 4, opt: true }
|
|
240
|
+
{ no: 13, name: "status", kind: "scalar", T: 9, opt: true }
|
|
250
241
|
]
|
|
251
242
|
);
|
|
252
243
|
const BlueIdentitiesList = import_protobuf.proto2.makeMessageType(
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -8,31 +8,6 @@ import { Message, proto2 } from "@bufbuild/protobuf";
|
|
|
8
8
|
import type { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType, BlueLocalTimeSchedule, BlueLocalTimestamp } from "./BlueCore_pb.js";
|
|
9
9
|
import type { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
|
|
10
10
|
|
|
11
|
-
/**
|
|
12
|
-
* @generated from enum BlueNetworkType
|
|
13
|
-
*/
|
|
14
|
-
export declare enum BlueNetworkType {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from enum value: None = 1;
|
|
17
|
-
*/
|
|
18
|
-
None = 1,
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @generated from enum value: Ethernet = 2;
|
|
22
|
-
*/
|
|
23
|
-
Ethernet = 2,
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @generated from enum value: Wifi = 3;
|
|
27
|
-
*/
|
|
28
|
-
Wifi = 3,
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @generated from enum value: Gsm = 4;
|
|
32
|
-
*/
|
|
33
|
-
Gsm = 4,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
11
|
/**
|
|
37
12
|
* @generated from message BlueBaseConfig
|
|
38
13
|
*/
|
|
@@ -350,13 +325,6 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
|
|
|
350
325
|
*/
|
|
351
326
|
soMifareAid: number;
|
|
352
327
|
|
|
353
|
-
/**
|
|
354
|
-
* The card will request to refresh if the existing days passed. It can become required after stable
|
|
355
|
-
*
|
|
356
|
-
* @generated from field: optional uint32 minRefreshDays = 9 [default = 5];
|
|
357
|
-
*/
|
|
358
|
-
minRefreshDays?: number;
|
|
359
|
-
|
|
360
328
|
constructor(data?: PartialMessage<BlueOssConfig>);
|
|
361
329
|
|
|
362
330
|
static readonly runtime: typeof proto2;
|
|
@@ -643,13 +611,6 @@ export declare class BlueSystemProvisioning extends Message<BlueSystemProvisioni
|
|
|
643
611
|
*/
|
|
644
612
|
signaturePublicKey: Uint8Array;
|
|
645
613
|
|
|
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
|
-
|
|
653
614
|
constructor(data?: PartialMessage<BlueSystemProvisioning>);
|
|
654
615
|
|
|
655
616
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -24,7 +24,6 @@ __export(BlueSystem_pb_exports, {
|
|
|
24
24
|
BlueBleConfig: () => BlueBleConfig,
|
|
25
25
|
BlueEventLogQuery: () => BlueEventLogQuery,
|
|
26
26
|
BlueEventLogResult: () => BlueEventLogResult,
|
|
27
|
-
BlueNetworkType: () => BlueNetworkType,
|
|
28
27
|
BlueOnlineConfig: () => BlueOnlineConfig,
|
|
29
28
|
BlueOssConfig: () => BlueOssConfig,
|
|
30
29
|
BlueSystemAVRInfo: () => BlueSystemAVRInfo,
|
|
@@ -42,15 +41,6 @@ module.exports = __toCommonJS(BlueSystem_pb_exports);
|
|
|
42
41
|
var import_protobuf = require("@bufbuild/protobuf");
|
|
43
42
|
var import_BlueCore_pb = require("./BlueCore_pb.js");
|
|
44
43
|
var import_BlueLock_pb = require("./BlueLock_pb.js");
|
|
45
|
-
const BlueNetworkType = import_protobuf.proto2.makeEnum(
|
|
46
|
-
"BlueNetworkType",
|
|
47
|
-
[
|
|
48
|
-
{ no: 1, name: "None" },
|
|
49
|
-
{ no: 2, name: "Ethernet" },
|
|
50
|
-
{ no: 3, name: "Wifi" },
|
|
51
|
-
{ no: 4, name: "Gsm" }
|
|
52
|
-
]
|
|
53
|
-
);
|
|
54
44
|
const BlueBaseConfig = import_protobuf.proto2.makeMessageType(
|
|
55
45
|
"BlueBaseConfig",
|
|
56
46
|
() => [
|
|
@@ -144,8 +134,7 @@ const BlueOssConfig = import_protobuf.proto2.makeMessageType(
|
|
|
144
134
|
{ no: 5, name: "soWritePendingEvents", kind: "scalar", T: 8, default: true },
|
|
145
135
|
{ no: 6, name: "soUpdateFromBlacklist", kind: "scalar", T: 8, default: true },
|
|
146
136
|
{ no: 7, name: "soMifareAesKey", kind: "scalar", T: 12, default: new Uint8Array([16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]) },
|
|
147
|
-
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
|
|
148
|
-
{ no: 9, name: "minRefreshDays", kind: "scalar", T: 13, opt: true, default: 5 }
|
|
137
|
+
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
|
|
149
138
|
]
|
|
150
139
|
);
|
|
151
140
|
const BlueSystemAVRInfo = import_protobuf.proto2.makeMessageType(
|
|
@@ -266,8 +255,7 @@ const BlueSystemProvisioning = import_protobuf.proto2.makeMessageType(
|
|
|
266
255
|
kind: "scalar",
|
|
267
256
|
T: 12
|
|
268
257
|
/* ScalarType.BYTES */
|
|
269
|
-
}
|
|
270
|
-
{ no: 6, name: "isDev", kind: "scalar", T: 8, opt: true, default: false }
|
|
258
|
+
}
|
|
271
259
|
]
|
|
272
260
|
);
|
|
273
261
|
const BlueSystemStatus = import_protobuf.proto2.makeMessageType(
|
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -16,6 +16,5 @@ var es_exports = {};
|
|
|
16
16
|
module.exports = __toCommonJS(es_exports);
|
|
17
17
|
__reExport(es_exports, require("./BlueCore_pb.js"), module.exports);
|
|
18
18
|
__reExport(es_exports, require("./BlueLock_pb.js"), module.exports);
|
|
19
|
-
__reExport(es_exports, require("./BlueNetworkCore_pb.js"), module.exports);
|
|
20
19
|
__reExport(es_exports, require("./BlueSDK_pb.js"), module.exports);
|
|
21
20
|
__reExport(es_exports, require("./BlueSystem_pb.js"), module.exports);
|