Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to manage all wem-schedule related methods

Hierarchy

  • WemSchedule

Index

Constructors

  • get instance for wemScheduleService

    example
    this.wemScheduleService = new WemScheduleService();
    

    Returns WemSchedule

Properties

logger: Logger = ...
wemScheduleService: WemScheduleService = ...

Methods

  • Get the current logged in agent schedule

    Parameters

    • startDate: Date

      start date for fetching schedule

    • endDate: Date

      end date for fetching schedule

    Returns Promise<CXoneSdkError | AgentSchedule[]>

    • It returns the agent schedule
    @example
    getSchedule(Tue Aug 16 2022 11:49:38 GMT+0530, Tue Aug 17 2022 11:49:38 GMT+0530);

Generated using TypeDoc