@blueid/access-cli 0.22.0 → 0.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.
|
@@ -57,7 +57,7 @@ export default async ({ vendorIdentity, hardwareType, hardwareVersion, hardwareS
|
|
|
57
57
|
throw new Error(`Failed to create signature with: ${e.message}`)
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
const response = await apiPost('/access/
|
|
60
|
+
const response = await apiPost('/access/registerDevice', payload)
|
|
61
61
|
|
|
62
62
|
const {
|
|
63
63
|
deviceId,
|
package/lib/proto/BlueCore_pb.js
CHANGED
|
@@ -413,7 +413,7 @@ export const BlueEvent = proto2.makeMessageType(
|
|
|
413
413
|
{ no: 2, name: "eventTime", kind: "message", T: BlueLocalTimestamp },
|
|
414
414
|
{ no: 4, name: "eventId", kind: "enum", T: proto2.getEnumType(BlueEventId) },
|
|
415
415
|
{ no: 5, name: "eventInfo", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
416
|
-
{ no: 6, name: "
|
|
416
|
+
{ no: 6, name: "credentialId", kind: "message", T: BlueCredentialId, opt: true },
|
|
417
417
|
{ no: 7, name: "command", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
418
418
|
],
|
|
419
419
|
);
|
package/lib/proto/BlueLock_pb.js
CHANGED
|
@@ -27,7 +27,7 @@ export const BlueLockConfig = proto2.makeMessageType(
|
|
|
27
27
|
() => [
|
|
28
28
|
{ no: 1, name: "openSchedules", kind: "message", T: BlueLocalTimeSchedule, repeated: true },
|
|
29
29
|
{ no: 2, name: "openScheduleByUser", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
|
|
30
|
-
{ no: 20, name: "
|
|
30
|
+
{ no: 20, name: "keepClosedOnHolidays", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
31
31
|
{ no: 21, name: "defaultOpenTimeSec", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 5 },
|
|
32
32
|
{ no: 22, name: "extendedOpenTimeSec", kind: "scalar", T: 13 /* ScalarType.UINT32 */, default: 3600 },
|
|
33
33
|
],
|
|
@@ -180,12 +180,7 @@ export const BlueSystemStatus = proto2.makeMessageType(
|
|
|
180
180
|
{ no: 6, name: "applicationVersion", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
181
181
|
{ no: 7, name: "localTime", kind: "message", T: BlueLocalTimestamp },
|
|
182
182
|
{ no: 8, name: "settings", kind: "message", T: BlueSystemSettings },
|
|
183
|
-
{ no: 9, name: "
|
|
184
|
-
{ no: 10, name: "eventLogEntriesCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
185
|
-
{ no: 11, name: "eventLogSequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
186
|
-
{ no: 12, name: "systemLogEntriesCount", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
187
|
-
{ no: 13, name: "systemLogSequenceId", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
188
|
-
{ no: 14, name: "lock", kind: "message", T: BlueLockStatus, opt: true },
|
|
183
|
+
{ no: 9, name: "lock", kind: "message", T: BlueLockStatus, opt: true },
|
|
189
184
|
],
|
|
190
185
|
);
|
|
191
186
|
|