UNPKG

@alba-cars/common-modules

Version:

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

64 lines (63 loc) 1.91 kB
import { MarketingData } from "../../core"; import { Payment } from "./Payment"; import { User } from "./User"; export declare const BankValuationRequestStatus: { readonly PENDING: "pending"; readonly PAID: "paid"; readonly PAYMENT_DECLINED: "payment_declined"; readonly REJECTED: "rejected"; readonly APPROVED: "approved"; }; export type BankValuationRequestStatusType = (typeof BankValuationRequestStatus)[keyof typeof BankValuationRequestStatus]; export declare class BankValuationRequest { id: string; refId: number; createdBy?: User; name: string; email: string; phone: string; clientName?: string | null; clientEmail?: string | null; clientPhone?: string | null; bankName: string; bankerEmail?: string; makeDealDriveId?: string; make: string; modelDealDriveId?: string; model: string; trimDealDriveId?: string; trim?: string; trimOptionDealDriveId?: string; trimOption?: string; year: number; color?: string; vin: string; engineSize?: number | null; engineNumber?: string | null; engineType?: string | null; mileage: number; specs: string; specification?: string | null; value: number; comments?: string; status: BankValuationRequestStatusType; images?: string[]; extraIssuedCertificates?: string[]; payment?: Payment | null; dealDriveEstimatedPrice?: number; dealDriveEstimateDate?: Date; createdAt?: Date; updatedAt?: Date; sessionId?: string | null; bankApplicationId?: string | null; rejectionReason?: string | null; approvalComments?: string | null; approvedValuation?: number | null; certificateUrl?: string | null; marketing?: MarketingData; isDeleted: boolean; deletedAt?: Date | null; deletedReason?: string | null; clientMileage?: number | null; mileageUnit: "km" | "miles"; }