import { ServiceDetails } from './model/models' // The service terms of these services require the customer to choose a parcel locker at checkout const PARCEL_LOCKER_SERVICES = ['5801', '0344'] export const servicesSelectableFor = ( services: Array, customersChoice: string | undefined ): Array => services.filter( service => !PARCEL_LOCKER_SERVICES.includes(service.service_id) || service.service_id === customersChoice )