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 _0x51fb=['STRING','setDataValue','crudPermissions','getDataValue','split','BOOLEAN','sequelize','name'];(function(_0x468b0f,_0x408566){var _0x3e74d9=function(_0x27a545){while(--_0x27a545){_0x468b0f['push'](_0x468b0f['shift']());}};_0x3e74d9(++_0x408566);}(_0x51fb,0x96));var _0xb51f=function(_0x1cd6af,_0xab7193){_0x1cd6af=_0x1cd6af-0x0;var _0x4a2b1a=_0x51fb[_0x1cd6af];return _0x4a2b1a;};'use strict';var Sequelize=require(_0xb51f('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xb51f('0x1')},'crudPermissions':{'type':Sequelize[_0xb51f('0x2')],'set':function(_0xf2899c){this[_0xb51f('0x3')](_0xb51f('0x4'),_0xf2899c?_0xf2899c['join'](''):[]);},'get':function(){return this[_0xb51f('0x5')]('crudPermissions')?this[_0xb51f('0x5')](_0xb51f('0x4'))[_0xb51f('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xb51f('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};