import {get, post} from '../http'

const profile = {
  addChargingProfile: (params) => post('chargingProfile/addChargingProfile', params),
  delChargingProfile: (params) => get('chargingProfile/delChargingProfile', {chargingProfilePk: params}),
  getPurposeOptionList: () => get('chargingProfile/getChargingProfilePurposeList'),
  getKindOptionList: () => get('chargingProfile/getChargingProfileKindList'),
  getRecurrencyKindList: () => get('chargingProfile/getRecurrencyKindList'),
  getChargingRateUnitList: () => get('chargingProfile/getChargingRateUnitList'),
  getChargingProfileById: (params) => get('chargingProfile/getChargingProfile', {chargingProfilePk: params}),
  getChargingProfilePages: (params) => post('chargingProfile/getChargingProfilePages', params),
  updateChargingProfile: (params) => post('chargingProfile/updateChargingProfile', params),
  getConfigureChargingProfilePages: (params) => post('chargingProfile/getConnectorChargingProfilePages', params)
}

export default profile;