UNPKG

@alba-cars/common-modules

Version:

A package containing DTOs, validation classes and common modules and interfaces for Alba Cars

46 lines (45 loc) 1.33 kB
import { MarketingData } from "../../../../core"; import { BankValuationActionType } from "../../../models/BankValuationResult"; export declare class BankValuationRequestCreateDto { name: string; email?: string; phone: string; bankName: string; bankerEmail?: string; makeDealDriveId?: string; make: string; modelDealDriveId?: string; model: string; trimDealDriveId?: string; trim?: string; year: number; color?: string; vin: string; engineSize: number; engineNumber?: string; mileage: number; specs: string; value: number; comments?: string; images?: string[]; createdById?: string; sessionId?: string; bankApplicationId?: string; dealDriveEstimatedPrice?: number; marketing?: MarketingData; } export declare class BankValuationRequestUpdateDto { comments?: string; status?: string; } export declare class BankValuationResultCreateDto { bankValuationRequestId: string; doneById: string; action: BankValuationActionType; rejectionReason?: string; approvalComments?: string; approvedValuation?: number; dealDriveEstimatedPrice?: number; certificateUrl?: string; static fromPlain(plain: Record<string, unknown>): BankValuationResultCreateDto; }