export enum ActionTrigger { MovedToColumn = 1 , AssignedToUser , AddedToCategory , PointsChanged } export enum ActionType { SetColor = 1 , SetCategory , AddCategory , SetAssignee , AddAssignee , ClearDueDate , AlterColorByPoints } export class AutoAction { constructor ( public id = 0 , public trigger = ActionTrigger . MovedToColumn , public source_id = null , public type = ActionType . SetColor , public change_to = null , public board_id = null ) { } }