import client from '../client' ; import { AxiosRequestConfig } from 'axios' ; export type FindManyOpts = { filter ? : { dateRange : { start ? : string ; end ? : string ; equal ? : string ; } ; } ; workScheduleId : Record < string , any > ; } ; export async function workScheduleExclusionFindMany ( opts , context ) { const { filter , workScheduleId } = opts || { } ; const params = filter || { } ; const res = await client . get ( `/workschedules/${ workScheduleId }/workschedule_exclusions` , { ... context , params , } ) ; return res ?. data ?. data ; }