import { defHttp } from '@jdlinker/func'; export const restPassword = (id: string) => defHttp.post({ url: `/edge/operations/${id}/auth-user-password-reset/invoke` }); export const _control = (deviceId: string) => defHttp.get({ url: `/edge/remote/${deviceId}/url` }); export const _stopControl = (deviceId: string) => defHttp.post({ url: `/edge/remote/${deviceId}/stop` });