UNPKG

eufy-security-client

Version:

Client to comunicate with Eufy-Security devices

382 lines (381 loc) 540 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GenericHWVersionProperty = exports.DeviceSerialNumberProperty = exports.DeviceModelProperty = exports.DeviceNameProperty = exports.PropertyName = exports.DeviceEvent = exports.PresetPositionType = exports.ViewModeType = exports.MotionDetectionRangeType = exports.TrackerType = exports.GarageDoorState = exports.DynamicLightingEffect = exports.MotionActivationMode = exports.DailyLightingType = exports.LightingActiveMode = exports.TriggerType = exports.MicStatus = exports.RecordType = exports.MediaType = exports.VideoType = exports.FloodlightT8425NotificationTypes = exports.IndoorS350NotificationTypes = exports.IndoorMiniDetectionTypes = exports.IndoorDetectionTypes = exports.IndoorS350DetectionTypes = exports.SoloCameraDetectionTypes = exports.T8170DetectionTypes = exports.HB3DetectionTypes = exports.UserPasswordType = exports.UserType = exports.DualCamStreamMode = exports.VideoTypeStoreToNAS = exports.MotionDetectionMode = exports.SignalLevel = exports.TimeFormat = exports.GuardModeSecuritySettingsAction = exports.NotificationSwitchMode = exports.AlarmTone = exports.WalllightNotificationType = 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.DeviceWatermarkProperty = exports.DeviceRTSPStreamUrlProperty = exports.DeviceRTSPStreamProperty = exports.DevicePetDetectionProperty = exports.DeviceSoundDetectionProperty = exports.DeviceMotionDetectionDoorbellProperty = exports.DeviceMotionDetectionIndoorSoloFloodProperty = exports.DeviceMotionDetectionProperty = exports.DeviceStatusLedT8200XProperty = exports.DeviceStatusLedDoorbellProperty = exports.DeviceStatusLedBatteryDoorbellDualProperty = exports.DeviceStatusLedIndoorS350Property = exports.DeviceStatusLedBatteryDoorbellProperty = exports.DeviceStatusLedIndoorFloodProperty = exports.DeviceStatusLedProperty = exports.DeviceEnabledIndoorS350Property = exports.DeviceEnabledIndoorMiniProperty = exports.DeviceEnabledSoloProperty = exports.DeviceEnabledStandaloneProperty = exports.DeviceEnabledProperty = exports.DeviceWifiRSSISmartSafeProperty = exports.DeviceWifiRSSIKeypadProperty = exports.DeviceWifiRSSIEntrySensorProperty = exports.DeviceWifiRSSILockProperty = exports.DeviceCellularICCIDProperty = exports.DeviceCellularIMEIProperty = exports.DeviceCellularBandProperty = exports.DeviceCellularSignalProperty = exports.DeviceCellularSignalLevelProperty = exports.DeviceCellularRSSIProperty = exports.DeviceWifiSignalLevelProperty = exports.DeviceWifiRSSIProperty = exports.DeviceNightvisionS350Property = exports.DeviceNightvisionProperty = exports.DeviceAutoNightvisionSoloProperty = exports.DeviceAutoNightvisionWiredDoorbellProperty = exports.DeviceAutoNightvisionProperty = exports.DeviceAntitheftDetectionProperty = exports.DeviceBatteryIsChargingKeypadProperty = exports.DeviceBatteryTempProperty = exports.DeviceBatteryLowSensorProperty = exports.DeviceBatteryLowKeypadProperty = exports.DeviceBatteryLowMotionSensorProperty = exports.DeviceBatteryTrackerProperty = exports.DeviceBatteryLockProperty = exports.DeviceBatteryProperty = exports.GenericDeviceProperties = exports.BaseDeviceProperties = exports.GenericTypeProperty = exports.GenericSWVersionProperty = void 0; exports.DeviceHiddenMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityGarageCameraProperty = exports.DeviceMotionDetectionSensitivityFloodlightT8420Property = exports.DeviceMotionDetectionSensitivitySoloProperty = exports.DeviceMotionDetectionSensitivityWiredDoorbellProperty = exports.DeviceMotionDetectionSensitivityDoorbellE340Property = exports.DeviceMotionDetectionSensitivityBatteryDoorbellProperty = exports.DeviceMotionDetectionSensitivityIndoorProperty = exports.DeviceMotionDetectionSensitivityCamera1Property = exports.DeviceMotionDetectionSensitivityCamera2Property = exports.DeviceMotionDetectionTypeIndoorMiniProperty = exports.DeviceMotionDetectionTypeIndoorS350Property = exports.DeviceMotionDetectionTypeIndoorProperty = exports.DeviceMotionDetectionTypeFloodlightProperty = exports.DeviceMotionDetectionTypeFloodlightT8423Property = exports.DeviceMotionDetectionCamera1Property = exports.DeviceMotionDetectionTypeT8200XProperty = exports.DeviceMotionDetectionTypeProperty = exports.DeviceMotionDetectionTypeAllOtherMotionsWalllightProperty = exports.DeviceMotionHB3DetectionTypeAllOtherMotionsProperty = exports.DeviceMotionHB3DetectionTypeVehicleProperty = exports.DeviceMotionHB3DetectionTypePetProperty = exports.DeviceMotionHB3DetectionTypeHumanRecognitionProperty = exports.DeviceMotionDetectionTypeHumanWallLightProperty = exports.DeviceMotionHB3DetectionTypeHumanProperty = 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.DeviceWatermarkGarageCameraProperty = exports.DeviceWatermarkBatteryDoorbellCamera1Property = exports.DeviceWatermarkSoloWiredDoorbellProperty = exports.DeviceWatermarkIndoorFloodProperty = void 0; exports.DeviceRecordingEndClipMotionStopsProperty = exports.DeviceRecordingRetriggerIntervalFloodlightProperty = exports.DeviceRecordingRetriggerIntervalBatteryDoorbellProperty = exports.DeviceRecordingRetriggerIntervalProperty = exports.DeviceRecordingClipLengthOutdoorPTProperty = exports.DeviceRecordingClipLengthWalllightS120Property = exports.DeviceRecordingClipLengthWalllightProperty = exports.DeviceRecordingClipLengthFloodlightProperty = exports.DeviceRecordingClipLengthProperty = exports.DeviceChargingStatusProperty = exports.DevicePowerWorkingModeBatteryDoorbellProperty = exports.DevicePowerWorkingModeSmartDropProperty = exports.DevicePowerWorkingModeProperty = exports.DevicePowerSourceProperty = exports.DeviceRingtoneVolumeT8200XProperty = exports.DeviceRingtoneVolumeWiredDoorbellProperty = exports.DeviceRingtoneVolumeBatteryDoorbellProperty = exports.DeviceSpeakerVolumeSmartDropProperty = exports.DeviceSpeakerVolumeWalllightProperty = exports.DeviceSpeakerVolumeFloodlightT8420Property = exports.DeviceSpeakerVolumeWiredDoorbellProperty = exports.DeviceSpeakerVolumeIndoorFloodDoorbellProperty = exports.DeviceSpeakerVolumeCamera3Property = exports.DeviceSpeakerVolumeSoloProperty = exports.DeviceSpeakerVolumeProperty = exports.DeviceMotionTrackingProperty = exports.DeviceAudioRecordingFloodlightT8420Property = exports.DeviceAudioRecordingWiredDoorbellProperty = exports.DeviceAudioRecordingStarlight4gLTEProperty = exports.DeviceAudioRecordingIndoorSoloFloodlightProperty = exports.DeviceAudioRecordingProperty = exports.DeviceSpeakerProperty = exports.DeviceMicrophoneProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredTimerT8425Property = exports.DeviceFloodlightLightSettingsMotionTriggeredTimerProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredDistanceProperty = exports.DeviceFloodlightLightSettingsMotionTriggeredT8425Property = exports.DeviceFloodlightLightSettingsMotionTriggeredProperty = exports.DeviceFloodlightLightSettingsBrightnessScheduleT8425Property = exports.DeviceFloodlightLightSettingsBrightnessScheduleProperty = exports.DeviceFloodlightLightSettingsBrightnessMotionT8425Property = exports.DeviceFloodlightLightSettingsBrightnessMotionProperty = exports.DeviceCameraLightSettingsBrightnessManualWalllightS120Property = exports.DeviceCameraLightSettingsBrightnessManualProperty = exports.DeviceLightSettingsBrightnessManualCamera3Property = exports.DeviceFloodlightLightSettingsBrightnessManualProperty = exports.DeviceFloodlightLightSettingsEnableProperty = exports.DeviceFloodlightLightProperty = exports.DeviceMotionZoneProperty = exports.DeviceHiddenMotionDetectionModeWiredDoorbellProperty = void 0; exports.DeviceNotificationRingWiredDoorbellProperty = exports.DeviceNotificationRingProperty = exports.DeviceNotificationCryingProperty = exports.DeviceNotificationAllSoundProperty = exports.DeviceNotificationAllOtherMotionWalllightProperty = exports.DeviceNotificationAllOtherMotionProperty = exports.DeviceNotificationPetProperty = exports.DeviceNotificationPersonWalllightProperty = exports.DeviceNotificationPersonProperty = exports.DeviceSoundDetectionSensitivityProperty = exports.DeviceSoundDetectionTypeS350Property = exports.DeviceSoundDetectionTypeProperty = exports.DeviceImageMirroredProperty = exports.DeviceRotationSpeedProperty = exports.DeviceNotificationTypeWalllightProperty = exports.DeviceNotificationTypeWiredDoorbellProperty = exports.DeviceNotificationTypeBatteryDoorbellProperty = exports.DeviceNotificationTypeIndoorFloodlightProperty = exports.DeviceNotificationTypeProperty = exports.DeviceChimeHomebaseRingtoneTypeBatteryDoorbellProperty = exports.DeviceChimeHomebaseRingtoneVolumeBatteryDoorbellProperty = exports.DeviceChimeHomebaseBatteryDoorbellProperty = exports.DeviceChimeIndoorT8200XProperty = exports.DeviceChimeIndoorWiredDoorbellProperty = exports.DeviceChimeIndoorBatteryDoorbellProperty = exports.DeviceWDRProperty = exports.DeviceVideoRecordingQualityT8530Property = exports.DeviceVideoRecordingQualitySoloCamerasHB3Property = exports.DeviceVideoRecordingQualitySoloProperty = exports.DeviceVideoRecordingQualityCamera3Property = exports.DeviceVideoRecordingQualityCamera2CProProperty = exports.DeviceVideoRecordingQualityT8200XProperty = exports.DeviceVideoRecordingQualityWalllightProperty = exports.DeviceVideoRecordingQualityS350Property = exports.DeviceVideoRecordingQualityS340Property = exports.DeviceVideoRecordingQualityDoorbellE340Property = exports.DeviceVideoRecordingQualityProperty = exports.DeviceVideoRecordingQualityWiredDoorbellProperty = exports.DeviceVideoRecordingQualityIndoorProperty = exports.DeviceVideoStreamingQualitySmartDropProperty = exports.DeviceVideoStreamingQualityS340Property = exports.DeviceVideoStreamingQualityS350Property = exports.DeviceVideoStreamingQualityDoorbellE340Property = exports.DeviceVideoStreamingQualityCameraProfessionalProperty = exports.DeviceVideoStreamingQualityCamera3Property = exports.DeviceVideoStreamingQualityWalllightProperty = exports.DeviceVideoStreamingQualitySoloProperty = exports.DeviceVideoStreamingQualityCameraProperty = exports.DeviceVideoStreamingQualityBatteryDoorbellProperty = exports.DeviceVideoStreamingQualityProperty = void 0; exports.DeviceNotificationUnlockedProperty = exports.DeviceNotificationWalllightProperty = exports.DeviceNotificationSmartLockProperty = exports.DeviceNotificationProperty = exports.DeviceSoundSimpleProperty = exports.DeviceSoundProperty = 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.DeviceLightSettingsMotionActivationModeT8425Property = exports.DeviceLightSettingsMotionActivationModeProperty = exports.DeviceLightSettingsColorTemperatureScheduleProperty = exports.DeviceLightSettingsColorTemperatureMotionProperty = exports.DeviceLightSettingsColorTemperatureManualProperty = exports.DeviceMotionOutOfViewDetectionProperty = exports.DeviceMotionAutoCruiseProperty = exports.DeviceMotionTrackingSensitivityProperty = exports.DeviceMotionDetectionTestModeT8425Property = exports.DeviceMotionDetectionTestModeProperty = exports.DeviceMotionDetectionRangeAdvancedRightSensitivityT8425Property = exports.DeviceMotionDetectionRangeAdvancedRightSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedMiddleSensitivityProperty = exports.DeviceMotionDetectionRangeAdvancedLeftSensitivityT8425Property = exports.DeviceMotionDetectionRangeAdvancedLeftSensitivityProperty = exports.DeviceMotionDetectionRangeStandardSensitivityT8425Property = exports.DeviceMotionDetectionRangeStandardSensitivityProperty = exports.DeviceMotionDetectionRangeT8425Property = exports.DeviceMotionDetectionRangeProperty = exports.DeviceVideoRingRecordWiredDoorbellProperty = exports.DeviceVideoDistortionCorrectionWiredDoorbellProperty = exports.DeviceVideoHDRWiredDoorbellProperty = exports.DeviceChirpToneEntrySensorProperty = exports.DeviceChirpVolumeEntrySensorProperty = exports.DeviceNotificationMotionWiredDoorbellProperty = exports.DeviceNotificationRadarDetectorProperty = exports.DeviceNotificationMotionProperty = void 0; exports.StationCustom3SecuritySettings = exports.StationCustom2SecuritySettings = exports.StationCustom1SecuritySettings = exports.StationAwaySecuritySettings = exports.StationHomeSecuritySettings = exports.DeviceSoundDetectionRoundLookS350Property = exports.DeviceSoundDetectionRoundLookProperty = exports.DeviceNotificationIntervalTimeProperty = exports.DeviceDefaultAngleIdleTimeProperty = exports.DeviceDefaultAngleProperty = exports.DeviceContinuousRecordingTypeProperty = exports.DeviceContinuousRecordingProperty = exports.DeviceRingAutoResponseTimeToProperty = exports.DeviceRingAutoResponseTimeFromProperty = exports.DeviceRingAutoResponseVoiceResponseVoiceProperty = exports.DeviceRingAutoResponseVoiceResponseProperty = exports.DeviceRingAutoResponseProperty = exports.DeviceDualCamWatchViewModeS340Property = exports.DeviceDualCamWatchViewModeE340Property = 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.DeviceNotificationLockedSmartLockProperty = exports.DeviceNotificationLockedProperty = exports.DeviceNotificationUnlockedSmartLockProperty = void 0; exports.DeviceDetectionStatisticsDetectedEventsProperty = exports.DeviceDetectionStatisticsWorkingDaysProperty = exports.DeviceDogPoopDetectedProperty = exports.DeviceDogLickDetectedProperty = exports.DeviceDogDetectedProperty = exports.DeviceVehicleDetectedProperty = exports.DeviceStrangerPersonDetectedProperty = exports.DeviceIdentityPersonDetectedProperty = exports.DevicePersonNameProperty = exports.DeviceSnoozeChimeProperty = exports.DeviceSnoozeMotionProperty = exports.DeviceSnoozeHomebaseProperty = exports.DeviceSnoozeStartTimeWiredDoorbellProperty = exports.DeviceSnoozeStartTimeProperty = 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 = exports.DevicePackageDeliveredProperty = exports.StationOffSecuritySettings = void 0; exports.DeviceLeavingReactionEndTimeProperty = exports.DeviceLeavingReactionStartTimeProperty = exports.DeviceLeavingReactionNotificationProperty = exports.DeviceLeavingDetectionProperty = exports.DeviceNotificationVehicleProperty = exports.DeviceNotificationCryingS350Property = exports.DeviceNotificationAllSoundS350Property = exports.DeviceNotificationAllOtherMotionS350Property = exports.DeviceNotificationPetS350Property = exports.DeviceNotificationPersonS350Property = exports.DeviceFlickerAdjustmentProperty = exports.DeviceFindPhoneProperty = exports.DeviceLeftBehindAlarmProperty = exports.DeviceTrackerTypeProperty = exports.DeviceLocationLastUpdateProperty = exports.DeviceLocationAddressProperty = exports.DeviceLocationCoordinatesProperty = exports.DeviceDoorSensor2BatteryLevelProperty = exports.DeviceDoorSensor1BatteryLevelProperty = exports.DeviceDoorSensor2LowBatteryProperty = exports.DeviceDoorSensor1LowBatteryProperty = exports.DeviceDoorSensor2VersionProperty = exports.DeviceDoorSensor1VersionProperty = exports.DeviceDoorSensor2SerialNumberProperty = exports.DeviceDoorSensor1SerialNumberProperty = exports.DeviceDoorSensor2NameProperty = exports.DeviceDoorSensor1NameProperty = exports.DeviceDoorSensor2MacAddressProperty = exports.DeviceDoorSensor1MacAddressProperty = exports.DeviceDoorSensor2StatusProperty = exports.DeviceDoorSensor1StatusProperty = exports.DeviceDoor2OpenProperty = exports.DeviceDoor1OpenProperty = exports.DeviceDoorControlWarningProperty = exports.DeviceLightSettingsDynamicLightingThemesProperty = exports.DeviceLightSettingsColoredLightingColorsProperty = exports.DeviceLightSettingsScheduleLightingActiveModeProperty = exports.DeviceLightSettingsScheduleDynamicLightingProperty = exports.DeviceLightSettingsScheduleColoredLightingProperty = exports.DeviceLightSettingsScheduleDailyLightingProperty = exports.DeviceLightSettingsMotionLightingActiveModeProperty = exports.DeviceLightSettingsMotionDynamicLightingProperty = exports.DeviceLightSettingsMotionColoredLightingProperty = exports.DeviceLightSettingsMotionDailyLightingProperty = exports.DeviceLightSettingsManualLightingActiveModeProperty = exports.DeviceLightSettingsManualDynamicLightingProperty = exports.DeviceLightSettingsManualColoredLightingProperty = exports.DeviceLightSettingsManualDailyLightingProperty = exports.DevicePictureProperty = exports.DeviceDetectionStatisticsRecordedEventsProperty = void 0; exports.StationAlarmProperty = exports.StationTurnOffAlarmWithButtonProperty = exports.StationAutoEndAlarmProperty = exports.StationSwitchModeWithAccessCodeProperty = exports.StationTimeZoneProperty = exports.StationTimeFormatProperty = exports.StationNotificationStartAlarmDelayProperty = exports.StationNotificationSwitchModeKeypadProperty = exports.StationNotificationSwitchModeAppProperty = exports.StationNotificationSwitchModeGeofenceProperty = exports.StationNotificationSwitchModeScheduleProperty = exports.StationAlarmToneProperty = exports.StationPromptVolumeProperty = exports.StationAlarmVolumeWalllightProperty = 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.LockT8520PDeviceProperties = exports.LockT8510PDeviceProperties = exports.WiredDoorbellT8200XDeviceProperties = exports.FloodlightT8420XDeviceProperties = exports.DeviceDeliveriesProperty = exports.DeviceHasMasterPinProperty = exports.DeviceIsDeliveryDeniedProperty = exports.DeviceBatteryFullyChargedAlertProperty = exports.DevicePinIncorrectAlertProperty = exports.DeviceLidStuckAlertProperty = exports.DeviceHighTemperatureAlertProperty = exports.DeviceLowTemperatureAlertProperty = exports.DeviceTamperingAlertProperty = exports.DeviceOpenedByNameProperty = exports.DeviceOpenedByTypeProperty = exports.DeviceOpenProperty = exports.DeviceMotionActivatedPromptProperty = exports.DeviceOpenMethodProperty = exports.DeviceNightvisionOptimizationSideProperty = exports.DeviceNightvisionOptimizationProperty = exports.DeviceBeepVolumeProperty = exports.DeviceLockEventOriginProperty = exports.DeviceSomeoneGoingProperty = void 0; exports.StationCommands = exports.DeviceCommands = exports.CommandName = exports.StationProperties = exports.StationCrossTrackingGroupListProperty = exports.StationCrossTrackingCameraListProperty = exports.StationTrackingAssistanceProperty = exports.StationCrossCameraTrackingProperty = exports.StationContinuousTrackingTimeProperty = exports.StationStorageInfoHddProperty = exports.StationStorageInfoEmmcProperty = exports.StationSdAvailableCapacityProperty = exports.StationSdCapacityProperty = exports.StationSdStatusProperty = exports.StationAlarmDelayTypeProperty = exports.StationAlarmDelayProperty = exports.StationAlarmArmDelayProperty = exports.StationAlarmArmedProperty = exports.StationAlarmTypeProperty = 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["HB3"] = 18] = "HB3"; DeviceType[DeviceType["CAMERA3"] = 19] = "CAMERA3"; DeviceType[DeviceType["CAMERA3C"] = 23] = "CAMERA3C"; DeviceType[DeviceType["PROFESSIONAL_247"] = 24] = "PROFESSIONAL_247"; DeviceType[DeviceType["MINIBASE_CHIME"] = 25] = "MINIBASE_CHIME"; DeviceType[DeviceType["CAMERA3_PRO"] = 26] = "CAMERA3_PRO"; 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["FLOODLIGHT_CAMERA_8425"] = 47] = "FLOODLIGHT_CAMERA_8425"; DeviceType[DeviceType["OUTDOOR_PT_CAMERA"] = 48] = "OUTDOOR_PT_CAMERA"; 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["SOLO_CAMERA_SOLAR"] = 63] = "SOLO_CAMERA_SOLAR"; DeviceType[DeviceType["SOLO_CAMERA_C210"] = 64] = "SOLO_CAMERA_C210"; DeviceType[DeviceType["FLOODLIGHT_CAMERA_8426"] = 87] = "FLOODLIGHT_CAMERA_8426"; DeviceType[DeviceType["SOLO_CAMERA_E30"] = 88] = "SOLO_CAMERA_E30"; 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["BATTERY_DOORBELL_PLUS_E340"] = 94] = "BATTERY_DOORBELL_PLUS_E340"; DeviceType[DeviceType["BATTERY_DOORBELL_C30"] = 95] = "BATTERY_DOORBELL_C30"; DeviceType[DeviceType["BATTERY_DOORBELL_C31"] = 96] = "BATTERY_DOORBELL_C31"; 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["INDOOR_PT_CAMERA_S350"] = 104] = "INDOOR_PT_CAMERA_S350"; DeviceType[DeviceType["INDOOR_PT_CAMERA_E30"] = 105] = "INDOOR_PT_CAMERA_E30"; DeviceType[DeviceType["CAMERA_FG"] = 110] = "CAMERA_FG"; DeviceType[DeviceType["CAMERA_GARAGE_T8453_COMMON"] = 131] = "CAMERA_GARAGE_T8453_COMMON"; DeviceType[DeviceType["CAMERA_GARAGE_T8452"] = 132] = "CAMERA_GARAGE_T8452"; DeviceType[DeviceType["CAMERA_GARAGE_T8453"] = 133] = "CAMERA_GARAGE_T8453"; 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[DeviceType["WALL_LIGHT_CAM"] = 151] = "WALL_LIGHT_CAM"; DeviceType[DeviceType["SMART_TRACK_LINK"] = 157] = "SMART_TRACK_LINK"; DeviceType[DeviceType["SMART_TRACK_CARD"] = 159] = "SMART_TRACK_CARD"; DeviceType[DeviceType["LOCK_8502"] = 180] = "LOCK_8502"; DeviceType[DeviceType["LOCK_8506"] = 184] = "LOCK_8506"; DeviceType[DeviceType["WALL_LIGHT_CAM_81A0"] = 10005] = "WALL_LIGHT_CAM_81A0"; DeviceType[DeviceType["INDOOR_PT_CAMERA_C220"] = 10008] = "INDOOR_PT_CAMERA_C220"; DeviceType[DeviceType["INDOOR_PT_CAMERA_C210"] = 10009] = "INDOOR_PT_CAMERA_C210"; // T8419 / T8W11P? })(DeviceType || (exports.DeviceType = 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["DOORBELL_CHIME_MODE"] = 100000] = "DOORBELL_CHIME_MODE"; 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 = 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 = 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 = GuardMode = {})); var ResponseErrorCode; (function (ResponseErrorCode) { ResponseErrorCode[ResponseErrorCode["CODE_CONNECT_ERROR"] = 997] = "CODE_CONNECT_ERROR"; ResponseErrorCode[ResponseErrorCode["CODE_ERROR_PIN"] = 36006] = "CODE_ERROR_PIN"; //CODE_IS_OPEN = 25074, //CODE_IS_OPEN_OTHERS = 25080, 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 = 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 = 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 = StorageType = {})); var PowerSource; (function (PowerSource) { PowerSource[PowerSource["BATTERY"] = 0] = "BATTERY"; PowerSource[PowerSource["SOLAR_PANEL"] = 1] = "SOLAR_PANEL"; })(PowerSource || (exports.PowerSource = PowerSource = {})); var PublicKeyType; (function (PublicKeyType) { PublicKeyType[PublicKeyType["SERVER"] = 1] = "SERVER"; PublicKeyType[PublicKeyType["LOCK"] = 2] = "LOCK"; })(PublicKeyType || (exports.PublicKeyType = 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 = 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 = NotificationType = {})); var WalllightNotificationType; (function (WalllightNotificationType) { WalllightNotificationType[WalllightNotificationType["ONLY_TEXT"] = 1] = "ONLY_TEXT"; WalllightNotificationType[WalllightNotificationType["WITH_THUMBNAIL"] = 2] = "WITH_THUMBNAIL"; })(WalllightNotificationType || (exports.WalllightNotificationType = WalllightNotificationType = {})); var AlarmTone; (function (AlarmTone) { AlarmTone[AlarmTone["ALARM_TONE1"] = 1] = "ALARM_TONE1"; AlarmTone[AlarmTone["ALARM_TONE2"] = 2] = "ALARM_TONE2"; })(AlarmTone || (exports.AlarmTone = 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 = NotificationSwitchMode = {})); var GuardModeSecuritySettingsAction; (function (GuardModeSecuritySettingsAction) { GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["VIDEO_RECORDING"] = 1] = "VIDEO_RECORDING"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["CAMERA_ALARM"] = 2] = "CAMERA_ALARM"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["HOMEBASE_ALARM"] = 4] = "HOMEBASE_ALARM"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["NOTIFICATON"] = 8] = "NOTIFICATON"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["PRIVACY"] = 16] = "PRIVACY"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["LIGHT_ALARM"] = 32] = "LIGHT_ALARM"; GuardModeSecuritySettingsAction[GuardModeSecuritySettingsAction["PROFESSIONAL_SECURITY"] = 64] = "PROFESSIONAL_SECURITY"; })(GuardModeSecuritySettingsAction || (exports.GuardModeSecuritySettingsAction = GuardModeSecuritySettingsAction = {})); var TimeFormat; (function (TimeFormat) { TimeFormat[TimeFormat["FORMAT_12H"] = 0] = "FORMAT_12H"; TimeFormat[TimeFormat["FORMAT_24H"] = 1] = "FORMAT_24H"; })(TimeFormat || (exports.TimeFormat = TimeFormat = {})); var SignalLevel; (function (SignalLevel) { SignalLevel[SignalLevel["NO_SIGNAL"] = 0] = "NO_SIGNAL"; SignalLevel[SignalLevel["WEAK"] = 1] = "WEAK"; SignalLevel[SignalLevel["NORMAL"] = 2] = "NORMAL"; SignalLevel[SignalLevel["STRONG"] = 3] = "STRONG"; SignalLevel[SignalLevel["FULL"] = 4] = "FULL"; })(SignalLevel || (exports.SignalLevel = SignalLevel = {})); var MotionDetectionMode; (function (MotionDetectionMode) { MotionDetectionMode[MotionDetectionMode["STANDARD"] = 0] = "STANDARD"; MotionDetectionMode[MotionDetectionMode["ADVANCED"] = 1] = "ADVANCED"; })(MotionDetectionMode || (exports.MotionDetectionMode = MotionDetectionMode = {})); var VideoTypeStoreToNAS; (function (VideoTypeStoreToNAS) { VideoTypeStoreToNAS[VideoTypeStoreToNAS["Events"] = 0] = "Events"; VideoTypeStoreToNAS[VideoTypeStoreToNAS["ContinuousRecording"] = 1] = "ContinuousRecording"; })(VideoTypeStoreToNAS || (exports.VideoTypeStoreToNAS = 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 = DualCamStreamMode = {})); var UserType; (function (UserType) { UserType[UserType["NORMAL"] = 0] = "NORMAL"; UserType[UserType["ADMIN"] = 1] = "ADMIN"; UserType[UserType["SUPER_ADMIN"] = 2] = "SUPER_ADMIN"; UserType[UserType["ENTRY_ONLY"] = 4] = "ENTRY_ONLY"; })(UserType || (exports.UserType = UserType = {})); var UserPasswordType; (function (UserPasswordType) { UserPasswordType[UserPasswordType["PIN"] = 1] = "PIN"; UserPasswordType[UserPasswordType["FINGERPRINT"] = 2] = "FINGERPRINT"; })(UserPasswordType || (exports.UserPasswordType = UserPasswordType = {})); var HB3DetectionTypes; (function (HB3DetectionTypes) { HB3DetectionTypes[HB3DetectionTypes["HUMAN_DETECTION"] = 2] = "HUMAN_DETECTION"; HB3DetectionTypes[HB3DetectionTypes["VEHICLE_DETECTION"] = 4] = "VEHICLE_DETECTION"; HB3DetectionTypes[HB3DetectionTypes["PET_DETECTION"] = 8] = "PET_DETECTION"; HB3DetectionTypes[HB3DetectionTypes["ALL_OTHER_MOTION"] = 32768] = "ALL_OTHER_MOTION"; HB3DetectionTypes[HB3DetectionTypes["HUMAN_RECOGNITION"] = 131072] = "HUMAN_RECOGNITION"; })(HB3DetectionTypes || (exports.HB3DetectionTypes = HB3DetectionTypes = {})); var T8170DetectionTypes; (function (T8170DetectionTypes) { T8170DetectionTypes[T8170DetectionTypes["HUMAN_DETECTION"] = 3] = "HUMAN_DETECTION"; T8170DetectionTypes[T8170DetectionTypes["VEHICLE_DETECTION"] = 4] = "VEHICLE_DETECTION"; T8170DetectionTypes[T8170DetectionTypes["ALL_OTHER_MOTION"] = 32768] = "ALL_OTHER_MOTION"; })(T8170DetectionTypes || (exports.T8170DetectionTypes = T8170DetectionTypes = {})); var SoloCameraDetectionTypes; (function (SoloCameraDetectionTypes) { SoloCameraDetectionTypes[SoloCameraDetectionTypes["HUMAN_DETECTION"] = 3] = "HUMAN_DETECTION"; SoloCameraDetectionTypes[SoloCameraDetectionTypes["ALL_OTHER_MOTION"] = 32771] = "ALL_OTHER_MOTION"; })(SoloCameraDetectionTypes || (exports.SoloCameraDetectionTypes = SoloCameraDetectionTypes = {})); var IndoorS350DetectionTypes; (function (IndoorS350DetectionTypes) { IndoorS350DetectionTypes[IndoorS350DetectionTypes["HUMAN_DETECTION"] = 3] = "HUMAN_DETECTION"; IndoorS350DetectionTypes[IndoorS350DetectionTypes["PET_DETECTION"] = 8] = "PET_DETECTION"; IndoorS350DetectionTypes[IndoorS350DetectionTypes["ALL_OTHER_MOTION"] = 32768] = "ALL_OTHER_MOTION"; })(IndoorS350DetectionTypes || (exports.IndoorS350DetectionTypes = IndoorS350DetectionTypes = {})); var IndoorDetectionTypes; (function (IndoorDetectionTypes) { IndoorDetectionTypes[IndoorDetectionTypes["PERSON_DETECTION"] = 1] = "PERSON_DETECTION"; IndoorDetectionTypes[IndoorDetectionTypes["PET_DETECTION"] = 2] = "PET_DETECTION"; IndoorDetectionTypes[IndoorDetectionTypes["ALL_MOTION"] = 4] = "ALL_MOTION"; })(IndoorDetectionTypes || (exports.IndoorDetectionTypes = IndoorDetectionTypes = {})); var IndoorMiniDetectionTypes; (function (IndoorMiniDetectionTypes) { IndoorMiniDetectionTypes[IndoorMiniDetectionTypes["PERSON_DETECTION"] = 1] = "PERSON_DETECTION";