import type { HouseTruthLink } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type DeleteHouseTruthLinkInput = { houseId: string houseTruthLinkId: string } const deleteHouseTruthLink = (http: HttpClient) => ({ query: ( input: DeleteHouseTruthLinkInput, ): Promise> => { return http.delete( `v3/admin/houses/${input.houseId}/house_truth_links/${input.houseTruthLinkId}`, ) }, }) export default deleteHouseTruthLink