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 _0xafb0=['name','setDataValue','join','getDataValue','crudPermissions','split','BOOLEAN','sequelize','STRING'];(function(_0x4f5f68,_0x2ef2da){var _0x74335b=function(_0x182f6d){while(--_0x182f6d){_0x4f5f68['push'](_0x4f5f68['shift']());}};_0x74335b(++_0x2ef2da);}(_0xafb0,0x193));var _0x0afb=function(_0x279d37,_0x14de3f){_0x279d37=_0x279d37-0x0;var _0x530173=_0xafb0[_0x279d37];return _0x530173;};'use strict';var Sequelize=require(_0x0afb('0x0'));module['exports']={'name':{'type':Sequelize[_0x0afb('0x1')],'allowNull':![],'unique':_0x0afb('0x2')},'crudPermissions':{'type':Sequelize[_0x0afb('0x1')],'set':function(_0xc96808){this[_0x0afb('0x3')]('crudPermissions',_0xc96808?_0xc96808[_0x0afb('0x4')](''):[]);},'get':function(){return this[_0x0afb('0x5')](_0x0afb('0x6'))?this['getDataValue'](_0x0afb('0x6'))[_0x0afb('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x0afb('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x0afb('0x8')],'defaultValue':!![]}};