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