import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetOwnerGeneralRentalConditionResponse = Response< { id: string; type: string; content: string }, undefined, ApiError > const getOwnerGeneralRentalCondition = (http: HttpClient) => { return { query: (): Promise< Response< { id: string; type: string; content: string }, undefined, ApiError > > => { return http.get('v1/owner_general_rental_condition') }, } } export default getOwnerGeneralRentalCondition