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`,
  msgNotificateTotal: `${placementMessage}/my-notifications/noread`,
  msgInbox: `${placementMessage}/my-inboxes`,
  msgId: (id: string) => `${placementMessage}/my-notifications/${id}`,
  replyMessage: (id: string) => `${reply}/${id}`,
  msgInboxRead: (id: string) => `${placementMessage}/my-inboxes/${id}`,
};
