import type { IncomingPaymentTransaction } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type AddExportInput = { export: { exported_data_start_at: Date exported_data_end_at: Date } } const addExport = (http: HttpClient) => ({ query: ( input: AddExportInput, ): Promise> => { return http.post(`v3/admin/exports/incoming_payment_transactions`, { ...input, }) }, }) export default addExport