@blueid/access-proto 9.21.0 → 9.22.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.
@@ -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
  () => [
@@ -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
  */
package/es/BlueCore_pb.js CHANGED
@@ -33,6 +33,7 @@ export const BlueReturnCode = proto2.makeEnum(
33
33
  {no: -20, name: "PointerConversionFailed"},
34
34
  {no: -21, name: "Unavailable"},
35
35
  {no: -22, name: "Aborted"},
36
+ {no: -23, name: "OutOfMemory"},
36
37
  {no: -29, name: "Test"},
37
38
  {no: -30, name: "EncodeDataWriteFailed"},
38
39
  {no: -31, name: "EncodeDataWriteNothingWritten"},
@@ -548,6 +549,73 @@ export const BlueSPResult = proto2.makeMessageType(
548
549
  ],
549
550
  );
550
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
+
551
619
  /**
552
620
  * @generated from message BlueOssAccessResult
553
621
  */
@@ -51,6 +51,24 @@ PB_BIND(BLUESPTOKEN, BlueSPToken_t, 2)
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