import env from "../index";

const management = `${env.API_URI}/org/keycloak`;
const managementAuth = `${env.API_URI}/org/auth/authRole`;
const managementSys = `${env.API_URI}/org/auth/authSys`;
const managementPermission = `${env.API_URI}/org/auth/authRole/govoment`;

export default {
  management,
  managementUser: `${management}/user`,
  managementRole: `${management}/role`,
  managementSysList: `${managementSys}/list`,

  /** จัดการบทบาทและสิทธิ์*/
  managementAuth,

  /** กำหนดสิทธิ์*/
  managementPermission,

  resetPassword: `${management}/user/reset-password`,
};
