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 _0x50d3=['crudPermissions','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name','setDataValue'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x50d3,0x13f));var _0x350d=function(_0x4b174a,_0x33a017){_0x4b174a=_0x4b174a-0x0;var _0x3cd7bf=_0x50d3[_0x4b174a];return _0x3cd7bf;};'use strict';var Sequelize=require(_0x350d('0x0'));module[_0x350d('0x1')]={'name':{'type':Sequelize[_0x350d('0x2')],'allowNull':![],'unique':_0x350d('0x3')},'crudPermissions':{'type':Sequelize[_0x350d('0x2')],'set':function(_0x51bc32){this[_0x350d('0x4')](_0x350d('0x5'),_0x51bc32?_0x51bc32['join'](''):[]);},'get':function(){return this[_0x350d('0x6')]('crudPermissions')?this[_0x350d('0x6')](_0x350d('0x5'))[_0x350d('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x350d('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x350d('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x350d('0x8')],'defaultValue':!![]}};