async postNotification(notification, title, monitorJSON, heartbeatJSON, eventAction = "create") {

        if (eventAction == null) {
            return "No action required";
        }

        const options = {
            method: "POST",
            url: notification.pagertreeIntegrationUrl,
            headers: { "Content-Type": "application/json" },
            data: {
                event_type: eventAction,
                id: heartbeatJSON?.monitorID || "uptime-kuma",
                title: title,
                urgency: notification.pagertreeUrgency,
                heartbeat: heartbeatJSON,
                monitor: monitorJSON
            }
        };

        const baseURL = await setting("primaryBaseURL");
        if (baseURL && monitorJSON) {
            options.client = "Uptime Kuma";
            options.client_url = baseURL + getMonitorRelativeURL(monitorJSON.id);
        }

        let result = await axios.request(options);
        this.checkResult(result);
        if (result.statusText != null) {
            return "PagerTree notification succeed: " + result.statusText;
        }

        return successMessage;
    }
Send the message
@param {BeanModel} notification Message title
@param {string} title Message title
@param {object} monitorJSON Monitor details (For Up/Down only)
@param {object} heartbeatJSON Heartbeat details (For Up/Down only)
@param {?string} eventAction Action event for PagerTree (create, resolve)
@returns {Promise<string>} Success state