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 _0xd4b9=['sequelize','STRING','name','setDataValue','join','getDataValue','crudPermissions','split','BOOLEAN'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xd4b9,0x183));var _0x9d4b=function(_0x537ba6,_0x2be8be){_0x537ba6=_0x537ba6-0x0;var _0x5d5326=_0xd4b9[_0x537ba6];return _0x5d5326;};'use strict';var Sequelize=require(_0x9d4b('0x0'));module['exports']={'name':{'type':Sequelize[_0x9d4b('0x1')],'allowNull':![],'unique':_0x9d4b('0x2')},'crudPermissions':{'type':Sequelize[_0x9d4b('0x1')],'set':function(_0x25e054){this[_0x9d4b('0x3')]('crudPermissions',_0x25e054?_0x25e054[_0x9d4b('0x4')](''):[]);},'get':function(){return this[_0x9d4b('0x5')](_0x9d4b('0x6'))?this[_0x9d4b('0x5')](_0x9d4b('0x6'))[_0x9d4b('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9d4b('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x9d4b('0x8')],'defaultValue':!![]}};