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 _0x127d=['crudPermissions','join','getDataValue','split','STRING','BOOLEAN','exports','name','setDataValue'];(function(_0x5a2f3a,_0x4de4f2){var _0xa430f=function(_0x385508){while(--_0x385508){_0x5a2f3a['push'](_0x5a2f3a['shift']());}};_0xa430f(++_0x4de4f2);}(_0x127d,0x1ad));var _0xd127=function(_0x19099b,_0x71bbd8){_0x19099b=_0x19099b-0x0;var _0x4c21c2=_0x127d[_0x19099b];return _0x4c21c2;};'use strict';var Sequelize=require('sequelize');module[_0xd127('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xd127('0x1')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x880b82){this[_0xd127('0x2')](_0xd127('0x3'),_0x880b82?_0x880b82[_0xd127('0x4')](''):[]);},'get':function(){return this['getDataValue'](_0xd127('0x3'))?this[_0xd127('0x5')](_0xd127('0x3'))[_0xd127('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd127('0x7')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xd127('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xd127('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xd127('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xd127('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xd127('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xd127('0x8')],'defaultValue':!![]}};