import { Company as CwCompany } from "../../generated/prisma/client"; import { Company as ApiCompany } from "../../../api/generated/prisma/client"; import { Translation } from "./types"; export const companyTranslation: Translation = { values: [ { from: "companyRecId", to: "id" }, { from: "companyName", to: "name", process: (value) => (value ? value : "Unnamed Company"), }, { from: "phoneNbr", to: "phone" }, { from: "websiteUrl", to: "website" }, { from: "deleteFlag", to: "deleteFlag" }, { from: "dateDeleted", to: "dateDeleted" }, { from: "taxId", to: "taxId" }, { from: "deletedBy", to: "deletedById" }, { from: "enteredBy", to: "enteredById" }, { from: "dateEntered", to: "createdAt" }, { from: "lastUpdate", to: "updatedAt" }, ], };