Built motion from commit ab870f9e.|2.5.44
[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 _0x085f=['setDataValue','crudPermissions','getDataValue','split','BOOLEAN','exports','STRING','name'];(function(_0x4f4c11,_0xdb6add){var _0x4dfd33=function(_0x163cfe){while(--_0x163cfe){_0x4f4c11['push'](_0x4f4c11['shift']());}};_0x4dfd33(++_0xdb6add);}(_0x085f,0x95));var _0xf085=function(_0x384c00,_0x380657){_0x384c00=_0x384c00-0x0;var _0x17944c=_0x085f[_0x384c00];return _0x17944c;};'use strict';var Sequelize=require('sequelize');module[_0xf085('0x0')]={'name':{'type':Sequelize[_0xf085('0x1')],'allowNull':![],'unique':_0xf085('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x35a143){this[_0xf085('0x3')](_0xf085('0x4'),_0x35a143?_0x35a143['join'](''):[]);},'get':function(){return this[_0xf085('0x5')]('crudPermissions')?this[_0xf085('0x5')](_0xf085('0x4'))[_0xf085('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf085('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xf085('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xf085('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xf085('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xf085('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xf085('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xf085('0x7')],'defaultValue':!![]}};