import {
	WeaTools
} from 'ecCom'

export const getCondition = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/getPubHolidayListSearchCondition', 'GET', params);

export const getCalendar = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/getPubHolidayListSearchCalendar', 'POST', params);

export const getDataList = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/getPubHolidayListSearchList', 'POST', params);

export const getForm = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/getPubHolidayListSetForm?is_multilang_set=true', 'POST', params);

export const saveForm = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/savePubHolidayListSetForm', 'POST', params);

export const getCopyForm = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/getPubHolidayCopySetForm?is_multilang_set=true', 'POST', params);

export const saveCopyForm = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/savecopyPubHolidayListSetForm', 'POST', params);

export const remove = (params = {}) => WeaTools.callApi('/api/hrm/schedule/hrmPubHoliday/delPubHolidayListSetForm', 'POST', params);