interface TripWithPopulatedServices {
    _id: string;
    accountManager?: string | SavedUser;
    activities?: models.trips.Activity[];
    activityLevel?: number;
    additionalCosts?: models.trips.TripAdditionalCosts;
    additionalOptionalServices: Service[];
    adminTechnicalItineraryApproved: boolean;
    applyFee: boolean;
    arrivalLocation?: AddressLocation;
    autoGeneratePlatformFees: boolean;
    bookedTravelersNeedRestore?: boolean;
    bookingAutoConfirmation?: boolean;
    bookingsDeadline?: number;
    cancellationPolicies?: CancellationPolicies;
    cancelReasons: string[];
    capacity?: number;
    categories?: string[];
    cities?: City[];
    companions?: Companion[];
    confirmedDate?: Date;
    costThresholds?: models.itineraries.CostThreshold[];
    country: string;
    createdDate: Date;
    currency?: string | models.currencies.Currency;
    deleted: boolean;
    deletedReason?: string;
    departureLocation?: AddressLocation;
    destination: string;
    dietaryRestriction?: PackageFoodOptions;
    earningsAdjustment: number;
    earningsReport?: EarningsReport;
    emailCampaigns: models.trips.EmailMap;
    emailLists?: string[];
    exclusions?: string[];
    flightStipend?: number;
    guide?: string | User;
    hasHostCompletedPromoteTutorial: boolean;
    hasReachedMinSpots: boolean;
    host: (string | User)[];
    hostConfirmationMessage?: string;
    hostFeedbackMessage?: string;
    hostGroundTransfers?: HostGroundTransfer[];
    hostInviteMessage?: string;
    hostLevel?: HostLevel;
    hostModifiedDate?: Date;
    hostRooms: HostRoom[];
    hostSelectedOptionalServices?:
        | models.trips.HostSelectedOptionalServicesMap
        | HostSelectedOptionalService[];
    hostTerms?: HostTerm[];
    hostTermsAccepted?: boolean;
    id?: string;
    includeOnTripPage?: boolean;
    inclusions?: string[];
    incrementalMargin: number;
    instantlyApproved?: boolean;
    internalCancellationReason?: TripInternalCancellationReason;
    itinerary?: string
    | BaseItinerary;
    itineraryInventoryItem?: string | SavedItineraryInventoryItem;
    lastPublishDate?: Date;
    launchDate?: Date;
    lockedExchangeRate?: number;
    logistics?: Logistics;
    mapImage?: string;
    mapUrl?: string;
    maximumSpots?: number;
    minimumSpots?: number;
    mobileAppEnabled?: boolean;
    modifiedDate?: Date;
    name: string;
    numberFree?: number;
    operator: string | SavedOperator;
    operatorCode: string;
    operatorTechnicalItineraryApproved: boolean;
    operatorTerms?: OperatorTerms;
    optionalActivities?: models.trips.OptionalActivity[];
    owner?: string | User;
    passportRequired?: boolean;
    photos?: Photos;
    preparationListUrl?: string;
    preventAutoCancellation?: boolean;
    prices?: Prices;
    pricing?: "Very Expensive" | "Expensive" | "Mid-Range" | "Cheap";
    promoteEmails?: PromoteEmails;
    publishRequest?: Date;
    publishStatus: TRIP_PUBLISH_STATUS;
    refundAmount: string[];
    region?: string;
    resources?: ItineraryResources;
    rezdyTripId: string;
    selectedPackage: PackageLevel;
    servicesByDay: PopulatedServicesByDay;
    shortId: string;
    singleSupplement?: number;
    soldOut: boolean;
    spotsBooked?: number;
    spotsUntilConfirm?: number;
    startDate?: Date;
    status: TripStatus;
    streamChatChannelId?: string;
    tags?: string[];
    tier?: number;
    timelineEvents?: TripTimelineEvent[];
    tourLeaderIncluded?: boolean;
    tourLeaderPrice?: number;
    transactionalEmails?: models.itineraries.EmailMap;
    travelerInsuranceRequired?: boolean;
    travelerItineraryUrl?: string;
    tripCoordinator?: string;
    tripPageUrl?: string;
    tripPath: string;
    tripRequest: TripRequest;
    tripSummary: string;
    trovaAutoPriced: boolean;
    whatsAppInviteUrl?: string;
    whatsappUrlApproved?: boolean;
    workshops?: models.itineraries.Workshop[];
    yearOverYearIncrease?: number;
}

Hierarchy

  • Omit<SavedTrip, "additionalOptionalServices" | "servicesByDay">
    • TripWithPopulatedServices

Properties

