Options
All
  • Public
  • Public/Protected
  • All
Menu
experimental

Hierarchy

  • TripModule

Index

Methods

addDaysToTrip

  • addDaysToTrip(id: string, count: number): Promise<Trip>

addPlaceToDay

  • addPlaceToDay(tripId: string, placeId: string, dayIndex: number, positionInDay?: undefined | number): Promise<Trip>
  • Parameters

    • tripId: string
    • placeId: string
    • dayIndex: number
    • Optional positionInDay: undefined | number

    Returns Promise<Trip>

applyTripTemplate

  • applyTripTemplate(tripId: string, templateId: number, dayIndex: number): Promise<Trip>

cloneTrip

  • cloneTrip(id: any): Promise<string>

createTrip

  • createTrip(startDate: string, name: string, placeId: string): Promise<Trip>

emptyTripsTrash

  • emptyTripsTrash(): Promise<string[]>

getRoutesForTripDay

  • getRoutesForTripDay(tripId: string, dayIndex: number): Promise<Route[]>

getTripDetailed

  • getTripDetailed(id: string): Promise<Trip>

getTripTemplates

  • getTripTemplates(placeId: string): Promise<TripTemplate[]>

getTrips

  • getTrips(dateFrom?: string | null, dateTo?: string | null): Promise<Trip[]>

getTripsInTrash

  • getTripsInTrash(): Promise<Trip[]>

movePlaceInDay

  • movePlaceInDay(id: string, dayIndex: number, positionFrom: number, positionTo: number): Promise<Trip>

prependDaysToTrip

  • prependDaysToTrip(id: string, count: number): Promise<Trip>

removeAllPlacesFromDay

  • removeAllPlacesFromDay(id: string, dayIndex: number): Promise<Trip>

removeDayFromTrip

  • removeDayFromTrip(id: string, dayIndex: number): Promise<Trip>

removePlacesFromDay

  • removePlacesFromDay(id: string, dayIndex: number, positionsInDay: number[]): Promise<Trip>

setOvernightPlace

  • setOvernightPlace(tripId: string, placeId: string, dayIndex: number): Promise<Trip>

setTransport

  • setTransport(id: string, dayIndex: number, itemIndex: number, settings: TransportSettings): Promise<Trip>

setTripConflictHandler

swapDaysInTrip

  • swapDaysInTrip(id: string, firstDayIndex: number, secondDayIndex: number): Promise<Trip>

updateTrip

Generated using TypeDoc