Interface InputSearchSchedule

Defines when the rule will be applied based on date/time

interface InputSearchSchedule {
    from?: string;
    fromTime?: string;
    timezone?: string;
    to?: string;
    toTime?: string;
    type?: SearchRuleScheduleType;
    weekDays?: SearchRuleScheduleWeekday[];
}

Properties

from?: string

Date in format yyyy-MM-dd'T'HH:mm:ss. Only applies if type is ONE_TIME

fromTime?: string

Format example 12:00:00. Only applies if type is weekly

timezone?: string

Format example Europe/Paris

to?: string

Date in format yyyy-MM-dd'T'HH:mm:ss. Only applies if type is ONE_TIME

toTime?: string

Format example 16:00:00. Only applies if type is weekly

Array of days to trigger the rule. Only applies if type is weekly