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 _0x69d2=['sequelize','exports','STRING','name','join','getDataValue','crudPermissions','split','BOOLEAN'];(function(_0x3b696f,_0x16de59){var _0x1539c9=function(_0x3fe442){while(--_0x3fe442){_0x3b696f['push'](_0x3b696f['shift']());}};_0x1539c9(++_0x16de59);}(_0x69d2,0x99));var _0x269d=function(_0x1b97c6,_0x337ad0){_0x1b97c6=_0x1b97c6-0x0;var _0x243850=_0x69d2[_0x1b97c6];return _0x243850;};'use strict';var Sequelize=require(_0x269d('0x0'));module[_0x269d('0x1')]={'name':{'type':Sequelize[_0x269d('0x2')],'allowNull':![],'unique':_0x269d('0x3')},'crudPermissions':{'type':Sequelize[_0x269d('0x2')],'set':function(_0x511fdd){this['setDataValue']('crudPermissions',_0x511fdd?_0x511fdd[_0x269d('0x4')](''):[]);},'get':function(){return this[_0x269d('0x5')](_0x269d('0x6'))?this[_0x269d('0x5')]('crudPermissions')[_0x269d('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x269d('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x269d('0x8')],'defaultValue':!![]}};