Type alias ActionTriggerType
ActionTriggerType: { resource: "device" | "bucket" | "file" | "analysis" | "action" | "am" | "user" | "financial" | "profile"; tag_key: string; tag_value: string; when: "create" | "update" | "delete"; } | { interval: string; } | { cron: string; timezone: string | Date; } | { device: string; is: Conditionals; second_value?: string; unlock?: boolean; value: string; value_type: "string" | "number" | "boolean" | "*"; variable: string; } | { condition: "=" | ">"; condition_value: number; service_or_resource: "input" | "output" | "analysis" | "data_records" | "sms" | "email" | "run_users" | "push_notification" | "file_storage" | "device" | "dashboard" | "action" | "tcore" | "team_members" | "am"; } | { device: string; is: "IN" | "OUT"; unlock?: boolean; value: TriggerGeofenceValueType; variable: string; } Type declaration
resource: "device" | "bucket" | "file" | "analysis" | "action" | "am" | "user" | "financial" | "profile"
tag_key: string
tag_value: string
when: "create" | "update" | "delete"
Type declaration
cron: string
timezone: string | Date
Type declaration
device: string
Optional
second_value?: string
Optional
unlock?: boolean
value: string
value_type: "string" | "number" | "boolean" | "*"
variable: string
Type declaration
condition: "=" | ">"
condition_value: number
service_or_resource: "input" | "output" | "analysis" | "data_records" | "sms" | "email" | "run_users" | "push_notification" | "file_storage" | "device" | "dashboard" | "action" | "tcore" | "team_members" | "am"
Type declaration
device: string
is: "IN" | "OUT"
Optional
unlock?: boolean
variable: string