eufy-security-client 3.8.0-dev.25 → 3.8.0-dev.29
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 +9 -1
- package/build/http/device.js.map +1 -1
- package/build/http/models.d.ts +1 -0
- package/build/http/station.d.ts +3 -0
- package/build/http/station.js +11 -1
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +1 -0
- package/build/http/types.js +44 -0
- package/build/http/types.js.map +1 -1
- package/build/p2p/session.js +75 -21
- package/build/p2p/session.js.map +1 -1
- package/build/p2p/utils.d.ts +10 -0
- package/build/p2p/utils.js +64 -3
- package/build/p2p/utils.js.map +1 -1
- package/coverage/clover.xml +6723 -6668
- package/coverage/coverage-final.json +21 -21
- package/coverage/lcov-report/index.html +32 -32
- package/coverage/lcov.info +12534 -11212
- package/package.json +7 -7
package/build/http/types.d.ts
CHANGED
package/build/http/types.js
CHANGED
|
@@ -103,6 +103,7 @@ var DeviceType;
|
|
|
103
103
|
DeviceType[DeviceType["LOCK_85L0"] = 201] = "LOCK_85L0";
|
|
104
104
|
DeviceType[DeviceType["LOCK_85V0"] = 203] = "LOCK_85V0";
|
|
105
105
|
DeviceType[DeviceType["LOCK_85P0"] = 209] = "LOCK_85P0";
|
|
106
|
+
DeviceType[DeviceType["NVR_S4_MAX"] = 300] = "NVR_S4_MAX";
|
|
106
107
|
DeviceType[DeviceType["CAMERA_POE_S4"] = 301] = "CAMERA_POE_S4";
|
|
107
108
|
DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0";
|
|
108
109
|
DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220";
|
|
@@ -1040,6 +1041,7 @@ exports.GenericTypeProperty = {
|
|
|
1040
1041
|
202: "Smart Lock C30 (T85D0)",
|
|
1041
1042
|
203: "FamiLock S3 (T85V0)",
|
|
1042
1043
|
209: "FamiLock E34 (T85P0)",
|
|
1044
|
+
300: "NVR S4 Max (T8N00)",
|
|
1043
1045
|
301: "PoE Bullet-PTZ Cam S4 (T8E00)",
|
|
1044
1046
|
10005: "Solar Wall Light Cam S120 (T81A0)",
|
|
1045
1047
|
10008: "Indoor Cam C220 (T8W11C)",
|
|
@@ -8255,7 +8257,9 @@ exports.DeviceProperties = {
|
|
|
8255
8257
|
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8256
8258
|
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
8257
8259
|
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
8260
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
8258
8261
|
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
8262
|
+
[PropertyName.DeviceStrangerPersonDetected]: exports.DeviceStrangerPersonDetectedProperty,
|
|
8259
8263
|
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
8260
8264
|
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
8261
8265
|
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
@@ -8303,6 +8307,9 @@ exports.DeviceProperties = {
|
|
|
8303
8307
|
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
8304
8308
|
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
8305
8309
|
},
|
|
8310
|
+
[DeviceType.NVR_S4_MAX]: {
|
|
8311
|
+
...exports.GenericDeviceProperties,
|
|
8312
|
+
},
|
|
8306
8313
|
};
|
|
8307
8314
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8308
8315
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -8902,6 +8909,32 @@ exports.StationProperties = {
|
|
|
8902
8909
|
[PropertyName.StationCrossTrackingCameraList]: exports.StationCrossTrackingCameraListProperty,
|
|
8903
8910
|
[PropertyName.StationCrossTrackingGroupList]: exports.StationCrossTrackingGroupListProperty,
|
|
8904
8911
|
},
|
|
8912
|
+
[DeviceType.NVR_S4_MAX]: {
|
|
8913
|
+
...exports.BaseStationProperties,
|
|
8914
|
+
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressProperty,
|
|
8915
|
+
[PropertyName.StationMacAddress]: exports.StationMacAddressProperty,
|
|
8916
|
+
[PropertyName.StationGuardMode]: exports.StationGuardModeProperty,
|
|
8917
|
+
[PropertyName.StationCurrentMode]: exports.StationCurrentModeProperty,
|
|
8918
|
+
[PropertyName.StationTimeFormat]: exports.StationTimeFormatProperty,
|
|
8919
|
+
[PropertyName.StationTimeZone]: exports.StationTimeZoneProperty,
|
|
8920
|
+
[PropertyName.StationAlarmVolume]: exports.StationAlarmVolumeProperty,
|
|
8921
|
+
[PropertyName.StationAlarmTone]: exports.StationAlarmToneProperty,
|
|
8922
|
+
[PropertyName.StationAutoEndAlarm]: exports.StationAutoEndAlarmProperty,
|
|
8923
|
+
[PropertyName.StationNotificationSwitchModeSchedule]: exports.StationNotificationSwitchModeScheduleProperty,
|
|
8924
|
+
[PropertyName.StationNotificationSwitchModeGeofence]: exports.StationNotificationSwitchModeGeofenceProperty,
|
|
8925
|
+
[PropertyName.StationNotificationSwitchModeApp]: exports.StationNotificationSwitchModeAppProperty,
|
|
8926
|
+
[PropertyName.StationNotificationSwitchModeKeypad]: exports.StationNotificationSwitchModeKeypadProperty,
|
|
8927
|
+
[PropertyName.StationNotificationStartAlarmDelay]: exports.StationNotificationStartAlarmDelayProperty,
|
|
8928
|
+
[PropertyName.StationSdStatus]: exports.StationSdStatusProperty,
|
|
8929
|
+
[PropertyName.StationHomeSecuritySettings]: exports.StationHomeSecuritySettings,
|
|
8930
|
+
[PropertyName.StationAwaySecuritySettings]: exports.StationAwaySecuritySettings,
|
|
8931
|
+
[PropertyName.StationCustom1SecuritySettings]: exports.StationCustom1SecuritySettings,
|
|
8932
|
+
[PropertyName.StationCustom2SecuritySettings]: exports.StationCustom2SecuritySettings,
|
|
8933
|
+
[PropertyName.StationCustom3SecuritySettings]: exports.StationCustom3SecuritySettings,
|
|
8934
|
+
[PropertyName.StationOffSecuritySettings]: exports.StationOffSecuritySettings,
|
|
8935
|
+
[PropertyName.StationAlarm]: exports.StationAlarmProperty,
|
|
8936
|
+
[PropertyName.StationAlarmType]: exports.StationAlarmTypeProperty,
|
|
8937
|
+
},
|
|
8905
8938
|
[DeviceType.INDOOR_CAMERA]: {
|
|
8906
8939
|
...exports.BaseStationProperties,
|
|
8907
8940
|
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
@@ -10257,6 +10290,7 @@ exports.DeviceCommands = {
|
|
|
10257
10290
|
CommandName.DeviceSnooze,
|
|
10258
10291
|
CommandName.DevicePanAndTilt,
|
|
10259
10292
|
],
|
|
10293
|
+
[DeviceType.NVR_S4_MAX]: [],
|
|
10260
10294
|
};
|
|
10261
10295
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10262
10296
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -10292,6 +10326,16 @@ exports.StationCommands = {
|
|
|
10292
10326
|
CommandName.StationDatabaseCountByDate,
|
|
10293
10327
|
CommandName.StationDatabaseDelete,
|
|
10294
10328
|
],
|
|
10329
|
+
[DeviceType.NVR_S4_MAX]: [
|
|
10330
|
+
CommandName.StationReboot,
|
|
10331
|
+
CommandName.StationTriggerAlarmSound,
|
|
10332
|
+
CommandName.StationDownloadImage,
|
|
10333
|
+
CommandName.StationDatabaseQueryLatestInfo,
|
|
10334
|
+
CommandName.StationDatabaseQueryByDate,
|
|
10335
|
+
CommandName.StationDatabaseQueryLocal,
|
|
10336
|
+
CommandName.StationDatabaseCountByDate,
|
|
10337
|
+
CommandName.StationDatabaseDelete,
|
|
10338
|
+
],
|
|
10295
10339
|
[DeviceType.MINIBASE_CHIME]: [
|
|
10296
10340
|
CommandName.StationReboot,
|
|
10297
10341
|
CommandName.StationTriggerAlarmSound,
|