import client from '../client' ; import { AxiosRequestConfig } from 'axios' ; export type FindByIdOpts = { id : string ; } ; export async function userScheduleExclusionFindById ( opts , context ) { const { id } = opts || { } ; const res = await client . get ( `/user_schedule_exclusions/${ id }` , context ) ; return res ?. data ?. data ?. [ 0 ] ; }