type ValidatePwdMemberResult = { valid: boolean; errorCode?: string; errorMsg?: string; }; type ValidatePwdMemberParams = { devId: string; opModeId?: number; password: string; }; /** * 校验成员密码是否存在(包括临时密码) * @param {ValidatePwdMemberParams} params * @returns {Promise} */ declare const validatePasswordForMember: (params: ValidatePwdMemberParams) => Promise; type AddMemberUnlockMethodResult = { opModeId: string; unlockName: string; }; type NotifyInfo = { appSend?: boolean; msgPhone?: string; countryCode?: string; msgPhoneVerifyCode?: string; }; type AddMemberUnlockMethodParams = { devId: string; userId: string; unlockId: number; unlockName?: string; unlockAttr: number; notifyInfo?: NotifyInfo; unlockDetail?: string; }; /** * 添加解锁方式 * @param {AddMemberUnlockMethodParams} params * @returns {Promise} */ declare const addMemberUnlockMethod: (params: AddMemberUnlockMethodParams) => Promise; type RemoveMemberUnlockMethodResult = boolean; type RemoveMemberUnlockMethodParams = { devId: string; opmodeId: number; }; /** * 删除解锁方式 * @param {RemoveMemberUnlockMethodParams} params * @returns {Promise} */ declare const removeMemberUnlockMethod: (params: RemoveMemberUnlockMethodParams) => Promise; type SendSpecialUnlockVerifyCodeResult = boolean; type SendSpecialUnlockVerifyCodeParams = { account: string; }; /** * 发送设置特殊解锁方式的验证码 * @param {SendSpecialUnlockVerifyCodeParams} params * @returns {Promise} */ declare const sendSpecialUnlockVerifyCode: (params: SendSpecialUnlockVerifyCodeParams) => Promise; type UpdateMemberUnlockModeResult = boolean; type UpdateMemberUnlockModeParams = { devId: string; opModeId: number; unlockName?: string; unlockAttr: number; unlockDetail: string; notifyInfo?: NotifyInfo; }; /** * 更新成员的解锁方式 * @param {UpdateMemberUnlockModeParams} params * @returns {Promise} */ declare const updateMemberUnlockMode: (params: UpdateMemberUnlockModeParams) => Promise; type UnlockMethodDetailResult = { phase: number; opmode: string; unlockAttr: number; unlockName: string; userId: string; opmodeValue: string; unlockId: string; lockUserId: number; opmodeId: string; voiceAttr: number; userTimeSet: string; userType: number; sourceAttribute: number; notifyInfo?: NotifyInfoDetail; }; type NotifyInfoDetail = { appSend?: boolean; msgPhone?: string; countryCode?: string; targetUserId?: number; }; type UnlockMethodDetailParams = { devId: string; opModeId: number; }; /** * 查询某个解锁方式的详情 * @param {UnlockMethodDetailParams} params * @returns {Promise} */ declare const getUnlockMethodDetail: (params: UnlockMethodDetailParams) => Promise; export { validatePasswordForMember, addMemberUnlockMethod, removeMemberUnlockMethod, sendSpecialUnlockVerifyCode, updateMemberUnlockMode, getUnlockMethodDetail, };