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 _0xa504=['BOOLEAN','sequelize','STRING','name','crudPermissions','join','getDataValue','split'];(function(_0xe68486,_0x5bc92e){var _0x3733ee=function(_0x1009ca){while(--_0x1009ca){_0xe68486['push'](_0xe68486['shift']());}};_0x3733ee(++_0x5bc92e);}(_0xa504,0x159));var _0x4a50=function(_0x19d3c1,_0x1c3828){_0x19d3c1=_0x19d3c1-0x0;var _0x3315d5=_0xa504[_0x19d3c1];return _0x3315d5;};'use strict';var Sequelize=require(_0x4a50('0x0'));module['exports']={'name':{'type':Sequelize[_0x4a50('0x1')],'allowNull':![],'unique':_0x4a50('0x2')},'crudPermissions':{'type':Sequelize[_0x4a50('0x1')],'set':function(_0x16f494){this['setDataValue'](_0x4a50('0x3'),_0x16f494?_0x16f494[_0x4a50('0x4')](''):[]);},'get':function(){return this[_0x4a50('0x5')](_0x4a50('0x3'))?this[_0x4a50('0x5')](_0x4a50('0x3'))[_0x4a50('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x4a50('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x4a50('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x4a50('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x4a50('0x7')],'defaultValue':!![]}};