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 _0x0a4a=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','exports','STRING'];(function(_0x1617c7,_0x36be81){var _0x353aa0=function(_0x90605c){while(--_0x90605c){_0x1617c7['push'](_0x1617c7['shift']());}};_0x353aa0(++_0x36be81);}(_0x0a4a,0x116));var _0xa0a4=function(_0x3dbefd,_0x445e26){_0x3dbefd=_0x3dbefd-0x0;var _0x890456=_0x0a4a[_0x3dbefd];return _0x890456;};'use strict';var Sequelize=require('sequelize');module[_0xa0a4('0x0')]={'name':{'type':Sequelize[_0xa0a4('0x1')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xa0a4('0x1')],'set':function(_0x473d75){this[_0xa0a4('0x2')](_0xa0a4('0x3'),_0x473d75?_0x473d75[_0xa0a4('0x4')](''):[]);},'get':function(){return this[_0xa0a4('0x5')]('crudPermissions')?this[_0xa0a4('0x5')](_0xa0a4('0x3'))[_0xa0a4('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xa0a4('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xa0a4('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};