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 _0x3887=['exports','name','STRING','setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize'];(function(_0x5a477f,_0x36db90){var _0x478d61=function(_0x2de181){while(--_0x2de181){_0x5a477f['push'](_0x5a477f['shift']());}};_0x478d61(++_0x36db90);}(_0x3887,0x77));var _0x7388=function(_0x2ae5ce,_0x481760){_0x2ae5ce=_0x2ae5ce-0x0;var _0x3ccd3c=_0x3887[_0x2ae5ce];return _0x3ccd3c;};'use strict';var Sequelize=require(_0x7388('0x0'));module[_0x7388('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x7388('0x2')},'crudPermissions':{'type':Sequelize[_0x7388('0x3')],'set':function(_0x4c5f19){this[_0x7388('0x4')](_0x7388('0x5'),_0x4c5f19?_0x4c5f19[_0x7388('0x6')](''):[]);},'get':function(){return this[_0x7388('0x7')]('crudPermissions')?this[_0x7388('0x7')](_0x7388('0x5'))[_0x7388('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x7388('0x3')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x7388('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x7388('0x9')],'defaultValue':!![]}};