import type { Link } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type DeleteLinkInput = { houseId: string linkId: string } const deleteLink = (http: HttpClient) => ({ query: ( input: DeleteLinkInput, ): Promise> => { return http.delete(`v3/admin/houses/${input.houseId}/links/${input.linkId}`) }, }) export default deleteLink