@blueid/access-cli 0.23.0 → 0.25.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,48 @@ 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 */, opt: true },
85
+ ],
86
+ );
87
+
88
+ /**
89
+ * @generated from message BlueAccessCredentialList
90
+ */
91
+ export const BlueAccessCredentialList = proto2.makeMessageType(
92
+ "BlueAccessCredentialList",
93
+ () => [
94
+ { no: 1, name: "credentials", kind: "message", T: BlueAccessCredential, repeated: true },
95
+ ],
96
+ );
97
+
98
+ /**
99
+ * @generated from message BlueAccessDevice
100
+ */
101
+ export const BlueAccessDevice = proto2.makeMessageType(
102
+ "BlueAccessDevice",
103
+ () => [
104
+ { no: 1, name: "deviceId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
105
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
106
+ ],
107
+ );
108
+
109
+ /**
110
+ * @generated from message BlueAccessDeviceList
111
+ */
112
+ export const BlueAccessDeviceList = proto2.makeMessageType(
113
+ "BlueAccessDeviceList",
114
+ () => [
115
+ { no: 1, name: "devices", kind: "message", T: BlueAccessDevice, repeated: true },
116
+ ],
117
+ );
118
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-cli",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "BlueID Access CLI",
5
5
  "type": "module",
6
6
  "main": "./index.js",