Built motion from commit f25620e4.|2.6.30
[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 _0x7b3f=['exports','STRING','name','setDataValue','crudPermissions','join','getDataValue','BOOLEAN'];(function(_0x5096bb,_0x5b728e){var _0x1a8092=function(_0x381e2e){while(--_0x381e2e){_0x5096bb['push'](_0x5096bb['shift']());}};_0x1a8092(++_0x5b728e);}(_0x7b3f,0x1f0));var _0xf7b3=function(_0x158208,_0x286b47){_0x158208=_0x158208-0x0;var _0x3cc831=_0x7b3f[_0x158208];return _0x3cc831;};'use strict';var Sequelize=require('sequelize');module[_0xf7b3('0x0')]={'name':{'type':Sequelize[_0xf7b3('0x1')],'allowNull':![],'unique':_0xf7b3('0x2')},'crudPermissions':{'type':Sequelize[_0xf7b3('0x1')],'set':function(_0x271208){this[_0xf7b3('0x3')](_0xf7b3('0x4'),_0x271208?_0x271208[_0xf7b3('0x5')](''):[]);},'get':function(){return this[_0xf7b3('0x6')](_0xf7b3('0x4'))?this['getDataValue'](_0xf7b3('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xf7b3('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xf7b3('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xf7b3('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xf7b3('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xf7b3('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};