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 _0x6fc2=['STRING','setDataValue','crudPermissions','getDataValue','BOOLEAN','sequelize','exports','name'];(function(_0x15815f,_0x45774d){var _0x514324=function(_0x3fcf78){while(--_0x3fcf78){_0x15815f['push'](_0x15815f['shift']());}};_0x514324(++_0x45774d);}(_0x6fc2,0xc5));var _0x26fc=function(_0x1ccdf7,_0x215d5a){_0x1ccdf7=_0x1ccdf7-0x0;var _0x52a0ae=_0x6fc2[_0x1ccdf7];return _0x52a0ae;};'use strict';var Sequelize=require(_0x26fc('0x0'));module[_0x26fc('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x26fc('0x2')},'crudPermissions':{'type':Sequelize[_0x26fc('0x3')],'set':function(_0x1930bf){this[_0x26fc('0x4')](_0x26fc('0x5'),_0x1930bf?_0x1930bf['join'](''):[]);},'get':function(){return this['getDataValue'](_0x26fc('0x5'))?this[_0x26fc('0x6')](_0x26fc('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x26fc('0x3')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x26fc('0x7')],'defaultValue':!![]}};