Routine interface

A routine definition returned by the service.

Properties

action

The action executed when the routine fires.

created_at

The time when the routine was created.

description

A human-readable description of the routine.

enabled

Whether the routine is enabled.

name

The routine name.

triggers

The triggers configured for the routine.

updated_at

The time when the routine was last updated.

Property Details

action

The action executed when the routine fires.

action: RoutineActionUnion

Property Value

created_at

The time when the routine was created.

created_at?: Date

Property Value

Date

description

A human-readable description of the routine.

description?: string

Property Value

string

enabled

Whether the routine is enabled.

enabled: boolean

Property Value

boolean

name

The routine name.

name: string

Property Value

string

triggers

The triggers configured for the routine.

triggers: Record<string, RoutineTriggerUnion>

Property Value

Record<string, RoutineTriggerUnion>

updated_at

The time when the routine was last updated.

updated_at?: Date

Property Value

Date