@blueid/access-proto 9.21.0 → 9.23.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
@@ -118,7 +118,7 @@ message BlueI18n {
118
118
  [ default = "Cancelling..." ];
119
119
  required string dfuCompletedTitle = 44
120
120
  [ default = "Update has been completed" ];
121
- required string dfuGetAuthenticationTokenTaskLabel = 45
121
+ required string getAuthenticationTokenTaskLabel = 45
122
122
  [ default = "Issue authentication token" ];
123
123
  required string dfuCheckLatestFWLabel = 46
124
124
  [ default = "Check latest firmware" ];
@@ -132,7 +132,7 @@ message BlueI18n {
132
132
  [ default = "DFU initialization" ];
133
133
  required string dfuUpdateFWLabel = 51
134
134
  [ default = "Update firmware" ];
135
- required string dfuWaitForDeviceToRestartTaskLabel = 52
135
+ required string waitForDeviceToRestartTaskLabel = 52
136
136
  [ default = "Wait for device to restart" ];
137
137
 
138
138
  required string accessTypeDefaultTime = 53
@@ -153,7 +153,27 @@ message BlueI18n {
153
153
 
154
154
  required string provisioningDone = 60
155
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." ];
156
- }
156
+
157
+
158
+ required string checkCurrentAVR = 62
159
+ [ default = "Check current AVR" ];
160
+
161
+ required string checkIfAVRUpdateNedded = 63
162
+ [ default = "Check If AVR needs to update" ];
163
+
164
+ required string downloadAVR = 64
165
+ [ default = "Download AVR" ];
166
+
167
+ required string downloadingAVR = 65
168
+ [ default = "Downloading AVR %d.%d.%d" ];
169
+
170
+ required string updateAVR = 66
171
+ [ default = "Update AVR" ];
172
+
173
+ required string avrIsAlreadyUpToDate = 67
174
+ [ default = "AVR is already up to date" ];
175
+
176
+ }
157
177
 
158
178
  ///////////////////////////////////////////////////////////////////////
159
179
  // Device
@@ -128,6 +128,11 @@ export declare enum BlueReturnCode {
128
128
  */
129
129
  Aborted = -22,
130
130
 
131
+ /**
132
+ * @generated from enum value: OutOfMemory = -23;
133
+ */
134
+ OutOfMemory = -23,
135
+
131
136
  /**
132
137
  * @generated from enum value: Test = -29;
133
138
  */
@@ -1742,6 +1747,183 @@ export declare class BlueSPResult extends Message<BlueSPResult> {
1742
1747
  static equals(a: BlueSPResult | PlainMessage<BlueSPResult> | undefined, b: BlueSPResult | PlainMessage<BlueSPResult> | undefined): boolean;
1743
1748
  }
1744
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
+
1745
1927
  /**
1746
1928
  * @generated from message BlueOssAccessResult
1747
1929
  */
@@ -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
  });
@@ -118,6 +124,7 @@ const BlueReturnCode = import_protobuf.proto2.makeEnum(
118
124
  { no: -20, name: "PointerConversionFailed" },
119
125
  { no: -21, name: "Unavailable" },
120
126
  { no: -22, name: "Aborted" },
127
+ { no: -23, name: "OutOfMemory" },
121
128
  { no: -29, name: "Test" },
122
129
  { no: -30, name: "EncodeDataWriteFailed" },
123
130
  { no: -31, name: "EncodeDataWriteNothingWritten" },
@@ -683,6 +690,69 @@ const BlueSPResult = import_protobuf.proto2.makeMessageType(
683
690
  }
684
691
  ]
