@blueid/access-proto 12.14.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.
- package/BlueCore.proto +11 -39
- package/BlueNetworkCore.proto +122 -0
- package/BlueSystem.proto +13 -1
- package/cjs/BlueCore_pb.d.ts +6 -178
- package/cjs/BlueCore_pb.js +2 -70
- package/cjs/BlueNetworkCore_pb.d.ts +591 -0
- package/cjs/BlueNetworkCore_pb.js +234 -0
- package/cjs/BlueSystem_pb.d.ts +32 -0
- package/cjs/BlueSystem_pb.js +12 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +1 -0
- package/es/BlueCore_pb.d.ts +6 -178
- package/es/BlueCore_pb.js +1 -67
- package/es/BlueNetworkCore_pb.d.ts +591 -0
- package/es/BlueNetworkCore_pb.js +215 -0
- package/es/BlueSystem_pb.d.ts +32 -0
- package/es/BlueSystem_pb.js +14 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/nanopb/BlueCore.pb.c +2 -20
- package/nanopb/BlueCore.pb.h +8 -128
- package/nanopb/BlueNetworkCore.pb.c +63 -0
- package/nanopb/BlueNetworkCore.pb.h +409 -0
- package/nanopb/BlueSystem.pb.c +1 -0
- package/nanopb/BlueSystem.pb.h +48 -7
- package/package.json +1 -1
- package/swift/BlueCore.pb.swift +3 -488
- package/swift/BlueNetworkCore.pb.swift +1700 -0
- package/swift/BlueSystem.pb.swift +33 -1
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var BlueNetworkCore_pb_exports = {};
|
|
19
|
+
__export(BlueNetworkCore_pb_exports, {
|
|
20
|
+
BlueErrorResult: () => BlueErrorResult,
|
|
21
|
+
BlueSocketConfigurationResponse: () => BlueSocketConfigurationResponse,
|
|
22
|
+
BlueSocketRequestConfiguration: () => BlueSocketRequestConfiguration,
|
|
23
|
+
BlueTransponderId: () => BlueTransponderId,
|
|
24
|
+
BlueWebSPClientMessage: () => BlueWebSPClientMessage,
|
|
25
|
+
BlueWebSPClientRequest: () => BlueWebSPClientRequest,
|
|
26
|
+
BlueWebSPClientResponse: () => BlueWebSPClientResponse,
|
|
27
|
+
BlueWebSPClientSocketMessage: () => BlueWebSPClientSocketMessage,
|
|
28
|
+
BlueWebSPClientSocketMessageSuccess: () => BlueWebSPClientSocketMessageSuccess,
|
|
29
|
+
BlueWebSPHandshake: () => BlueWebSPHandshake,
|
|
30
|
+
BlueWebSPHandshakeReply: () => BlueWebSPHandshakeReply,
|
|
31
|
+
BlueWebSPMessage: () => BlueWebSPMessage,
|
|
32
|
+
BlueWebSPServerMessage: () => BlueWebSPServerMessage,
|
|
33
|
+
BlueWebSPServerSocketMessage: () => BlueWebSPServerSocketMessage,
|
|
34
|
+
BlueWebSPServerSocketMessageDone: () => BlueWebSPServerSocketMessageDone,
|
|
35
|
+
BlueWebSPServerSocketMessageFailed: () => BlueWebSPServerSocketMessageFailed,
|
|
36
|
+
BlueWebSPServerSocketMessageSuccess: () => BlueWebSPServerSocketMessageSuccess,
|
|
37
|
+
BlueWebSPStatusMessage: () => BlueWebSPStatusMessage
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(BlueNetworkCore_pb_exports);
|
|
40
|
+
var import_protobuf = require("@bufbuild/protobuf");
|
|
41
|
+
var import_BlueCore_pb = require("./BlueCore_pb.js");
|
|
42
|
+
const BlueErrorResult = import_protobuf.proto2.makeMessageType(
|
|
43
|
+
"BlueErrorResult",
|
|
44
|
+
() => [
|
|
45
|
+
{
|
|
46
|
+
no: 1,
|
|
47
|
+
name: "data",
|
|
48
|
+
kind: "scalar",
|
|
49
|
+
T: 9
|
|
50
|
+
/* ScalarType.STRING */
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
);
|
|
54
|
+
const BlueWebSPHandshake = import_protobuf.proto2.makeMessageType(
|
|
55
|
+
"BlueWebSPHandshake",
|
|
56
|
+
() => [
|
|
57
|
+
{
|
|
58
|
+
no: 1,
|
|
59
|
+
name: "salt",
|
|
60
|
+
kind: "scalar",
|
|
61
|
+
T: 12
|
|
62
|
+
/* ScalarType.BYTES */
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
);
|
|
66
|
+
const BlueWebSPHandshakeReply = import_protobuf.proto2.makeMessageType(
|
|
67
|
+
"BlueWebSPHandshakeReply",
|
|
68
|
+
() => [
|
|
69
|
+
{
|
|
70
|
+
no: 1,
|
|
71
|
+
name: "deviceId",
|
|
72
|
+
kind: "scalar",
|
|
73
|
+
T: 9
|
|
74
|
+
/* ScalarType.STRING */
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
no: 2,
|
|
78
|
+
name: "signature",
|
|
79
|
+
kind: "scalar",
|
|
80
|
+
T: 12
|
|
81
|
+
/* ScalarType.BYTES */
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
);
|
|
85
|
+
const BlueWebSPMessage = import_protobuf.proto2.makeMessageType(
|
|
86
|
+
"BlueWebSPMessage",
|
|
87
|
+
() => [
|
|
88
|
+
{
|
|
89
|
+
no: 1,
|
|
90
|
+
name: "transactionId",
|
|
91
|
+
kind: "scalar",
|
|
92
|
+
T: 13
|
|
93
|
+
/* ScalarType.UINT32 */
|
|
94
|
+
},
|
|
95
|
+
{ no: 2, name: "payload", kind: "message", T: import_BlueCore_pb.BlueSPResult },
|
|
96
|
+
{ no: 3, name: "isContinued", kind: "scalar", T: 8, opt: true, default: false }
|
|
97
|
+
]
|
|
98
|
+
);
|
|
99
|
+
const BlueWebSPStatusMessage = import_protobuf.proto2.makeMessageType(
|
|
100
|
+
"BlueWebSPStatusMessage",
|
|
101
|
+
() => [
|
|
102
|
+
{ no: 1, name: "status", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode) }
|
|
103
|
+
]
|
|
104
|
+
);
|
|
105
|
+
const BlueTransponderId = import_protobuf.proto2.makeMessageType(
|
|
106
|
+
"BlueTransponderId",
|
|
107
|
+
() => [
|
|
108
|
+
{
|
|
109
|
+
no: 1,
|
|
110
|
+
name: "id",
|
|
111
|
+
kind: "scalar",
|
|
112
|
+
T: 9
|
|
113
|
+
/* ScalarType.STRING */
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
);
|
|
117
|
+
const BlueSocketConfigurationResponse = import_protobuf.proto2.makeMessageType(
|
|
118
|
+
"BlueSocketConfigurationResponse",
|
|
119
|
+
() => [
|
|
120
|
+
{ no: 2, name: "transponderId", kind: "message", T: BlueTransponderId },
|
|
121
|
+
{ no: 1, name: "config", kind: "message", T: import_BlueCore_pb.BlueOssSoConfiguration },
|
|
122
|
+
{ no: 3, name: "error", kind: "message", T: BlueErrorResult, opt: true }
|
|
123
|
+
]
|
|
124
|
+
);
|
|
125
|
+
const BlueSocketRequestConfiguration = import_protobuf.proto2.makeMessageType(
|
|
126
|
+
"BlueSocketRequestConfiguration",
|
|
127
|
+
() => [
|
|
128
|
+
{ no: 1, name: "transponderId", kind: "message", T: BlueTransponderId },
|
|
129
|
+
{
|
|
130
|
+
no: 2,
|
|
131
|
+
name: "aid",
|
|
132
|
+
kind: "scalar",
|
|
133
|
+
T: 13
|
|
134
|
+
/* ScalarType.UINT32 */
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
no: 3,
|
|
138
|
+
name: "miniRefreshDays",
|
|
139
|
+
kind: "scalar",
|
|
140
|
+
T: 13
|
|
141
|
+
/* ScalarType.UINT32 */
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
no: 4,
|
|
145
|
+
name: "updateBlackListed",
|
|
146
|
+
kind: "scalar",
|
|
147
|
+
T: 8
|
|
148
|
+
/* ScalarType.BOOL */
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
no: 5,
|
|
152
|
+
name: "writePendingEvents",
|
|
153
|
+
kind: "scalar",
|
|
154
|
+
T: 8
|
|
155
|
+
/* ScalarType.BOOL */
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
);
|
|
159
|
+
const BlueWebSPServerMessage = import_protobuf.proto2.makeMessageType(
|
|
160
|
+
"BlueWebSPServerMessage",
|
|
161
|
+
() => [
|
|
162
|
+
{ no: 2, name: "handshake", kind: "message", T: BlueWebSPHandshake, oneof: "payload" },
|
|
163
|
+
{ no: 3, name: "command", kind: "message", T: import_BlueCore_pb.BlueSPTokenCommand, oneof: "payload" },
|
|
164
|
+
{ no: 4, name: "ossSo", kind: "message", T: import_BlueCore_pb.BlueOssSoMobile, oneof: "payload" },
|
|
165
|
+
{ no: 5, name: "ossSid", kind: "message", T: import_BlueCore_pb.BlueOssSidMobile, oneof: "payload" },
|
|
166
|
+
{ no: 6, name: "configResponse", kind: "message", T: BlueSocketConfigurationResponse, oneof: "payload" },
|
|
167
|
+
{ no: 7, name: "socketMessage", kind: "message", T: BlueWebSPServerSocketMessage, oneof: "payload" }
|
|
168
|
+
]
|
|
169
|
+
);
|
|
170
|
+
const BlueWebSPClientRequest = import_protobuf.proto2.makeMessageType(
|
|
171
|
+
"BlueWebSPClientRequest",
|
|
172
|
+
() => [
|
|
173
|
+
{ no: 1, name: "requestConfig", kind: "message", T: BlueSocketRequestConfiguration, oneof: "payload" }
|
|
174
|
+
]
|
|
175
|
+
);
|
|
176
|
+
const BlueWebSPClientResponse = import_protobuf.proto2.makeMessageType(
|
|
177
|
+
"BlueWebSPClientResponse",
|
|
178
|
+
() => [
|
|
179
|
+
{ no: 1, name: "message", kind: "message", T: BlueWebSPMessage, oneof: "payload" }
|
|
180
|
+
]
|
|
181
|
+
);
|
|
182
|
+
const BlueWebSPClientMessage = import_protobuf.proto2.makeMessageType(
|
|
183
|
+
"BlueWebSPClientMessage",
|
|
184
|
+
() => [
|
|
185
|
+
{ no: 1, name: "request", kind: "message", T: BlueWebSPClientRequest, oneof: "payload" },
|
|
186
|
+
{ no: 2, name: "response", kind: "message", T: BlueWebSPClientResponse, oneof: "payload" }
|
|
187
|
+
]
|
|
188
|
+
);
|
|
189
|
+
const BlueWebSPServerSocketMessageSuccess = import_protobuf.proto2.makeMessageType(
|
|
190
|
+
"BlueWebSPServerSocketMessageSuccess",
|
|
191
|
+
() => [
|
|
192
|
+
{ no: 1, name: "result", kind: "message", T: import_BlueCore_pb.BlueSPResult }
|
|
193
|
+
]
|
|
194
|
+
);
|
|
195
|
+
const BlueWebSPServerSocketMessageFailed = import_protobuf.proto2.makeMessageType(
|
|
196
|
+
"BlueWebSPServerSocketMessageFailed",
|
|
197
|
+
() => [
|
|
198
|
+
{ no: 1, name: "result", kind: "message", T: BlueErrorResult }
|
|
199
|
+
]
|
|
200
|
+
);
|
|
201
|
+
const BlueWebSPServerSocketMessageDone = import_protobuf.proto2.makeMessageType(
|
|
202
|
+
"BlueWebSPServerSocketMessageDone",
|
|
203
|
+
() => [
|
|
204
|
+
{ no: 1, name: "result", kind: "message", T: import_BlueCore_pb.BlueSPResult, opt: true }
|
|
205
|
+
]
|
|
206
|
+
);
|
|
207
|
+
const BlueWebSPServerSocketMessage = import_protobuf.proto2.makeMessageType(
|
|
208
|
+
"BlueWebSPServerSocketMessage",
|
|
209
|
+
() => [
|
|
210
|
+
{
|
|
211
|
+
no: 1,
|
|
212
|
+
name: "transactionId",
|
|
213
|
+
kind: "scalar",
|
|
214
|
+
T: 13
|
|
215
|
+
/* ScalarType.UINT32 */
|
|
216
|
+
},
|
|
217
|
+
{ no: 2, name: "success", kind: "message", T: BlueWebSPServerSocketMessageSuccess, oneof: "payload" },
|
|
218
|
+
{ no: 3, name: "failed", kind: "message", T: BlueWebSPServerSocketMessageFailed, oneof: "payload" },
|
|
219
|
+
{ no: 4, name: "done", kind: "message", T: BlueWebSPServerSocketMessageDone, oneof: "payload" }
|
|
220
|
+
]
|
|
221
|
+
);
|
|
222
|
+
const BlueWebSPClientSocketMessageSuccess = import_protobuf.proto2.makeMessageType(
|
|
223
|
+
"BlueWebSPClientSocketMessageSuccess",
|
|
224
|
+
() => [
|
|
225
|
+
{ no: 1, name: "result", kind: "message", T: import_BlueCore_pb.BlueSPResult }
|
|
226
|
+
]
|
|
227
|
+
);
|
|
228
|
+
const BlueWebSPClientSocketMessage = import_protobuf.proto2.makeMessageType(
|
|
229
|
+
"BlueWebSPClientSocketMessage",
|
|
230
|
+
() => [
|
|
231
|
+
{ no: 1, name: "success", kind: "message", T: BlueWebSPClientSocketMessageSuccess, oneof: "payload" },
|
|
232
|
+
{ no: 2, name: "failed", kind: "enum", T: import_protobuf.proto2.getEnumType(import_BlueCore_pb.BlueReturnCode), oneof: "payload" }
|
|
233
|
+
]
|
|
234
|
+
);
|
package/cjs/BlueSystem_pb.d.ts
CHANGED
|
@@ -8,6 +8,31 @@ 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
|
+
|
|
11
36
|
/**
|
|
12
37
|
* @generated from message BlueBaseConfig
|
|
13
38
|
*/
|
|
@@ -325,6 +350,13 @@ export declare class BlueOssConfig extends Message<BlueOssConfig> {
|
|
|
325
350
|
*/
|
|
326
351
|
soMifareAid: number;
|
|
327
352
|
|
|
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
|
+
|
|
328
360
|
constructor(data?: PartialMessage<BlueOssConfig>);
|
|
329
361
|
|
|
330
362
|
static readonly runtime: typeof proto2;
|
package/cjs/BlueSystem_pb.js
CHANGED
|
@@ -24,6 +24,7 @@ __export(BlueSystem_pb_exports, {
|
|
|
24
24
|
BlueBleConfig: () => BlueBleConfig,
|
|
25
25
|
BlueEventLogQuery: () => BlueEventLogQuery,
|
|
26
26
|
BlueEventLogResult: () => BlueEventLogResult,
|
|
27
|
+
BlueNetworkType: () => BlueNetworkType,
|
|
27
28
|
BlueOnlineConfig: () => BlueOnlineConfig,
|
|
28
29
|
BlueOssConfig: () => BlueOssConfig,
|
|
29
30
|
BlueSystemAVRInfo: () => BlueSystemAVRInfo,
|
|
@@ -41,6 +42,15 @@ module.exports = __toCommonJS(BlueSystem_pb_exports);
|
|
|
41
42
|
var import_protobuf = require("@bufbuild/protobuf");
|
|
42
43
|
var import_BlueCore_pb = require("./BlueCore_pb.js");
|
|
43
44
|
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
|
+
);
|
|
44
54
|
const BlueBaseConfig = import_protobuf.proto2.makeMessageType(
|
|
45
55
|
"BlueBaseConfig",
|
|
46
56
|
() => [
|
|
@@ -134,7 +144,8 @@ const BlueOssConfig = import_protobuf.proto2.makeMessageType(
|
|
|
134
144
|
{ no: 5, name: "soWritePendingEvents", kind: "scalar", T: 8, default: true },
|
|
135
145
|
{ no: 6, name: "soUpdateFromBlacklist", kind: "scalar", T: 8, default: true },
|
|
136
146
|
{ 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]) },
|
|
137
|
-
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 }
|
|
147
|
+
{ no: 8, name: "soMifareAid", kind: "scalar", T: 13, default: 16076800 },
|
|
148
|
+
{ no: 9, name: "minRefreshDays", kind: "scalar", T: 13, opt: true, default: 5 }
|
|
138
149
|
]
|
|
139
150
|
);
|
|
140
151
|
const BlueSystemAVRInfo = import_protobuf.proto2.makeMessageType(
|
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -16,5 +16,6 @@ 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);
|
|
19
20
|
__reExport(es_exports, require("./BlueSDK_pb.js"), module.exports);
|
|
20
21
|
__reExport(es_exports, require("./BlueSystem_pb.js"), module.exports);
|
package/es/BlueCore_pb.d.ts
CHANGED
|
@@ -981,6 +981,11 @@ export declare enum BlueEventInfoSystem {
|
|
|
981
981
|
* @generated from enum value: SystemConfigured = 2;
|
|
982
982
|
*/
|
|
983
983
|
SystemConfigured = 2,
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* @generated from enum value: UnknownTransponderDetected = 3;
|
|
987
|
+
*/
|
|
988
|
+
UnknownTransponderDetected = 3,
|
|
984
989
|
}
|
|
985
990
|
|
|
986
991
|
/**
|
|
@@ -1653,7 +1658,7 @@ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
|
|
|
1653
1658
|
command: string;
|
|
1654
1659
|
|
|
1655
1660
|
/**
|
|
1656
|
-
* we'll add 256b for add. data
|
|
1661
|
+
* we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
|
|
1657
1662
|
*
|
|
1658
1663
|
* @generated from field: required bytes data = 5;
|
|
1659
1664
|
*/
|
|
@@ -1747,183 +1752,6 @@ export declare class BlueSPResult extends Message<BlueSPResult> {
|
|
|
1747
1752
|
static equals(a: BlueSPResult | PlainMessage<BlueSPResult> | undefined, b: BlueSPResult | PlainMessage<BlueSPResult> | undefined): boolean;
|
|
1748
1753
|
}
|
|
1749
1754
|
|
|
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
|
-
|
|
1927
1755
|
/**
|
|
1928
1756
|
* @generated from message BlueOssAccessResult
|
|
1929
1757
|
*/
|
package/es/BlueCore_pb.js
CHANGED
|
@@ -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
|
*/
|