Built motion from commit 497d3d92.|2.5.43
[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 _0xfc41=['name','setDataValue','crudPermissions','getDataValue','STRING','BOOLEAN','sequelize','exports'];(function(_0x4fa3f5,_0x3d53da){var _0x24316f=function(_0x3db4b9){while(--_0x3db4b9){_0x4fa3f5['push'](_0x4fa3f5['shift']());}};_0x24316f(++_0x3d53da);}(_0xfc41,0x12e));var _0x1fc4=function(_0x5b597a,_0x9c8126){_0x5b597a=_0x5b597a-0x0;var _0x104840=_0xfc41[_0x5b597a];return _0x104840;};'use strict';var Sequelize=require(_0x1fc4('0x0'));module[_0x1fc4('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x1fc4('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x46a55e){this[_0x1fc4('0x3')](_0x1fc4('0x4'),_0x46a55e?_0x46a55e['join'](''):[]);},'get':function(){return this[_0x1fc4('0x5')]('crudPermissions')?this[_0x1fc4('0x5')](_0x1fc4('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x1fc4('0x6')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x1fc4('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x1fc4('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x1fc4('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x1fc4('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x1fc4('0x7')],'defaultValue':!![]}};