Built motion from commit ac06311e.|2.6.28
[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 _0xe6a0=['crudPermissions','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','join'];(function(_0x15b92b,_0x5c1053){var _0x45aba8=function(_0x5614ef){while(--_0x5614ef){_0x15b92b['push'](_0x15b92b['shift']());}};_0x45aba8(++_0x5c1053);}(_0xe6a0,0x112));var _0x0e6a=function(_0x525279,_0x4092f8){_0x525279=_0x525279-0x0;var _0x1b1f05=_0xe6a0[_0x525279];return _0x1b1f05;};'use strict';var Sequelize=require(_0x0e6a('0x0'));module[_0x0e6a('0x1')]={'name':{'type':Sequelize[_0x0e6a('0x2')],'allowNull':![],'unique':_0x0e6a('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1f7966){this[_0x0e6a('0x4')]('crudPermissions',_0x1f7966?_0x1f7966[_0x0e6a('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0x0e6a('0x6'))?this[_0x0e6a('0x7')]('crudPermissions')[_0x0e6a('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x0e6a('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x0e6a('0x9')],'defaultValue':!![]}};