eufy-security-client 3.8.0-dev.24 → 3.8.0-dev.28
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 +48 -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 +6693 -6638
- package/coverage/coverage-final.json +21 -21
- package/coverage/lcov-report/index.html +33 -33
- package/coverage/lcov.info +12516 -11194
- package/package.json +5 -5
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";
|
|
@@ -988,6 +989,7 @@ exports.GenericTypeProperty = {
|
|
|
988
989
|
46: "Outdoor Camera 1080P",
|
|
989
990
|
47: "Floodlight Camera E340",
|
|
990
991
|
48: "Solo Camera S340",
|
|
992
|
+
49: "eufyCam E40 (T8144)",
|
|
991
993
|
50: "Lock Basic",
|
|
992
994
|
51: "Lock Advanced",
|
|
993
995
|
52: "Lock Basic No Finger",
|
|
@@ -1010,6 +1012,7 @@ exports.GenericTypeProperty = {
|
|
|
1010
1012
|
93: "Video Doorbell Dual (Wired)",
|
|
1011
1013
|
94: "Video Doorbell Dual (E340)",
|
|
1012
1014
|
95: "Video Doorbell (C30)",
|
|
1015
|
+
96: "Video Doorbell (C31)",
|
|
1013
1016
|
98: "SoloCam E42 (T8173)",
|
|
1014
1017
|
100: "Indoor Cost Down Camera",
|
|
1015
1018
|
101: "Camera Gun",
|
|
@@ -1033,15 +1036,18 @@ exports.GenericTypeProperty = {
|
|
|
1033
1036
|
159: "SmartTrack Card (T87B2)",
|
|
1034
1037
|
180: "Smart Lock C210 (T8502)",
|
|
1035
1038
|
184: "Smart Lock C220 (T8506)",
|
|
1039
|
+
189: "Security Video Smart Lock E330 (T8531)",
|
|
1036
1040
|
201: "Smart Lock C33 (T85L0)",
|
|
1037
1041
|
202: "Smart Lock C30 (T85D0)",
|
|
1038
1042
|
203: "FamiLock S3 (T85V0)",
|
|
1039
1043
|
209: "FamiLock E34 (T85P0)",
|
|
1044
|
+
300: "NVR S4 Max (T8N00)",
|
|
1040
1045
|
301: "PoE Bullet-PTZ Cam S4 (T8E00)",
|
|
1041
1046
|
10005: "Solar Wall Light Cam S120 (T81A0)",
|
|
1042
1047
|
10008: "Indoor Cam C220 (T8W11C)",
|
|
1043
1048
|
10009: "Indoor Cam C210 (T8419)",
|
|
1044
1049
|
10010: "Indoor Cam C220 (T8W11C)",
|
|
1050
|
+
10011: "Indoor Cam C220 (T8419N)",
|
|
1045
1051
|
10035: "eufyCam C35 (T8110)",
|
|
1046
1052
|
},
|
|
1047
1053
|
};
|
|
@@ -8251,7 +8257,9 @@ exports.DeviceProperties = {
|
|
|
8251
8257
|
[PropertyName.DeviceState]: exports.DeviceStateProperty,
|
|
8252
8258
|
[PropertyName.DeviceMotionDetected]: exports.DeviceMotionDetectedProperty,
|
|
8253
8259
|
[PropertyName.DevicePersonDetected]: exports.DevicePersonDetectedProperty,
|
|
8260
|
+
[PropertyName.DevicePersonName]: exports.DevicePersonNameProperty,
|
|
8254
8261
|
[PropertyName.DeviceVehicleDetected]: exports.DeviceVehicleDetectedProperty,
|
|
8262
|
+
[PropertyName.DeviceStrangerPersonDetected]: exports.DeviceStrangerPersonDetectedProperty,
|
|
8255
8263
|
[PropertyName.DeviceStatusLed]: exports.DeviceStatusLedProperty,
|
|
8256
8264
|
[PropertyName.DeviceLight]: exports.DeviceFloodlightLightProperty,
|
|
8257
8265
|
[PropertyName.DeviceLightSettingsBrightnessManual]: exports.DeviceFloodlightLightSettingsBrightnessManualProperty,
|
|
@@ -8299,6 +8307,9 @@ exports.DeviceProperties = {
|
|
|
8299
8307
|
[PropertyName.DeviceDetectionStatisticsDetectedEvents]: exports.DeviceDetectionStatisticsDetectedEventsProperty,
|
|
8300
8308
|
[PropertyName.DeviceDetectionStatisticsRecordedEvents]: exports.DeviceDetectionStatisticsRecordedEventsProperty,
|
|
8301
8309
|
},
|
|
8310
|
+
[DeviceType.NVR_S4_MAX]: {
|
|
8311
|
+
...exports.GenericDeviceProperties,
|
|
8312
|
+
},
|
|
8302
8313
|
};
|
|
8303
8314
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
8304
8315
|
exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceProperties[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -8898,6 +8909,32 @@ exports.StationProperties = {
|
|
|
8898
8909
|
[PropertyName.StationCrossTrackingCameraList]: exports.StationCrossTrackingCameraListProperty,
|
|
8899
8910
|
[PropertyName.StationCrossTrackingGroupList]: exports.StationCrossTrackingGroupListProperty,
|
|
8900
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
|
+
},
|
|
8901
8938
|
[DeviceType.INDOOR_CAMERA]: {
|
|
8902
8939
|
...exports.BaseStationProperties,
|
|
8903
8940
|
[PropertyName.StationLANIpAddress]: exports.StationLanIpAddressStandaloneProperty,
|
|
@@ -10253,6 +10290,7 @@ exports.DeviceCommands = {
|
|
|
10253
10290
|
CommandName.DeviceSnooze,
|
|
10254
10291
|
CommandName.DevicePanAndTilt,
|
|
10255
10292
|
],
|
|
10293
|
+
[DeviceType.NVR_S4_MAX]: [],
|
|
10256
10294
|
};
|
|
10257
10295
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V2] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
10258
10296
|
exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220_V3] = exports.DeviceCommands[DeviceType.INDOOR_PT_CAMERA_C220];
|
|
@@ -10288,6 +10326,16 @@ exports.StationCommands = {
|
|
|
10288
10326
|
CommandName.StationDatabaseCountByDate,
|
|
10289
10327
|
CommandName.StationDatabaseDelete,
|
|
10290
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
|
+
],
|
|
10291
10339
|
[DeviceType.MINIBASE_CHIME]: [
|
|
10292
10340
|
CommandName.StationReboot,
|
|
10293
10341
|
CommandName.StationTriggerAlarmSound,
|