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 _0x63e1=['name','setDataValue','crudPermissions','join','getDataValue','STRING','BOOLEAN','exports'];(function(_0x5eadb1,_0x3661ad){var _0x46425d=function(_0x563aac){while(--_0x563aac){_0x5eadb1['push'](_0x5eadb1['shift']());}};_0x46425d(++_0x3661ad);}(_0x63e1,0xb7));var _0x163e=function(_0x3028a6,_0x9a5ddc){_0x3028a6=_0x3028a6-0x0;var _0x1a7099=_0x63e1[_0x3028a6];return _0x1a7099;};'use strict';var Sequelize=require('sequelize');module[_0x163e('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x163e('0x1')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x55fa4c){this[_0x163e('0x2')](_0x163e('0x3'),_0x55fa4c?_0x55fa4c[_0x163e('0x4')](''):[]);},'get':function(){return this[_0x163e('0x5')](_0x163e('0x3'))?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x163e('0x6')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x163e('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x163e('0x7')],'defaultValue':!![]}};