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 _0x7a7c=['name','setDataValue','crudPermissions','join','getDataValue','BOOLEAN','sequelize','exports','STRING'];(function(_0x3b9f98,_0x388ffe){var _0x126107=function(_0x335203){while(--_0x335203){_0x3b9f98['push'](_0x3b9f98['shift']());}};_0x126107(++_0x388ffe);}(_0x7a7c,0x1a4));var _0xc7a7=function(_0x486698,_0x5b4aad){_0x486698=_0x486698-0x0;var _0x47eafb=_0x7a7c[_0x486698];return _0x47eafb;};'use strict';var Sequelize=require(_0xc7a7('0x0'));module[_0xc7a7('0x1')]={'name':{'type':Sequelize[_0xc7a7('0x2')],'allowNull':![],'unique':_0xc7a7('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x2c9604){this[_0xc7a7('0x4')](_0xc7a7('0x5'),_0x2c9604?_0x2c9604[_0xc7a7('0x6')](''):[]);},'get':function(){return this[_0xc7a7('0x7')](_0xc7a7('0x5'))?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xc7a7('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xc7a7('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xc7a7('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xc7a7('0x8')],'defaultValue':!![]}};