@blueid/access-cli 0.10.0 → 0.14.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/lib/proto/BlueCore_pb.js +2 -2
- package/lib/proto/BlueLock_pb.js +1 -1
- package/lib/proto/BlueSDK_pb.js +2 -2
- package/lib/proto/BlueSystem_pb.js +43 -20
- package/package.json +6 -1
- package/.eslintrc +0 -10
- package/.prettierrc +0 -7
- package/syncproto.sh +0 -3
package/lib/proto/BlueCore_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.
|
|
1
|
+
// @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
|
|
2
2
|
// @generated from file BlueCore.proto (syntax proto2)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
@@ -132,7 +132,7 @@ export const BlueAccessType = proto2.makeEnum(
|
|
|
132
132
|
{no: 2, name: "ExtendedTime"},
|
|
133
133
|
{no: 3, name: "CustomTime"},
|
|
134
134
|
{no: 4, name: "Toggle"},
|
|
135
|
-
{no: 5, name: "
|
|
135
|
+
{no: 5, name: "Close"},
|
|
136
136
|
{no: 6, name: "NoAccess"},
|
|
137
137
|
{no: 7, name: "NoAccessValidity"},
|
|
138
138
|
{no: 8, name: "NoAccessBlacklisted"},
|
package/lib/proto/BlueLock_pb.js
CHANGED
package/lib/proto/BlueSDK_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.
|
|
1
|
+
// @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
|
|
2
2
|
// @generated from file BlueSDK.proto (syntax proto2)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
@@ -65,7 +65,7 @@ export const BlueDeviceInfo = proto2.makeMessageType(
|
|
|
65
65
|
{ no: 1, name: "deviceType", kind: "enum", T: proto2.getEnumType(BlueDeviceType) },
|
|
66
66
|
{ no: 2, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
67
67
|
{ no: 3, name: "distanceMeters", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
68
|
-
{ no: 4, name: "manufacturerInfo", kind: "message", T: BlueBleManufacturerInfo },
|
|
68
|
+
{ no: 4, name: "manufacturerInfo", kind: "message", T: BlueBleManufacturerInfo, opt: true },
|
|
69
69
|
{ no: 5, name: "bluetooth", kind: "message", T: BlueDeviceDetailsBluetooth, oneof: "details" },
|
|
70
70
|
{ no: 6, name: "uwb", kind: "message", T: BlueDeviceDetailsUWB, oneof: "details" },
|
|
71
71
|
],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.
|
|
1
|
+
// @generated by protoc-gen-es v1.4.0 with parameter "target=js+dts"
|
|
2
2
|
// @generated from file BlueSystem.proto (syntax proto2)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
@@ -112,12 +112,34 @@ export const BlueOssConfig = proto2.makeMessageType(
|
|
|
112
112
|
export const BlueSystemConfig = proto2.makeMessageType(
|
|
113
113
|
"BlueSystemConfig",
|
|
114
114
|
() => [
|
|
115
|
-
{ no: 1, name: "
|
|
116
|
-
{ no: 2, name: "
|
|
117
|
-
{ no: 3, name: "
|
|
118
|
-
{ no: 4, name: "
|
|
119
|
-
{ no: 5, name: "
|
|
120
|
-
{ no: 6, name: "
|
|
115
|
+
{ no: 1, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
116
|
+
{ no: 2, name: "base", kind: "message", T: BlueBaseConfig },
|
|
117
|
+
{ no: 3, name: "ble", kind: "message", T: BlueBleConfig },
|
|
118
|
+
{ no: 4, name: "online", kind: "message", T: BlueOnlineConfig },
|
|
119
|
+
{ no: 5, name: "access", kind: "message", T: BlueAccessConfig },
|
|
120
|
+
{ no: 6, name: "oss", kind: "message", T: BlueOssConfig },
|
|
121
|
+
{ no: 7, name: "lock", kind: "message", T: BlueLockConfig, opt: true },
|
|
122
|
+
],
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message BlueSystemTimeUnix
|
|
127
|
+
*/
|
|
128
|
+
export const BlueSystemTimeUnix = proto2.makeMessageType(
|
|
129
|
+
"BlueSystemTimeUnix",
|
|
130
|
+
() => [
|
|
131
|
+
{ no: 1, name: "epoch", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
132
|
+
],
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message BlueSystemUpdate
|
|
137
|
+
*/
|
|
138
|
+
export const BlueSystemUpdate = proto2.makeMessageType(
|
|
139
|
+
"BlueSystemUpdate",
|
|
140
|
+
() => [
|
|
141
|
+
{ no: 1, name: "config", kind: "message", T: BlueSystemConfig, opt: true },
|
|
142
|
+
{ no: 2, name: "timeUnix", kind: "message", T: BlueSystemTimeUnix, opt: true },
|
|
121
143
|
],
|
|
122
144
|
);
|
|
123
145
|
|
|
@@ -162,19 +184,20 @@ export const BlueSystemProvisioning = proto2.makeMessageType(
|
|
|
162
184
|
export const BlueSystemStatus = proto2.makeMessageType(
|
|
163
185
|
"BlueSystemStatus",
|
|
164
186
|
() => [
|
|
165
|
-
{ no: 1, name: "
|
|
166
|
-
{ no: 2, name: "
|
|
167
|
-
{ no: 3, name: "
|
|
168
|
-
{ no: 4, name: "
|
|
169
|
-
{ no: 5, name: "
|
|
170
|
-
{ no: 6, name: "
|
|
171
|
-
{ no: 7, name: "
|
|
172
|
-
{ no: 8, name: "
|
|
173
|
-
{ no: 9, name: "
|
|
174
|
-
{ no: 10, name: "
|
|
175
|
-
{ no: 11, name: "
|
|
176
|
-
{ no: 12, name: "
|
|
177
|
-
{ no: 13, name: "
|
|
187
|
+
{ no: 1, name: "configVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
188
|
+
{ no: 2, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
189
|
+
{ no: 3, name: "serialNumber", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
190
|
+
{ no: 4, name: "hardwareType", kind: "enum", T: proto2.getEnumType(BlueHardwareType) },
|
|
191
|
+
{ no: 5, name: "batteryLevel", kind: "enum", T: proto2.getEnumType(BlueBatteryLevel) },
|
|
192
|
+
{ no: 6, name: "applicationVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
193
|
+
{ no: 7, name: "localTime", kind: "message", T: BlueLocalTimestamp },
|
|
194
|
+
{ no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
|
|
195
|
+
{ no: 9, name: "blacklistEntriesCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
196
|
+
{ no: 10, name: "eventLogEntriesCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
197
|
+
{ no: 11, name: "eventLogSequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
198
|
+
{ no: 12, name: "systemLogEntriesCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
199
|
+
{ no: 13, name: "systemLogSequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
200
|
+
{ no: 14, name: "lock", kind: "message", T: BlueLockStatus, opt: true },
|
|
178
201
|
],
|
|
179
202
|
);
|
|
180
203
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueid/access-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "BlueID Access CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
"blueidaccess": "./index.js"
|
|
9
9
|
},
|
|
10
10
|
"author": "BlueID GmbH",
|
|
11
|
+
"files": [
|
|
12
|
+
"lib",
|
|
13
|
+
"index.js",
|
|
14
|
+
"package.json"
|
|
15
|
+
],
|
|
11
16
|
"scripts": {
|
|
12
17
|
"sync-proto": "sh syncproto.sh",
|
|
13
18
|
"preinstall": "npm run sync-proto",
|
package/.eslintrc
DELETED
package/.prettierrc
DELETED
package/syncproto.sh
DELETED