interface InsurancePolicy {
    _id?: string;
    address: USInsuranceAddress;
    booking?: string | SavedBooking;
    cancellationRequestedDate?: Date;
    confirmationOfBenefitsUrl?: string;
    coverage: InsuranceCoverage;
    createdDate?: Date;
    dateOfBirth: Date;
    deleted?: boolean;
    departureDate: Date;
    depositDate: Date;
    explanationOfBenefitsUrl?: string;
    firstName: string;
    id?: string;
    ingestedDate?: Date;
    insuredTripCost: number;
    lastName: string;
    ledger: InsurancePolicyLedgerEvent[];
    modifiedDate?: Date;
    phoneNumber: string;
    policyNumber?: string;
    returnDate: Date;
    status: InsuranceStatus;
    trip: string | SavedTrip;
    tripCost: number;
    user: string | SavedUser;
}

Hierarchy (View Summary)

Properties

_id?: string
booking?: string | SavedBooking
cancellationRequestedDate?: Date
confirmationOfBenefitsUrl?: string
createdDate?: Date
dateOfBirth: Date
deleted?: boolean
departureDate: Date
depositDate: Date
explanationOfBenefitsUrl?: string
firstName: string
id?: string

Use _id instead

ingestedDate?: Date
insuredTripCost: number
lastName: string
modifiedDate?: Date
phoneNumber: string
policyNumber?: string
returnDate: Date
trip: string | SavedTrip
tripCost: number
user: string | SavedUser