Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / userProfile / userProfile.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa489=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','STRING','name'];(function(_0xe13624,_0x350368){var _0x2abc5a=function(_0x5e38e5){while(--_0x5e38e5){_0xe13624['push'](_0xe13624['shift']());}};_0x2abc5a(++_0x350368);}(_0xa489,0x192));var _0x9a48=function(_0x180ad0,_0x23031b){_0x180ad0=_0x180ad0-0x0;var _0x546a16=_0xa489[_0x180ad0];return _0x546a16;};'use strict';var Sequelize=require(_0x9a48('0x0'));module['exports']={'name':{'type':Sequelize[_0x9a48('0x1')],'allowNull':![],'unique':_0x9a48('0x2')},'crudPermissions':{'type':Sequelize[_0x9a48('0x1')],'set':function(_0x5a5c29){this[_0x9a48('0x3')](_0x9a48('0x4'),_0x5a5c29?_0x5a5c29[_0x9a48('0x5')](''):[]);},'get':function(){return this[_0x9a48('0x6')](_0x9a48('0x4'))?this['getDataValue']('crudPermissions')[_0x9a48('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9a48('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};