TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Type Alias ActionTypeParams

    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: Record<string, any>; type: "post"; url: string }
        | {
            from: string;
            message: string;
            to: string;
            twilio_sid: GenericID;
            twilio_token: GenericID;
            type: "sms-twilio";
        }
        | {
            content_sid: GenericID;
            content_variables: ContentVariables[];
            from: string;
            message: string;
            to: string;
            twilio_sid: GenericID;
            twilio_token: GenericID;
            type: "whatsapp-twilio";
        }
        | {
            from: string;
            message: string;
            sendgrid_api_key: GenericID;
            subject: string;
            to: string;
            type: "email-sendgrid";
        }
        | {
            from: string;
            message: string;
            smtp_secret: GenericID;
            subject: string;
            to: string;
            type: "email-smtp";
        }
        | { batch_enabled: boolean; sqs_secret: GenericID; type: "queue-sqs" }