import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetPayOutInput = { id: string } const getPayOut = (http: HttpClient) => ({ query: ( input: GetPayOutInput, ): Promise> => { return http.get(`v3/admin/exports/pay_outs/${input.id}`, { responseType: 'blob', }) }, }) export default getPayOut