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

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

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}`,
};
