oly
OLY novated-lease calculator proxy.
| Field | Value |
|---|
| Serverless service | drive-api-oly |
| Runtime | nodejs22.x, arm64 |
| Region | ap-southeast-2 |
| Deployed HTTP operations | 1 |
| Local worker harnesses | 0 |
| OpenAPI | /openapi/oly.yaml · interactive |
Deployed routes
| Method | Path | Auth | Summary |
|---|
| GET | /oly/lease/calculator | Public | Novated-lease calculation |
Behaviour notes
variant_uuid is required; salary, lease_term_months, and kms_per_year have defaults.
- The handler resolves vehicle details through Tailpipe before calling OLY.
- Vehicles with NVIC use the specific calculator endpoint; vehicles without NVIC use the presumptive endpoint.
- State is hard-coded to NSW for the specific endpoint.
- The cache key combines variant, salary, term, and kilometres; entries expire at the end of the month.
Source map
- services/oly/serverless.yml
- services/oly/functions/olyCalculator.ts
- services/oly/queries/tailpipe.ts
- services/oly/util/getVehicleDetails.ts