1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x28d4=['split','BOOLEAN','sequelize','exports','STRING','setDataValue','join','getDataValue','crudPermissions'];(function(_0x310eb9,_0x1aed15){var _0x28915c=function(_0x457fd6){while(--_0x457fd6){_0x310eb9['push'](_0x310eb9['shift']());}};_0x28915c(++_0x1aed15);}(_0x28d4,0x1a9));var _0x428d=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x28d4[_0x17d9e3];return _0x14192d;};'use strict';var Sequelize=require(_0x428d('0x0'));module[_0x428d('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x428d('0x2')],'set':function(_0x1194de){this[_0x428d('0x3')]('crudPermissions',_0x1194de?_0x1194de[_0x428d('0x4')](''):[]);},'get':function(){return this[_0x428d('0x5')](_0x428d('0x6'))?this['getDataValue'](_0x428d('0x6'))[_0x428d('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x428d('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x428d('0x8')],'defaultValue':!![]}};