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