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 _0xbe73=['STRING','name','setDataValue','crudPermissions','getDataValue','BOOLEAN','exports'];(function(_0x37b7a0,_0x2ee4f5){var _0x4fb461=function(_0x4970a3){while(--_0x4970a3){_0x37b7a0['push'](_0x37b7a0['shift']());}};_0x4fb461(++_0x2ee4f5);}(_0xbe73,0xf4));var _0x3be7=function(_0x171fdc,_0x16ae91){_0x171fdc=_0x171fdc-0x0;var _0x3782ea=_0xbe73[_0x171fdc];return _0x3782ea;};'use strict';var Sequelize=require('sequelize');module[_0x3be7('0x0')]={'name':{'type':Sequelize[_0x3be7('0x1')],'allowNull':![],'unique':_0x3be7('0x2')},'crudPermissions':{'type':Sequelize[_0x3be7('0x1')],'set':function(_0x4bfd75){this[_0x3be7('0x3')](_0x3be7('0x4'),_0x4bfd75?_0x4bfd75['join'](''):[]);},'get':function(){return this[_0x3be7('0x5')]('crudPermissions')?this['getDataValue'](_0x3be7('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x3be7('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x3be7('0x6')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x3be7('0x6')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x3be7('0x6')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x3be7('0x6')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};