all the haul

This commit is contained in:
2026-04-07 23:56:31 +00:00
parent 87cce83030
commit 24f303355b
244 changed files with 33743 additions and 11249 deletions
@@ -0,0 +1,26 @@
import { SoOppStatus as CwOpportunityStatus } from "../../generated/prisma/client";
import { OpportunityStatus as ApiOpportunityStatus } from "../../../api/generated/prisma/client";
import { Translation } from "./types";
export const opportunityStatusTranslation: Translation<
CwOpportunityStatus,
ApiOpportunityStatus
> = {
values: [
{ from: "soOppStatusRecId", to: "id" },
{
from: "description",
to: "name",
process: (value) => (value ? value : "Unknown Status"),
},
{ from: "description", to: "description" },
{ from: "inactiveFlag", to: "inactiveFlag" },
{ from: "defaultFlag", to: "defaultFlag" },
{ from: "wonFlag", to: "wonFlag" },
{ from: "lostFlag", to: "lostFlag" },
{ from: "closedFlag", to: "closeFlag" },
{ from: "dateEnteredUtc", to: "createdAt" },
{ from: "updatedBy", to: "updatedById" },
{ from: "lastUpdatedUtc", to: "updatedAt" },
],
};