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 _0x195b=['split','BOOLEAN','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue'];(function(_0x464c8a,_0x53445a){var _0x3c9bca=function(_0x617bb){while(--_0x617bb){_0x464c8a['push'](_0x464c8a['shift']());}};_0x3c9bca(++_0x53445a);}(_0x195b,0x65));var _0xb195=function(_0x478370,_0x534f7a){_0x478370=_0x478370-0x0;var _0x54c0e2=_0x195b[_0x478370];return _0x54c0e2;};'use strict';var Sequelize=require('sequelize');module[_0xb195('0x0')]={'name':{'type':Sequelize[_0xb195('0x1')],'allowNull':![],'unique':_0xb195('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1f15cf){this[_0xb195('0x3')](_0xb195('0x4'),_0x1f15cf?_0x1f15cf[_0xb195('0x5')](''):[]);},'get':function(){return this[_0xb195('0x6')](_0xb195('0x4'))?this['getDataValue'](_0xb195('0x4'))[_0xb195('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xb195('0x8')],'defaultValue':!![]}};