685
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
+ );
686
756
  const BlueOssAccessResult = import_protobuf.proto2.makeMessageType(
687
757
  "BlueOssAccessResult",
688
758
  () => [
@@ -303,9 +303,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
303
303
  dfuCompletedTitle: string;
304
304
 
305
305
  /**
306
- * @generated from field: required string dfuGetAuthenticationTokenTaskLabel = 45 [default = "Issue authentication token"];
306
+ * @generated from field: required string getAuthenticationTokenTaskLabel = 45 [default = "Issue authentication token"];
307
307
  */
308
- dfuGetAuthenticationTokenTaskLabel: string;
308
+ getAuthenticationTokenTaskLabel: string;
309
309
 
310
310
  /**
311
311
  * @generated from field: required string dfuCheckLatestFWLabel = 46 [default = "Check latest firmware"];
@@ -338,9 +338,9 @@ export declare class BlueI18n extends Message<BlueI18n> {
338
338
  dfuUpdateFWLabel: string;
339
339
 
340
340
  /**
341
- * @generated from field: required string dfuWaitForDeviceToRestartTaskLabel = 52 [default = "Wait for device to restart"];
341
+ * @generated from field: required string waitForDeviceToRestartTaskLabel = 52 [default = "Wait for device to restart"];
342
342
  */
343
- dfuWaitForDeviceToRestartTaskLabel: string;
343
+ waitForDeviceToRestartTaskLabel: string;
344
344
 
345
345
  /**
346
346
  * @generated from field: required string accessTypeDefaultTime = 53 [default = "Default"];
@@ -382,6 +382,36 @@ export declare class BlueI18n extends Message<BlueI18n> {
382
382
  */
383
383
  provisioningDone: string;
384
384
 
385
+ /**
386
+ * @generated from field: required string checkCurrentAVR = 62 [default = "Check current AVR"];
387
+ */
388
+ checkCurrentAVR: string;
389
+
390
+ /**
391
+ * @generated from field: required string checkIfAVRUpdateNedded = 63 [default = "Check If AVR needs to update"];
392
+ */
393
+ checkIfAVRUpdateNedded: string;
394
+
395
+ /**
396
+ * @generated from field: required string downloadAVR = 64 [default = "Download AVR"];
397
+ */
398
+ downloadAVR: string;
399
+
400
+ /**
401
+ * @generated from field: required string downloadingAVR = 65 [default = "Downloading AVR %d.%d.%d"];
402
+ */
403
+ downloadingAVR: string;
404
+
405
+ /**
406
+ * @generated from field: required string updateAVR = 66 [default = "Update AVR"];
407
+ */
408
+ updateAVR: string;
409
+
410
+ /**
411
+ * @generated from field: required string avrIsAlreadyUpToDate = 67 [default = "AVR is already up to date"];
412
+ */
413
+ avrIsAlreadyUpToDate: string;
414
+
385
415
  constructor(data?: PartialMessage<BlueI18n>);
386
416
 
387
417
  static readonly runtime: typeof proto2;
package/cjs/BlueSDK_pb.js CHANGED
@@ -119,14 +119,14 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
119
119
  { no: 42, name: "dfuFailedTitle", kind: "scalar", T: 9, default: "Update has failed" },
120
120
  { no: 43, name: "dfuCancellingTitle", kind: "scalar", T: 9, default: "Cancelling..." },
121
121
  { no: 44, name: "dfuCompletedTitle", kind: "scalar", T: 9, default: "Update has been completed" },
122
- { no: 45, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9, default: "Issue authentication token" },
122
+ { no: 45, name: "getAuthenticationTokenTaskLabel", kind: "scalar", T: 9, default: "Issue authentication token" },
123
123
  { no: 46, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9, default: "Check latest firmware" },
124
124
  { no: 47, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9, default: "Download latest firmware" },
125
125
  { no: 48, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9, default: "Prepare Update" },
126
126
  { no: 49, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9, default: "Start Bootloader" },
127
127
  { no: 50, name: "dfuInitializationLabel", kind: "scalar", T: 9, default: "DFU initialization" },
128
128
  { no: 51, name: "dfuUpdateFWLabel", kind: "scalar", T: 9, default: "Update firmware" },
129
- { no: 52, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9, default: "Wait for device to restart" },
129
+ { no: 52, name: "waitForDeviceToRestartTaskLabel", kind: "scalar", T: 9, default: "Wait for device to restart" },
130
130
  { no: 53, name: "accessTypeDefaultTime", kind: "scalar", T: 9, default: "Default" },
131
131
  { no: 54, name: "accessTypeExtendedTime", kind: "scalar", T: 9, default: "Extended" },
132
132
  { no: 55, name: "accessTypeToggle", kind: "scalar", T: 9, default: "Toggle" },
@@ -134,7 +134,13 @@ const BlueI18n = import_protobuf.proto2.makeMessageType(
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
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
+ { 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." },
138
+ { no: 62, name: "checkCurrentAVR", kind: "scalar", T: 9, default: "Check current AVR" },
139
+ { no: 63, name: "checkIfAVRUpdateNedded", kind: "scalar", T: 9, default: "Check If AVR needs to update" },
140
+ { no: 64, name: "downloadAVR", kind: "scalar", T: 9, default: "Download AVR" },
141
+ { no: 65, name: "downloadingAVR", kind: "scalar", T: 9, default: "Downloading AVR %d.%d.%d" },
142
+ { no: 66, name: "updateAVR", kind: "scalar", T: 9, default: "Update AVR" },
143
+ { no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9, default: "AVR is already up to date" }
138
144
  ]
139
145
  );
140
146
  const BlueDeviceDetailsBluetooth = import_protobuf.proto2.makeMessageType(
@@ -128,6 +128,11 @@ export declare enum BlueReturnCode {
128
128
  */
129
129
  Aborted = -22,
130
130
 
131
+ /**
132
+ * @generated from enum value: OutOfMemory = -23;
133
+ */
134
+ OutOfMemory = -23,
135
+
131
136
  /**
132
137
  * @generated from enum value: Test = -29;
133
138
  */
@@ -1742,6 +1747,183 @@ export declare class BlueSPResult extends Message<BlueSPResult> {
1742
1747
  static equals(a: BlueSPResult | PlainMessage<BlueSPResult> | undefined, b: BlueSPResult | PlainMessage<BlueSPResult> | undefined): boolean;
1743
1748
  }
1744
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
+
1745
1927
  /**
1746
1928
  * @generated from message BlueOssAccessResult
1747
1929
  */