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 _0x9c00=['join','getDataValue','BOOLEAN','sequelize','exports','STRING','crudPermissions'];(function(_0x5c1471,_0x4f753c){var _0x14c3d4=function(_0x399f2d){while(--_0x399f2d){_0x5c1471['push'](_0x5c1471['shift']());}};_0x14c3d4(++_0x4f753c);}(_0x9c00,0x1a0));var _0x09c0=function(_0x326ad4,_0x1744ac){_0x326ad4=_0x326ad4-0x0;var _0x58df34=_0x9c00[_0x326ad4];return _0x58df34;};'use strict';var Sequelize=require(_0x09c0('0x0'));module[_0x09c0('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x09c0('0x2')],'set':function(_0x8c9907){this['setDataValue'](_0x09c0('0x3'),_0x8c9907?_0x8c9907[_0x09c0('0x4')](''):[]);},'get':function(){return this[_0x09c0('0x5')](_0x09c0('0x3'))?this[_0x09c0('0x5')]('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x09c0('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x09c0('0x6')],'defaultValue':!![]}};