import { MethodType } from "@/constants/enum/method-type.enum";
import { HeaderType } from "@/constants/enum/header-type.enum";

const prefix = "/ebtc/auth";

const authApi = {
  menu: {
    url: prefix + "/menu",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code
  },
  principal: {
    url: prefix + "/principal",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code
  },
  role: {
    url: prefix + "/role",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code
  },
  user: {
    url: prefix + "/user",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code
  }
};

export default authApi;
