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 _0xa902=['name','STRING','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','exports'];(function(_0x134bfc,_0x144d5f){var _0x2f4dcc=function(_0x56cf22){while(--_0x56cf22){_0x134bfc['push'](_0x134bfc['shift']());}};_0x2f4dcc(++_0x144d5f);}(_0xa902,0x7c));var _0x2a90=function(_0x228a58,_0xad85c1){_0x228a58=_0x228a58-0x0;var _0x54c9b8=_0xa902[_0x228a58];return _0x54c9b8;};'use strict';var Sequelize=require(_0x2a90('0x0'));module[_0x2a90('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x2a90('0x2')},'crudPermissions':{'type':Sequelize[_0x2a90('0x3')],'set':function(_0x16fdec){this['setDataValue'](_0x2a90('0x4'),_0x16fdec?_0x16fdec[_0x2a90('0x5')](''):[]);},'get':function(){return this[_0x2a90('0x6')](_0x2a90('0x4'))?this[_0x2a90('0x6')](_0x2a90('0x4'))[_0x2a90('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x2a90('0x3')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x2a90('0x8')],'defaultValue':!![]}};