import type { IncomingPaymentTransaction } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type AddExportInput = { id: string export: { imported_to_account_software: boolean } } const modifyExport = (http: HttpClient) => ({ query: ( input: AddExportInput, ): Promise> => { return http.post( `v3/admin/exports/incoming_payment_transactions/${input.id}`, { ...input.export }, ) }, }) export default modifyExport