interface ActionCreateInfo {
    action?: ActionTypeParams;
    active?: boolean;
    description?: string;
    id?: string;
    lock?: boolean;
    name: string;
    profile?: string;
    tags?: TagsObj[];
    trigger?: ActionTriggerType[];
    trigger_when_unlock?: boolean;
    type?: ActionType;
}

Hierarchy (view full)

Properties

Action configuration

active?: boolean

True if the action is active or not. The default is true.

description?: string

Description of the action.

id?: string

Action action.

lock?: boolean
name: string

The name for the action.

profile?: string

Profile identification

tags?: TagsObj[]

An array of tags.

trigger?: ActionTriggerType[]

Array of trigger configuration according to type

trigger_when_unlock?: boolean

Trigger the action when unlock condition is met.

type?: ActionType

Type of action