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 _0x9e79=['BOOLEAN','sequelize','exports','STRING','name','setDataValue','crudPermissions','getDataValue'];(function(_0x15a4ab,_0x4d231a){var _0x315d09=function(_0x91dce4){while(--_0x91dce4){_0x15a4ab['push'](_0x15a4ab['shift']());}};_0x315d09(++_0x4d231a);}(_0x9e79,0x81));var _0x99e7=function(_0x152341,_0x8f0c56){_0x152341=_0x152341-0x0;var _0x440e1b=_0x9e79[_0x152341];return _0x440e1b;};'use strict';var Sequelize=require(_0x99e7('0x0'));module[_0x99e7('0x1')]={'name':{'type':Sequelize[_0x99e7('0x2')],'allowNull':![],'unique':_0x99e7('0x3')},'crudPermissions':{'type':Sequelize[_0x99e7('0x2')],'set':function(_0x2a2495){this[_0x99e7('0x4')](_0x99e7('0x5'),_0x2a2495?_0x2a2495['join'](''):[]);},'get':function(){return this[_0x99e7('0x6')](_0x99e7('0x5'))?this[_0x99e7('0x6')](_0x99e7('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x99e7('0x7')],'defaultValue':!![]}};