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 _0x3f95=['STRING','setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','exports'];(function(_0x598152,_0x4230ac){var _0x71af95=function(_0x59f1da){while(--_0x59f1da){_0x598152['push'](_0x598152['shift']());}};_0x71af95(++_0x4230ac);}(_0x3f95,0xdf));var _0x53f9=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x3f95[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0x53f9('0x0'));module[_0x53f9('0x1')]={'name':{'type':Sequelize[_0x53f9('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x53f9('0x2')],'set':function(_0x4474ed){this[_0x53f9('0x3')](_0x53f9('0x4'),_0x4474ed?_0x4474ed[_0x53f9('0x5')](''):[]);},'get':function(){return this[_0x53f9('0x6')](_0x53f9('0x4'))?this[_0x53f9('0x6')](_0x53f9('0x4'))[_0x53f9('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x53f9('0x8')],'defaultValue':!![]}};