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 _0xfce4=['name','setDataValue','crudPermissions','join','getDataValue','BOOLEAN','sequelize','exports','STRING'];(function(_0x1320e3,_0x17193e){var _0x23a7fb=function(_0x5cca2f){while(--_0x5cca2f){_0x1320e3['push'](_0x1320e3['shift']());}};_0x23a7fb(++_0x17193e);}(_0xfce4,0xcc));var _0x4fce=function(_0x129f74,_0x3d64d8){_0x129f74=_0x129f74-0x0;var _0x1cf683=_0xfce4[_0x129f74];return _0x1cf683;};'use strict';var Sequelize=require(_0x4fce('0x0'));module[_0x4fce('0x1')]={'name':{'type':Sequelize[_0x4fce('0x2')],'allowNull':![],'unique':_0x4fce('0x3')},'crudPermissions':{'type':Sequelize[_0x4fce('0x2')],'set':function(_0x2590cf){this[_0x4fce('0x4')](_0x4fce('0x5'),_0x2590cf?_0x2590cf[_0x4fce('0x6')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this[_0x4fce('0x7')]('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x4fce('0x8')],'defaultValue':!![]}};