PageSourceSearch

https://www.motorsales.ai/assets/PlatformsDashboard-BSMMU301.js

js motorsales.ai collected 2026-10-05 12:18:14 UTC 16,132 bytes, 36 lines download raw bytes

1import{r as o,j as e}from"./vendor-react-jF_kt2JX.js";import{P as A}from"./PageMeta-CmxGaJcw.js";import{C as u,a as x,b as g,c as f}from"./card-BSKqRIg-.js";import{c,a as r,B as n}from"./index-DmBTdXAg.js";import{D as M,a as I,b as T,c as S,d as R}from"./dialog-8RZps6_R.js";import{E as i}from"./external-link-CAOH7X5Z.js";import{S as D}from"./settings-D8dyInHW.js";import{Q as F}from"./qr-code-C3Hb0SAD.js";import{U as p}from"./users-Bn8U1cGT.js";import{M as H}from"./map-pin--Xd6HcAo.js";import{C as U,B}from"./circle-help-vDmz3hVP.js";import{C as y}from"./chart-column-CheTwbQm.js";import{C as j}from"./calculator-DDhj6ngq.js";import{S as V}from"./shield-CVPiuzhq.js";import{F as b}from"./file-text-i-BHVr2h.js";import"./vendor-router-CWiOgDIQ.js";import"./vendor-react-dom-ClxaEcYq.js";import"./vendor-radix-CP7hthBf.js";import"./vendor-query-BrIDhjy6.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const q=c("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const G=c("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
11],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const k=c("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
17 * @license lucide-react v0.462.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const E=c("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
22 * @license lucide-react v0.462.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const z=c("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
27 * @license lucide-react v0.462.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const Q=c("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
32 * @license lucide-react v0.462.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */const _=c("Receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]),v=o.forwardRef(({className:s,...t},a)=>e.jsx("div",{className:"relative w-full overflow-auto",children:e.jsx("table",{ref:a,className:r("w-full caption-bottom text-sm",s),...t})}));v.displayName="Table";const N=o.forwardRef(({className:s,...t},a)=>e.jsx("thead",{ref:a,className:r("[&_tr]:border-b",s),...t}));
36N.displayName="TableHeader";const w=o.forwardRef(({className:s,...t},a)=>e.jsx("tbody",{ref:a,className:r("[&_tr:last-child]:border-0",s),...t}));w.displayName="TableBody";const L=o.forwardRef(({className:s,...t},a)=>e.jsx("tfoot",{ref:a,className:r("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",s),...t}));L.displayName="TableFooter";const h=o.forwardRef(({className:s,...t},a)=>e.jsx("tr",{ref:a,className:r("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",s),...t}));h.displayName="TableRow";const d=o.forwardRef(({className:s,...t},a)=>e.jsx("th",{ref:a,className:r("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",s),...t}));d.displayName="TableHead";const m=o.forwardRef(({className:s,...t},a)=>e.jsx("td",{ref:a,className:r("p-4 align-middle [&:has([role=checkbox])]:pr-0",s),...t}));m.displayName="TableCell";const O=o.forwardRef(({className:s,...t},a)=>e.jsx("caption",{ref:a,className:r("mt-4 text-sm text-muted-foreground",s),...t}));O.displayName="TableCaption";const W=[{name:"Motor Sales Portal",url:"https://portal.autofintech.co.uk/",icon:D,category:"Core Portals"},{name:"Connected QR Portal",url:"https://my.dsg.credit/auth",icon:F,category:"Core Portals"},{name:"Partnerships Portal",url:"https://checkout.dsgfs.app/portal",icon:p,category:"Core Portals"},{name:"AFT Project Management",url:"https://projects.aftgroup.co.uk/",icon:z,category:"Project Management"},{name:"AFT Ticket Support Centre",url:"https://projects.aftgroup.co.uk/tickets",icon:Q,category:"Project Management"},{name:"Roadmap Admin",url:"https://roadmap-idea-stream.vercel.app/admin/login",icon:H,category:"Product Development"},{name:"Roadmap Customers",url:"https://roadmap-idea-stream.vercel.app/",icon:p,category:"Product Development"},{name:"Customer Help Centre",url:"https://projects.aftgroup.co.uk/public/support",icon:U,category:"Customer Support"},{name:"Ranger Portal",url:"https://connector.motorsales.ai/dashboard",icon:y,category:"Analytics & Connectors"},{name:"Dealer IQ",url:"https://dealer-iq.motorsales.ai/",icon:B,category:"Analytics & Connectors"},{name:"Connected AI Setup",url:"https://grow.motorsales.ai/",icon:G,category:"Analytics & Connectors"},{name:"Marketplace Portal",url:"https://checkout.dsgfs.app/portal",icon:p,category:"Analytics & Connectors"},{name:"Marketplace Calculators",url:"https://calc.comparemotorfinance.co.uk/login",icon:j,category:"Finance Tools"},{name:"MSAI Core API",url:"https://portal.autofintech.co.uk/api/documentation",icon:q,category:"APIs"},{name:"Sun Motors API",url:"https://api.sunmotors.co.uk/docs#/",icon:k,category:"APIs"},{name:"Sun Motors Approved Search API",url:"https://sun.motorsearch.ai/swagger-docs#/",icon:k,category:"APIs"},{name:"Lender Criteria API",url:"https://calc.comparemotorfinance.co.uk/public/api-docs",icon:V,category:"APIs"},{name:"Marketplace Calculator API",url:"https://calc.comparemotorfinance.co.uk/public/api-docs",icon:j,category:"APIs"},{name:"Affordability Calculator API",url:"https://calc.comparemotorfinance.co.uk/public/api-docs",icon:E,category:"APIs"},{name:"Post Approval Quote API",url:"https://calc.comparemotorfinance.co.uk/public/api-docs",icon:_,category:"APIs"},{name:"Marketplace Analytics",url:"https://checkout.dsgfs.app/public/checkout/api",icon:y,category:"APIs"}],K=[{id:1,endpoint:"Universal Calculator",usecase:"HP/PCP Codeweavers/AutoQuote",documentUrl:"https://portal.autofintech.co.uk/api/documentation#/Universal%20Finance%20Calculator"},{id:2,endpoint:"Submit Finance Proposal",usecase:"Create Finance Application",documentUrl:"https://portal.autofintech.co.uk/api/documentation#/Applications"},{id:3,endpoint:"Get Approvals",usecase:"Obtain All Approvals",documentUrl:"https://portal.autofintech.co.uk/api/documentation#/Get%20approvals/getApplicationApprovals"},{id:4,endpoint:"Calculate Affordability",usecase:"Convert Monthly Budget to Purchase Budget",documentUrl:"https://calc.comparemotorfinance.co.uk/public/api-docs"},{id:5,endpoint:"Re-Quote HP (Non Prime)",usecase:"Allows any lender re-quote HP only, now supports Prime as well",documentUrl:"https://calc.comparemotorfinance.co.uk/public/api-docs"},{id:6,endpoint:"Lender Criteria",usecase:"Fuzzy Match Lender Name to Get Criteria for Given Lender",documentUrl:"https://calc.comparemotorfinance.co.uk/public/api-docs"},{id:7,endpoint:"Calculate Finance",usecase:"For large volume quotes, HP & PCP estimator ideal for Marketplaces",documentUrl:"https://calc.comparemotorfinance.co.uk/public/api-docs"},{id:8,endpoint:"Marketplace Car Search",usecase:"Based on monthly budget and real approval (use post approval)",documentUrl:"https://sun.motorsearch.ai/swagger-docs#/Vehicle%20Search/vehicleSearch"},{id:9,endpoint:"Marketplace Car Search",usecase:"Get customer car search history",documentUrl:"https://sun.motorsearch.ai/swagger-docs#/Vehicle%20Search/checkSearchStatus"},{id:10,endpoint:"Marketplace Recommended Cars",usecase:"Get recommendations based on customer history",documentUrl:"https://api.sunmotors.c
36o.uk/docs#/recommendation/RecommendationController_getRecommendationsByApplication"},{id:11,endpoint:"Marketplace Analytics",usecase:"Marketplace analytics and reporting API",documentUrl:"https://checkout.dsgfs.app/public/checkout/api"}],Z=["Core Portals","Project Management","Product Development","Customer Support","Analytics & Connectors","Finance Tools","APIs"],xe=()=>{const[s,t]=o.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(A,{title:"Platform Dashboard – Internal Access",description:"Internal platform dashboard for team access to all systems.",noIndex:!0}),e.jsx("div",{className:"min-h-screen bg-background pt-24 pb-16",children:e.jsxs("main",{className:"container",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h1",{className:"font-heading text-4xl md:text-5xl font-bold text-secondary mb-4",children:"Platform Dashboard"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Quick access to all our platforms and systems. Keep this page bookmarked for easy navigation."})]}),e.jsxs("section",{className:"mb-16",children:[e.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-semibold text-secondary mb-6 text-center",children:"API Contents"}),e.jsx("div",{className:"max-w-6xl mx-auto rounded-lg border bg-card overflow-hidden",children:e.jsxs(v,{children:[e.jsx(N,{children:e.jsxs(h,{children:[e.jsx(d,{className:"font-semibold",children:"Endpoint"}),e.jsx(d,{className:"font-semibold",children:"Use case"}),e.jsx(d,{className:"font-semibold text-center",children:"View Documents"})]})}),e.jsx(w,{children:K.map(a=>e.jsxs(h,{children:[e.jsx(m,{className:"font-medium",children:a.endpoint}),e.jsx(m,{className:"text-muted-foreground",children:a.usecase}),e.jsx(m,{className:"text-center",children:e.jsx(n,{variant:"outline",size:"sm",asChild:!0,children:e.jsxs("a",{href:a.documentUrl,target:"_blank",rel:"noopener noreferrer",className:"gap-2",children:["View Documents",e.jsx(i,{className:"w-4 h-4"})]})})})]},a.id))})]})})]}),e.jsx("div",{className:"space-y-14",children:Z.map(a=>{const C=W.filter(l=>l.category===a);return e.jsxs("section",{children:[e.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-semibold text-secondary mb-6 text-center",children:a}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:[C.map(l=>{const P=l.icon;return e.jsxs(u,{className:"group hover:shadow-lg transition-all duration-300",children:[e.jsx(x,{className:"pb-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(P,{className:"w-5 h-5 text-primary"})}),e.jsx(g,{className:"text-base leading-tight",children:l.name})]})}),e.jsx(f,{children:e.jsx(n,{className:"w-full gap-2",asChild:!0,children:e.jsxs("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",children:["Access Platform ",e.jsx(i,{className:"w-4 h-4"})]})})})]},l.name)}),a==="APIs"&&e.jsxs(M,{open:s,onOpenChange:t,children:[e.jsx(I,{asChild:!0,children:e.jsxs(u,{className:"group hover:shadow-lg transition-all duration-300 cursor-pointer",children:[e.jsx(x,{className:"pb-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(b,{className:"w-5 h-5 text-primary"})}),e.jsx(g,{className:"text-base leading-tight",children:"Vehicle Reviews API"})]})}),e.jsx(f,{children:e.jsxs(n,{className:"w-full gap-2",children:["View APIs ",e.jsx(b,{className:"w-4 h-4"})]})})]})}),e.jsxs(T,{className:"max-w-4xl max-h-[80vh] overflow-y-auto",children:[e.jsx(S,{children:e.jsx(R,{className:"font-heading text-2xl",children:"Vehicle Reviews API Documentation"})}),e.jsxs("div",{className:"space-y-8 mt-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"All Reviews"}),e.jsx("p",{className:"text-muted-foreground",children:"Get all vehicle reviews with pagination support."}),e.jsx("div",{className:"bg-muted p-4 rounded-lg",children:e.jsx("code",{className:"text-sm font-mono break-all",children:"GET https://www.sunmotors.c
36o.uk/api/vehicle-reviews?page=1"})}),e.jsx(n,{asChild:!0,className:"gap-2",children:e.jsxs("a",{href:"https://www.sunmotors.co.uk/api/vehicle-reviews?page=1",target:"_blank",rel:"noopener noreferrer",children:["Test API ",e.jsx(i,{className:"w-4 h-4"})]})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"By Make and Model"}),e.jsx("p",{className:"text-muted-foreground",children:"Filter reviews by specific make and model. Dynamically replace the query string parameters with your desired make and model."}),e.jsxs("div",{className:"bg-muted p-4 rounded-lg space-y-2",children:[e.jsx("code",{className:"text-sm font-mono block break-all",children:"GET https://www.sunmotors.co.uk/api/vehicle-reviews?page=1&make=BMW&model=3-Series"}),e.jsxs("div",{className:"text-sm text-muted-foreground mt-2",children:[e.jsx("strong",{children:"Dynamic Parameters:"}),e.jsxs("ul",{className:"list-disc list-inside mt-1 space-y-1",children:[e.jsxs("li",{children:[e.jsx("code",{className:"bg-background px-1 rounded",children:"make=BMW"})," – any manufacturer (BMW, Audi, Mercedes, etc.)"]}),e.jsxs("li",{children:[e.jsx("code",{className:"bg-background px-1 rounded",children:"model=3-Series"})," – specific model name"]}),e.jsxs("li",{children:[e.jsx("code",{className:"bg-background px-1 rounded",children:"page=1"})," – page number for pagination"]})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-sm font-medium",children:"Example queries:"}),e.jsxs("div",{className:"bg-muted p-3 rounded text-sm font-mono space-y-1",children:[e.jsx("div",{children:"?page=1&make=Audi&model=A4"}),e.jsx("div",{children:"?page=1&make=Mercedes&model=C-Class"}),e.jsx("div",{children:"?page=1&make=Ford&model=Focus"})]})]}),e.jsx(n,{asChild:!0,className:"gap-2",children:e.jsxs("a",{href:"https://www.sunmotors.co.uk/api/vehicle-reviews?page=1&make=BMW&model=3-Series",target:"_blank",rel:"noopener noreferrer",children:["Test API ",e.jsx(i,{className:"w-4 h-4"})]})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"Review Specific"}),e.jsx("p",{className:"text-muted-foreground",children:"Get a specific vehicle review by its unique identifier."}),e.jsx("div",{className:"bg-muted p-4 rounded-lg",children:e.jsx("code",{className:"text-sm font-mono break-all",children:"GET https://www.sunmotors.co.uk/api/vehicle-reviews/audi-a4-saloon-2015-2024"})}),e.jsx(n,{asChild:!0,className:"gap-2",children:e.jsxs("a",{href:"https://www.sunmotors.co.uk/api/vehicle-reviews/audi-a4-saloon-2015-2024",target:"_blank",rel:"noopener noreferrer",children:["Test API ",e.jsx(i,{className:"w-4 h-4"})]})})]})]})]})]})]})]},a)})})]})})]})};export{xe as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.