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 _0x8767=['crudPermissions','join','getDataValue','split','BOOLEAN','exports','STRING','name','setDataValue'];(function(_0x497849,_0x27e740){var _0x3abd96=function(_0x4b5848){while(--_0x4b5848){_0x497849['push'](_0x497849['shift']());}};_0x3abd96(++_0x27e740);}(_0x8767,0x12e));var _0x7876=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8767[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0x7876('0x0')]={'name':{'type':Sequelize[_0x7876('0x1')],'allowNull':![],'unique':_0x7876('0x2')},'crudPermissions':{'type':Sequelize[_0x7876('0x1')],'set':function(_0x4641e6){this[_0x7876('0x3')](_0x7876('0x4'),_0x4641e6?_0x4641e6[_0x7876('0x5')](''):[]);},'get':function(){return this[_0x7876('0x6')]('crudPermissions')?this[_0x7876('0x6')](_0x7876('0x4'))[_0x7876('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x7876('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x7876('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x7876('0x8')],'defaultValue':!![]}};