eufy-security-client-fork
Version:
Client to comunicate with Eufy-Security devices
497 lines • 284 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeviceStatusLedIndoorFloodProperty = exports.DeviceStatusLedProperty = exports.DeviceEnabledSoloProperty = exports.DeviceEnabledStandaloneProperty = exports.DeviceEnabledProperty = exports.DeviceWifiRSSISmartSafeProperty = exports.DeviceWifiRSSIKeypadProperty = exports.DeviceWifiRSSIEntrySensorProperty = exports.DeviceWifiRSSILockProperty = exports.DeviceWifiSignalLevelProperty = exports.DeviceWifiRSSIProperty = exports.DeviceNightvisionProperty = exports.DeviceAutoNightvisionWiredDoorbellProperty = exports.DeviceAutoNightvisionProperty = exports.DeviceAntitheftDetectionProperty = exports.DeviceBatteryIsChargingKeypadProperty = exports.DeviceBatteryTempProperty = exports.DeviceBatteryLowSensorProperty = exports.DeviceBatteryLowKeypadProperty = exports.DeviceBatteryLowMotionSensorProperty = exports.DeviceBatteryLockProperty = exports.DeviceBatteryProperty = exports.GenericDeviceProperties = exports.BaseDeviceProperties = exports.GenericTypeProperty = exports.GenericSWVersionProperty = exports.GenericHWVersionProperty = exports.DeviceSerialNumberProperty = exports.DeviceModelProperty = exports.DeviceNameProperty = exports.PropertyName = exports.DeviceEvent = exports.DualCamStreamMode = exports.VideoTypeStoreToNAS = exports.MotionDetectionMode = exports.WifiSignalLevel = exports.TimeFormat = exports.NotificationSwitchMode = exports.AlarmTone = exports.NotificationType = exports.FloodlightMotionTriggeredDistance = exports.PublicKeyType = exports.PowerSource = exports.StorageType = exports.VerfyCodeTypes = exports.ResponseErrorCode = exports.GuardMode = exports.AlarmMode = exports.ParamType = exports.DeviceType = void 0;
exports.DeviceMotionZoneProperty = exports.DeviceHiddenMotionDetectionModeWiredDoorbellProperty = exports.DeviceHiddenMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityFloodlightT8420Property = exports.DeviceMotionDetectionSensitivitySoloProperty = exports.DeviceMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityBatteryDoorbellProperty = exports.DeviceMotionDetectionSensitivityIndoorProperty = exports.DeviceMotionDetectionSensitivityCamera1Property = exports.DeviceMotionDetectionSensitivityCamera2Property = exports.DeviceMotionDetectionTypeIndoorMiniProperty = exports.DeviceMotionDetectionTypeIndoorProperty = exports.DeviceMotionDetectionTypeFloodlightProperty = exports.DeviceMotionDetectionTypeFloodlightT8423Property = exports.DeviceMotionDetectionCamera1Property = exports.DeviceMotionDetectionTypeProperty = exports.DevicePictureUrlProperty = exports.DeviceAdvancedLockStatusProperty = exports.DeviceBasicLockStatusProperty = exports.DeviceMotionSensorPIREventProperty = exports.DeviceSensorChangeTimeProperty = exports.DeviceSensorOpenProperty = exports.DeviceRingingProperty = exports.DeviceCryingDetectedProperty = exports.DeviceSoundDetectedProperty = exports.DevicePetDetectedProperty = exports.DevicePersonDetectedProperty = exports.DeviceMotionDetectedProperty = exports.DeviceLockedSmartSafeProperty = exports.DeviceLockedProperty = exports.DeviceBatteryUsageLastWeekProperty = exports.DeviceLastChargingFalseEventsProperty = exports.DeviceLastChargingRecordedEventsProperty = exports.DeviceLastChargingTotalEventsProperty = exports.DeviceLastChargingDaysProperty = exports.DeviceStateLockProperty = exports.DeviceStateProperty = exports.DeviceWatermarkBatteryDoorbellCamera1Property = exports.DeviceWatermarkSoloWiredDoorbellProperty = exports.DeviceWatermarkIndoorFloodProperty = exports.DeviceWatermarkProperty = exports.DeviceRTSPStreamUrlProperty = exports.DeviceRTSPStreamProperty = exports.DevicePetDetectionProperty = exports.DeviceSoundDetectionProperty = exports.DeviceMotionDetectionDoorbellProperty = exports.DeviceMotionDetectionIndoorSoloFloodProperty = exports.DeviceMotionDetectionProperty = exports.DeviceStatusLedDoorbellProperty = exports.DeviceStatusLedBatteryDoorbellProperty = void 0;
exports.DeviceNotificationTypeBatteryDoorbellProperty = exports.DeviceNotificationTypeIndoorFloodlightProperty = exports.DeviceNotificationTypeProperty = exports.DeviceChimeHomebaseRingtoneTypeBatteryDoorbellProperty = exports.DeviceChimeHomebaseRingtoneVolumeBatteryDoorbellProperty = exports.DeviceChimeHomebaseBatteryDoorbellProperty = exports.DeviceChimeIndoorWiredDoorbellProperty = exports.DeviceChimeIndoorBatteryDoorbellProperty = exports.DeviceWDRProperty = exports.DeviceVideoRecordingQualityCamera2CProProperty = exports.DeviceVideoRecordingQualityProperty = exports.DeviceVideoRecordingQualityWiredDoorbellProperty = exports.DeviceVideoRecordingQualityIndoorProperty = exports.DeviceVideoStreamingQualitySoloProperty = exports.DeviceVideoStreamingQualityCameraProperty = exports.DeviceVideoStreamingQualityBatteryDoorbellProperty = exports.DeviceVideoStreamingQualityProperty = exports.DeviceRecordingEndClipMotionStopsProperty = exports.DeviceRecordingRetriggerIntervalFloodlightProperty = exports.DeviceRecordingRetriggerIntervalBatteryDoorbellProperty = exports.DeviceRecordingRetriggerIntervalProperty = exports.DeviceRecordingClipLengthFloodlightProperty = exports.DeviceRecordingClipLengthProperty = exports.DeviceChargingStatusProperty = exports.DevicePowerWorkingModeBatteryDoorbellProperty = exports.DevicePowerWorkingModeProperty = exports.DevicePowerSourceProperty = exports.DeviceRingtoneVolumeWiredDoorbellProperty = exports.DeviceRingtoneVolumeBatteryDoorbellProperty = exports.DeviceSpeakerVolumeFloodlightT8420Property = exports.DeviceSpeakerVolumeWiredDoorbellProperty = exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty = exports.DeviceSpeakerVolumeSoloProperty = exports.DeviceSpeakerVolumeProperty = exports.DeviceMotionTrackingProperty = exports.DeviceAudioRecordingFloodlightT8420Property = exports.DeviceAudioRecordingWiredDoorbellProperty = exports.DeviceAudioRecordingIndoorSoloFloodlightProperty = exports.DeviceAudioRecordingProperty = exports.DeviceSpeakerProperty = exports.DeviceMicrophoneProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredTimerProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredDistanceProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredProperty = exports.DeviceFloodlightLightSettingsBrightnessScheduleProperty = exports.DeviceFloodlightLightSettingsBrightnessMotionProperty = exports.DeviceCameraLightSettingsBrightnessManualProperty = exports.DeviceFloodlightLightSettingsBrightnessManualProperty = exports.DeviceFloodlightLightSettingsEnableProperty = exports.DeviceFloodlightLightProperty = void 0;
exports.DeviceScramblePasscodeSmartSafeProperty = exports.DeviceScramblePasscodeProperty = exports.DeviceWrongTryAttemptsSmartSafeProperty = exports.DeviceWrongTryAttemptsProperty = exports.DeviceWrongTryLockdownTimeSmartSafeProperty = exports.DeviceWrongTryLockdownTimeProperty = exports.DeviceWrongTryProtectionSmartSafeProperty = exports.DeviceWrongTryProtectionProperty = exports.DeviceOneTouchLockingProperty = exports.DeviceAutoLockScheduleEndTimeProperty = exports.DeviceAutoLockScheduleStartTimeProperty = exports.DeviceAutoLockScheduleProperty = exports.DeviceAutoLockTimerProperty = exports.DeviceAutoLockProperty = exports.DeviceAutoCalibrationProperty = exports.DeviceVideoColorNightvisionProperty = exports.DeviceVideoNightvisionImageAdjustmentProperty = exports.DeviceLightSettingsMotionActivationModeProperty = exports.DeviceLightSettingsColorTemperatureScheduleProperty = exports.DeviceLightSettingsColorTemperatureMotionProperty = exports.DeviceLightSettingsColorTemperatureManualProperty = exports.DeviceMotionOutOfViewDetectionProperty = exports.DeviceMotionAutoCruiseProperty = exports.DeviceMotionTrackingSensitivityProperty = exports.DeviceMotionDetectionTestModeProperty = exports.DeviceMotionDetectionRangeAdvancedRightSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedMiddleSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedLeftSensitivityProperty = exports.DeviceMotionDetectionRangeStandardSensitivityProperty = exports.DeviceMotionDetectionRangeProperty = exports.DeviceVideoRingRecordWiredDoorbellProperty = exports.DeviceVideoDistortionCorrectionWiredDoorbellProperty = exports.DeviceVideoHDRWiredDoorbellProperty = exports.DeviceChirpToneEntrySensorProperty = exports.DeviceChirpVolumeEntrySensorProperty = exports.DeviceNotificationMotionWiredDoorbellProperty = exports.DeviceNotificationRadarDetectorProperty = exports.DeviceNotificationMotionProperty = exports.DeviceNotificationRingWiredDoorbellProperty = exports.DeviceNotificationRingProperty = exports.DeviceNotificationCryingProperty = exports.DeviceNotificationAllSoundProperty = exports.DeviceNotificationAllOtherMotionProperty = exports.DeviceNotificationPetProperty = exports.DeviceNotificationPersonProperty = exports.DeviceSoundDetectionSensitivityProperty = exports.DeviceSoundDetectionTypeProperty = exports.DeviceImageMirroredProperty = exports.DeviceRotationSpeedProperty = exports.DeviceNotificationTypeWiredDoorbellProperty = void 0;
exports.DevicePackageDeliveredProperty = exports.StationOffSecuritySettings = exports.StationCustom3SecuritySettings = exports.StationCustom2SecuritySettings = exports.StationCustom1SecuritySettings = exports.StationAwaySecuritySettings = exports.StationHomeSecuritySettings = exports.DeviceSoundDetectionRoundLookProperty = exports.DeviceNotificationIntervalTimeProperty = exports.DeviceDefaultAngleIdleTimeProperty = exports.DeviceDefaultAngleProperty = exports.DeviceContinuousRecordingTypeProperty = exports.DeviceContinuousRecordingProperty = exports.DeviceRingAutoResponseTimeToProperty = exports.DeviceRingAutoResponseTimeFromProperty = exports.DeviceRingAutoResponseVoiceResponseVoiceProperty = exports.DeviceRingAutoResponseVoiceResponseProperty = exports.DeviceRingAutoResponseProperty = exports.DeviceDualCamWatchViewModeProperty = exports.DeviceDeliveryGuardPackageLiveCheckAssistanceProperty = exports.DeviceDeliveryGuardUncollectedPackageAlertTimeToCheckProperty = exports.DeviceDeliveryGuardUncollectedPackageAlertProperty = exports.DeviceDeliveryGuardPackageGuardingActivatedTimeToProperty = exports.DeviceDeliveryGuardPackageGuardingActivatedTimeFromProperty = exports.DeviceDeliveryGuardPackageGuardingVoiceResponseVoiceProperty = exports.DeviceDeliveryGuardPackageGuardingProperty = exports.DeviceDeliveryGuardProperty = exports.DeviceLoiteringCustomResponseTimeToProperty = exports.DeviceLoiteringCustomResponseTimeFromProperty = exports.DeviceLoiteringCustomResponseHomeBaseNotificationProperty = exports.DeviceLoiteringCustomResponseAutoVoiceResponseVoiceProperty = exports.DeviceLoiteringCustomResponseAutoVoiceResponseProperty = exports.DeviceLoiteringCustomResponsePhoneNotificationProperty = exports.DeviceMotionDetectionSensitivityAdvancedHProperty = exports.DeviceMotionDetectionSensitivityAdvancedGProperty = exports.DeviceMotionDetectionSensitivityAdvancedFProperty = exports.DeviceMotionDetectionSensitivityAdvancedEProperty = exports.DeviceMotionDetectionSensitivityAdvancedDProperty = exports.DeviceMotionDetectionSensitivityAdvancedCProperty = exports.DeviceMotionDetectionSensitivityAdvancedBProperty = exports.DeviceMotionDetectionSensitivityAdvancedAProperty = exports.DeviceMotionDetectionSensitivityStandardProperty = exports.DeviceMotionDetectionSensitivityModeProperty = exports.DeviceLoiteringDetectionLengthProperty = exports.DeviceLoiteringDetectionRangeProperty = exports.DeviceLoiteringDetectionProperty = exports.DeviceNotificationLockedProperty = exports.DeviceNotificationUnlockedProperty = exports.DeviceNotificationProperty = exports.DeviceSoundProperty = void 0;
exports.StationPromptVolumeProperty = exports.StationAlarmVolumeProperty = exports.StationMacAddressProperty = exports.StationLanIpAddressStandaloneProperty = exports.StationLanIpAddressProperty = exports.StationCurrentModeKeyPadProperty = exports.StationCurrentModeProperty = exports.StationGuardModeKeyPadProperty = exports.StationGuardModeProperty = exports.BaseStationProperties = exports.StationSerialNumberProperty = exports.StationModelProperty = exports.StationNameProperty = exports.DeviceProperties = exports.DevicePersonNameProperty = exports.DeviceHiddenSnoozeStartTimeProperty = exports.DeviceSnoozeTimeProperty = exports.DeviceSnoozeProperty = exports.DeviceVideoTypeStoreToNASProperty = exports.DeviceWrongTryProtectAlertProperty = exports.DeviceLongTimeNotCloseAlertProperty = exports.DeviceLowBatteryAlertProperty = exports.DeviceShakeAlertEventProperty = exports.DeviceShakeAlertProperty = exports.Device911AlertEventProperty = exports.Device911AlertProperty = exports.DeviceJammedAlertProperty = exports.DeviceNotificationJammedProperty = exports.DeviceNotificationWrongTryProtectProperty = exports.DeviceNotificationDualLockProperty = exports.DeviceNotificationDualUnlockProperty = exports.DeviceNotificationUnlockByAppProperty = exports.DeviceNotificationUnlockByFingerprintProperty = exports.DeviceNotificationUnlockByPINProperty = exports.DeviceNotificationUnlockByKeyProperty = exports.DeviceAlarmVolumeProperty = exports.DevicePromptVolumeProperty = exports.DeviceRemoteUnlockMasterPINProperty = exports.DeviceRemoteUnlockProperty = exports.DeviceTamperAlarmProperty = exports.DeviceInteriorBrightnessDurationProperty = exports.DeviceInteriorBrightnessProperty = exports.DevicePowerSaveProperty = exports.DeviceDualUnlockProperty = exports.DeviceLeftOpenAlarmDurationProperty = exports.DeviceLeftOpenAlarmProperty = exports.DeviceRadarMotionDetectedProperty = exports.DeviceSomeoneLoiteringProperty = exports.DevicePackageTakenProperty = exports.DevicePackageStrandedProperty = void 0;
exports.StationCommands = exports.DeviceCommands = exports.CommandName = exports.StationProperties = exports.StationTurnOffAlarmWithButtonProperty = exports.StationAutoEndAlarmProperty = exports.StationSwitchModeWithAccessCodeProperty = exports.StationTimeFormatProperty = exports.StationNotificationStartAlarmDelayProperty = exports.StationNotificationSwitchModeKeypadProperty = exports.StationNotificationSwitchModeAppProperty = exports.StationNotificationSwitchModeGeofenceProperty = exports.StationNotificationSwitchModeScheduleProperty = exports.StationAlarmToneProperty = void 0;
const types_1 = require("../p2p/types");
var DeviceType;
(function (DeviceType) {
//List retrieved from com.oceanwing.battery.cam.binder.model.QueryDeviceData
DeviceType[DeviceType["STATION"] = 0] = "STATION";
DeviceType[DeviceType["CAMERA"] = 1] = "CAMERA";
DeviceType[DeviceType["SENSOR"] = 2] = "SENSOR";
DeviceType[DeviceType["FLOODLIGHT"] = 3] = "FLOODLIGHT";
DeviceType[DeviceType["CAMERA_E"] = 4] = "CAMERA_E";
DeviceType[DeviceType["DOORBELL"] = 5] = "DOORBELL";
DeviceType[DeviceType["BATTERY_DOORBELL"] = 7] = "BATTERY_DOORBELL";
DeviceType[DeviceType["CAMERA2C"] = 8] = "CAMERA2C";
DeviceType[DeviceType["CAMERA2"] = 9] = "CAMERA2";
DeviceType[DeviceType["MOTION_SENSOR"] = 10] = "MOTION_SENSOR";
DeviceType[DeviceType["KEYPAD"] = 11] = "KEYPAD";
DeviceType[DeviceType["CAMERA2_PRO"] = 14] = "CAMERA2_PRO";
DeviceType[DeviceType["CAMERA2C_PRO"] = 15] = "CAMERA2C_PRO";
DeviceType[DeviceType["BATTERY_DOORBELL_2"] = 16] = "BATTERY_DOORBELL_2";
DeviceType[DeviceType["INDOOR_CAMERA"] = 30] = "INDOOR_CAMERA";
DeviceType[DeviceType["INDOOR_PT_CAMERA"] = 31] = "INDOOR_PT_CAMERA";
DeviceType[DeviceType["SOLO_CAMERA"] = 32] = "SOLO_CAMERA";
DeviceType[DeviceType["SOLO_CAMERA_PRO"] = 33] = "SOLO_CAMERA_PRO";
DeviceType[DeviceType["INDOOR_CAMERA_1080"] = 34] = "INDOOR_CAMERA_1080";
DeviceType[DeviceType["INDOOR_PT_CAMERA_1080"] = 35] = "INDOOR_PT_CAMERA_1080";
DeviceType[DeviceType["FLOODLIGHT_CAMERA_8422"] = 37] = "FLOODLIGHT_CAMERA_8422";
DeviceType[DeviceType["FLOODLIGHT_CAMERA_8423"] = 38] = "FLOODLIGHT_CAMERA_8423";
DeviceType[DeviceType["FLOODLIGHT_CAMERA_8424"] = 39] = "FLOODLIGHT_CAMERA_8424";
DeviceType[DeviceType["INDOOR_OUTDOOR_CAMERA_1080P_NO_LIGHT"] = 44] = "INDOOR_OUTDOOR_CAMERA_1080P_NO_LIGHT";
DeviceType[DeviceType["INDOOR_OUTDOOR_CAMERA_2K"] = 45] = "INDOOR_OUTDOOR_CAMERA_2K";
DeviceType[DeviceType["INDOOR_OUTDOOR_CAMERA_1080P"] = 46] = "INDOOR_OUTDOOR_CAMERA_1080P";
DeviceType[DeviceType["LOCK_BLE"] = 50] = "LOCK_BLE";
DeviceType[DeviceType["LOCK_WIFI"] = 51] = "LOCK_WIFI";
DeviceType[DeviceType["LOCK_BLE_NO_FINGER"] = 52] = "LOCK_BLE_NO_FINGER";
DeviceType[DeviceType["LOCK_WIFI_NO_FINGER"] = 53] = "LOCK_WIFI_NO_FINGER";
DeviceType[DeviceType["LOCK_8503"] = 54] = "LOCK_8503";
DeviceType[DeviceType["LOCK_8530"] = 55] = "LOCK_8530";
DeviceType[DeviceType["LOCK_85A3"] = 56] = "LOCK_85A3";
DeviceType[DeviceType["LOCK_8592"] = 57] = "LOCK_8592";
DeviceType[DeviceType["LOCK_8504"] = 58] = "LOCK_8504";
DeviceType[DeviceType["SOLO_CAMERA_SPOTLIGHT_1080"] = 60] = "SOLO_CAMERA_SPOTLIGHT_1080";
DeviceType[DeviceType["SOLO_CAMERA_SPOTLIGHT_2K"] = 61] = "SOLO_CAMERA_SPOTLIGHT_2K";
DeviceType[DeviceType["SOLO_CAMERA_SPOTLIGHT_SOLAR"] = 62] = "SOLO_CAMERA_SPOTLIGHT_SOLAR";
DeviceType[DeviceType["SMART_DROP"] = 90] = "SMART_DROP";
DeviceType[DeviceType["BATTERY_DOORBELL_PLUS"] = 91] = "BATTERY_DOORBELL_PLUS";
DeviceType[DeviceType["DOORBELL_SOLO"] = 93] = "DOORBELL_SOLO";
DeviceType[DeviceType["INDOOR_COST_DOWN_CAMERA"] = 100] = "INDOOR_COST_DOWN_CAMERA";
DeviceType[DeviceType["CAMERA_GUN"] = 101] = "CAMERA_GUN";
DeviceType[DeviceType["CAMERA_SNAIL"] = 102] = "CAMERA_SNAIL";
DeviceType[DeviceType["CAMERA_FG"] = 110] = "CAMERA_FG";
DeviceType[DeviceType["SMART_SAFE_7400"] = 140] = "SMART_SAFE_7400";
DeviceType[DeviceType["SMART_SAFE_7401"] = 141] = "SMART_SAFE_7401";
DeviceType[DeviceType["SMART_SAFE_7402"] = 142] = "SMART_SAFE_7402";
DeviceType[DeviceType["SMART_SAFE_7403"] = 143] = "SMART_SAFE_7403";
})(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
var ParamType;
(function (ParamType) {
//List retrieved from com.oceanwing.battery.cam.binder.model.CameraParams
ParamType[ParamType["CHIME_STATE"] = 2015] = "CHIME_STATE";
ParamType[ParamType["DETECT_EXPOSURE"] = 2023] = "DETECT_EXPOSURE";
ParamType[ParamType["DETECT_MODE"] = 2004] = "DETECT_MODE";
ParamType[ParamType["DETECT_MOTION_SENSITIVE"] = 2005] = "DETECT_MOTION_SENSITIVE";
ParamType[ParamType["DETECT_SCENARIO"] = 2028] = "DETECT_SCENARIO";
ParamType[ParamType["DETECT_SWITCH"] = 2027] = "DETECT_SWITCH";
ParamType[ParamType["DETECT_ZONE"] = 2006] = "DETECT_ZONE";
ParamType[ParamType["DOORBELL_AUDIO_RECODE"] = 2042] = "DOORBELL_AUDIO_RECODE";
ParamType[ParamType["DOORBELL_BRIGHTNESS"] = 2032] = "DOORBELL_BRIGHTNESS";
ParamType[ParamType["DOORBELL_DISTORTION"] = 2033] = "DOORBELL_DISTORTION";
ParamType[ParamType["DOORBELL_HDR"] = 2029] = "DOORBELL_HDR";
ParamType[ParamType["DOORBELL_IR_MODE"] = 2030] = "DOORBELL_IR_MODE";
ParamType[ParamType["DOORBELL_LED_NIGHT_MODE"] = 2039] = "DOORBELL_LED_NIGHT_MODE";
ParamType[ParamType["DOORBELL_MOTION_ADVANCE_OPTION"] = 2041] = "DOORBELL_MOTION_ADVANCE_OPTION";
ParamType[ParamType["DOORBELL_MOTION_NOTIFICATION"] = 2035] = "DOORBELL_MOTION_NOTIFICATION";
ParamType[ParamType["DOORBELL_NOTIFICATION_JUMP_MODE"] = 2038] = "DOORBELL_NOTIFICATION_JUMP_MODE";
ParamType[ParamType["DOORBELL_NOTIFICATION_OPEN"] = 2036] = "DOORBELL_NOTIFICATION_OPEN";
ParamType[ParamType["DOORBELL_RECORD_QUALITY"] = 2034] = "DOORBELL_RECORD_QUALITY";
ParamType[ParamType["DOORBELL_RING_RECORD"] = 2040] = "DOORBELL_RING_RECORD";
ParamType[ParamType["DOORBELL_SNOOZE_START_TIME"] = 2037] = "DOORBELL_SNOOZE_START_TIME";
ParamType[ParamType["DOORBELL_VIDEO_QUALITY"] = 2031] = "DOORBELL_VIDEO_QUALITY";
ParamType[ParamType["NIGHT_VISUAL"] = 2002] = "NIGHT_VISUAL";
ParamType[ParamType["OPEN_DEVICE"] = 2001] = "OPEN_DEVICE";
ParamType[ParamType["RINGING_VOLUME"] = 2022] = "RINGING_VOLUME";
ParamType[ParamType["SDCARD"] = 2010] = "SDCARD";
ParamType[ParamType["UN_DETECT_ZONE"] = 2007] = "UN_DETECT_ZONE";
ParamType[ParamType["VOLUME"] = 2003] = "VOLUME";
ParamType[ParamType["COMMAND_LED_NIGHT_OPEN"] = 1026] = "COMMAND_LED_NIGHT_OPEN";
ParamType[ParamType["COMMAND_MOTION_DETECTION_PACKAGE"] = 1016] = "COMMAND_MOTION_DETECTION_PACKAGE";
ParamType[ParamType["COMMAND_HDR"] = 1019] = "COMMAND_HDR";
ParamType[ParamType["COMMAND_DISTORTION_CORRECTION"] = 1022] = "COMMAND_DISTORTION_CORRECTION";
ParamType[ParamType["COMMAND_VIDEO_QUALITY"] = 1020] = "COMMAND_VIDEO_QUALITY";
ParamType[ParamType["COMMAND_VIDEO_RECORDING_QUALITY"] = 1023] = "COMMAND_VIDEO_RECORDING_QUALITY";
ParamType[ParamType["COMMAND_VIDEO_RING_RECORD"] = 1027] = "COMMAND_VIDEO_RING_RECORD";
ParamType[ParamType["COMMAND_AUDIO_RECORDING"] = 1029] = "COMMAND_AUDIO_RECORDING";
ParamType[ParamType["COMMAND_INDOOR_CHIME"] = 1006] = "COMMAND_INDOOR_CHIME";
ParamType[ParamType["COMMAND_RINGTONE_VOLUME"] = 1012] = "COMMAND_RINGTONE_VOLUME";
ParamType[ParamType["COMMAND_NOTIFICATION_RING"] = 1031] = "COMMAND_NOTIFICATION_RING";
ParamType[ParamType["COMMAND_NOTIFICATION_TYPE"] = 1030] = "COMMAND_NOTIFICATION_TYPE";
ParamType[ParamType["COMMAND_QUICK_RESPONSE"] = 1004] = "COMMAND_QUICK_RESPONSE";
ParamType[ParamType["COMMAND_START_LIVESTREAM"] = 1000] = "COMMAND_START_LIVESTREAM";
ParamType[ParamType["COMMAND_STREAM_INFO"] = 1005] = "COMMAND_STREAM_INFO";
ParamType[ParamType["COMMAND_VOLTAGE_INFO"] = 1015] = "COMMAND_VOLTAGE_INFO";
// Inferred from source
ParamType[ParamType["SNOOZE_MODE"] = 1271] = "SNOOZE_MODE";
ParamType[ParamType["WATERMARK_MODE"] = 1214] = "WATERMARK_MODE";
ParamType[ParamType["DEVICE_UPGRADE_NOW"] = 1134] = "DEVICE_UPGRADE_NOW";
ParamType[ParamType["CAMERA_UPGRADE_NOW"] = 1133] = "CAMERA_UPGRADE_NOW";
ParamType[ParamType["DEFAULT_SCHEDULE_MODE"] = 1257] = "DEFAULT_SCHEDULE_MODE";
ParamType[ParamType["GUARD_MODE"] = 1224] = "GUARD_MODE";
ParamType[ParamType["FLOODLIGHT_MANUAL_SWITCH"] = 1400] = "FLOODLIGHT_MANUAL_SWITCH";
ParamType[ParamType["FLOODLIGHT_MANUAL_BRIGHTNESS"] = 1401] = "FLOODLIGHT_MANUAL_BRIGHTNESS";
ParamType[ParamType["FLOODLIGHT_MOTION_BRIGHTNESS"] = 1412] = "FLOODLIGHT_MOTION_BRIGHTNESS";
ParamType[ParamType["FLOODLIGHT_SCHEDULE_BRIGHTNESS"] = 1413] = "FLOODLIGHT_SCHEDULE_BRIGHTNESS";
ParamType[ParamType["FLOODLIGHT_MOTION_SENSITIVTY"] = 1272] = "FLOODLIGHT_MOTION_SENSITIVTY";
ParamType[ParamType["CAMERA_SPEAKER_VOLUME"] = 1230] = "CAMERA_SPEAKER_VOLUME";
ParamType[ParamType["CAMERA_RECORD_ENABLE_AUDIO"] = 1366] = "CAMERA_RECORD_ENABLE_AUDIO";
ParamType[ParamType["CAMERA_RECORD_RETRIGGER_INTERVAL"] = 1250] = "CAMERA_RECORD_RETRIGGER_INTERVAL";
ParamType[ParamType["CAMERA_RECORD_CLIP_LENGTH"] = 1249] = "CAMERA_RECORD_CLIP_LENGTH";
ParamType[ParamType["CAMERA_IR_CUT"] = 1013] = "CAMERA_IR_CUT";
ParamType[ParamType["CAMERA_PIR"] = 1011] = "CAMERA_PIR";
ParamType[ParamType["CAMERA_WIFI_RSSI"] = 1142] = "CAMERA_WIFI_RSSI";
ParamType[ParamType["CAMERA_MOTION_ZONES"] = 1204] = "CAMERA_MOTION_ZONES";
// Set only params?
ParamType[ParamType["PUSH_MSG_MODE"] = 1252] = "PUSH_MSG_MODE";
ParamType[ParamType["PRIVATE_MODE"] = 99904] = "PRIVATE_MODE";
ParamType[ParamType["CUSTOM_RTSP_URL"] = 999991] = "CUSTOM_RTSP_URL";
})(ParamType = exports.ParamType || (exports.ParamType = {}));
var AlarmMode;
(function (AlarmMode) {
AlarmMode[AlarmMode["AWAY"] = 0] = "AWAY";
AlarmMode[AlarmMode["HOME"] = 1] = "HOME";
AlarmMode[AlarmMode["CUSTOM1"] = 3] = "CUSTOM1";
AlarmMode[AlarmMode["CUSTOM2"] = 4] = "CUSTOM2";
AlarmMode[AlarmMode["CUSTOM3"] = 5] = "CUSTOM3";
AlarmMode[AlarmMode["DISARMED"] = 63] = "DISARMED";
})(AlarmMode = exports.AlarmMode || (exports.AlarmMode = {}));
var GuardMode;
(function (GuardMode) {
GuardMode[GuardMode["UNKNOWN"] = -1] = "UNKNOWN";
GuardMode[GuardMode["AWAY"] = 0] = "AWAY";
GuardMode[GuardMode["HOME"] = 1] = "HOME";
GuardMode[GuardMode["DISARMED"] = 63] = "DISARMED";
GuardMode[GuardMode["SCHEDULE"] = 2] = "SCHEDULE";
GuardMode[GuardMode["GEO"] = 47] = "GEO";
GuardMode[GuardMode["CUSTOM1"] = 3] = "CUSTOM1";
GuardMode[GuardMode["CUSTOM2"] = 4] = "CUSTOM2";
GuardMode[GuardMode["CUSTOM3"] = 5] = "CUSTOM3";
GuardMode[GuardMode["OFF"] = 6] = "OFF";
})(GuardMode = exports.GuardMode || (exports.GuardMode = {}));
var ResponseErrorCode;
(function (ResponseErrorCode) {
ResponseErrorCode[ResponseErrorCode["CODE_CONNECT_ERROR"] = 997] = "CODE_CONNECT_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_ERROR_PIN"] = 36006] = "CODE_ERROR_PIN";
ResponseErrorCode[ResponseErrorCode["CODE_IS_OPEN"] = 25074] = "CODE_IS_OPEN";
ResponseErrorCode[ResponseErrorCode["CODE_IS_OPEN_OTHERS"] = 25080] = "CODE_IS_OPEN_OTHERS";
ResponseErrorCode[ResponseErrorCode["CODE_MULTI_ALARM"] = 36002] = "CODE_MULTI_ALARM";
ResponseErrorCode[ResponseErrorCode["CODE_NEED_VERIFY_CODE"] = 26052] = "CODE_NEED_VERIFY_CODE";
ResponseErrorCode[ResponseErrorCode["CODE_NETWORK_ERROR"] = 998] = "CODE_NETWORK_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_PHONE_NONE_SUPPORT"] = 26058] = "CODE_PHONE_NONE_SUPPORT";
ResponseErrorCode[ResponseErrorCode["CODE_SERVER_ERROR"] = 999] = "CODE_SERVER_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_SERVER_UNDER_MAINTENANCE"] = 424] = "CODE_SERVER_UNDER_MAINTENANCE";
ResponseErrorCode[ResponseErrorCode["CODE_VERIFY_CODE_ERROR"] = 26050] = "CODE_VERIFY_CODE_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_VERIFY_CODE_EXPIRED"] = 26051] = "CODE_VERIFY_CODE_EXPIRED";
ResponseErrorCode[ResponseErrorCode["CODE_VERIFY_CODE_MAX"] = 26053] = "CODE_VERIFY_CODE_MAX";
ResponseErrorCode[ResponseErrorCode["CODE_VERIFY_CODE_NONE_MATCH"] = 26054] = "CODE_VERIFY_CODE_NONE_MATCH";
ResponseErrorCode[ResponseErrorCode["CODE_VERIFY_PASSWORD_ERROR"] = 26055] = "CODE_VERIFY_PASSWORD_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_WHATEVER_ERROR"] = 0] = "CODE_WHATEVER_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_EMAIL_LIMIT_EXCEED"] = 25077] = "CODE_EMAIL_LIMIT_EXCEED";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_EXPIRED"] = 25075] = "CODE_GIVE_AWAY_EXPIRED";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_INVALID"] = 25076] = "CODE_GIVE_AWAY_INVALID";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_NOT_EXIST"] = 25079] = "CODE_GIVE_AWAY_NOT_EXIST";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_PACKAGE_NOT_MATCH"] = 25078] = "CODE_GIVE_AWAY_PACKAGE_NOT_MATCH";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_PACKAGE_TYPE_NOT_MATCH"] = 25080] = "CODE_GIVE_AWAY_PACKAGE_TYPE_NOT_MATCH";
ResponseErrorCode[ResponseErrorCode["CODE_GIVE_AWAY_RECORD_EXIST"] = 25074] = "CODE_GIVE_AWAY_RECORD_EXIST";
ResponseErrorCode[ResponseErrorCode["CODE_INPUT_PARAM_INVALID"] = 10000] = "CODE_INPUT_PARAM_INVALID";
ResponseErrorCode[ResponseErrorCode["CODE_MAX_FORGET_PASSWORD_ERROR"] = 100035] = "CODE_MAX_FORGET_PASSWORD_ERROR";
ResponseErrorCode[ResponseErrorCode["CODE_MAX_LOGIN_LIMIT"] = 100028] = "CODE_MAX_LOGIN_LIMIT";
ResponseErrorCode[ResponseErrorCode["CODE_MAX_REGISTER_ERROR"] = 100034] = "CODE_MAX_REGISTER_ERROR";
ResponseErrorCode[ResponseErrorCode["EMAIL_NOT_REGISTERED_ERROR"] = 22008] = "EMAIL_NOT_REGISTERED_ERROR";
ResponseErrorCode[ResponseErrorCode["LOGIN_CAPTCHA_ERROR"] = 100033] = "LOGIN_CAPTCHA_ERROR";
ResponseErrorCode[ResponseErrorCode["LOGIN_DECRYPTION_FAIL"] = 100030] = "LOGIN_DECRYPTION_FAIL";
ResponseErrorCode[ResponseErrorCode["LOGIN_ENCRYPTION_FAIL"] = 100029] = "LOGIN_ENCRYPTION_FAIL";
ResponseErrorCode[ResponseErrorCode["LOGIN_INVALID_TOUCH_ID"] = 26047] = "LOGIN_INVALID_TOUCH_ID";
ResponseErrorCode[ResponseErrorCode["LOGIN_NEED_CAPTCHA"] = 100032] = "LOGIN_NEED_CAPTCHA";
ResponseErrorCode[ResponseErrorCode["MULTIPLE_EMAIL_PASSWORD_ERROR"] = 26006] = "MULTIPLE_EMAIL_PASSWORD_ERROR";
ResponseErrorCode[ResponseErrorCode["MULTIPLE_INACTIVATED_ERROR"] = 26015] = "MULTIPLE_INACTIVATED_ERROR";
ResponseErrorCode[ResponseErrorCode["MULTIPLE_REGISTRATION_ERROR"] = 26000] = "MULTIPLE_REGISTRATION_ERROR";
ResponseErrorCode[ResponseErrorCode["RESP_ERROR_CODE_SESSION_TIMEOUT"] = 401] = "RESP_ERROR_CODE_SESSION_TIMEOUT";
ResponseErrorCode[ResponseErrorCode["CODE_REQUEST_TOO_FAST"] = 250999] = "CODE_REQUEST_TOO_FAST";
})(ResponseErrorCode = exports.ResponseErrorCode || (exports.ResponseErrorCode = {}));
var VerfyCodeTypes;
(function (VerfyCodeTypes) {
VerfyCodeTypes[VerfyCodeTypes["TYPE_SMS"] = 0] = "TYPE_SMS";
VerfyCodeTypes[VerfyCodeTypes["TYPE_PUSH"] = 1] = "TYPE_PUSH";
VerfyCodeTypes[VerfyCodeTypes["TYPE_EMAIL"] = 2] = "TYPE_EMAIL";
})(VerfyCodeTypes = exports.VerfyCodeTypes || (exports.VerfyCodeTypes = {}));
var StorageType;
(function (StorageType) {
StorageType[StorageType["NONE"] = 0] = "NONE";
StorageType[StorageType["LOCAL"] = 1] = "LOCAL";
StorageType[StorageType["CLOUD"] = 2] = "CLOUD";
StorageType[StorageType["LOCAL_AND_CLOUD"] = 3] = "LOCAL_AND_CLOUD";
})(StorageType = exports.StorageType || (exports.StorageType = {}));
var PowerSource;
(function (PowerSource) {
PowerSource[PowerSource["BATTERY"] = 0] = "BATTERY";
PowerSource[PowerSource["SOLAR_PANEL"] = 1] = "SOLAR_PANEL";
})(PowerSource = exports.PowerSource || (exports.PowerSource = {}));
var PublicKeyType;
(function (PublicKeyType) {
PublicKeyType[PublicKeyType["SERVER"] = 1] = "SERVER";
PublicKeyType[PublicKeyType["LOCK"] = 2] = "LOCK";
})(PublicKeyType = exports.PublicKeyType || (exports.PublicKeyType = {}));
var FloodlightMotionTriggeredDistance;
(function (FloodlightMotionTriggeredDistance) {
FloodlightMotionTriggeredDistance[FloodlightMotionTriggeredDistance["MIN"] = 66] = "MIN";
FloodlightMotionTriggeredDistance[FloodlightMotionTriggeredDistance["LOW"] = 76] = "LOW";
FloodlightMotionTriggeredDistance[FloodlightMotionTriggeredDistance["MEDIUM"] = 86] = "MEDIUM";
FloodlightMotionTriggeredDistance[FloodlightMotionTriggeredDistance["HIGH"] = 91] = "HIGH";
FloodlightMotionTriggeredDistance[FloodlightMotionTriggeredDistance["MAX"] = 96] = "MAX";
})(FloodlightMotionTriggeredDistance = exports.FloodlightMotionTriggeredDistance || (exports.FloodlightMotionTriggeredDistance = {}));
var NotificationType;
(function (NotificationType) {
NotificationType[NotificationType["MOST_EFFICIENT"] = 1] = "MOST_EFFICIENT";
NotificationType[NotificationType["INCLUDE_THUMBNAIL"] = 2] = "INCLUDE_THUMBNAIL";
NotificationType[NotificationType["FULL_EFFECT"] = 3] = "FULL_EFFECT";
})(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
var AlarmTone;
(function (AlarmTone) {
AlarmTone[AlarmTone["ALARM_TONE1"] = 1] = "ALARM_TONE1";
AlarmTone[AlarmTone["ALARM_TONE2"] = 2] = "ALARM_TONE2";
})(AlarmTone = exports.AlarmTone || (exports.AlarmTone = {}));
var NotificationSwitchMode;
(function (NotificationSwitchMode) {
NotificationSwitchMode[NotificationSwitchMode["APP"] = 16] = "APP";
NotificationSwitchMode[NotificationSwitchMode["GEOFENCE"] = 32] = "GEOFENCE";
NotificationSwitchMode[NotificationSwitchMode["SCHEDULE"] = 64] = "SCHEDULE";
NotificationSwitchMode[NotificationSwitchMode["KEYPAD"] = 128] = "KEYPAD";
})(NotificationSwitchMode = exports.NotificationSwitchMode || (exports.NotificationSwitchMode = {}));
var TimeFormat;
(function (TimeFormat) {
TimeFormat[TimeFormat["FORMAT_12H"] = 0] = "FORMAT_12H";
TimeFormat[TimeFormat["FORMAT_24H"] = 1] = "FORMAT_24H";
})(TimeFormat = exports.TimeFormat || (exports.TimeFormat = {}));
var WifiSignalLevel;
(function (WifiSignalLevel) {
WifiSignalLevel[WifiSignalLevel["NO_SIGNAL"] = 0] = "NO_SIGNAL";
WifiSignalLevel[WifiSignalLevel["WEAK"] = 1] = "WEAK";
WifiSignalLevel[WifiSignalLevel["NORMAL"] = 2] = "NORMAL";
WifiSignalLevel[WifiSignalLevel["STRONG"] = 3] = "STRONG";
WifiSignalLevel[WifiSignalLevel["FULL"] = 4] = "FULL";
})(WifiSignalLevel = exports.WifiSignalLevel || (exports.WifiSignalLevel = {}));
var MotionDetectionMode;
(function (MotionDetectionMode) {
MotionDetectionMode[MotionDetectionMode["STANDARD"] = 0] = "STANDARD";
MotionDetectionMode[MotionDetectionMode["ADVANCED"] = 1] = "ADVANCED";
})(MotionDetectionMode = exports.MotionDetectionMode || (exports.MotionDetectionMode = {}));
var VideoTypeStoreToNAS;
(function (VideoTypeStoreToNAS) {
VideoTypeStoreToNAS[VideoTypeStoreToNAS["Events"] = 0] = "Events";
VideoTypeStoreToNAS[VideoTypeStoreToNAS["ContinuousRecording"] = 1] = "ContinuousRecording";
})(VideoTypeStoreToNAS = exports.VideoTypeStoreToNAS || (exports.VideoTypeStoreToNAS = {}));
var DualCamStreamMode;
(function (DualCamStreamMode) {
DualCamStreamMode[DualCamStreamMode["SINGLE_MAIN"] = 0] = "SINGLE_MAIN";
DualCamStreamMode[DualCamStreamMode["SINGLE_SECOND"] = 1] = "SINGLE_SECOND";
DualCamStreamMode[DualCamStreamMode["PIP_MAIN_UPPER_LEFT"] = 2] = "PIP_MAIN_UPPER_LEFT";
DualCamStreamMode[DualCamStreamMode["PIP_MAIN_UPPER_RIGHT"] = 3] = "PIP_MAIN_UPPER_RIGHT";
DualCamStreamMode[DualCamStreamMode["PIP_MAIN_LOWER_LEFT"] = 4] = "PIP_MAIN_LOWER_LEFT";
DualCamStreamMode[DualCamStreamMode["PIP_MAIN_LOWER_RIGHT"] = 5] = "PIP_MAIN_LOWER_RIGHT";
DualCamStreamMode[DualCamStreamMode["PIP_SECOND_UPPER_LEFT"] = 6] = "PIP_SECOND_UPPER_LEFT";
DualCamStreamMode[DualCamStreamMode["PIP_SECOND_UPPER_RIGHT"] = 7] = "PIP_SECOND_UPPER_RIGHT";
DualCamStreamMode[DualCamStreamMode["PIP_SECOND_LOWER_LEFT"] = 8] = "PIP_SECOND_LOWER_LEFT";
DualCamStreamMode[DualCamStreamMode["PIP_SECOND_LOWER_RIGHT"] = 9] = "PIP_SECOND_LOWER_RIGHT";
DualCamStreamMode[DualCamStreamMode["SPLICE_LEFT"] = 10] = "SPLICE_LEFT";
DualCamStreamMode[DualCamStreamMode["SPLICE_RIGHT"] = 11] = "SPLICE_RIGHT";
DualCamStreamMode[DualCamStreamMode["SPLICE_ABOVE"] = 12] = "SPLICE_ABOVE";
DualCamStreamMode[DualCamStreamMode["SPLICE_UNDER"] = 13] = "SPLICE_UNDER";
DualCamStreamMode[DualCamStreamMode["SPLICE_MIRROR"] = 14] = "SPLICE_MIRROR";
})(DualCamStreamMode = exports.DualCamStreamMode || (exports.DualCamStreamMode = {}));
var DeviceEvent;
(function (DeviceEvent) {
DeviceEvent[DeviceEvent["MotionDetected"] = 0] = "MotionDetected";
DeviceEvent[DeviceEvent["PersonDetected"] = 1] = "PersonDetected";
DeviceEvent[DeviceEvent["PetDetected"] = 2] = "PetDetected";
DeviceEvent[DeviceEvent["SoundDetected"] = 3] = "SoundDetected";
DeviceEvent[DeviceEvent["CryingDetected"] = 4] = "CryingDetected";
DeviceEvent[DeviceEvent["Ringing"] = 5] = "Ringing";
DeviceEvent[DeviceEvent["PackageDelivered"] = 6] = "PackageDelivered";
DeviceEvent[DeviceEvent["PackageTaken"] = 7] = "PackageTaken";
DeviceEvent[DeviceEvent["PackageStranded"] = 8] = "PackageStranded";
DeviceEvent[DeviceEvent["SomeoneLoitering"] = 9] = "SomeoneLoitering";
DeviceEvent[DeviceEvent["RadarMotionDetected"] = 10] = "RadarMotionDetected";
DeviceEvent[DeviceEvent["Jammed"] = 11] = "Jammed";
DeviceEvent[DeviceEvent["Alarm911"] = 12] = "Alarm911";
DeviceEvent[DeviceEvent["LowBattery"] = 13] = "LowBattery";
DeviceEvent[DeviceEvent["LongTimeNotClose"] = 14] = "LongTimeNotClose";
DeviceEvent[DeviceEvent["ShakeAlarm"] = 15] = "ShakeAlarm";
DeviceEvent[DeviceEvent["WrontTryProtectAlarm"] = 16] = "WrontTryProtectAlarm";
})(DeviceEvent = exports.DeviceEvent || (exports.DeviceEvent = {}));
var PropertyName;
(function (PropertyName) {
PropertyName["Name"] = "name";
PropertyName["Model"] = "model";
PropertyName["SerialNumber"] = "serialNumber";
PropertyName["HardwareVersion"] = "hardwareVersion";
PropertyName["SoftwareVersion"] = "softwareVersion";
PropertyName["Type"] = "type";
PropertyName["DeviceStationSN"] = "stationSerialNumber";
PropertyName["DeviceBattery"] = "battery";
PropertyName["DeviceBatteryTemp"] = "batteryTemperature";
PropertyName["DeviceBatteryLow"] = "batteryLow";
PropertyName["DeviceBatteryIsCharging"] = "batteryIsCharging";
PropertyName["DeviceLastChargingDays"] = "lastChargingDays";
PropertyName["DeviceLastChargingTotalEvents"] = "lastChargingTotalEvents";
PropertyName["DeviceLastChargingRecordedEvents"] = "lastChargingRecordedEvents";
PropertyName["DeviceLastChargingFalseEvents"] = "lastChargingFalseEvents";
PropertyName["DeviceBatteryUsageLastWeek"] = "batteryUsageLastWeek";
PropertyName["DeviceWifiRSSI"] = "wifiRssi";
PropertyName["DeviceWifiSignalLevel"] = "wifiSignalLevel";
PropertyName["DeviceEnabled"] = "enabled";
PropertyName["DeviceAntitheftDetection"] = "antitheftDetection";
PropertyName["DeviceAutoNightvision"] = "autoNightvision";
PropertyName["DeviceNightvision"] = "nightvision";
PropertyName["DeviceStatusLed"] = "statusLed";
PropertyName["DeviceMotionDetection"] = "motionDetection";
PropertyName["DeviceMotionDetectionType"] = "motionDetectionType";
PropertyName["DeviceMotionDetectionSensitivity"] = "motionDetectionSensitivity";
PropertyName["DeviceMotionZone"] = "motionZone";
PropertyName["DeviceMotionDetectionRange"] = "motionDetectionRange";
PropertyName["DeviceMotionDetectionRangeStandardSensitivity"] = "motionDetectionRangeStandardSensitivity";
PropertyName["DeviceMotionDetectionRangeAdvancedLeftSensitivity"] = "motionDetectionRangeAdvancedLeftSensitivity";
PropertyName["DeviceMotionDetectionRangeAdvancedMiddleSensitivity"] = "motionDetectionRangeAdvancedMiddleSensitivity";
PropertyName["DeviceMotionDetectionRangeAdvancedRightSensitivity"] = "motionDetectionRangeAdvancedRightSensitivity";
PropertyName["DeviceMotionDetectionTestMode"] = "motionDetectionTestMode";
PropertyName["DeviceMotionDetected"] = "motionDetected";
PropertyName["DeviceMotionTracking"] = "motionTracking";
PropertyName["DeviceMotionTrackingSensitivity"] = "motionTrackingSensitivity";
PropertyName["DeviceMotionAutoCruise"] = "motionAutoCruise";
PropertyName["DeviceMotionOutOfViewDetection"] = "motionOutOfViewDetection";
PropertyName["DevicePersonDetected"] = "personDetected";
PropertyName["DevicePersonName"] = "personName";
PropertyName["DeviceRTSPStream"] = "rtspStream";
PropertyName["DeviceRTSPStreamUrl"] = "rtspStreamUrl";
PropertyName["DeviceWatermark"] = "watermark";
PropertyName["DevicePictureUrl"] = "pictureUrl";
PropertyName["DeviceState"] = "state";
PropertyName["DevicePetDetection"] = "petDetection";
PropertyName["DevicePetDetected"] = "petDetected";
PropertyName["DeviceSoundDetection"] = "soundDetection";
PropertyName["DeviceSoundDetectionType"] = "soundDetectionType";
PropertyName["DeviceSoundDetectionSensitivity"] = "soundDetectionSensitivity";
PropertyName["DeviceSoundDetected"] = "soundDetected";
PropertyName["DeviceCryingDetected"] = "cryingDetected";
PropertyName["DeviceSensorOpen"] = "sensorOpen";
PropertyName["DeviceSensorChangeTime"] = "sensorChangeTime";
PropertyName["DeviceMotionSensorPIREvent"] = "motionSensorPirEvent";
PropertyName["DeviceLocked"] = "locked";
PropertyName["DeviceRinging"] = "ringing";
PropertyName["DeviceLockStatus"] = "lockStatus";
PropertyName["DeviceLight"] = "light";
PropertyName["DeviceMicrophone"] = "microphone";
PropertyName["DeviceSpeaker"] = "speaker";
PropertyName["DeviceSpeakerVolume"] = "speakerVolume";
PropertyName["DeviceRingtoneVolume"] = "ringtoneVolume";
PropertyName["DeviceAudioRecording"] = "audioRecording";
PropertyName["DevicePowerSource"] = "powerSource";
PropertyName["DevicePowerWorkingMode"] = "powerWorkingMode";
PropertyName["DeviceChargingStatus"] = "chargingStatus";
PropertyName["DeviceRecordingEndClipMotionStops"] = "recordingEndClipMotionStops";
PropertyName["DeviceRecordingClipLength"] = "recordingClipLength";
PropertyName["DeviceRecordingRetriggerInterval"] = "recordingRetriggerInterval";
PropertyName["DeviceVideoStreamingQuality"] = "videoStreamingQuality";
PropertyName["DeviceVideoRecordingQuality"] = "videoRecordingQuality";
PropertyName["DeviceVideoWDR"] = "videoWdr";
PropertyName["DeviceLightSettingsEnable"] = "lightSettingsEnable";
PropertyName["DeviceLightSettingsBrightnessManual"] = "lightSettingsBrightnessManual";
PropertyName["DeviceLightSettingsColorTemperatureManual"] = "lightSettingsColorTemperatureManual";
PropertyName["DeviceLightSettingsBrightnessMotion"] = "lightSettingsBrightnessMotion";
PropertyName["DeviceLightSettingsColorTemperatureMotion"] = "lightSettingsColorTemperatureMotion";
PropertyName["DeviceLightSettingsBrightnessSchedule"] = "lightSettingsBrightnessSchedule";
PropertyName["DeviceLightSettingsColorTemperatureSchedule"] = "lightSettingsColorTemperatureSchedule";
PropertyName["DeviceLightSettingsMotionTriggered"] = "lightSettingsMotionTriggered";
PropertyName["DeviceLightSettingsMotionActivationMode"] = "lightSettingsMotionActivationMode";
PropertyName["DeviceLightSettingsMotionTriggeredDistance"] = "lightSettingsMotionTriggeredDistance";
PropertyName["DeviceLightSettingsMotionTriggeredTimer"] = "lightSettingsMotionTriggeredTimer";
//DeviceLightSettingsSunsetToSunrise = "lightSettingsSunsetToSunrise",
PropertyName["DeviceChimeIndoor"] = "chimeIndoor";
PropertyName["DeviceChimeHomebase"] = "chimeHomebase";
PropertyName["DeviceChimeHomebaseRingtoneVolume"] = "chimeHomebaseRingtoneVolume";
PropertyName["DeviceChimeHomebaseRingtoneType"] = "chimeHomebaseRingtoneType";
PropertyName["DeviceNotificationType"] = "notificationType";
PropertyName["DeviceRotationSpeed"] = "rotationSpeed";
PropertyName["DeviceImageMirrored"] = "imageMirrored";
PropertyName["DeviceNotificationPerson"] = "notificationPerson";
PropertyName["DeviceNotificationPet"] = "notificationPet";
PropertyName["DeviceNotificationAllOtherMotion"] = "notificationAllOtherMotion";
PropertyName["DeviceNotificationCrying"] = "notificationCrying";
PropertyName["DeviceNotificationAllSound"] = "notificationAllSound";
PropertyName["DeviceNotificationIntervalTime"] = "notificationIntervalTime";
PropertyName["DeviceNotificationRing"] = "notificationRing";
PropertyName["DeviceNotificationMotion"] = "notificationMotion";
PropertyName["DeviceNotificationRadarDetector"] = "notificationRadarDetector";
PropertyName["DeviceContinuousRecording"] = "continuousRecording";
PropertyName["DeviceContinuousRecordingType"] = "continuousRecordingType";
PropertyName["DeviceChirpVolume"] = "chirpVolume";
PropertyName["DeviceChirpTone"] = "chirpTone";
PropertyName["DeviceVideoHDR"] = "videoHdr";
PropertyName["DeviceVideoDistortionCorrection"] = "videoDistortionCorrection";
PropertyName["DeviceVideoRingRecord"] = "videoRingRecord";
PropertyName["DeviceVideoNightvisionImageAdjustment"] = "videoNightvisionImageAdjustment";
PropertyName["DeviceVideoColorNightvision"] = "videoColorNightvision";
PropertyName["DeviceAutoCalibration"] = "autoCalibration";
PropertyName["DeviceAutoLock"] = "autoLock";
PropertyName["DeviceAutoLockTimer"] = "autoLockTimer";
PropertyName["DeviceAutoLockSchedule"] = "autoLockSchedule";
PropertyName["DeviceAutoLockScheduleStartTime"] = "autoLockScheduleStartTime";
PropertyName["DeviceAutoLockScheduleEndTime"] = "autoLockScheduleEndTime";
PropertyName["DeviceOneTouchLocking"] = "oneTouchLocking";
PropertyName["DeviceWrongTryProtection"] = "wrongTryProtection";
PropertyName["DeviceWrongTryAttempts"] = "wrongTryAttempts";
PropertyName["DeviceWrongTryLockdownTime"] = "wrongTryLockdownTime";
PropertyName["DeviceScramblePasscode"] = "scramblePasscode";
PropertyName["DeviceSound"] = "sound";
PropertyName["DeviceNotification"] = "notification";
PropertyName["DeviceNotificationUnlocked"] = "notificationUnlocked";
PropertyName["DeviceNotificationLocked"] = "notificationLocked";
PropertyName["DeviceLoiteringDetection"] = "loiteringDetection";
PropertyName["DeviceLoiteringDetectionRange"] = "loiteringDetectionRange";
PropertyName["DeviceLoiteringDetectionLength"] = "loiteringDetectionLength";
PropertyName["DeviceMotionDetectionSensitivityMode"] = "motionDetectionSensitivityMode";
PropertyName["DeviceMotionDetectionSensitivityStandard"] = "motionDetectionSensitivityStandard";
PropertyName["DeviceMotionDetectionSensitivityAdvancedA"] = "motionDetectionSensitivityAdvancedA";
PropertyName["DeviceMotionDetectionSensitivityAdvancedB"] = "motionDetectionSensitivityAdvancedB";
PropertyName["DeviceMotionDetectionSensitivityAdvancedC"] = "motionDetectionSensitivityAdvancedC";
PropertyName["DeviceMotionDetectionSensitivityAdvancedD"] = "motionDetectionSensitivityAdvancedD";
PropertyName["DeviceMotionDetectionSensitivityAdvancedE"] = "motionDetectionSensitivityAdvancedE";
PropertyName["DeviceMotionDetectionSensitivityAdvancedF"] = "motionDetectionSensitivityAdvancedF";
PropertyName["DeviceMotionDetectionSensitivityAdvancedG"] = "motionDetectionSensitivityAdvancedG";
PropertyName["DeviceMotionDetectionSensitivityAdvancedH"] = "motionDetectionSensitivityAdvancedH";
PropertyName["DeviceLoiteringCustomResponsePhoneNotification"] = "loiteringCustomResponsePhoneNotification";
PropertyName["DeviceLoiteringCustomResponseAutoVoiceResponse"] = "loiteringCustomResponseAutoVoiceResponse";
PropertyName["DeviceLoiteringCustomResponseAutoVoiceResponseVoice"] = "loiteringCustomResponseAutoVoiceResponseVoice";
PropertyName["DeviceLoiteringCustomResponseHomeBaseNotification"] = "loiteringCustomResponseHomeBaseNotification";
PropertyName["DeviceLoiteringCustomResponseTimeFrom"] = "loiteringCustomResponseTimeFrom";
PropertyName["DeviceLoiteringCustomResponseTimeTo"] = "loiteringCustomResponseTimeTo";
PropertyName["DeviceDeliveryGuard"] = "deliveryGuard";
PropertyName["DeviceDeliveryGuardPackageGuarding"] = "deliveryGuardPackageGuarding";
PropertyName["DeviceDeliveryGuardPackageGuardingVoiceResponseVoice"] = "deliveryGuardPackageGuardingVoiceResponseVoice";
PropertyName["DeviceDeliveryGuardPackageGuardingActivatedTimeFrom"] = "deliveryGuardPackageGuardingActivatedTimeFrom";
PropertyName["DeviceDeliveryGuardPackageGuardingActivatedTimeTo"] = "deliveryGuardPackageGuardingActivatedTimeTo";
PropertyName["DeviceDeliveryGuardUncollectedPackageAlert"] = "deliveryGuardUncollectedPackageAlert";
PropertyName["DeviceDeliveryGuardUncollectedPackageAlertTimeToCheck"] = "deliveryGuardUncollectedPackageAlertTimeToCheck";
PropertyName["DeviceDeliveryGuardPackageLiveCheckAssistance"] = "deliveryGuardPackageLiveCheckAssistance";
PropertyName["DeviceDualCamWatchViewMode"] = "dualCamWatchViewMode";
PropertyName["DeviceRingAutoResponse"] = "ringAutoResponse";
PropertyName["DeviceRingAutoResponseVoiceResponse"] = "ringAutoResponseVoiceResponse";
PropertyName["DeviceRingAutoResponseVoiceResponseVoice"] = "ringAutoResponseVoiceResponseVoice";
PropertyName["DeviceRingAutoResponseTimeFrom"] = "ringAutoResponseTimeFrom";
PropertyName["DeviceRingAutoResponseTimeTo"] = "ringAutoResponseTimeTo";
PropertyName["DeviceDefaultAngle"] = "defaultAngle";
PropertyName["DeviceDefaultAngleIdleTime"] = "defaultAngleIdleTime";
PropertyName["DeviceSoundDetectionRoundLook"] = "soundDetectionRoundLook";
PropertyName["DevicePackageDelivered"] = "packageDelivered";
PropertyName["DevicePackageStranded"] = "packageStranded";
PropertyName["DevicePackageTaken"] = "packageTaken";
PropertyName["DeviceSomeoneLoitering"] = "someoneLoitering";
PropertyName["DeviceRadarMotionDetected"] = "radarMotionDetected";
PropertyName["DeviceLeftOpenAlarm"] = "leftOpenAlarm";
PropertyName["DeviceLeftOpenAlarmDuration"] = "leftOpenAlarmDuration";
PropertyName["DeviceDualUnlock"] = "dualUnlock";
PropertyName["DevicePowerSave"] = "powerSave";
PropertyName["DeviceInteriorBrightness"] = "interiorBrightness";
PropertyName["DeviceInteriorBrightnessDuration"] = "interiorBrightnessDuration";
PropertyName["DeviceTamperAlarm"] = "tamperAlarm";
PropertyName["DeviceRemoteUnlock"] = "remoteUnlock";
PropertyName["DeviceRemoteUnlockMasterPIN"] = "remoteUnlockMasterPIN";
PropertyName["DeviceAlarmVolume"] = "alarmVolume";
PropertyName["DevicePromptVolume"] = "promptVolume";
PropertyName["DeviceNotificationUnlockByKey"] = "notificationUnlockByKey";
PropertyName["DeviceNotificationUnlockByPIN"] = "notificationUnlockByPIN";
PropertyName["DeviceNotificationUnlockByFingerprint"] = "notificationUnlockByFingerprint";
PropertyName["DeviceNotificationUnlockByApp"] = "notificationUnlockByApp";
PropertyName["DeviceNotificationDualUnlock"] = "notificationDualUnlock";
PropertyName["DeviceNotificationDualLock"] = "notificationDualLock";
PropertyName["DeviceNotificationWrongTryProtect"] = "notificationWrongTryProtect";
PropertyName["DeviceNotificationJammed"] = "notificationJammed";
PropertyName["DeviceJammedAlert"] = "jammedAlert";
PropertyName["Device911Alert"] = "911Alert";
PropertyName["Device