@blueid/access-cli 12.15.0 → 12.16.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.
@@ -267,6 +267,7 @@ export const BlueEventInfoSystem = proto2.makeEnum(
267
267
  [
268
268
  {no: 1, name: "SystemRestart"},
269
269
  {no: 2, name: "SystemConfigured"},
270
+ {no: 3, name: "UnknownTransponderDetected"},
270
271
  ],
271
272
  );
272
273
 
@@ -549,73 +550,6 @@ export const BlueSPResult = proto2.makeMessageType(
549
550
  ],
550
551
  );
551
552
 
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
-
619
553
  /**
620
554
  * @generated from message BlueOssAccessResult
621
555
  */
@@ -0,0 +1,215 @@
1
+ // @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
2
+ // @generated from file BlueNetworkCore.proto (syntax proto2)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto2 } from "@bufbuild/protobuf";
7
+ import { BlueOssSidMobile, BlueOssSoConfiguration, BlueOssSoMobile, BlueReturnCode, BlueSPResult, BlueSPTokenCommand } from "./BlueCore_pb.js";
8
+
9
+ /**
10
+ * @generated from message BlueErrorResult
11
+ */
12
+ export const BlueErrorResult = proto2.makeMessageType(
13
+ "BlueErrorResult",
14
+ () => [
15
+ { no: 1, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
16
+ ],
17
+ );
18
+
19
+ /**
20
+ * @generated from message BlueWebSPHandshake
21
+ */
22
+ export const BlueWebSPHandshake = proto2.makeMessageType(
23
+ "BlueWebSPHandshake",
24
+ () => [
25
+ { no: 1, name: "salt", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
26
+ ],
27
+ );
28
+
29
+ /**
30
+ * @generated from message BlueWebSPHandshakeReply
31
+ */
32
+ export const BlueWebSPHandshakeReply = proto2.makeMessageType(
33
+ "BlueWebSPHandshakeReply",
34
+ () => [
35
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
36
+ { no: 2, name: "signature", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
37
+ ],
38
+ );
39
+
40
+ /**
41
+ * @generated from message BlueWebSPMessage
42
+ */
43
+ export const BlueWebSPMessage = proto2.makeMessageType(
44
+ "BlueWebSPMessage",
45
+ () => [
46
+ { no: 1, name: "transactionId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
47
+ { no: 2, name: "payload", kind: "message", T: BlueSPResult },
48
+ { no: 3, name: "isContinued", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
49
+ ],
50
+ );
51
+
52
+ /**
53
+ * @generated from message BlueWebSPStatusMessage
54
+ */
55
+ export const BlueWebSPStatusMessage = proto2.makeMessageType(
56
+ "BlueWebSPStatusMessage",
57
+ () => [
58
+ { no: 1, name: "status", kind: "enum", T: proto2.getEnumType(BlueReturnCode) },
59
+ ],
60
+ );
61
+
62
+ /**
63
+ * @generated from message BlueTransponderId
64
+ */
65
+ export const BlueTransponderId = proto2.makeMessageType(
66
+ "BlueTransponderId",
67
+ () => [
68
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
69
+ ],
70
+ );
71
+
72
+ /**
73
+ * @generated from message BlueSocketConfigurationResponse
74
+ */
75
+ export const BlueSocketConfigurationResponse = proto2.makeMessageType(
76
+ "BlueSocketConfigurationResponse",
77
+ () => [
78
+ { no: 2, name: "transponderId", kind: "message", T: BlueTransponderId },
79
+ { no: 1, name: "config", kind: "message", T: BlueOssSoConfiguration },
80
+ { no: 3, name: "error", kind: "message", T: BlueErrorResult, opt: true },
81
+ ],
82
+ );
83
+
84
+ /**
85
+ * @generated from message BlueSocketRequestConfiguration
86
+ */
87
+ export const BlueSocketRequestConfiguration = proto2.makeMessageType(
88
+ "BlueSocketRequestConfiguration",
89
+ () => [
90
+ { no: 1, name: "transponderId", kind: "message", T: BlueTransponderId },
91
+ { no: 2, name: "aid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
92
+ { no: 3, name: "miniRefreshDays", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
93
+ { no: 4, name: "updateBlackListed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
94
+ { no: 5, name: "writePendingEvents", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
95
+ ],
96
+ );
97
+
98
+ /**
99
+ * Message sent by the server to the device
100
+ *
101
+ * @generated from message BlueWebSPServerMessage
102
+ */
103
+ export const BlueWebSPServerMessage = proto2.makeMessageType(
104
+ "BlueWebSPServerMessage",
105
+ () => [
106
+ { no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
107
+ { no: 3, name: "command", kind: "message", T: BlueSPTokenCommand, oneof: "payload" },
108
+ { no: 4, name: "ossSo", kind: "message", T: BlueOssSoMobile, oneof: "payload" },
109
+ { no: 5, name: "ossSid", kind: "message", T: BlueOssSidMobile, oneof: "payload" },
110
+ { no: 6, name: "configResponse", kind: "message", T: BlueSocketConfigurationResponse, oneof: "payload" },
111
+ { no: 7, name: "socketMessage", kind: "message", T: BlueWebSPServerSocketMessage, oneof: "payload" },
112
+ ],
113
+ );
114
+
115
+ /**
116
+ * @generated from message BlueWebSPClientRequest
117
+ */
118
+ export const BlueWebSPClientRequest = proto2.makeMessageType(
119
+ "BlueWebSPClientRequest",
120
+ () => [
121
+ { no: 1, name: "requestConfig", kind: "message", T: BlueSocketRequestConfiguration, oneof: "payload" },
122
+ ],
123
+ );
124
+
125
+ /**
126
+ * @generated from message BlueWebSPClientResponse
127
+ */
128
+ export const BlueWebSPClientResponse = proto2.makeMessageType(
129
+ "BlueWebSPClientResponse",
130
+ () => [
131
+ { no: 1, name: "message", kind: "message", T: BlueWebSPMessage, oneof: "payload" },
132
+ ],
133
+ );
134
+
135
+ /**
136
+ * Message sent to the server by the device
137
+ *
138
+ * @generated from message BlueWebSPClientMessage
139
+ */
140
+ export const BlueWebSPClientMessage = proto2.makeMessageType(
141
+ "BlueWebSPClientMessage",
142
+ () => [
143
+ { no: 1, name: "request", kind: "message", T: BlueWebSPClientRequest, oneof: "payload" },
144
+ { no: 2, name: "response", kind: "message", T: BlueWebSPClientResponse, oneof: "payload" },
145
+ ],
146
+ );
147
+
148
+ /**
149
+ * @generated from message BlueWebSPServerSocketMessageSuccess
150
+ */
151
+ export const BlueWebSPServerSocketMessageSuccess = proto2.makeMessageType(
152
+ "BlueWebSPServerSocketMessageSuccess",
153
+ () => [
154
+ { no: 1, name: "result", kind: "message", T: BlueSPResult },
155
+ ],
156
+ );
157
+
158
+ /**
159
+ * @generated from message BlueWebSPServerSocketMessageFailed
160
+ */
161
+ export const BlueWebSPServerSocketMessageFailed = proto2.makeMessageType(
162
+ "BlueWebSPServerSocketMessageFailed",
163
+ () => [
164
+ { no: 1, name: "result", kind: "message", T: BlueErrorResult },
165
+ ],
166
+ );
167
+
168
+ /**
169
+ * @generated from message BlueWebSPServerSocketMessageDone
170
+ */
171
+ export const BlueWebSPServerSocketMessageDone = proto2.makeMessageType(
172
+ "BlueWebSPServerSocketMessageDone",
173
+ () => [
174
+ { no: 1, name: "result", kind: "message", T: BlueSPResult, opt: true },
175
+ ],
176
+ );
177
+
178
+ /**
179
+ * Message sent by the server to the device as stream like APDUs
180
+ *
181
+ * @generated from message BlueWebSPServerSocketMessage
182
+ */
183
+ export const BlueWebSPServerSocketMessage = proto2.makeMessageType(
184
+ "BlueWebSPServerSocketMessage",
185
+ () => [
186
+ { no: 1, name: "transactionId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
187
+ { no: 2, name: "success", kind: "message", T: BlueWebSPServerSocketMessageSuccess, oneof: "payload" },
188
+ { no: 3, name: "failed", kind: "message", T: BlueWebSPServerSocketMessageFailed, oneof: "payload" },
189
+ { no: 4, name: "done", kind: "message", T: BlueWebSPServerSocketMessageDone, oneof: "payload" },
190
+ ],
191
+ );
192
+
193
+ /**
194
+ * @generated from message BlueWebSPClientSocketMessageSuccess
195
+ */
196
+ export const BlueWebSPClientSocketMessageSuccess = proto2.makeMessageType(
197
+ "BlueWebSPClientSocketMessageSuccess",
198
+ () => [
199
+ { no: 1, name: "result", kind: "message", T: BlueSPResult },
200
+ ],
201
+ );
202
+
203
+ /**
204
+ * Message sent to the server by the device as stream like APDUs
205
+ *
206
+ * @generated from message BlueWebSPClientSocketMessage
207
+ */
208
+ export const BlueWebSPClientSocketMessage = proto2.makeMessageType(
209
+ "BlueWebSPClientSocketMessage",
210
+ () => [
211
+ { no: 1, name: "success", kind: "message", T: BlueWebSPClientSocketMessageSuccess, oneof: "payload" },
212
+ { no: 2, name: "failed", kind: "enum", T: proto2.getEnumType(BlueReturnCode), oneof: "payload" },
213
+ ],
214
+ );
215
+
@@ -7,6 +7,19 @@ 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
+
10
23
  /**
11
24
  * @generated from message BlueBaseConfig
12
25
  */
@@ -92,6 +105,7 @@ export const BlueOssConfig = proto2.makeMessageType(
92
105
  { no: 6, name: "soUpdateFromBlacklist", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
93
106
  { 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]) },
94
107
  { 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 },
95
109
  ],
96
110
  );
97
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-cli",
3
- "version": "12.15.0",
3
+ "version": "12.16.0",
4
4
  "description": "BlueID Access CLI",
5
5
  "type": "module",
6
6
  "main": "./index.js",