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 _0xd170=['split','BOOLEAN','sequelize','STRING','name','join','crudPermissions','getDataValue'];(function(_0x289bdd,_0x593f8f){var _0xd7bac1=function(_0x1f1539){while(--_0x1f1539){_0x289bdd['push'](_0x289bdd['shift']());}};_0xd7bac1(++_0x593f8f);}(_0xd170,0x1ea));var _0x0d17=function(_0x168b7d,_0x5a906f){_0x168b7d=_0x168b7d-0x0;var _0x388531=_0xd170[_0x168b7d];return _0x388531;};'use strict';var Sequelize=require(_0x0d17('0x0'));module['exports']={'name':{'type':Sequelize[_0x0d17('0x1')],'allowNull':![],'unique':_0x0d17('0x2')},'crudPermissions':{'type':Sequelize[_0x0d17('0x1')],'set':function(_0x49531f){this['setDataValue']('crudPermissions',_0x49531f?_0x49531f[_0x0d17('0x3')](''):[]);},'get':function(){return this['getDataValue'](_0x0d17('0x4'))?this[_0x0d17('0x5')](_0x0d17('0x4'))[_0x0d17('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x0d17('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x0d17('0x7')],'defaultValue':!![]}};