Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Appointments

Index

Methods

Methods

Protected get

  • Fetches the appointment by the ID.

    Note that only the appointment's client can see the appointment, so this function requires an authenticated API access. For unauthenticated access, see the getFromCart function.

    async

    Parameters

    • id: string

    Returns Promise<Appointment>

    Promise containing the Appointment

Protected getFromCart

  • getFromCart(id: string, cartId: string): Promise<Appointment>
  • Fetches the appointment by using the appointment ID and the cart ID.

    async

    Parameters

    • id: string
    • cartId: string

    Returns Promise<Appointment>

    Promise containing the Appointment

Protected list

  • List appointments for the authenticated client

    async
    todo

    Pagination

    Returns Promise<Appointment[]>

    Promise containing the list of Appointments

Generated using TypeDoc