_id accountManager? activities? activityLevel? additionalCosts? additionalOptionalServices adminTechnicalItineraryApproved applyFee arrivalLocation? autoGeneratePlatformFees bookedTravelersNeedRestore? bookingAutoConfirmation? bookingsDeadline? cancellationPolicies? cancelReasons capacity? categories? cities? companions? confirmedDate? costThresholds? country createdDate currency? deleted deletedReason? departureLocation? destination dietaryRestriction? earningsAdjustment earningsReport? emailCampaigns emailLists? exclusions? flightStipend? guide? hasHostCompletedPromoteTutorial hasReachedMinSpots host hostConfirmationMessage? hostFeedbackMessage? hostGroundTransfers? hostInviteMessage? hostLevel? hostModifiedDate? hostRooms hostSelectedOptionalServices? hostTerms? hostTermsAccepted? id? includeOnTripPage? inclusions? incrementalMargin instantlyApproved? internalCancellationReason? itinerary? itineraryInventoryItem? lastPublishDate? launchDate? lockedExchangeRate? logistics? mapImage? mapUrl? maximumSpots? minimumSpots? mobileAppEnabled? modifiedDate? name numberFree? operator operatorCode operatorTechnicalItineraryApproved operatorTerms? optionalActivities? owner? passportRequired? photos? preparationListUrl? preventAutoCancellation? prices? pricing? promoteEmails? publishRequest? publishStatus refundAmount region? resources? rezdyTripId selectedPackage servicesByDay shortId singleSupplement? soldOut spotsBooked? spotsUntilConfirm? startDate? status streamChatChannelId? tags? tier? timelineEvents? tourLeaderIncluded? tourLeaderPrice? transactionalEmails? travelerInsuranceRequired? travelerItineraryUrl? tripCoordinator? tripPageUrl? tripPath tripRequest tripSummary trovaAutoPriced whatsAppInviteUrl? whatsappUrlApproved? workshops? yearOverYearIncrease?

Properties

_id: string
accountManager?: string | SavedUser
activities?: models.trips.Activity[]
activityLevel?: number
additionalCosts?: models.trips.TripAdditionalCosts
additionalOptionalServices: Service[]
adminTechnicalItineraryApproved: boolean
applyFee: boolean
arrivalLocation?: AddressLocation
autoGeneratePlatformFees: boolean
bookedTravelersNeedRestore?: boolean
bookingAutoConfirmation?: boolean
bookingsDeadline?: number
cancellationPolicies?: CancellationPolicies
cancelReasons: string[]
capacity?: number
categories?: string[]
cities?: City[]
companions?: Companion[]
confirmedDate?: Date
costThresholds?: models.itineraries.CostThreshold[]
country: string
createdDate: Date
currency?: string | models.currencies.Currency
deleted: boolean
deletedReason?: string
departureLocation?: AddressLocation
destination: string
dietaryRestriction?: PackageFoodOptions
earningsAdjustment: number
earningsReport?: EarningsReport
emailCampaigns: models.trips.EmailMap
emailLists?: string[]
exclusions?: string[]
flightStipend?: number
guide?: string | User
hasHostCompletedPromoteTutorial: boolean
hasReachedMinSpots: boolean
host: (string | User)[]
hostConfirmationMessage?: string
hostFeedbackMessage?: string
hostGroundTransfers?: HostGroundTransfer[]
hostInviteMessage?: string
hostLevel?: HostLevel
hostModifiedDate?: Date
hostRooms: HostRoom[]
hostSelectedOptionalServices?:
    | models.trips.HostSelectedOptionalServicesMap
    | HostSelectedOptionalService[]
hostTerms?: HostTerm[]
hostTermsAccepted?: boolean
id?: string

Use _id instead

includeOnTripPage?: boolean
inclusions?: string[]
incrementalMargin: number
instantlyApproved?: boolean
internalCancellationReason?: TripInternalCancellationReason
itinerary?: string | BaseItinerary
itineraryInventoryItem?: string | SavedItineraryInventoryItem
lastPublishDate?: Date
launchDate?: Date
lockedExchangeRate?: number
logistics?: Logistics
mapImage?: string
mapUrl?: string
maximumSpots?: number
minimumSpots?: number
mobileAppEnabled?: boolean
modifiedDate?: Date
name: string
numberFree?: number
operator: string | SavedOperator
operatorCode: string
operatorTechnicalItineraryApproved: boolean
operatorTerms?: OperatorTerms
optionalActivities?: models.trips.OptionalActivity[]
owner?: string | User
passportRequired?: boolean
photos?: Photos
preparationListUrl?: string
preventAutoCancellation?: boolean
prices?: Prices
pricing?: "Very Expensive" | "Expensive" | "Mid-Range" | "Cheap"
promoteEmails?: PromoteEmails
publishRequest?: Date
publishStatus: TRIP_PUBLISH_STATUS
refundAmount: string[]
region?: string
resources?: ItineraryResources
rezdyTripId: string
selectedPackage: PackageLevel
servicesByDay: PopulatedServicesByDay
shortId: string
singleSupplement?: number
soldOut: boolean
spotsBooked?: number
spotsUntilConfirm?: number
startDate?: Date
status: TripStatus
streamChatChannelId?: string
tags?: string[]
tier?: number
timelineEvents?: TripTimelineEvent[]
tourLeaderIncluded?: boolean
tourLeaderPrice?: number
transactionalEmails?: models.itineraries.EmailMap
travelerInsuranceRequired?: boolean
travelerItineraryUrl?: string
tripCoordinator?: string
tripPageUrl?: string
tripPath: string
tripRequest: TripRequest
tripSummary: string
trovaAutoPriced: boolean
whatsAppInviteUrl?: string
whatsappUrlApproved?: boolean
yearOverYearIncrease?: number