import { AxiosInstance } from 'axios' ; import { Batch } from '../@types' ; export default function ( client ) { return { async batch ( requests ) { return await client . post ( 'batch' , { requests , } ) ; } , } ; }