import type { PaymentTimeline } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetPaymentTimelineInput = { houseId: string contractId: string } const getPaymentTimeline = (http: HttpClient) => { return { query: ( input: GetPaymentTimelineInput, ): Promise> => { return http.get( `v3/user/houses/${input.houseId}/contracts/${input.contractId}/timeline_items`, ) }, } } export default getPaymentTimeline