ActionTypeParams: {
    script: GenericID[];
    type: "script";
} | {
    message: string;
    subject: string;
    type: "notification";
} | {
    message: string;
    run_user: GenericID;
    subject: string;
    type: "notification_run";
} | {
    message: string;
    subject: string;
    to: string;
    type: "email";
} | {
    message: string;
    to: string;
    type: "sms";
} | {
    bucket: string;
    payload: string;
    topic: string;
    type: "mqtt";
} | {
    headers: {};
    type: "post";
    url: string;
}

Type declaration

Type declaration

  • message: string
  • subject: string
  • type: "notification"

Type declaration

  • message: string
  • run_user: GenericID
  • subject: string
  • type: "notification_run"

Type declaration

  • message: string
  • subject: string
  • to: string
  • type: "email"

Type declaration

  • message: string
  • to: string
  • type: "sms"

Type declaration

  • bucket: string
  • payload: string
  • topic: string
  • type: "mqtt"

Type declaration

  • headers: {}
    • type: "post"
    • url: string