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

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

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

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