var Unibase; (function (Unibase) { let Platform; (function (Platform) { let Automation; (function (Automation) { let Managers; (function (Managers) { class NotificationGroupManager extends Platform.Core.BaseManager { static Instance() { if (this.instance == undefined) { this.instance = new NotificationGroupManager(); } return this.instance; } saveNotificationGroup(model) { const url = 'apis/v4/unibase/NotificationGroup/platform/SaveNotificationGroup'; return this.dataHelper().postAsync(url, model).then(function (response) { return response; }); } GetNotificationGroupInfo(GroupId) { const url = 'apis/v4/unibase/NotificationGroup/platform/GetNotificationGroupById/GroupId/' + GroupId; return this.dataHelper().getAsync(url).then(function (response) { var res = response.result; if (response.result != null) { res = JSON.parse(response.result); } return res; }); } GetNotificationGroups() { const url = 'apis/v4/unibase/NotificationGroup/platform/GetNotificationGroups'; return this.dataHelper().getAsync(url).then(function (response) { if (response.result != null) { response.result = JSON.parse(response.result); } return response.result; }); } GetCurrentIndex() { const url = 'apis/v4/unibase/NotificationGroup/platform/GetCurrentIndex'; return this.dataHelper().getAsync(url).then(function (response) { return response; }); } } Managers.NotificationGroupManager = NotificationGroupManager; })(Managers = Automation.Managers || (Automation.Managers = {})); })(Automation = Platform.Automation || (Platform.Automation = {})); })(Platform = Unibase.Platform || (Unibase.Platform = {})); })(Unibase || (Unibase = {}));