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 _0xe028=['name','join','crudPermissions','getDataValue','BOOLEAN','sequelize','exports','STRING'];(function(_0x36d55e,_0x123ddc){var _0x8af603=function(_0x225f5a){while(--_0x225f5a){_0x36d55e['push'](_0x36d55e['shift']());}};_0x8af603(++_0x123ddc);}(_0xe028,0xed));var _0x8e02=function(_0x3bb480,_0x2ab3c6){_0x3bb480=_0x3bb480-0x0;var _0x246390=_0xe028[_0x3bb480];return _0x246390;};'use strict';var Sequelize=require(_0x8e02('0x0'));module[_0x8e02('0x1')]={'name':{'type':Sequelize[_0x8e02('0x2')],'allowNull':![],'unique':_0x8e02('0x3')},'crudPermissions':{'type':Sequelize[_0x8e02('0x2')],'set':function(_0x1b0b24){this['setDataValue']('crudPermissions',_0x1b0b24?_0x1b0b24[_0x8e02('0x4')](''):[]);},'get':function(){return this['getDataValue'](_0x8e02('0x5'))?this[_0x8e02('0x6')](_0x8e02('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x8e02('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x8e02('0x7')],'defaultValue':!![]}};