import type { HttpClient } from '@services' import getContractById from './owner/getContractById' import getOwnerGeneralRentalCondition from './owner/getOwnerGeneralRentalCondition' import sendSmsOrEmailAuthSystem from './owner/sendSmsOrEmailAuthSystem' const contractRepository = (http: HttpClient) => ({ owner: { getContractById: getContractById(http).query, getOwnerGeneralRentalCondition: getOwnerGeneralRentalCondition(http).query, sendSmsOrEmailAuthSystem: sendSmsOrEmailAuthSystem(http).query, }, }) export default contractRepository