import client from './client'

export const applyJob = (jobId) => client.post('/applications/apply/', { job: jobId })
export const getMyApplications = () => client.get('/applications/mine/')
export const getManageApplications = (page = 1) => client.get('/applications/manage/', { params: { page } })
export const updateApplicationStatus = (id, data) => client.patch(`/applications/manage/${id}/status/`, data)
