Built motion from commit 753c950e.|2.5.42
[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 _0x4a39=['split','BOOLEAN','sequelize','exports','STRING','setDataValue','join','getDataValue','crudPermissions'];(function(_0x2d747c,_0x851c49){var _0x2ac042=function(_0x2ffeb7){while(--_0x2ffeb7){_0x2d747c['push'](_0x2d747c['shift']());}};_0x2ac042(++_0x851c49);}(_0x4a39,0x197));var _0x94a3=function(_0x1fce14,_0x405c0a){_0x1fce14=_0x1fce14-0x0;var _0x1b9956=_0x4a39[_0x1fce14];return _0x1b9956;};'use strict';var Sequelize=require(_0x94a3('0x0'));module[_0x94a3('0x1')]={'name':{'type':Sequelize[_0x94a3('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x94a3('0x2')],'set':function(_0x3ba308){this[_0x94a3('0x3')]('crudPermissions',_0x3ba308?_0x3ba308[_0x94a3('0x4')](''):[]);},'get':function(){return this[_0x94a3('0x5')](_0x94a3('0x6'))?this[_0x94a3('0x5')]('crudPermissions')[_0x94a3('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x94a3('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x94a3('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x94a3('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x94a3('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x94a3('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x94a3('0x8')],'defaultValue':!![]}};