UNPKG

manageengine-mdm

Version:

A TypeScript wrapper for the ManageEngine Mobile Device Manager Plus API

51 lines (50 loc) 1.27 kB
export interface ScheduleParams { schedule_type: string; monthly_perform?: string; daily_time?: string; monthly_week_day?: number; days_of_week?: string; daily_interval_type?: string; scheduler_disabled?: boolean; monthly_time?: number; monthly_week_num?: number; weekly_time?: number; monthly_day?: number; months_list?: string; } export interface CreateScheduleRequest { groups: string[]; time_zone: string; schedule_params: ScheduleParams; reason_message: string; execution_type: number; expiry: number; schedule_once_time: number; action_name: string; } export interface CreateScheduleResponse { group_action_id: number; status: string; } export interface ModifyScheduleRequest extends CreateScheduleRequest { group_action_id: number; } export interface ModifyScheduleResponse { status: string; } export interface DeleteScheduleRequest { group_action_id: number; action_name: string; } export interface DeleteScheduleResponse { status: string; } export interface ValidateScheduleRequest { groups: string[]; action_name: string; } export interface ValidateScheduleResponse { valid: boolean; invalid_groups?: string[]; reason?: string; }