const IMEX_PBS_USER = process.env.IMEX_PBS_USER,
  IMEX_PBS_PASSWORD = process.env.IMEX_PBS_PASSWORD;
const PBS_CREDENTIALS = {
  password: IMEX_PBS_PASSWORD,
  username: IMEX_PBS_USER
};

exports.PBS_CREDENTIALS = PBS_CREDENTIALS;

const pbsDomain = `https://partnerhub.pbsdealers.com/json/reply`;
exports.PBS_ENDPOINTS = {
  AccountGet: `${pbsDomain}/AccountGet`,
  ContactGet: `${pbsDomain}/ContactGet`,
  VehicleGet: `${pbsDomain}/VehicleGet`,
  AccountingPostingChange: `${pbsDomain}/AccountingPostingChange`,
  ContactChange: `${pbsDomain}/ContactChange`,
  VehicleChange: `${pbsDomain}/VehicleChange`,
  RepairOrderChange: `${pbsDomain}/RepairOrderChange`, //TODO: Verify that this is correct. Docs have /reply/ in path. 
  RepairOrderGet: `${pbsDomain}/RepairOrderGet`,
  RepairOrderContactVehicleGet: `${pbsDomain}/RepairOrderContactVehicleGet`,
  RepairOrderContactVehicleChange: `${pbsDomain}/RepairOrderContactVehicleChange`,
};
