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 _0xcc49=['name','crudPermissions','getDataValue','split','BOOLEAN','exports','STRING'];(function(_0x4d07cc,_0x587613){var _0x42de3b=function(_0x201f78){while(--_0x201f78){_0x4d07cc['push'](_0x4d07cc['shift']());}};_0x42de3b(++_0x587613);}(_0xcc49,0x1cc));var _0x9cc4=function(_0x2468b5,_0x506b9e){_0x2468b5=_0x2468b5-0x0;var _0x1056e4=_0xcc49[_0x2468b5];return _0x1056e4;};'use strict';var Sequelize=require('sequelize');module[_0x9cc4('0x0')]={'name':{'type':Sequelize[_0x9cc4('0x1')],'allowNull':![],'unique':_0x9cc4('0x2')},'crudPermissions':{'type':Sequelize[_0x9cc4('0x1')],'set':function(_0x5dd753){this['setDataValue']('crudPermissions',_0x5dd753?_0x5dd753['join'](''):[]);},'get':function(){return this['getDataValue'](_0x9cc4('0x3'))?this[_0x9cc4('0x4')]('crudPermissions')[_0x9cc4('0x5')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9cc4('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x9cc4('0x6')],'defaultValue':!![]}};