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 _0x049e=['STRING','BOOLEAN','sequelize','exports','name','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x247d46,_0xb1d3c8){var _0x2c2f23=function(_0x2ef758){while(--_0x2ef758){_0x247d46['push'](_0x247d46['shift']());}};_0x2c2f23(++_0xb1d3c8);}(_0x049e,0x16a));var _0xe049=function(_0x5c2a2b,_0x22c94e){_0x5c2a2b=_0x5c2a2b-0x0;var _0x19921f=_0x049e[_0x5c2a2b];return _0x19921f;};'use strict';var Sequelize=require(_0xe049('0x0'));module[_0xe049('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xe049('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x155cb3){this[_0xe049('0x3')](_0xe049('0x4'),_0x155cb3?_0x155cb3[_0xe049('0x5')](''):[]);},'get':function(){return this[_0xe049('0x6')]('crudPermissions')?this[_0xe049('0x6')](_0xe049('0x4'))[_0xe049('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xe049('0x8')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xe049('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xe049('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xe049('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xe049('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xe049('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xe049('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};