Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Library

Index

Constructors

constructor

  • new Library(baseClient: BaseClient): Library

Methods

getCollectionCardTemplates

  • getCollectionCardTemplates(collectionId: number): Promise<CardTemplate[]>
  • Get a list of CardTemplate given a collection id

    Parameters

    • collectionId: number

      the collection id

    Returns Promise<CardTemplate[]>

    a Promise resolved with the response or rejected in case of error

getTreatments

  • getTreatments(page?: number): Promise<Treatment[]>
  • Get a list of Treatments

    Parameters

    • Default value page: number = 1

      the page to get (1 page = 100 treatments)

    Returns Promise<Treatment[]>

    a Promise resolved with the response or rejected in case of error

Legend

  • Constructor
  • Method
  • Property

Generated using TypeDoc