Built motion from commit 87cd5f02.|2.5.48
[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 _0x0070=['exports','STRING','name','setDataValue','crudPermissions','getDataValue','BOOLEAN'];(function(_0x1fb1c1,_0x4ebe69){var _0x1622df=function(_0x52b793){while(--_0x52b793){_0x1fb1c1['push'](_0x1fb1c1['shift']());}};_0x1622df(++_0x4ebe69);}(_0x0070,0x19d));var _0x0007=function(_0x56e80c,_0xd0f2eb){_0x56e80c=_0x56e80c-0x0;var _0x2ece80=_0x0070[_0x56e80c];return _0x2ece80;};'use strict';var Sequelize=require('sequelize');module[_0x0007('0x0')]={'name':{'type':Sequelize[_0x0007('0x1')],'allowNull':![],'unique':_0x0007('0x2')},'crudPermissions':{'type':Sequelize[_0x0007('0x1')],'set':function(_0x37a95c){this[_0x0007('0x3')](_0x0007('0x4'),_0x37a95c?_0x37a95c['join'](''):[]);},'get':function(){return this[_0x0007('0x5')](_0x0007('0x4'))?this['getDataValue'](_0x0007('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x0007('0x6')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x0007('0x6')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x0007('0x6')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x0007('0x6')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x0007('0x6')],'defaultValue':!![]}};