import { http } from '@/services/api/http'
import { buildUrl, endpoints } from '@/services/api/endpoints'

export const apiGetStudentTerms = (params) => http.get(endpoints.getStudentTerms, { params })

export const apiShowStudentTerm = (id) => http.get(buildUrl(endpoints.showStudentTerm, { id }))
