Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "company"

Index

Functions

Const getCompanies

  • getCompanies(getLogos?: boolean): Promise<Company[]>
  • Get all companies from the Tarjouspalvelu index page. Note that this may exclude some companies that aren't listed there.

    Parameters

    • Default value getLogos: boolean = false

      Get the company logos in Base64 format

    Returns Promise<Company[]>

    Array of the companies

Const getNotices

  • Get all active notices and other notices of a company. This function currently does not support supplier registers.

    beta

    Parameters

    • companyId: number

      ID of the company to get the notices

    • session: Session

      The Session object to be used for getting the notices. Does not have to be logged in.

    Returns Promise<Notices>

    Notices object that includes all dynamic purchasing systems and notices

Generated using TypeDoc