export const loanProfileTypesMap = {
  FIXED: 'Fixed',
  ROLLING: 'Rolling',
  INDEFINITE: 'Indefinite',
};

export const intervalPeriodsMap = {
  MINUTE: 'minutes',
  HOUR: 'hours',
  DAY: 'days',
  WEEK: 'weeks',
  MONTH: 'months',
};

export const intervalIdsMap = {
  'Minutes': 'minutes',
  'Hours': 'hours',
  'Days': 'days',
  'Weeks': 'weeks',
  'Months': 'months',
};

export const renewFromMap = {
  CURRENT_DUE_DATE: '1',
  SYSTEM_DATE: '2',
};

export default {};

export const loanProfileTypesMap = {
  FIXED: 'Fixed',
  ROLLING: 'Rolling',
  INDEFINITE: 'Indefinite',
};

export const intervalPeriodsMap = {
  MINUTE: 'minutes',
  HOUR: 'hours',
  DAY: 'days',
  WEEK: 'weeks',
  MONTH: 'months',
};

export const intervalIdsMap = {
  'Minutes': 'minutes',
  'Hours': 'hours',
  'Days': 'days',
  'Weeks': 'weeks',
  'Months': 'months',
};

export const renewFromMap = {
  CURRENT_DUE_DATE: 'CURRENT_DUE_DATE',
  SYSTEM_DATE: 'SYSTEM_DATE',
};

export default {};

Replace int values with string representations for renewFromOptions