import type { PayIn, PayInAssign } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' const assignPayIn = (http: HttpClient) => ({ query: ( input: PayInAssign, ): Promise> => { return http.post(`v3/admin/pay_ins/${input.payInId}/assigns`, input.params) }, }) export default assignPayIn