@zwave-js/cc 10.0.0-beta.5 → 10.0.0-beta.8
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/build/cc/AlarmSensorCC.d.ts +2 -2
- package/build/cc/AssociationCC.d.ts +4 -4
- package/build/cc/AssociationGroupInfoCC.d.ts +4 -4
- package/build/cc/BarrierOperatorCC.d.ts +1 -1
- package/build/cc/BasicCC.d.ts +1 -1
- package/build/cc/BatteryCC.d.ts +10 -10
- package/build/cc/BinarySensorCC.d.ts +1 -1
- package/build/cc/BinarySwitchCC.d.ts +1 -1
- package/build/cc/CentralSceneCC.d.ts +3 -3
- package/build/cc/ColorSwitchCC.d.ts +2 -2
- package/build/cc/ConfigurationCC.js +4 -4
- package/build/cc/DoorLockCC.d.ts +14 -14
- package/build/cc/DoorLockLoggingCC.d.ts +1 -1
- package/build/cc/EntryControlCC.d.ts +3 -3
- package/build/cc/EntryControlCC.d.ts.map +1 -1
- package/build/cc/EntryControlCC.js +12 -4
- package/build/cc/EntryControlCC.js.map +1 -1
- package/build/cc/FirmwareUpdateMetaDataCC.d.ts +4 -4
- package/build/cc/HumidityControlModeCC.d.ts +1 -1
- package/build/cc/HumidityControlSetpointCC.d.ts +1 -1
- package/build/cc/IndicatorCC.d.ts +3 -3
- package/build/cc/IrrigationCC.d.ts +4 -4
- package/build/cc/ManufacturerSpecificCC.d.ts +1 -1
- package/build/cc/MeterCC.d.ts +4 -4
- package/build/cc/MultiChannelAssociationCC.d.ts +4 -4
- package/build/cc/MultiChannelCC.d.ts +3 -3
- package/build/cc/MultilevelSensorCC.d.ts +2 -2
- package/build/cc/MultilevelSwitchCC.d.ts +2 -2
- package/build/cc/NotificationCC.d.ts.map +1 -1
- package/build/cc/NotificationCC.js +5 -2
- package/build/cc/NotificationCC.js.map +1 -1
- package/build/cc/ProtectionCC.d.ts +7 -7
- package/build/cc/SceneActivationCC.d.ts +1 -1
- package/build/cc/Security2CC.d.ts +2 -1
- package/build/cc/Security2CC.d.ts.map +1 -1
- package/build/cc/Security2CC.js +87 -45
- package/build/cc/Security2CC.js.map +1 -1
- package/build/cc/SecurityCC.d.ts.map +1 -1
- package/build/cc/SecurityCC.js +4 -5
- package/build/cc/SecurityCC.js.map +1 -1
- package/build/cc/SoundSwitchCC.d.ts +1 -1
- package/build/cc/SupervisionCC.d.ts +0 -2
- package/build/cc/SupervisionCC.d.ts.map +1 -1
- package/build/cc/SupervisionCC.js +5 -13
- package/build/cc/SupervisionCC.js.map +1 -1
- package/build/cc/ThermostatFanModeCC.d.ts +2 -2
- package/build/cc/ThermostatModeCC.d.ts +1 -1
- package/build/cc/ThermostatSetpointCC.d.ts +3 -3
- package/build/cc/UserCodeCC.d.ts +13 -13
- package/build/cc/UserCodeCC.d.ts.map +1 -1
- package/build/cc/UserCodeCC.js +6 -7
- package/build/cc/UserCodeCC.js.map +1 -1
- package/build/cc/VersionCC.d.ts +1 -1
- package/build/cc/ZWavePlusCC.d.ts +2 -2
- package/build/lib/Values.d.ts +2 -2
- package/build/lib/_Types.d.ts +1 -82
- package/build/lib/_Types.d.ts.map +1 -1
- package/build/lib/_Types.js.map +1 -1
- package/package.json +7 -7
|
@@ -22,10 +22,10 @@ export declare const AlarmSensorCCValues: Readonly<{
|
|
|
22
22
|
readonly writeable: true;
|
|
23
23
|
};
|
|
24
24
|
readonly options: {
|
|
25
|
-
readonly supportsEndpoints: true;
|
|
26
25
|
readonly minVersion: 1;
|
|
27
26
|
readonly stateful: true;
|
|
28
27
|
readonly secret: false;
|
|
28
|
+
readonly supportsEndpoints: true;
|
|
29
29
|
readonly autoCreate: true;
|
|
30
30
|
readonly internal: true;
|
|
31
31
|
};
|
|
@@ -139,7 +139,7 @@ export declare class AlarmSensorCCAPI extends PhysicalCCAPI {
|
|
|
139
139
|
* Retrieves the current value from this sensor
|
|
140
140
|
* @param sensorType The (optional) sensor type to retrieve the value for
|
|
141
141
|
*/
|
|
142
|
-
get(sensorType?: AlarmSensorType): Promise<Pick<AlarmSensorCCReport, "
|
|
142
|
+
get(sensorType?: AlarmSensorType): Promise<Pick<AlarmSensorCCReport, "state" | "duration" | "severity"> | undefined>;
|
|
143
143
|
getSupportedSensorTypes(): Promise<readonly AlarmSensorType[] | undefined>;
|
|
144
144
|
}
|
|
145
145
|
export declare class AlarmSensorCC extends CommandClass {
|
|
@@ -26,10 +26,10 @@ export declare const AssociationCCValues: Readonly<{
|
|
|
26
26
|
}) & {
|
|
27
27
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
28
28
|
readonly options: {
|
|
29
|
-
readonly supportsEndpoints: true;
|
|
30
29
|
readonly minVersion: 1;
|
|
31
30
|
readonly stateful: true;
|
|
32
31
|
readonly secret: false;
|
|
32
|
+
readonly supportsEndpoints: true;
|
|
33
33
|
readonly autoCreate: true;
|
|
34
34
|
readonly internal: true;
|
|
35
35
|
};
|
|
@@ -54,10 +54,10 @@ export declare const AssociationCCValues: Readonly<{
|
|
|
54
54
|
}) & {
|
|
55
55
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
56
56
|
readonly options: {
|
|
57
|
-
readonly supportsEndpoints: true;
|
|
58
57
|
readonly minVersion: 1;
|
|
59
58
|
readonly stateful: true;
|
|
60
59
|
readonly secret: false;
|
|
60
|
+
readonly supportsEndpoints: true;
|
|
61
61
|
readonly autoCreate: true;
|
|
62
62
|
readonly internal: true;
|
|
63
63
|
};
|
|
@@ -79,10 +79,10 @@ export declare const AssociationCCValues: Readonly<{
|
|
|
79
79
|
readonly writeable: true;
|
|
80
80
|
};
|
|
81
81
|
readonly options: {
|
|
82
|
-
readonly supportsEndpoints: true;
|
|
83
82
|
readonly minVersion: 1;
|
|
84
83
|
readonly stateful: true;
|
|
85
84
|
readonly secret: false;
|
|
85
|
+
readonly supportsEndpoints: true;
|
|
86
86
|
readonly autoCreate: true;
|
|
87
87
|
readonly internal: true;
|
|
88
88
|
};
|
|
@@ -104,10 +104,10 @@ export declare const AssociationCCValues: Readonly<{
|
|
|
104
104
|
readonly writeable: true;
|
|
105
105
|
};
|
|
106
106
|
readonly options: {
|
|
107
|
-
readonly supportsEndpoints: true;
|
|
108
107
|
readonly minVersion: 1;
|
|
109
108
|
readonly stateful: true;
|
|
110
109
|
readonly secret: false;
|
|
110
|
+
readonly supportsEndpoints: true;
|
|
111
111
|
readonly autoCreate: true;
|
|
112
112
|
readonly internal: true;
|
|
113
113
|
};
|
|
@@ -25,10 +25,10 @@ export declare const AssociationGroupInfoCCValues: Readonly<{
|
|
|
25
25
|
}) & {
|
|
26
26
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
27
27
|
readonly options: {
|
|
28
|
-
readonly supportsEndpoints: true;
|
|
29
28
|
readonly minVersion: 1;
|
|
30
29
|
readonly stateful: true;
|
|
31
30
|
readonly secret: false;
|
|
31
|
+
readonly supportsEndpoints: true;
|
|
32
32
|
readonly autoCreate: true;
|
|
33
33
|
readonly internal: true;
|
|
34
34
|
};
|
|
@@ -53,10 +53,10 @@ export declare const AssociationGroupInfoCCValues: Readonly<{
|
|
|
53
53
|
}) & {
|
|
54
54
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
55
55
|
readonly options: {
|
|
56
|
-
readonly supportsEndpoints: true;
|
|
57
56
|
readonly minVersion: 1;
|
|
58
57
|
readonly stateful: true;
|
|
59
58
|
readonly secret: false;
|
|
59
|
+
readonly supportsEndpoints: true;
|
|
60
60
|
readonly autoCreate: true;
|
|
61
61
|
readonly internal: true;
|
|
62
62
|
};
|
|
@@ -81,10 +81,10 @@ export declare const AssociationGroupInfoCCValues: Readonly<{
|
|
|
81
81
|
}) & {
|
|
82
82
|
is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
|
|
83
83
|
readonly options: {
|
|
84
|
-
readonly supportsEndpoints: true;
|
|
85
84
|
readonly minVersion: 1;
|
|
86
85
|
readonly stateful: true;
|
|
87
86
|
readonly secret: false;
|
|
87
|
+
readonly supportsEndpoints: true;
|
|
88
88
|
readonly autoCreate: true;
|
|
89
89
|
readonly internal: true;
|
|
90
90
|
};
|
|
@@ -106,10 +106,10 @@ export declare const AssociationGroupInfoCCValues: Readonly<{
|
|
|
106
106
|
readonly writeable: true;
|
|
107
107
|
};
|
|
108
108
|
readonly options: {
|
|
109
|
-
readonly supportsEndpoints: true;
|
|
110
109
|
readonly minVersion: 1;
|
|
111
110
|
readonly stateful: true;
|
|
112
111
|
readonly secret: false;
|
|
112
|
+
readonly supportsEndpoints: true;
|
|
113
113
|
readonly autoCreate: true;
|
|
114
114
|
readonly internal: true;
|
|
115
115
|
};
|
|
@@ -147,10 +147,10 @@ export declare const BarrierOperatorCCValues: Readonly<{
|
|
|
147
147
|
readonly writeable: true;
|
|
148
148
|
};
|
|
149
149
|
readonly options: {
|
|
150
|
-
readonly supportsEndpoints: true;
|
|
151
150
|
readonly minVersion: 1;
|
|
152
151
|
readonly stateful: true;
|
|
153
152
|
readonly secret: false;
|
|
153
|
+
readonly supportsEndpoints: true;
|
|
154
154
|
readonly autoCreate: true;
|
|
155
155
|
readonly internal: true;
|
|
156
156
|
};
|
package/build/cc/BasicCC.d.ts
CHANGED
|
@@ -27,9 +27,9 @@ export declare const BasicCCValues: Readonly<{
|
|
|
27
27
|
};
|
|
28
28
|
readonly options: {
|
|
29
29
|
readonly internal: false;
|
|
30
|
-
readonly supportsEndpoints: true;
|
|
31
30
|
readonly minVersion: 1;
|
|
32
31
|
readonly secret: false;
|
|
32
|
+
readonly supportsEndpoints: true;
|
|
33
33
|
readonly stateful: false;
|
|
34
34
|
readonly autoCreate: (applHost: ZWaveApplicationHost, endpoint: import("@zwave-js/core/safe").IZWaveEndpoint) => boolean;
|
|
35
35
|
};
|
package/build/cc/BatteryCC.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
24
24
|
};
|
|
25
25
|
readonly options: {
|
|
26
26
|
readonly internal: false;
|
|
27
|
-
readonly supportsEndpoints: true;
|
|
28
27
|
readonly stateful: true;
|
|
29
28
|
readonly secret: false;
|
|
29
|
+
readonly supportsEndpoints: true;
|
|
30
30
|
readonly autoCreate: true;
|
|
31
31
|
readonly minVersion: 3;
|
|
32
32
|
};
|
|
@@ -50,9 +50,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
50
50
|
};
|
|
51
51
|
readonly options: {
|
|
52
52
|
readonly internal: false;
|
|
53
|
-
readonly supportsEndpoints: true;
|
|
54
53
|
readonly stateful: true;
|
|
55
54
|
readonly secret: false;
|
|
55
|
+
readonly supportsEndpoints: true;
|
|
56
56
|
readonly autoCreate: true;
|
|
57
57
|
readonly minVersion: 2;
|
|
58
58
|
};
|
|
@@ -81,9 +81,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
81
81
|
};
|
|
82
82
|
readonly options: {
|
|
83
83
|
readonly internal: false;
|
|
84
|
-
readonly supportsEndpoints: true;
|
|
85
84
|
readonly stateful: true;
|
|
86
85
|
readonly secret: false;
|
|
86
|
+
readonly supportsEndpoints: true;
|
|
87
87
|
readonly autoCreate: true;
|
|
88
88
|
readonly minVersion: 2;
|
|
89
89
|
};
|
|
@@ -107,9 +107,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
107
107
|
};
|
|
108
108
|
readonly options: {
|
|
109
109
|
readonly internal: false;
|
|
110
|
-
readonly supportsEndpoints: true;
|
|
111
110
|
readonly stateful: true;
|
|
112
111
|
readonly secret: false;
|
|
112
|
+
readonly supportsEndpoints: true;
|
|
113
113
|
readonly autoCreate: true;
|
|
114
114
|
readonly minVersion: 2;
|
|
115
115
|
};
|
|
@@ -133,9 +133,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
133
133
|
};
|
|
134
134
|
readonly options: {
|
|
135
135
|
readonly internal: false;
|
|
136
|
-
readonly supportsEndpoints: true;
|
|
137
136
|
readonly stateful: true;
|
|
138
137
|
readonly secret: false;
|
|
138
|
+
readonly supportsEndpoints: true;
|
|
139
139
|
readonly autoCreate: true;
|
|
140
140
|
readonly minVersion: 2;
|
|
141
141
|
};
|
|
@@ -159,9 +159,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
159
159
|
};
|
|
160
160
|
readonly options: {
|
|
161
161
|
readonly internal: false;
|
|
162
|
-
readonly supportsEndpoints: true;
|
|
163
162
|
readonly stateful: true;
|
|
164
163
|
readonly secret: false;
|
|
164
|
+
readonly supportsEndpoints: true;
|
|
165
165
|
readonly autoCreate: true;
|
|
166
166
|
readonly minVersion: 2;
|
|
167
167
|
};
|
|
@@ -185,9 +185,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
185
185
|
};
|
|
186
186
|
readonly options: {
|
|
187
187
|
readonly internal: false;
|
|
188
|
-
readonly supportsEndpoints: true;
|
|
189
188
|
readonly stateful: true;
|
|
190
189
|
readonly secret: false;
|
|
190
|
+
readonly supportsEndpoints: true;
|
|
191
191
|
readonly autoCreate: true;
|
|
192
192
|
readonly minVersion: 2;
|
|
193
193
|
};
|
|
@@ -216,9 +216,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
216
216
|
};
|
|
217
217
|
readonly options: {
|
|
218
218
|
readonly internal: false;
|
|
219
|
-
readonly supportsEndpoints: true;
|
|
220
219
|
readonly stateful: true;
|
|
221
220
|
readonly secret: false;
|
|
221
|
+
readonly supportsEndpoints: true;
|
|
222
222
|
readonly autoCreate: true;
|
|
223
223
|
readonly minVersion: 2;
|
|
224
224
|
};
|
|
@@ -244,9 +244,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
244
244
|
};
|
|
245
245
|
readonly options: {
|
|
246
246
|
readonly internal: false;
|
|
247
|
-
readonly supportsEndpoints: true;
|
|
248
247
|
readonly stateful: true;
|
|
249
248
|
readonly secret: false;
|
|
249
|
+
readonly supportsEndpoints: true;
|
|
250
250
|
readonly autoCreate: true;
|
|
251
251
|
readonly minVersion: 2;
|
|
252
252
|
};
|
|
@@ -273,9 +273,9 @@ export declare const BatteryCCValues: Readonly<{
|
|
|
273
273
|
};
|
|
274
274
|
readonly options: {
|
|
275
275
|
readonly internal: false;
|
|
276
|
-
readonly supportsEndpoints: true;
|
|
277
276
|
readonly stateful: true;
|
|
278
277
|
readonly secret: false;
|
|
278
|
+
readonly supportsEndpoints: true;
|
|
279
279
|
readonly autoCreate: true;
|
|
280
280
|
readonly minVersion: 2;
|
|
281
281
|
};
|
|
@@ -52,10 +52,10 @@ export declare const BinarySensorCCValues: Readonly<{
|
|
|
52
52
|
readonly writeable: true;
|
|
53
53
|
};
|
|
54
54
|
readonly options: {
|
|
55
|
-
readonly supportsEndpoints: true;
|
|
56
55
|
readonly minVersion: 1;
|
|
57
56
|
readonly stateful: true;
|
|
58
57
|
readonly secret: false;
|
|
58
|
+
readonly supportsEndpoints: true;
|
|
59
59
|
readonly autoCreate: true;
|
|
60
60
|
readonly internal: true;
|
|
61
61
|
};
|
|
@@ -25,9 +25,9 @@ export declare const BinarySwitchCCValues: Readonly<{
|
|
|
25
25
|
};
|
|
26
26
|
readonly options: {
|
|
27
27
|
readonly internal: false;
|
|
28
|
-
readonly supportsEndpoints: true;
|
|
29
28
|
readonly stateful: true;
|
|
30
29
|
readonly secret: false;
|
|
30
|
+
readonly supportsEndpoints: true;
|
|
31
31
|
readonly autoCreate: true;
|
|
32
32
|
readonly minVersion: 2;
|
|
33
33
|
};
|
|
@@ -81,10 +81,10 @@ export declare const CentralSceneCCValues: Readonly<{
|
|
|
81
81
|
readonly writeable: true;
|
|
82
82
|
};
|
|
83
83
|
readonly options: {
|
|
84
|
-
readonly supportsEndpoints: true;
|
|
85
84
|
readonly minVersion: 1;
|
|
86
85
|
readonly stateful: true;
|
|
87
86
|
readonly secret: false;
|
|
87
|
+
readonly supportsEndpoints: true;
|
|
88
88
|
readonly autoCreate: true;
|
|
89
89
|
readonly internal: true;
|
|
90
90
|
};
|
|
@@ -106,10 +106,10 @@ export declare const CentralSceneCCValues: Readonly<{
|
|
|
106
106
|
readonly writeable: true;
|
|
107
107
|
};
|
|
108
108
|
readonly options: {
|
|
109
|
-
readonly supportsEndpoints: true;
|
|
110
109
|
readonly minVersion: 1;
|
|
111
110
|
readonly stateful: true;
|
|
112
111
|
readonly secret: false;
|
|
112
|
+
readonly supportsEndpoints: true;
|
|
113
113
|
readonly autoCreate: true;
|
|
114
114
|
readonly internal: true;
|
|
115
115
|
};
|
|
@@ -131,10 +131,10 @@ export declare const CentralSceneCCValues: Readonly<{
|
|
|
131
131
|
readonly writeable: true;
|
|
132
132
|
};
|
|
133
133
|
readonly options: {
|
|
134
|
-
readonly supportsEndpoints: true;
|
|
135
134
|
readonly minVersion: 1;
|
|
136
135
|
readonly stateful: true;
|
|
137
136
|
readonly secret: false;
|
|
137
|
+
readonly supportsEndpoints: true;
|
|
138
138
|
readonly autoCreate: true;
|
|
139
139
|
readonly internal: true;
|
|
140
140
|
};
|
|
@@ -195,10 +195,10 @@ export declare const ColorSwitchCCValues: Readonly<{
|
|
|
195
195
|
readonly writeable: true;
|
|
196
196
|
};
|
|
197
197
|
readonly options: {
|
|
198
|
-
readonly supportsEndpoints: true;
|
|
199
198
|
readonly minVersion: 1;
|
|
200
199
|
readonly stateful: true;
|
|
201
200
|
readonly secret: false;
|
|
201
|
+
readonly supportsEndpoints: true;
|
|
202
202
|
readonly autoCreate: true;
|
|
203
203
|
readonly internal: true;
|
|
204
204
|
};
|
|
@@ -220,10 +220,10 @@ export declare const ColorSwitchCCValues: Readonly<{
|
|
|
220
220
|
readonly writeable: true;
|
|
221
221
|
};
|
|
222
222
|
readonly options: {
|
|
223
|
-
readonly supportsEndpoints: true;
|
|
224
223
|
readonly minVersion: 1;
|
|
225
224
|
readonly stateful: true;
|
|
226
225
|
readonly secret: false;
|
|
226
|
+
readonly supportsEndpoints: true;
|
|
227
227
|
readonly autoCreate: true;
|
|
228
228
|
readonly internal: true;
|
|
229
229
|
};
|
|
@@ -143,13 +143,13 @@ const __assertType__ConfigurationCCAPISetOptions = $o => {
|
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
145
|
function _13($o) {
|
|
146
|
-
return $o !==
|
|
146
|
+
return $o !== 4 ? {} : null;
|
|
147
147
|
}
|
|
148
148
|
function _14($o) {
|
|
149
149
|
return $o !== 1 ? {} : null;
|
|
150
150
|
}
|
|
151
151
|
function _15($o) {
|
|
152
|
-
return $o !==
|
|
152
|
+
return $o !== 2 ? {} : null;
|
|
153
153
|
}
|
|
154
154
|
function su__13__14__15_eu($o) {
|
|
155
155
|
const conditions = [_13, _14, _15];
|
|
@@ -300,13 +300,13 @@ const __assertType__sa_su_si__4__5_ei_si__4__7_ei_si__4__9_ei_eu_ea_2 = $o => {
|
|
|
300
300
|
return null;
|
|
301
301
|
}
|
|
302
302
|
function _15($o) {
|
|
303
|
-
return $o !==
|
|
303
|
+
return $o !== 4 ? {} : null;
|
|
304
304
|
}
|
|
305
305
|
function _16($o) {
|
|
306
306
|
return $o !== 1 ? {} : null;
|
|
307
307
|
}
|
|
308
308
|
function _17($o) {
|
|
309
|
-
return $o !==
|
|
309
|
+
return $o !== 2 ? {} : null;
|
|
310
310
|
}
|
|
311
311
|
function su__15__16__17_eu($o) {
|
|
312
312
|
const conditions = [_15, _16, _17];
|
package/build/cc/DoorLockCC.d.ts
CHANGED
|
@@ -48,10 +48,10 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
48
48
|
readonly writeable: true;
|
|
49
49
|
};
|
|
50
50
|
readonly options: {
|
|
51
|
-
readonly supportsEndpoints: true;
|
|
52
51
|
readonly minVersion: 1;
|
|
53
52
|
readonly stateful: true;
|
|
54
53
|
readonly secret: false;
|
|
54
|
+
readonly supportsEndpoints: true;
|
|
55
55
|
readonly autoCreate: true;
|
|
56
56
|
readonly internal: true;
|
|
57
57
|
};
|
|
@@ -99,10 +99,10 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
99
99
|
readonly writeable: true;
|
|
100
100
|
};
|
|
101
101
|
readonly options: {
|
|
102
|
-
readonly supportsEndpoints: true;
|
|
103
102
|
readonly minVersion: 1;
|
|
104
103
|
readonly stateful: true;
|
|
105
104
|
readonly secret: false;
|
|
105
|
+
readonly supportsEndpoints: true;
|
|
106
106
|
readonly autoCreate: true;
|
|
107
107
|
readonly internal: true;
|
|
108
108
|
};
|
|
@@ -150,10 +150,10 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
150
150
|
readonly writeable: true;
|
|
151
151
|
};
|
|
152
152
|
readonly options: {
|
|
153
|
-
readonly supportsEndpoints: true;
|
|
154
153
|
readonly minVersion: 1;
|
|
155
154
|
readonly stateful: true;
|
|
156
155
|
readonly secret: false;
|
|
156
|
+
readonly supportsEndpoints: true;
|
|
157
157
|
readonly autoCreate: true;
|
|
158
158
|
readonly internal: true;
|
|
159
159
|
};
|
|
@@ -177,9 +177,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
177
177
|
};
|
|
178
178
|
readonly options: {
|
|
179
179
|
readonly internal: false;
|
|
180
|
-
readonly supportsEndpoints: true;
|
|
181
180
|
readonly stateful: true;
|
|
182
181
|
readonly secret: false;
|
|
182
|
+
readonly supportsEndpoints: true;
|
|
183
183
|
readonly autoCreate: true;
|
|
184
184
|
readonly minVersion: 4;
|
|
185
185
|
};
|
|
@@ -201,9 +201,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
201
201
|
readonly writeable: true;
|
|
202
202
|
};
|
|
203
203
|
readonly options: {
|
|
204
|
-
readonly supportsEndpoints: true;
|
|
205
204
|
readonly stateful: true;
|
|
206
205
|
readonly secret: false;
|
|
206
|
+
readonly supportsEndpoints: true;
|
|
207
207
|
readonly autoCreate: true;
|
|
208
208
|
readonly internal: true;
|
|
209
209
|
readonly minVersion: number;
|
|
@@ -228,9 +228,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
228
228
|
};
|
|
229
229
|
readonly options: {
|
|
230
230
|
readonly internal: false;
|
|
231
|
-
readonly supportsEndpoints: true;
|
|
232
231
|
readonly stateful: true;
|
|
233
232
|
readonly secret: false;
|
|
233
|
+
readonly supportsEndpoints: true;
|
|
234
234
|
readonly autoCreate: true;
|
|
235
235
|
readonly minVersion: 4;
|
|
236
236
|
};
|
|
@@ -252,9 +252,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
252
252
|
readonly writeable: true;
|
|
253
253
|
};
|
|
254
254
|
readonly options: {
|
|
255
|
-
readonly supportsEndpoints: true;
|
|
256
255
|
readonly stateful: true;
|
|
257
256
|
readonly secret: false;
|
|
257
|
+
readonly supportsEndpoints: true;
|
|
258
258
|
readonly autoCreate: true;
|
|
259
259
|
readonly internal: true;
|
|
260
260
|
readonly minVersion: number;
|
|
@@ -281,9 +281,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
281
281
|
};
|
|
282
282
|
readonly options: {
|
|
283
283
|
readonly internal: false;
|
|
284
|
-
readonly supportsEndpoints: true;
|
|
285
284
|
readonly stateful: true;
|
|
286
285
|
readonly secret: false;
|
|
286
|
+
readonly supportsEndpoints: true;
|
|
287
287
|
readonly autoCreate: true;
|
|
288
288
|
readonly minVersion: 4;
|
|
289
289
|
};
|
|
@@ -305,9 +305,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
305
305
|
readonly writeable: true;
|
|
306
306
|
};
|
|
307
307
|
readonly options: {
|
|
308
|
-
readonly supportsEndpoints: true;
|
|
309
308
|
readonly stateful: true;
|
|
310
309
|
readonly secret: false;
|
|
310
|
+
readonly supportsEndpoints: true;
|
|
311
311
|
readonly autoCreate: true;
|
|
312
312
|
readonly internal: true;
|
|
313
313
|
readonly minVersion: number;
|
|
@@ -334,9 +334,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
334
334
|
};
|
|
335
335
|
readonly options: {
|
|
336
336
|
readonly internal: false;
|
|
337
|
-
readonly supportsEndpoints: true;
|
|
338
337
|
readonly stateful: true;
|
|
339
338
|
readonly secret: false;
|
|
339
|
+
readonly supportsEndpoints: true;
|
|
340
340
|
readonly autoCreate: true;
|
|
341
341
|
readonly minVersion: 4;
|
|
342
342
|
};
|
|
@@ -358,9 +358,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
358
358
|
readonly writeable: true;
|
|
359
359
|
};
|
|
360
360
|
readonly options: {
|
|
361
|
-
readonly supportsEndpoints: true;
|
|
362
361
|
readonly stateful: true;
|
|
363
362
|
readonly secret: false;
|
|
363
|
+
readonly supportsEndpoints: true;
|
|
364
364
|
readonly autoCreate: true;
|
|
365
365
|
readonly internal: true;
|
|
366
366
|
readonly minVersion: number;
|
|
@@ -522,9 +522,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
522
522
|
readonly writeable: true;
|
|
523
523
|
};
|
|
524
524
|
readonly options: {
|
|
525
|
-
readonly supportsEndpoints: true;
|
|
526
525
|
readonly stateful: true;
|
|
527
526
|
readonly secret: false;
|
|
527
|
+
readonly supportsEndpoints: true;
|
|
528
528
|
readonly autoCreate: true;
|
|
529
529
|
readonly internal: true;
|
|
530
530
|
readonly minVersion: number;
|
|
@@ -599,9 +599,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
599
599
|
readonly writeable: true;
|
|
600
600
|
};
|
|
601
601
|
readonly options: {
|
|
602
|
-
readonly supportsEndpoints: true;
|
|
603
602
|
readonly stateful: true;
|
|
604
603
|
readonly secret: false;
|
|
604
|
+
readonly supportsEndpoints: true;
|
|
605
605
|
readonly autoCreate: true;
|
|
606
606
|
readonly internal: true;
|
|
607
607
|
readonly minVersion: number;
|
|
@@ -626,9 +626,9 @@ export declare const DoorLockCCValues: Readonly<{
|
|
|
626
626
|
};
|
|
627
627
|
readonly options: {
|
|
628
628
|
readonly internal: false;
|
|
629
|
-
readonly supportsEndpoints: true;
|
|
630
629
|
readonly stateful: true;
|
|
631
630
|
readonly secret: false;
|
|
631
|
+
readonly supportsEndpoints: true;
|
|
632
632
|
readonly autoCreate: true;
|
|
633
633
|
readonly minVersion: 3;
|
|
634
634
|
};
|
|
@@ -22,10 +22,10 @@ export declare const DoorLockLoggingCCValues: Readonly<{
|
|
|
22
22
|
readonly writeable: true;
|
|
23
23
|
};
|
|
24
24
|
readonly options: {
|
|
25
|
-
readonly supportsEndpoints: true;
|
|
26
25
|
readonly minVersion: 1;
|
|
27
26
|
readonly stateful: true;
|
|
28
27
|
readonly secret: false;
|
|
28
|
+
readonly supportsEndpoints: true;
|
|
29
29
|
readonly autoCreate: true;
|
|
30
30
|
readonly internal: true;
|
|
31
31
|
};
|
|
@@ -23,10 +23,10 @@ export declare const EntryControlCCValues: Readonly<{
|
|
|
23
23
|
readonly writeable: true;
|
|
24
24
|
};
|
|
25
25
|
readonly options: {
|
|
26
|
-
readonly supportsEndpoints: true;
|
|
27
26
|
readonly minVersion: 1;
|
|
28
27
|
readonly stateful: true;
|
|
29
28
|
readonly secret: false;
|
|
29
|
+
readonly supportsEndpoints: true;
|
|
30
30
|
readonly autoCreate: true;
|
|
31
31
|
readonly internal: true;
|
|
32
32
|
};
|
|
@@ -48,10 +48,10 @@ export declare const EntryControlCCValues: Readonly<{
|
|
|
48
48
|
readonly writeable: true;
|
|
49
49
|
};
|
|
50
50
|
readonly options: {
|
|
51
|
-
readonly supportsEndpoints: true;
|
|
52
51
|
readonly minVersion: 1;
|
|
53
52
|
readonly stateful: true;
|
|
54
53
|
readonly secret: false;
|
|
54
|
+
readonly supportsEndpoints: true;
|
|
55
55
|
readonly autoCreate: true;
|
|
56
56
|
readonly internal: true;
|
|
57
57
|
};
|
|
@@ -73,10 +73,10 @@ export declare const EntryControlCCValues: Readonly<{
|
|
|
73
73
|
readonly writeable: true;
|
|
74
74
|
};
|
|
75
75
|
readonly options: {
|
|
76
|
-
readonly supportsEndpoints: true;
|
|
77
76
|
readonly minVersion: 1;
|
|
78
77
|
readonly stateful: true;
|
|
79
78
|
readonly secret: false;
|
|
79
|
+
readonly supportsEndpoints: true;
|
|
80
80
|
readonly autoCreate: true;
|
|
81
81
|
readonly internal: true;
|
|
82
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntryControlCC.d.ts","source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,CAAC;IAEvE,SAAgB,eAAe,EAAE,MAAM,CAAC;IACxC,SAAgB,eAAe,EAAE,MAAM,CAAC;IACxC,SAAgB,kBAAkB,EAAE,MAAM,CAAC;IAC3C,SAAgB,kBAAkB,EAAE,MAAM,CAAC;IAEpC,UAAU,CAAC,QAAQ,EAAE,oBAAoB,GAAG,mBAAmB;CAiBtE;AAED,qBAEa,+BAAgC,SAAQ,cAAc;CAAG;AAEtE,qBACa,iCAAkC,SAAQ,cAAc;gBAEnE,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,kCAAkC;IAW5C,SACgB,YAAY,EAAE,MAAM,CAAC;IAErC,SACgB,eAAe,EAAE,MAAM,CAAC;IAEjC,UAAU,CAAC,QAAQ,EAAE,oBAAoB,GAAG,mBAAmB;CAStE;AAED,qBAEa,8BAA+B,SAAQ,cAAc;CAAG;AAErE,UAAU,qCAAsC,SAAQ,gBAAgB;IACvE,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;CACxB;AAED,qBAEa,8BAA+B,SAAQ,cAAc;gBAEhE,IAAI,EAAE,SAAS,EACf,OAAO,EACJ,kCAAkC,GAClC,qCAAqC;IAezC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,SAAgB,eAAe,EAAE,MAAM,CAAC;IAEjC,SAAS,IAAI,MAAM;IAKnB,UAAU,CAAC,QAAQ,EAAE,oBAAoB,GAAG,mBAAmB;CAStE"}
|
|
@@ -300,10 +300,18 @@ let EntryControlCCNotification = class EntryControlCCNotification extends EntryC
|
|
|
300
300
|
"event type": this.eventType,
|
|
301
301
|
};
|
|
302
302
|
if (this.eventData) {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
303
|
+
switch (this.eventType) {
|
|
304
|
+
case _Types_1.EntryControlEventTypes.CachedKeys:
|
|
305
|
+
case _Types_1.EntryControlEventTypes.Enter:
|
|
306
|
+
// The event data is likely the user's PIN code, hide it from logs
|
|
307
|
+
message["event data"] = "*".repeat(this.eventData.length);
|
|
308
|
+
break;
|
|
309
|
+
default:
|
|
310
|
+
message["event data"] =
|
|
311
|
+
typeof this.eventData === "string"
|
|
312
|
+
? this.eventData
|
|
313
|
+
: (0, safe_2.buffer2hex)(this.eventData);
|
|
314
|
+
}
|
|
307
315
|
}
|
|
308
316
|
return {
|
|
309
317
|
...super.toLogEntry(applHost),
|