/**
 * API Structure + Org Chart
 */
import env from "../index";

const message = `${env.API_URI}/message`;
const reply = `${env.API_URI}/placement/noti`;

export default {
  msgNotificate: `${message}/my-notifications`,
  msgInbox: `${message}/my-inboxes`,
  msgId: (id: string) => `${message}/my-notifications/${id}`,
  msgNoread: () => `${message}/my-notifications/noread`,
  msgInboxDelete: (id: string) => `${message}/my-inboxes/${id}`,

  replyMessage: (id: string) => `${reply}/${id}`,
  msgNotiAdmin: `${env.API_URI}/org/profile/noti-admin`,
};
