eufy-security-client 3.8.0-dev.12 → 3.8.0-dev.14
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 +3 -1
- package/build/http/device.js +15 -11
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +4 -5
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +1 -0
- package/build/http/types.js +96 -5
- package/build/http/types.js.map +1 -1
- package/build/p2p/session.js +1 -1
- package/build/p2p/session.js.map +1 -1
- package/coverage/clover.xml +5007 -5006
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +13 -13
- package/coverage/lcov.info +9691 -9689
- 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["CAMERA_POE_S4"] = 301] = "CAMERA_POE_S4";
|
|
105
106
|
DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0";
|
|
106
107
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
107
108
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210";
|
|
@@ -1034,6 +1035,7 @@ exports.GenericTypeProperty = {
|
|
|
1034
1035
|
201: "Smart Lock C33 (T85L0)",
|
|
1035
1036
|
202: "Smart Lock C30 (T85D0)",
|
|
1036
1037
|
203: "FamiLock S3 (T85V0)",
|
|
1038
|
+
301: "PoE Bullet-PTZ Cam S4 (T8E00)",
|
|
1037
1039
|
10005: "Solar Wall Light Cam S120 (T81A0)",
|
|
1038
1040
|
10008: "Indoor Cam C220 (T8W11C)",
|
|
1039
1041
|
10009: "Indoor Cam C210 (T8419)",
|
|
@@ -4917,12 +4919,12 @@ exports.LockT85V0DeviceProperties = {
|
|
|
4917
4919
|
...exports.GenericDeviceProperties,
|
|
4918
4920
|
[PropertyName.DeviceBattery]: exports.DeviceBatteryProperty,
|
|
4919
4921
|
[PropertyName.DeviceBatteryTemp]: exports.DeviceBatteryTempProperty,
|
|
4920
|
-
[PropertyName.DeviceWifiRSSI]: exports.
|
|
4922
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSILockProperty,
|
|
4921
4923
|
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
4922
|
-
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
4923
|
-
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
4924
|
-
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
|
|
4925
|
-
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property,
|
|
4924
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledProperty,
|
|
4925
|
+
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
4926
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionProperty,
|
|
4927
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkBatteryDoorbellCamera1Property,
|
|
4926
4928
|
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
4927
4929
|
[PropertyName.DeviceLastChargingDays]: exports.DeviceLastChargingDaysProperty,
|
|
4928
4930
|
[PropertyName.DeviceLastChargingFalseEvents]: exports.DeviceLastChargingFalseEventsProperty,
|
|
@@ -7575,6 +7577,7 @@ exports.DeviceProperties = {
|
|
|
7575
7577
|
[PropertyName.DeviceLockEventOrigin]: exports.DeviceLockEventOriginProperty,
|
|
7576
7578
|
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
7577
7579
|
},
|
|
7580
|
+
[DeviceType.LOCK_85V0]: exports.LockT85V0DeviceProperties,
|
|
7578
7581
|
[DeviceType.LOCK_BLE]: {
|
|
7579
7582
|
...exports.GenericDeviceProperties,
|
|
7580
7583
|
[PropertyName.DeviceState]: exports.DeviceStateLockProperty,
|
|
@@ -8203,6 +8206,67 @@ exports.DeviceProperties = {
|
|
|
8203
8206
|
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIEntrySensorProperty,
|
|
8204
8207
|
[PropertyName.DeviceBatteryLow]: exports.DeviceBatteryLowMotionSensorProperty,
|
|
8205
8208
|
},
|
|
8209
|
+
[DeviceType.CAMERA_POE_S4]: {
|
|
8210
|
+
...exports.GenericDeviceProperties,
|
|
8211
|
+
[PropertyName.DeviceEnabled]: exports.DeviceEnabledSoloProperty,
|
|
8212
|
+
[PropertyName.DeviceAutoNightvision]: exports.DeviceAutoNightvisionProperty,
|
|
8213
|
+
[PropertyName.DeviceNightvision]: exports.DeviceNightvisionProperty,
|
|
8214
|
+
[PropertyName.DeviceWifiRSSI]: exports.DeviceWifiRSSIProperty,
|
|
8215
|
+
[PropertyName.DeviceWifiSignalLevel]: exports.DeviceWifiSignalLevelProperty,
|
|
8216
|
+
[PropertyName.DeviceAntitheftDetection]: exports.DeviceAntitheftDetectionProperty,
|
|
8217
|
+
[PropertyName.DeviceMotionDetection]: exports.DeviceMotionDetectionIndoorSoloFloodProperty,
|
|
8218
|
+
[PropertyName.DeviceWatermark]: exports.DeviceWatermarkProperty,
|
|
8219
|
+
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8220
|
+
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
8221
|
+
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
8222
|
+
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
8223
|
+
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
8224
|
+
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
8225
|
+
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
8226
|
+
[PropertyName.DeviceLightSettingsEnable]: exports.DeviceFloodlightLightSettingsEnableProperty,
|
|
8227
|
+
[PropertyName.DeviceLightSettingsMotionTriggered]: exports.DeviceFloodlightLightSettingsMotionTriggeredProperty,
|
|
8228
|
+
[PropertyName.DeviceRTSPStream]: exports.DeviceRTSPStreamProperty,
|
|
8229
|
+
[PropertyName.DeviceRTSPStreamUrl]: exports.DeviceRTSPStreamUrlProperty,
|
|
8230
|
+
[PropertyName.DevicePicture]: exports.DevicePictureProperty,
|
|
8231
|
+
[PropertyName.DevicePictureUrl]: exports.DevicePictureUrlProperty,
|
|
8232
|
+
[PropertyName.DeviceMotionDetectionSensitivity]: exports.DeviceMotionDetectionSensitivityCamera2Property,
|
|
8233
|
+
[PropertyName.DeviceMotionDetectionType]: exports.DeviceMotionDetectionTypeProperty,
|
|
8234
|
+
[PropertyName.DeviceMicrophone]: exports.DeviceMicrophoneProperty,
|
|
8235
|
+
[PropertyName.DeviceSpeaker]: exports.DeviceSpeakerProperty,
|
|
8236
|
+
[PropertyName.DeviceSpeakerVolume]: exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty,
|
|
8237
|
+
[PropertyName.DeviceAudioRecording]: exports.DeviceAudioRecordingProperty,
|
|
8238
|
+
[PropertyName.DeviceMotionDetectionTypeHuman]: exports.DeviceMotionHB3DetectionTypeHumanProperty,
|
|
8239
|
+
[PropertyName.DeviceMotionDetectionTypeHumanRecognition]: exports.DeviceMotionHB3DetectionTypeHumanRecognitionProperty,
|
|
8240
|
+
[PropertyName.DeviceMotionDetectionTypePet]: exports.DeviceMotionHB3DetectionTypePetProperty,
|
|
8241
|
+
[PropertyName.DeviceMotionDetectionTypeVehicle]: exports.DeviceMotionHB3DetectionTypeVehicleProperty,
|
|
8242
|
+
[PropertyName.DeviceMotionDetectionTypeAllOtherMotions]: exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty,
|
|
8243
|
+
[PropertyName.DeviceVideoStreamingQuality]: exports.DeviceVideoStreamingQualitySoloProperty,
|
|
8244
|
+
[PropertyName.DeviceVideoRecordingQuality]: exports.DeviceVideoRecordingQualityProperty,
|
|
8245
|
+
[PropertyName.DeviceNotificationType]: exports.DeviceNotificationTypeIndoorFloodlightProperty,
|
|
8246
|
+
[PropertyName.DeviceNotificationPerson]: exports.DeviceNotificationPersonS350Property,
|
|
8247
|
+
[PropertyName.DeviceNotificationPet]: exports.DeviceNotificationPetS350Property,
|
|
8248
|
+
[PropertyName.DeviceNotificationAllOtherMotion]: exports.DeviceNotificationAllOtherMotionS350Property,
|
|
8249
|
+
[PropertyName.DeviceNotificationAllSound]: exports.DeviceNotificationAllSoundS350Property,
|
|
8250
|
+
[PropertyName.DeviceNotificationCrying]: exports.DeviceNotificationCryingS350Property,
|
|
8251
|
+
[PropertyName.DeviceNotificationVehicle]: exports.DeviceNotificationVehicleProperty,
|
|
8252
|
+
[PropertyName.DeviceImageMirrored]: exports.DeviceImageMirroredProperty,
|
|
8253
|
+
[PropertyName.DeviceSnooze]: exports.DeviceSnoozeProperty,
|
|
8254
|
+
[PropertyName.DeviceSnoozeTime]: exports.DeviceSnoozeTimeProperty,
|
|
8255
|
+
[PropertyName.DeviceSnoozeStartTime]: exports.DeviceSnoozeStartTimeProperty,
|
|
8256
|
+
[PropertyName.DevicePowerSource]: exports.DevicePowerSourceProperty,
|
|
8257
|
+
[PropertyName.DevicePowerWorkingMode]: exports.DevicePowerWorkingModeProperty,
|
|
8258
|
+
[PropertyName.DeviceRecordingClipLength]: exports.DeviceRecordingClipLengthOutdoorPTProperty,
|
|
8259
|
+
[PropertyName.DeviceRecordingRetriggerInterval]: exports.DeviceRecordingRetriggerIntervalProperty,
|
|
8260
|
+
[PropertyName.DeviceRecordingEndClipMotionStops]: exports.DeviceRecordingEndClipMotionStopsProperty,
|
|
8261
|
+
[PropertyName.DeviceVideoWDR]: exports.DeviceWDRProperty,
|
|
8262
|
+
[PropertyName.DeviceDualCamWatchViewMode]: exports.DeviceDualCamWatchViewModeProperty,
|
|
8263
|
+
[PropertyName.DeviceContinuousRecording]: exports.DeviceContinuousRecordingProperty,
|
|
8264
|
+
[PropertyName.DeviceContinuousRecordingType]: exports.DeviceContinuousRecordingTypeProperty,
|
|
8265
|
+
[PropertyName.DeviceVideoTypeStoreToNAS]: exports.DeviceVideoTypeStoreToNASProperty,
|
|
8266
|
+
[PropertyName.DeviceDetectionStatisticsWorkingDays]: exports.DeviceDetectionStatisticsWorkingDaysProperty,
|
|
8267
|
+
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
8268
|
+
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
8269
|
+
},
|
|
8206
8270
|
};
|
|
8207
8271
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8208
8272
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -10075,6 +10139,22 @@ exports.DeviceCommands = {
|
|
|
10075
10139
|
CommandName.DeviceUpdateUserSchedule,
|
|
10076
10140
|
CommandName.DeviceUpdateUsername,
|
|
10077
10141
|
],
|
|
10142
|
+
[DeviceType.LOCK_85V0]: [
|
|
10143
|
+
CommandName.DeviceStartLivestream,
|
|
10144
|
+
CommandName.DeviceStopLivestream,
|
|
10145
|
+
CommandName.DeviceQuickResponse,
|
|
10146
|
+
CommandName.DeviceStartDownload,
|
|
10147
|
+
CommandName.DeviceCancelDownload,
|
|
10148
|
+
CommandName.DeviceStartTalkback,
|
|
10149
|
+
CommandName.DeviceStopTalkback,
|
|
10150
|
+
CommandName.DeviceSnooze,
|
|
10151
|
+
CommandName.DeviceLockCalibration,
|
|
10152
|
+
CommandName.DeviceAddUser,
|
|
10153
|
+
CommandName.DeviceDeleteUser,
|
|
10154
|
+
CommandName.DeviceUpdateUserPasscode,
|
|
10155
|
+
CommandName.DeviceUpdateUserSchedule,
|
|
10156
|
+
CommandName.DeviceUpdateUsername,
|
|
10157
|
+
],
|
|
10078
10158
|
[DeviceType.MOTION_SENSOR]: [],
|
|
10079
10159
|
[DeviceType.SENSOR]: [],
|
|
10080
10160
|
[DeviceType.SMART_SAFE_7400]: [CommandName.DeviceUnlock, CommandName.DeviceVerifyPIN],
|
|
@@ -10126,6 +10206,17 @@ exports.DeviceCommands = {
|
|
|
10126
10206
|
CommandName.StationTriggerAlarmSound,
|
|
10127
10207
|
CommandName.DeviceTriggerAlarmSound,
|
|
10128
10208
|
],
|
|
10209
|
+
[DeviceType.CAMERA_POE_S4]: [
|
|
10210
|
+
CommandName.DeviceStartLivestream,
|
|
10211
|
+
CommandName.DeviceStopLivestream,
|
|
10212
|
+
CommandName.DeviceTriggerAlarmSound,
|
|
10213
|
+
CommandName.DeviceStartDownload,
|
|
10214
|
+
CommandName.DeviceCancelDownload,
|
|
10215
|
+
CommandName.DeviceStartTalkback,
|
|
10216
|
+
CommandName.DeviceStopTalkback,
|
|
10217
|
+
CommandName.DeviceSnooze,
|
|
10218
|
+
CommandName.DevicePanAndTilt,
|
|
10219
|
+
],
|
|
10129
10220
|
};
|
|
10130
10221
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10131
10222
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|