import env from "../index";
const evaluateDirectorMain = `${env.API_URI}/evaluation/director`;
const evaluation = `${env.API_URI}/evaluation`;
const evaluationFile = `${env.API_URI}/evaluation/document`;
export default {
  evaluateDirectorMain: () => `${evaluateDirectorMain}`,
  evaluateDirectorById: (id: string) => `${evaluateDirectorMain}/${id}`,

  evaluationMain: () => `${evaluation}`,

  evaluateGetDetail: (id: string) => `${evaluation}/admin/check-spec/${id}`,
  evaluateGetReport: (id: string) =>
    `${evaluation}/report/check-spec-report/${id}`,
  evaluateGetStep: (id: string) => `${evaluation}/check/admin/${id}`,

  meeting: () => `${evaluation}/meeting`,
  meetingById: (id: string) => `${evaluation}/meeting/${id}`,
  meetingFilebyId: (volume: string, id: string) =>
    `${evaluation}/document/${volume}/${id}`,
  meetingFileDowloadbyId: (volume: string, id: string, file: string) =>
    `${evaluation}/document/${volume}/${id}/${file}`,

  evaluationFilebyId: (volume: string, id: string, file: string) =>
    `${evaluationFile}/${volume}/${id}/${file}`,
  evaluationFileListbyId: (volume: string, id: string) =>
    `${evaluationFile}/${volume}/${id}`,
  evaluationApproveDoc1: (id: string) => `${evaluation}/doc1/approve/${id}`,
  evaluationNext5To6: (id: string) => `${evaluation}/announce/${id}`,
  evaluationNextFinish: (id: string) => `${evaluation}/wait-check-doc-v2/${id}`,

  evaluationAnnounceTemplete: (type: string, id: string) =>
    `${evaluation}/${type}-announce-template/${id}`,

  evaluationHistory: (id: string) => `${evaluation}/step-history/${id}`,

  evaluationDateAnnounce: (id: string) =>
    `${evaluation}/admin/check-date/${id}`,

  evaluationSigner: (id: string, num: number) =>
    `${evaluation}/admin/doc${num}-signer/${id}`,

  evaluationSentToContact: (id: string) => `${evaluation}/contact/user/${id}`,

  evaluationPatchData: (volume: string, id: string, file: string) =>
    `${evaluationFile}/${volume}/${id}/${file}`,

  evaluationChooseDirectors: (id: string) =>
    `${evaluation}/choose-directors/${id}`,
  evaluationChooseMeeting: (id: string) =>
    `${evaluation}/choose-meetings/${id}`,

  evaluationListData: (id: string) => `${evaluation}/director-meeting/${id}`,
  evaluationReport: `${evaluation}/report`,

  updateEvaluationResult: (id: string) =>
    `${evaluation}/updateEvaluationResult/${id}`,
};
