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 _0x2361=['getDataValue','crudPermissions','split','BOOLEAN','sequelize','exports','STRING','name','setDataValue'];(function(_0x4b9b20,_0x35ab88){var _0x103d35=function(_0x4011ab){while(--_0x4011ab){_0x4b9b20['push'](_0x4b9b20['shift']());}};_0x103d35(++_0x35ab88);}(_0x2361,0x112));var _0x1236=function(_0x38f6ee,_0xf06a6c){_0x38f6ee=_0x38f6ee-0x0;var _0x49aeef=_0x2361[_0x38f6ee];return _0x49aeef;};'use strict';var Sequelize=require(_0x1236('0x0'));module[_0x1236('0x1')]={'name':{'type':Sequelize[_0x1236('0x2')],'allowNull':![],'unique':_0x1236('0x3')},'crudPermissions':{'type':Sequelize[_0x1236('0x2')],'set':function(_0x3f4363){this[_0x1236('0x4')]('crudPermissions',_0x3f4363?_0x3f4363['join'](''):[]);},'get':function(){return this[_0x1236('0x5')](_0x1236('0x6'))?this[_0x1236('0x5')](_0x1236('0x6'))[_0x1236('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x1236('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x1236('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x1236('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x1236('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x1236('0x8')],'defaultValue':!![]}};