UNPKG

autotrader-connect-api

Version:

Production-ready TypeScript wrapper for Auto Trader UK Connect APIs

31 lines 1.16 kB
"use strict"; /** * Future Valuations module for AutoTrader API * Placeholder implementation - would be fully developed in production */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getFutureValuationTrends = exports.getFutureValuation = void 0; const client_1 = __importDefault(require("../client")); /** * Get future valuation prediction * @param vehicleId Vehicle identifier * @returns Promise resolving to future valuation data */ async function getFutureValuation(vehicleId) { const response = await client_1.default.get(`/future-valuations/${vehicleId}`); return response.data; } exports.getFutureValuation = getFutureValuation; /** * Get future valuation trends * @returns Promise resolving to valuation trends */ async function getFutureValuationTrends() { const response = await client_1.default.get('/future-valuations/trends'); return response.data; } exports.getFutureValuationTrends = getFutureValuationTrends; //# sourceMappingURL=futureValuations.js.map