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 cdkDomain =
//   process.env.NODE_ENV === "production"
//     ? "https://3pa.dmotorworks.com"
//     : "https://uat-3pa.dmotorworks.com";

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`
};
