/**
 * PropertyService Enum
 * Services available at the property
 * Used in detailsJSON.services array
 */
const PropertyService = Object.freeze({
  ELECTRICITY: 'Electricity',
  INTERNET: 'Internet',
  HEATING: 'Heating',
  WATER: 'Water',
  POOL: 'Pool',
  PRIVATE_GARDEN: 'PrivateGarden',
  PARKING: 'Parking',
  SECURITY_247: 'Security247',
  CENTRAL_HEATING: 'CentralHeating',
  CENTRAL_AIR_CONDITIONING: 'CentralAirConditioning',
  EQUIPPED_KITCHEN: 'EquippedKitchen',
  MAIDS_ROOM: 'MaidsRoom',
  ELEVATOR: 'Elevator',
});

const PropertyServiceLabels = Object.freeze({
  [PropertyService.ELECTRICITY]: 'كهرباء',
  [PropertyService.INTERNET]: 'إنترنت',
  [PropertyService.HEATING]: 'تدفئة',
  [PropertyService.WATER]: 'ماء',
  [PropertyService.POOL]: 'مسبح',
  [PropertyService.PRIVATE_GARDEN]: 'حديقة خاصة',
  [PropertyService.PARKING]: 'موقف سيارات',
  [PropertyService.SECURITY_247]: 'حراسة 24 ساعة',
  [PropertyService.CENTRAL_HEATING]: 'تدفئة مركزية',
  [PropertyService.CENTRAL_AIR_CONDITIONING]: 'تكييف مركزي',
  [PropertyService.EQUIPPED_KITCHEN]: 'مطبخ مجهز',
  [PropertyService.MAIDS_ROOM]: 'غرفة خادمة',
  [PropertyService.ELEVATOR]: 'مصعد',
});

// All services as array
const PropertyServicesList = Object.freeze(Object.values(PropertyService));

export { PropertyService, PropertyServiceLabels, PropertyServicesList };
