interface BookingExtractedData {
    _id?: string;
    additionalParticipants?: (string | User | BookingCustomerProfile)[];
    addOns?: AddOn[];
    automaticPayment?: AutomaticPayment;
    bookingLedger?: BookingLedgerEvent[];
    cancellationDetails?: CancellationDetails;
    cancellationRequestDate?: Date;
    cancelledByHost?: Date;
    cancelledDate?: Date;
    confirmedDate?: Date;
    coupon?: string;
    couponUsed?: boolean;
    couponVoucherDifference: number;
    createdDate?: Date;
    customer?: string | User | BookingCustomerProfile;
    dueAmount?: number;
    id?: string;
    internalCancellationReason?: InternalCancellationReason;
    modifiedDate?: Date;
    operator?: string | Operator;
    orderId?: string;
    originalRezdyTripId?: string;
    paidAmount?: number;
    paymentDueDate?: Date;
    payments?: models.bookings.BookingPayment[];
    pendingCancellation: boolean;
    rezdyPayloads?: RezdyBooking[];
    rezdyTripId?: string;
    status?: BookingStatus;
    statusBeforeCancellation?: BookingStatus;
    totalAmount?: number;
    totalSpotsBooked: number;
    travelAmount: number;
    travelers: BookingCustomerProfile[];
    travelersRooms?: TravelersRoom[];
    trip?: string | models.trips.Trip;
}

Hierarchy

Properties

_id?: string
additionalParticipants?: (string | User | BookingCustomerProfile)[]
addOns?: AddOn[]
automaticPayment?: AutomaticPayment
bookingLedger?: BookingLedgerEvent[]
cancellationDetails?: CancellationDetails
cancellationRequestDate?: Date
cancelledByHost?: Date
cancelledDate?: Date
confirmedDate?: Date
coupon?: string
couponUsed?: boolean
couponVoucherDifference: number
createdDate?: Date
customer?: string | User | BookingCustomerProfile
dueAmount?: number
id?: string

Use _id instead

internalCancellationReason?: InternalCancellationReason
modifiedDate?: Date
operator?: string | Operator
orderId?: string
originalRezdyTripId?: string
paidAmount?: number
paymentDueDate?: Date
pendingCancellation: boolean
rezdyPayloads?: RezdyBooking[]
rezdyTripId?: string
status?: BookingStatus
statusBeforeCancellation?: BookingStatus
totalAmount?: number
totalSpotsBooked: number
travelAmount: number
travelersRooms?: TravelersRoom[]
trip?: string | models.trips.Trip