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 _0x6659=['crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name','setDataValue'];(function(_0x466d6c,_0x13da63){var _0xaddf5d=function(_0x3609b5){while(--_0x3609b5){_0x466d6c['push'](_0x466d6c['shift']());}};_0xaddf5d(++_0x13da63);}(_0x6659,0xa5));var _0x9665=function(_0x460edc,_0x5e18e4){_0x460edc=_0x460edc-0x0;var _0x5825e5=_0x6659[_0x460edc];return _0x5825e5;};'use strict';var Sequelize=require(_0x9665('0x0'));module[_0x9665('0x1')]={'name':{'type':Sequelize[_0x9665('0x2')],'allowNull':![],'unique':_0x9665('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x2d59e0){this[_0x9665('0x4')](_0x9665('0x5'),_0x2d59e0?_0x2d59e0[_0x9665('0x6')](''):[]);},'get':function(){return this['getDataValue'](_0x9665('0x5'))?this[_0x9665('0x7')](_0x9665('0x5'))[_0x9665('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9665('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9665('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x9665('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x9665('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9665('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9665('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x9665('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};