v2.4.2

oly

OLY novated-lease calculator proxy.

FieldValue
Serverless servicedrive-api-oly
Runtimenodejs22.x, arm64
Regionap-southeast-2
Deployed HTTP operations1
Local worker harnesses0
OpenAPI/openapi/oly.yaml · interactive

Deployed routes

MethodPathAuthSummary
GET/oly/lease/calculatorPublicNovated-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
Esc