Hierarchy

  • BaseSystem<Logic>
    • Logics

Constructors

Properties

The client instance

parseItem: ((config, status, itemId) => Logic)

Type declaration

systemType: SystemType

Methods

  • Returns a single item by id.

    Parameters

    • itemId: string

      The item id.

    Returns Promise<Logic>

  • Returns a single trend by item id.

    Parameters

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Return a parsed trend item.

    Parameters

    • systemType: SystemType

      The system type.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

  • Returns all trends.

    Parameters

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return parsed trends.

    Parameters

    • systemType: SystemType

      The system type.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend[]>

    Throws

    ClientError

  • Return a parsed trend.

    Parameters

    • systemType: SystemType

      The system type.

    • item: string

      The item.

    • itemId: string

      The item id.

    • startDate: string

      The start date as date string.

    • endDate: string

      The start date as date string.

    • count: number

      The data count.

    Returns Promise<Trend>

    Throws

    ClientError

Generated using TypeDoc