import client from '../client' ; import { AxiosRequestConfig } from 'axios' ; export interface CreateArgs { exclusion : Record < string , any > ; } export async function userScheduleExclusionCreate ( opts , context ) { const { exclusion } = opts || { } ; const res = await client . post ( `/user_schedule_exclusions` , exclusion , context ) ; return res ?. data ?. data [ 0 ] ; }