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 _0x4fcd=['exports','STRING','name','setDataValue','getDataValue','crudPermissions','split','BOOLEAN','sequelize'];(function(_0x1f926f,_0x15c719){var _0x2e906c=function(_0x42c2b7){while(--_0x42c2b7){_0x1f926f['push'](_0x1f926f['shift']());}};_0x2e906c(++_0x15c719);}(_0x4fcd,0xfb));var _0xd4fc=function(_0x189472,_0x13afee){_0x189472=_0x189472-0x0;var _0x157cfb=_0x4fcd[_0x189472];return _0x157cfb;};'use strict';var Sequelize=require(_0xd4fc('0x0'));module[_0xd4fc('0x1')]={'name':{'type':Sequelize[_0xd4fc('0x2')],'allowNull':![],'unique':_0xd4fc('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1e0d83){this[_0xd4fc('0x4')]('crudPermissions',_0x1e0d83?_0x1e0d83['join'](''):[]);},'get':function(){return this[_0xd4fc('0x5')]('crudPermissions')?this[_0xd4fc('0x5')](_0xd4fc('0x6'))[_0xd4fc('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd4fc('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xd4fc('0x8')],'defaultValue':!![]}};