"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SystemStatusInternalApi = void 0;
const tslib_1 = require("tslib");
const ApiBase_1 = require("../Implementation/ApiBase");
const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
class SystemStatusInternalApi extends ApiBase_1.ApiBase {
    addSystemStatusMessageInfo(systemStatusMessageInfo) {
        const maxMessagesInStore = this.getNotificationsOptions().maxSystemMessagesInStore;
        this.dispatchAction(InternalRedux.SystemStatusMessageInfoAdd(systemStatusMessageInfo, maxMessagesInStore));
    }
    getSystemStatusMessageInfos() {
        return this.getAdaptableState().Internal.SystemStatusMessages;
    }
}
exports.SystemStatusInternalApi = SystemStatusInternalApi;
