eufy-security-client 3.8.0-dev.18 → 3.8.0-dev.20
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/http/device.d.ts +2 -0
- package/build/http/device.js +26 -3
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +47 -22
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +1 -0
- package/build/http/types.js +35 -1
- package/build/http/types.js.map +1 -1
- package/build/p2p/session.js +2 -1
- package/build/p2p/session.js.map +1 -1
- package/coverage/clover.xml +5759 -5752
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov.info +11069 -11022
- package/package.json +1 -1
package/build/http/types.d.ts
CHANGED
package/build/http/types.js
CHANGED
|
@@ -102,6 +102,7 @@ var DeviceType;
|
|
|
102
102
|
DeviceType[DeviceType["LOCK_85D0"] = 202] = "LOCK_85D0";
|
|
103
103
|
DeviceType[DeviceType["LOCK_85L0"] = 201] = "LOCK_85L0";
|
|
104
104
|
DeviceType[DeviceType["LOCK_85V0"] = 203] = "LOCK_85V0";
|
|
105
|
+
DeviceType[DeviceType["LOCK_85P0"] = 209] = "LOCK_85P0";
|
|
105
106
|
DeviceType[DeviceType["CAMERA_POE_S4"] = 301] = "CAMERA_POE_S4";
|
|
106
107
|
DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0";
|
|
107
108
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
@@ -1035,6 +1036,7 @@ exports.GenericTypeProperty = {
|
|
|
1035
1036
|
201: "Smart Lock C33 (T85L0)",
|
|
1036
1037
|
202: "Smart Lock C30 (T85D0)",
|
|
1037
1038
|
203: "FamiLock S3 (T85V0)",
|
|
1039
|
+
209: "FamiLock E34 (T85P0)",
|
|
1038
1040
|
301: "PoE Bullet-PTZ Cam S4 (T8E00)",
|
|
1039
1041
|
10005: "Solar Wall Light Cam S120 (T81A0)",
|
|
1040
1042
|
10008: "Indoor Cam C220 (T8W11C)",
|
|
@@ -1302,7 +1304,12 @@ exports.DeviceEnabledIndoorMiniProperty = {
|
|
|
1302
1304
|
};
|
|
1303
1305
|
exports.DeviceEnabledIndoorS350Property = {
|
|
1304
1306
|
...exports.DeviceEnabledSoloProperty,
|
|
1305
|
-
|
|
1307
|
+
// The HomeBase 3 keeps the live cam-enabled state under the wrapped
|
|
1308
|
+
// CMD_INDOOR_ENABLE_PRIVACY_MODE_S350 (6250) param. The legacy
|
|
1309
|
+
// CMD_DEVS_SWITCH (1035) only ever reflects raw bridge-side writes
|
|
1310
|
+
// and goes stale forever for cams that exclusively use the wrapped
|
|
1311
|
+
// path (S350, outdoor PT cams etc.).
|
|
1312
|
+
key: types_1.CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE_S350,
|
|
1306
1313
|
commandId: types_1.CommandType.CMD_INDOOR_ENABLE_PRIVACY_MODE_S350,
|
|
1307
1314
|
};
|
|
1308
1315
|
exports.DeviceStatusLedProperty = {
|
|
@@ -7578,6 +7585,29 @@ exports.DeviceProperties = {
|
|
|
7578
7585
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7579
7586
|
},
|
|
7580
7587
|
[DeviceType.LOCK_85V0]: exports.LockT85V0DeviceProperties,
|
|
7588
|
+
[DeviceType.LOCK_85P0]: {
|
|
7589
|
+
...exports.GenericDeviceProperties,
|
|
7590
|
+
[PropertyName.DeviceBattery]: exports.DeviceBatteryLockProperty,
|
|
7591
|
+
[PropertyName.DeviceLocked]: exports.DeviceLockedProperty,
|
|
7592
|
+
[PropertyName.DeviceLockStatus]: exports.DeviceAdvancedLockStatusProperty,
|
|
7593
|
+
[PropertyName.DeviceAutoLock]: exports.DeviceAutoLockProperty,
|
|
7594
|
+
[PropertyName.DeviceAutoLockTimer]: exports.DeviceAutoLockTimerProperty,
|
|
7595
|
+
[PropertyName.DeviceAutoLockSchedule]: exports.DeviceAutoLockScheduleProperty,
|
|
7596
|
+
[PropertyName.DeviceAutoLockScheduleStartTime]: exports.DeviceAutoLockScheduleStartTimeProperty,
|
|
7597
|
+
[PropertyName.DeviceAutoLockScheduleEndTime]: exports.DeviceAutoLockScheduleEndTimeProperty,
|
|
7598
|
+
[PropertyName.DeviceOneTouchLocking]: exports.DeviceOneTouchLockingProperty,
|
|
7599
|
+
[PropertyName.DeviceWrongTryProtection]: exports.DeviceWrongTryProtectionProperty,
|
|
7600
|
+
[PropertyName.DeviceWrongTryAttempts]: exports.DeviceWrongTryAttemptsProperty,
|
|
7601
|
+
[PropertyName.DeviceWrongTryLockdownTime]: exports.DeviceWrongTryLockdownTimeProperty,
|
|
7602
|
+
[PropertyName.DeviceScramblePasscode]: exports.DeviceScramblePasscodeProperty,
|
|
7603
|
+
[PropertyName.DeviceSound]: exports.DeviceSoundProperty,
|
|
7604
|
+
[PropertyName.DeviceNotification]: exports.DeviceNotificationSmartLockProperty,
|
|
7605
|
+
[PropertyName.DeviceNotificationUnlocked]: exports.DeviceNotificationUnlockedSmartLockProperty,
|
|
7606
|
+
[PropertyName.DeviceNotificationLocked]: exports.DeviceNotificationLockedSmartLockProperty,
|
|
7607
|
+
[PropertyName.DeviceLowBatteryAlert]: exports.DeviceLowBatteryAlertProperty,
|
|
7608
|
+
[PropertyName.DeviceLockEventOrigin]: exports.DeviceLockEventOriginProperty,
|
|
7609
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7610
|
+
},
|
|
7581
7611
|
[DeviceType.LOCK_BLE]: {
|
|
7582
7612
|
...exports.GenericDeviceProperties,
|
|
7583
7613
|
[PropertyName.DeviceState]: exports.DeviceStateLockProperty,
|
|
@@ -9347,6 +9377,9 @@ exports.StationProperties = {
|
|
|
9347
9377
|
[DeviceType.LOCK_8592]: {
|
|
9348
9378
|
...exports.BaseStationProperties,
|
|
9349
9379
|
},
|
|
9380
|
+
[DeviceType.LOCK_85P0]: {
|
|
9381
|
+
...exports.BaseStationProperties,
|
|
9382
|
+
},
|
|
9350
9383
|
[DeviceType.LOCK_BLE]: {
|
|
9351
9384
|
...exports.BaseStationProperties,
|
|
9352
9385
|
},
|
|
@@ -10155,6 +10188,7 @@ exports.DeviceCommands = {
|
|
|
10155
10188
|
CommandName.DeviceUpdateUserSchedule,
|
|
10156
10189
|
CommandName.DeviceUpdateUsername,
|
|
10157
10190
|
],
|
|
10191
|
+
[DeviceType.LOCK_85P0]: [CommandName.DeviceLockCalibration],
|
|
10158
10192
|
[DeviceType.MOTION_SENSOR]: [],
|
|
10159
10193
|
[DeviceType.SENSOR]: [],
|
|
10160
10194
|
[DeviceType.SMART_SAFE_7400]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|