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 _0x63a8=['name','setDataValue','crudPermissions','getDataValue','split','BOOLEAN','sequelize','STRING'];(function(_0x1c5b34,_0x4c97dc){var _0x3510fd=function(_0x3bc604){while(--_0x3bc604){_0x1c5b34['push'](_0x1c5b34['shift']());}};_0x3510fd(++_0x4c97dc);}(_0x63a8,0x1a6));var _0x863a=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x63a8[_0x3ab51d];return _0x29a04e;};'use strict';var Sequelize=require(_0x863a('0x0'));module['exports']={'name':{'type':Sequelize[_0x863a('0x1')],'allowNull':![],'unique':_0x863a('0x2')},'crudPermissions':{'type':Sequelize[_0x863a('0x1')],'set':function(_0x53daac){this[_0x863a('0x3')](_0x863a('0x4'),_0x53daac?_0x53daac['join'](''):[]);},'get':function(){return this['getDataValue'](_0x863a('0x4'))?this[_0x863a('0x5')]('crudPermissions')[_0x863a('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x863a('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x863a('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x863a('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x863a('0x7')],'defaultValue':!![]}};