Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Api(axios: AxiosInstance): Api

Properties

Protected axios

axios: AxiosInstance

Methods

addComponent

  • addComponent(reservationId: string | number, componentId: string, parentComponentId?: undefined | number, replaceComponentId?: undefined | number): Promise<boolean>
  • Parameters

    • reservationId: string | number
    • componentId: string
    • Optional parentComponentId: undefined | number
    • Optional replaceComponentId: undefined | number

    Returns Promise<boolean>

addPassenger

assign

confirm

  • confirm(id: string): Promise<void>
  • Confirm a reservation

    Parameters

    • id: string

      ID of the reservation to confirm

    Returns Promise<void>

create

find

tasks

  • tasks(id: string): Promise<Array<Task>>

update

  • Perform arbitrary alterations to a booking.

    warning

    Direct use of this method should be avoided, and convenience methods used where available.

    Parameters

    Returns Promise<void>

Generated using TypeDoc