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 _0xc577=['BOOLEAN','sequelize','name','STRING','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x319c97,_0x193c8f){var _0x41ba3d=function(_0x1b6a84){while(--_0x1b6a84){_0x319c97['push'](_0x319c97['shift']());}};_0x41ba3d(++_0x193c8f);}(_0xc577,0x172));var _0x7c57=function(_0x27830a,_0x4e8504){_0x27830a=_0x27830a-0x0;var _0x32ccc3=_0xc577[_0x27830a];return _0x32ccc3;};'use strict';var Sequelize=require(_0x7c57('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x7c57('0x1')},'crudPermissions':{'type':Sequelize[_0x7c57('0x2')],'set':function(_0xe9a500){this[_0x7c57('0x3')](_0x7c57('0x4'),_0xe9a500?_0xe9a500[_0x7c57('0x5')](''):[]);},'get':function(){return this[_0x7c57('0x6')]('crudPermissions')?this[_0x7c57('0x6')](_0x7c57('0x4'))[_0x7c57('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x7c57('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x7c57('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x7c57('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x7c57('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x7c57('0x8')],'defaultValue':!![]}};