import type { Appointment } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetAppointmentInput = { appointmentId: string contractId: string } const getAppointment = (http: HttpClient) => { return { query: ( input: GetAppointmentInput, ): Promise> => { return http.get( `v3/admin/tailor/contracts/${input.contractId}/appointments/${input.appointmentId}`, ) }, } } export default getAppointment