Built motion from commit f7863d46.|2.5.41
[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 _0xb072=['split','BOOLEAN','sequelize','STRING','name','setDataValue','join','getDataValue','crudPermissions'];(function(_0x2fc012,_0x503e5b){var _0x2891f9=function(_0x295f5e){while(--_0x295f5e){_0x2fc012['push'](_0x2fc012['shift']());}};_0x2891f9(++_0x503e5b);}(_0xb072,0xb6));var _0x2b07=function(_0x324c9c,_0x5169b9){_0x324c9c=_0x324c9c-0x0;var _0x109d6b=_0xb072[_0x324c9c];return _0x109d6b;};'use strict';var Sequelize=require(_0x2b07('0x0'));module['exports']={'name':{'type':Sequelize[_0x2b07('0x1')],'allowNull':![],'unique':_0x2b07('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0xac3f6e){this[_0x2b07('0x3')]('crudPermissions',_0xac3f6e?_0xac3f6e[_0x2b07('0x4')](''):[]);},'get':function(){return this[_0x2b07('0x5')](_0x2b07('0x6'))?this[_0x2b07('0x5')](_0x2b07('0x6'))[_0x2b07('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x2b07('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x2b07('0x8')],'defaultValue':!![]}};