@blueid/access-proto 12.26.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.
@@ -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. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
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/es/BlueCore_pb.js CHANGED
@@ -549,6 +549,73 @@ export const BlueSPResult = proto2.makeMessageType(
549
549
  ],
550
550
  );
551
551
 
552
+ /**
553
+ * @generated from message BlueWebSPHandshake
554
+ */
555
+ export const BlueWebSPHandshake = proto2.makeMessageType(
556
+ "BlueWebSPHandshake",
557
+ () => [
558
+ { no: 1, name: "salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
559
+ ],
560
+ );
561
+
562
+ /**
563
+ * @generated from message BlueWebSPHandshakeReply
564
+ */
565
+ export const BlueWebSPHandshakeReply = proto2.makeMessageType(
566
+ "BlueWebSPHandshakeReply",
567
+ () => [
568
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
569
+ { no: 2, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
570
+ ],
571
+ );
572
+
573
+ /**
574
+ * @generated from message BlueWebSPMessage
575
+ */
576
+ export const BlueWebSPMessage = proto2.makeMessageType(
577
+ "BlueWebSPMessage",
578
+ () => [
579
+ { no: 1, name: "transactionId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
580
+ { no: 2, name: "payload", kind: "message", T: BlueSPResult },
581
+ ],
582
+ );
583
+
584
+ /**
585
+ * Message sent by the server to the device
586
+ *
587
+ * @generated from message BlueWebSPServerMessage
588
+ */
589
+ export const BlueWebSPServerMessage = proto2.makeMessageType(
590
+ "BlueWebSPServerMessage",
591
+ () => [
592
+ { no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
593
+ { no: 3, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
594
+ { no: 4, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
595
+ { no: 5, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
596
+ ],
597
+ );
598
+
599
+ /**
600
+ * TODO: payload
601
+ *
602
+ * @generated from message BlueWebSPClientMessage
603
+ */
604
+ export const BlueWebSPClientMessage = proto2.makeMessageType(
605
+ "BlueWebSPClientMessage",
606
+ [],
607
+ );
608
+
609
+ /**
610
+ * @generated from message BlueWebSPStatusMessage
611
+ */
612
+ export const BlueWebSPStatusMessage = proto2.makeMessageType(
613
+ "BlueWebSPStatusMessage",
614
+ () => [
615
+ { no: 1, name: "status", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
616
+ ],
617
+ );
618
+
552
619
  /**
553
620
  * @generated from message BlueOssAccessResult
554
621
  */
@@ -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/es/BlueSDK_pb.js CHANGED
@@ -31,17 +31,6 @@ export const BlueRefreshOssSoCredentialStatus = proto2.makeEnum(
31
31
  ],
32
32
  );
33
33
 
34
- /**
35
- * @generated from enum BlueHardwareVendor
36
- */
37
- export const BlueHardwareVendor = proto2.makeEnum(
38
- "BlueHardwareVendor",
39
- [
40
- {no: 0, name: "uundzlocks"},
41
- {no: 1, name: "dlogiclock"},
42
- ],
43
- );
44
-
45
34
  /**
46
35
  * @generated from message BlueI18n
47
36
  */
@@ -179,7 +168,6 @@ export const BlueIdentity = proto2.makeMessageType(
179
168
  { no: 11, name: "siteName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
180
169
  { no: 12, name: "privateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
181
170
  { no: 13, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
182
- { no: 14, name: "syncedUntil", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
183
171
  ],
184
172
  );
185
173
 
@@ -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;
@@ -7,19 +7,6 @@ import { proto2 } from "@bufbuild/protobuf";
7
7
  import { BlueBatteryLevel, BlueBlacklistEntry, BlueEvent, BlueHardwareType, BlueLocalTimeSchedule, BlueLocalTimestamp } from "./BlueCore_pb.js";
8
8
  import { BlueLockConfig, BlueLockStatus } from "./BlueLock_pb.js";
9
9
 
10
- /**
11
- * @generated from enum BlueNetworkType
12
- */
13
- export const BlueNetworkType = proto2.makeEnum(
14
- "BlueNetworkType",
15
- [
16
- {no: 1, name: "None"},
17
- {no: 2, name: "Ethernet"},
18
- {no: 3, name: "Wifi"},
19
- {no: 4, name: "Gsm"},
20
- ],
21
- );
22
-
23
10
  /**
24
11
  * @generated from message BlueBaseConfig
25
12
  */
@@ -105,7 +92,6 @@ export const BlueOssConfig = proto2.makeMessageType(
105
92
  { no: 6, name: "soUpdateFromBlacklist", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
106
93
  { no: 7, name: "soMifareAesKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, default: new Uint8Array([0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F]) },
107
94
  { no: 8, name: "soMifareAid", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 16076800 },
108
- { no: 9, name: "minRefreshDays", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true, default: 5 },
109
95
  ],
110
96
  );
111
97
 
@@ -191,7 +177,6 @@ export const BlueSystemProvisioning = proto2.makeMessageType(
191
177
  { no: 3, name: "serialNumber", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "00000000000000000000" },
192
178
  { no: 4, name: "terminalPrivateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
193
179
  { 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 },
195
180
  ],
196
181
  );
197
182
 
package/es/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from "./BlueCore_pb"
2
2
  export * from "./BlueLock_pb"
3
- export * from "./BlueNetworkCore_pb"
4
3
  export * from "./BlueSDK_pb"
5
4
  export * from "./BlueSystem_pb"
6
5
 
package/es/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from "./BlueCore_pb.js"
2
2
  export * from "./BlueLock_pb.js"
3
- export * from "./BlueNetworkCore_pb.js"
4
3
  export * from "./BlueSDK_pb.js"
5
4
  export * from "./BlueSystem_pb.js"
6
5
 
@@ -42,15 +42,33 @@ PB_BIND(BLUESPHANDSHAKE, BlueSPHandshake_t, AUTO)
42
42
  PB_BIND(BLUESPHANDSHAKEREPLY, BlueSPHandshakeReply_t, AUTO)
43
43
 
44
44
 
45
- PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t, 4)
45
+ PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t, 2)
46
46
 
47
47
 
48
- PB_BIND(BLUESPTOKEN, BlueSPToken_t, 4)
48
+ PB_BIND(BLUESPTOKEN, BlueSPToken_t, 2)
49
49
 
50
50
 
51
51
  PB_BIND(BLUESPRESULT, BlueSPResult_t, 2)
52
52
 
53
53
 
54
+ PB_BIND(BLUEWEBSPHANDSHAKE, BlueWebSPHandshake_t, AUTO)
55
+
56
+
57
+ PB_BIND(BLUEWEBSPHANDSHAKEREPLY, BlueWebSPHandshakeReply_t, AUTO)
58
+
59
+
60
+ PB_BIND(BLUEWEBSPMESSAGE, BlueWebSPMessage_t, 2)
61
+
62
+
63
+ PB_BIND(BLUEWEBSPSERVERMESSAGE, BlueWebSPServerMessage_t, 2)
64
+
65
+
66
+ PB_BIND(BLUEWEBSPCLIENTMESSAGE, BlueWebSPClientMessage_t, AUTO)
67
+
68
+
69
+ PB_BIND(BLUEWEBSPSTATUSMESSAGE, BlueWebSPStatusMessage_t, AUTO)
70
+
71
+
54
72
  PB_BIND(BLUEOSSACCESSRESULT, BlueOssAccessResult_t, AUTO)
55
73
 
56
74