system.kanoa.schedule.adjustScheduleEvents
Description
Takes a list of scheduleTimes to be scheduled and a list of scheduleBlocks that are overlapping and adjusts the scheduleTimesSyntax
adjustScheduleEvents(scheduleBlockInfo, scheduleTimes, scheduleBlockList, scheduleOption, scheduleConfig, rangeStart, rangeEnd, userId)- scheduleBlockInfo (dict)
- scheduleTimes (list[dict])
- - startDate (datetime)
- - endDate (datetime)
- scheduleBlockList (list[dict]): list of scheduleBlocks
- scheduleOption (string): i.e. 'wrap'
- scheduleConfig (dict): i.e. 'shiftTimeOnly': True
- rangeStart (datetime)
- rangeEnd (datetime)
- scheduleEventTimes (list[dict])