Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Api(axios: AxiosInstance): Api

Properties

Protected axios

axios: AxiosInstance

Methods

create

  • Create a new task for a reservation

    Parameters

    • reservationId: string

      ID of the booking to add the task to

    • task: CreateTaskRequest

      Details of the new task to add

    Returns Promise<Task>

list

  • list(reservationId: string): Promise<Array<Task>>
  • List tasks for a reservation

    Parameters

    • reservationId: string

      ID of the booking to list tasks for

    Returns Promise<Array<Task>>

    List of tasks for the booking

Generated using TypeDoc