@blueid/access-cli 0.23.0 → 0.24.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.
@@ -122,6 +122,19 @@ export const BlueWeekday = proto2.makeEnum(
122
122
  ],
123
123
  );
124
124
 
125
+ /**
126
+ * @generated from enum BlueCredentialType
127
+ */
128
+ export const BlueCredentialType = proto2.makeEnum(
129
+ "BlueCredentialType",
130
+ [
131
+ {no: 1, name: "Regular"},
132
+ {no: 2, name: "Maintenance"},
133
+ {no: 3, name: "Master"},
134
+ {no: 4, name: "NfcWriter"},
135
+ ],
136
+ );
137
+
125
138
  /**
126
139
  * @generated from enum BlueAccessType
127
140
  */
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto2 } from "@bufbuild/protobuf";
7
- import { BlueBleManufacturerInfo } from "./BlueCore_pb.js";
7
+ import { BlueBleManufacturerInfo, BlueCredentialId, BlueCredentialType, BlueLocalTimestamp } from "./BlueCore_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from enum BlueDeviceType
@@ -71,3 +71,38 @@ export const BlueDeviceInfo = proto2.makeMessageType(
71
71
  ],
72
72
  );
73
73
 
74
+ /**
75
+ * @generated from message BlueAccessCredential
76
+ */
77
+ export const BlueAccessCredential = proto2.makeMessageType(
78
+ "BlueAccessCredential",
79
+ () => [
80
+ { no: 1, name: "credentialId", kind: "message", T: BlueCredentialId },
81
+ { no: 2, name: "credentialType", kind: "enum", T: proto2.getEnumType(BlueCredentialType) },
82
+ { no: 3, name: "validFrom", kind: "message", T: BlueLocalTimestamp, opt: true },
83
+ { no: 4, name: "validTo", kind: "message", T: BlueLocalTimestamp, opt: true },
84
+ { no: 5, name: "privateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
85
+ ],
86
+ );
87
+
88
+ /**
89
+ * @generated from message BlueAccessDevice
90
+ */
91
+ export const BlueAccessDevice = proto2.makeMessageType(
92
+ "BlueAccessDevice",
93
+ () => [
94
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
95
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
96
+ ],
97
+ );
98
+
99
+ /**
100
+ * @generated from message BlueAccessDeviceList
101
+ */
102
+ export const BlueAccessDeviceList = proto2.makeMessageType(
103
+ "BlueAccessDeviceList",
104
+ () => [
105
+ { no: 1, name: "devices", kind: "message", T: BlueAccessDevice, repeated: true },
106
+ ],
107
+ );
108
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-cli",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "BlueID Access CLI",
5
5
  "type": "module",
6
6
  "main": "./index.js",