From 95fc6ace13cee19dee4578f0479e8d137e173ddb Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 17:39:16 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/settings.import.tsx | 35 +++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/routes/settings.import.tsx b/src/routes/settings.import.tsx index bf92579..049e46e 100644 --- a/src/routes/settings.import.tsx +++ b/src/routes/settings.import.tsx @@ -190,27 +190,48 @@ const IMPORTERS: ImporterConfig[] = [ conflict: "external_id", required: ["case_number", "title", "client_id"], aliases: { - id: "external_id", caseid: "external_id", externalid: "external_id", + id: "external_id", caseid: "external_id", externalid: "external_id", mycaseid: "external_id", casenumber: "case_number", number: "case_number", mattercode: "case_number", + caseno: "case_number", casenum: "case_number", name: "title", title: "title", mattername: "title", - companyid: "_clientext", clientid: "_clientext", company: "_clientname", client: "_clientname", - description: "description", summary: "case_summary", casesummary: "case_summary", + casemattername: "title", casename: "title", + companyid: "_clientext", clientid: "_clientext", + clientno: "_clientext", clientnumber: "_clientext", + company: "_clientname", client: "_clientname", + communityassociation: "_clientname", associationname: "_clientname", + managementcompany: "_clientname", + description: "description", casedescription: "description", + summary: "case_summary", casesummary: "case_summary", practicearea: "practice_area", area: "practice_area", - status: "status", - opened: "opened_at", openedat: "opened_at", dateopened: "opened_at", - closed: "closed_at", closedat: "closed_at", dateclosed: "closed_at", + caseinquirytype: "practice_area", representation: "practice_area", + associationtype: "practice_area", + status: "status", casestage: "status", + opened: "opened_at", openedat: "opened_at", dateopened: "opened_at", opendate: "opened_at", + closed: "closed_at", closedat: "closed_at", dateclosed: "closed_at", closeddate: "closed_at", + caseclosed: "_closedflag", court: "court", judge: "judge", jurisdiction: "jurisdiction", + district: "jurisdiction", county: "jurisdiction", countylocation: "jurisdiction", + courtinformation: "court", primarycaselocation: "court", caseCaption: "case_caption", caption: "case_caption", courtcasenumber: "court_case_number", filingdate: "filing_date", nexthearing: "next_hearing_date", nexthearingdate: "next_hearing_date", + pretrialconference: "next_hearing_date", trial: "next_hearing_date", opposingparty: "opposing_party", - opposingcounsel: "opposing_counsel", + defendants: "opposing_party", plaintiffs: "opposing_party", + opposingcounsel: "opposing_counsel", opposingcounsels: "opposing_counsel", opposingcounselfirm: "opposing_counsel_firm", opposingcounselemail: "opposing_counsel_email", opposingcounselphone: "opposing_counsel_phone", + leadattorney: "_assignedname", originatingattorney: "_originatingname", claimamount: "claim_amount", settlementamount: "settlement_amount", + outstandingbalance: "claim_amount", + casebalance: "claim_amount", ledgerbalance: "claim_amount", + totaldue: "claim_amount", duetofirm: "claim_amount", hourlyrate: "default_hourly_rate", rate: "default_hourly_rate", + flatfee: "flat_fee_amount", + billingtype: "billing_method", + soldate: "statute_of_limitations", archived: "_archived", isarchived: "_archived", }, numeric: ["claim_amount", "settlement_amount", "default_hourly_rate"],