57 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
const API_URL = import.meta.env.VITE_BACKEND_URL + 'api/'
 | 
						|
 | 
						|
export const getDetailUser = API_URL + 'v1/admin/detail'
 | 
						|
 | 
						|
// Tracking
 | 
						|
export const getListTracking = API_URL + 'v1/admin/tracking'
 | 
						|
export const addTracking = API_URL + 'v1/admin/tracking/create'
 | 
						|
export const updateTracking = API_URL + 'v1/admin/tracking/update'
 | 
						|
export const deleteTracking = API_URL + 'v1/admin/tracking/delete'
 | 
						|
 | 
						|
// Worklogs
 | 
						|
export const fetchAllIssues = API_URL + 'v1/admin/jira/fetch-issues'
 | 
						|
export const exportIssues = API_URL + 'v1/admin/jira/export-issues'
 | 
						|
export const getAllProjects = API_URL + 'v1/admin/jira/all-project'
 | 
						|
export const getAllIssuesByProject = API_URL + 'v1/admin/jira/all-issue-by-project'
 | 
						|
export const getAllUserWorklogs = API_URL + 'v1/admin/jira/worklogs'
 | 
						|
export const getAllUserDoing = API_URL + 'v1/admin/jira/allocation'
 | 
						|
 | 
						|
//Timekeeping
 | 
						|
export const getTheTimesheet = API_URL + 'v1/admin/timekeeping'
 | 
						|
export const updateMultipleUserWorkingTime = API_URL + 'v1/admin/timekeeping/addMutilple'
 | 
						|
export const updateNote = API_URL + 'v1/admin/timekeeping/addNote'
 | 
						|
export const deleteNote = API_URL + 'v1/admin/timekeeping/delete'
 | 
						|
export const updateCacheMonth = API_URL + 'v1/admin/timekeeping/update-cache-month'
 | 
						|
export const updateWorkingDays = API_URL + 'v1/admin/timekeeping/update-working-days'
 | 
						|
 | 
						|
//Category
 | 
						|
export const getListMaster = API_URL + 'v1/admin/category/get-list-master'
 | 
						|
 | 
						|
//LeaveManagement
 | 
						|
export const getLeaveManagement = API_URL + 'v1/admin/leave-management'
 | 
						|
export const updateNoteLeave = API_URL + 'v1/admin/leave-management/saveNoteLeave'
 | 
						|
 | 
						|
//Tickets
 | 
						|
export const getTickets = API_URL + 'v1/admin/ticket/all'
 | 
						|
export const getTicketsOfUser = API_URL + 'v1/admin/ticket/getByUserId'
 | 
						|
export const deleteTicket = API_URL + 'v1/admin/ticket/delete'
 | 
						|
export const addTicket = API_URL + 'v1/admin/ticket/create'
 | 
						|
export const handleTicket = API_URL + 'v1/admin/ticket/handle-ticket'
 | 
						|
 | 
						|
//Users
 | 
						|
 | 
						|
export const getAllUsers = API_URL + 'v1/users'
 | 
						|
export const createOrUpdateUser = API_URL + 'v1/users/createOrUpdate'
 | 
						|
export const deleteUser = API_URL + 'v1/users/delete'
 | 
						|
export const getQRCode = API_URL + 'v1/users/qrcode'
 | 
						|
 | 
						|
//SprintReview
 | 
						|
export const getAllCriteriasBySprint = API_URL + 'v1/admin/criterias/sprints'
 | 
						|
 | 
						|
export const getAllProject = API_URL + 'v1/admin/jira/all-project'
 | 
						|
export const getAllBoardByIdProject = API_URL + 'v1/admin/jira/get-all-board-by-id-project'
 | 
						|
export const getDetailProjectById = API_URL + 'v1/admin/jira/get-detail-project-by-id'
 | 
						|
export const getAllSprintByIdBoard = API_URL + 'v1/admin/jira/get-all-sprint-by-id-board'
 | 
						|
export const getAllIssuesByIdSprint = API_URL + 'v1/admin/jira/get-all-issue-by-id-sprint'
 | 
						|
 | 
						|
export const updateSprintReview = API_URL + 'v1/admin/sprint-review/update' |