add order timeline API: step names + estimated business-day completion dates per service
GET /api/v1/order-timeline/:order_id — returns steps with dates: - Skips weekends + US federal holidays (matches business_days.py) - Per-service timelines: MCS-150 (2 days), BOC-3 (3 days), MC Auth (15 days), etc - Entity upgrade bundle shows full sequential pipeline (10 business days) - ETA emergency shows same-day processing
This commit is contained in:
parent
ad41de817c
commit
90a0f983ee
2 changed files with 162 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ import pucRouter from "./routes/puc.js";
|
|||
import fccCarrierRegRouter from "./routes/fcc-carrier-registration.js";
|
||||
import dotLookupRouter from "./routes/dot-lookup.js";
|
||||
import surveyRouter from "./routes/survey.js";
|
||||
import orderTimelineRouter from "./routes/order-timeline.js";
|
||||
|
||||
const app = express();
|
||||
|
||||
|
|
@ -122,6 +123,7 @@ app.use(pucRouter);
|
|||
app.use(fccCarrierRegRouter);
|
||||
app.use(dotLookupRouter);
|
||||
app.use(surveyRouter);
|
||||
app.use(orderTimelineRouter);
|
||||
app.use(adminCryptoRouter);
|
||||
// Note: identityRouter mounted above express.json() for webhook route,
|
||||
// but also handles non-webhook routes (create-session, poll) which work fine with json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue