Class ScheduleService

An implementation of the FIN schedule service.

Constructors

Methods

  • Reads the schedules associated to a calendar.

    Type Parameters

    • Schedule extends HDict

    Parameters

    • id: string | HRef

      The record id.

    Returns Promise<HGrid<Schedule>>

    A grid of schedules.

  • Reads the calendars associated to a schedule.

    Type Parameters

    • Calendar extends HDict

    Parameters

    • id: string | HRef

      The record id.

    Returns Promise<HGrid<Calendar>>

    A grid of calendars.

  • Updates a calendar.

    Type Parameters

    • Calendar extends HDict

    Parameters

    • id: string | HRef
    • calendar: HDict

      The calendar record.

    Returns Promise<Calendar>

    The updated calendar record.

  • Updates a schedule.

    Type Parameters

    • Schedule extends HDict

    Parameters

    • id: string | HRef

      The record id.

    • schedule: HDict

      The schedule.

    Returns Promise<Schedule>

    The updated schedule record.