Built motion from commit 43538d75.|2.5.35
[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 _0xcea5=['crudPermissions','split','BOOLEAN','sequelize','exports','STRING','name','join','getDataValue'];(function(_0x585bf7,_0x4ec3ef){var _0x442036=function(_0x48b458){while(--_0x48b458){_0x585bf7['push'](_0x585bf7['shift']());}};_0x442036(++_0x4ec3ef);}(_0xcea5,0x1bc));var _0x5cea=function(_0x2eb57e,_0x1a638e){_0x2eb57e=_0x2eb57e-0x0;var _0x284e5d=_0xcea5[_0x2eb57e];return _0x284e5d;};'use strict';var Sequelize=require(_0x5cea('0x0'));module[_0x5cea('0x1')]={'name':{'type':Sequelize[_0x5cea('0x2')],'allowNull':![],'unique':_0x5cea('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x286296){this['setDataValue']('crudPermissions',_0x286296?_0x286296[_0x5cea('0x4')](''):[]);},'get':function(){return this[_0x5cea('0x5')](_0x5cea('0x6'))?this[_0x5cea('0x5')](_0x5cea('0x6'))[_0x5cea('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x5cea('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x5cea('0x8')],'defaultValue':!![]}};