@blueid/access-cli 9.21.0 → 9.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.
@@ -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
  */
@@ -87,14 +87,14 @@ export const BlueI18n = proto2.makeMessageType(
87
87
  { no: 42, name: "dfuFailedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has failed" },
88
88
  { no: 43, name: "dfuCancellingTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Cancelling..." },
89
89
  { no: 44, name: "dfuCompletedTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update has been completed" },
90
- { no: 45, name: "dfuGetAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
90
+ { no: 45, name: "getAuthenticationTokenTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Issue authentication token" },
91
91
  { no: 46, name: "dfuCheckLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check latest firmware" },
92
92
  { no: 47, name: "dfuDownloadLatestFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download latest firmware" },
93
93
  { no: 48, name: "dfuPrepareUpdateLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Prepare Update" },
94
94
  { no: 49, name: "dfuStartBootloaderLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Start Bootloader" },
95
95
  { no: 50, name: "dfuInitializationLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "DFU initialization" },
96
96
  { no: 51, name: "dfuUpdateFWLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update firmware" },
97
- { no: 52, name: "dfuWaitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
97
+ { no: 52, name: "waitForDeviceToRestartTaskLabel", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Wait for device to restart" },
98
98
  { no: 53, name: "accessTypeDefaultTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Default" },
99
99
  { no: 54, name: "accessTypeExtendedTime", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Extended" },
100
100
  { no: 55, name: "accessTypeToggle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Toggle" },
@@ -103,6 +103,12 @@ export const BlueI18n = proto2.makeMessageType(
103
103
  { no: 58, name: "openViaOssSoSelectAccessTypeTitle", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Select an access type" },
104
104
  { no: 59, name: "openViaOssSoSelectAccessTypeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "You have multiple access types available." },
105
105
  { no: 60, name: "provisioningDone", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Device %s has been provisioned. Please wait a few seconds for it to be ready for setup. If it doesn’t discover, try removing the batteries and restarting the lock." },
106
+ { no: 62, name: "checkCurrentAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check current AVR" },
107
+ { no: 63, name: "checkIfAVRUpdateNedded", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Check If AVR needs to update" },
108
+ { no: 64, name: "downloadAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Download AVR" },
109
+ { no: 65, name: "downloadingAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Downloading AVR %d.%d.%d" },
110
+ { no: 66, name: "updateAVR", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "Update AVR" },
111
+ { no: 67, name: "avrIsAlreadyUpToDate", kind: "scalar", T: 9 /* ScalarType.STRING */, default: "AVR is already up to date" },
106
112
  ],
107
113
  );
108
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-cli",
3
- "version": "9.21.0",
3
+ "version": "9.23.0",
4
4
  "description": "BlueID Access CLI",
5
5
  "type": "module",
6
6
  "main": "./index.js",