import type { BankExport } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type CancelBankExportInput = { id: string } const cancelBankExport = (http: HttpClient) => ({ query: ( input: CancelBankExportInput, ): Promise> => { return http.put(`v3/admin/bank_exports/${input.id}/cancel`, {}) }, }) export default cancelBankExport