Built motion from commit 5b761a7b.|2.5.36
[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 _0x5c4d=['BOOLEAN','sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0x256d6a,_0x2f002f){var _0x460058=function(_0x195be7){while(--_0x195be7){_0x256d6a['push'](_0x256d6a['shift']());}};_0x460058(++_0x2f002f);}(_0x5c4d,0x141));var _0xd5c4=function(_0x407604,_0x58f902){_0x407604=_0x407604-0x0;var _0x2da97a=_0x5c4d[_0x407604];return _0x2da97a;};'use strict';var Sequelize=require(_0xd5c4('0x0'));module[_0xd5c4('0x1')]={'name':{'type':Sequelize[_0xd5c4('0x2')],'allowNull':![],'unique':_0xd5c4('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x33889a){this[_0xd5c4('0x4')](_0xd5c4('0x5'),_0x33889a?_0x33889a[_0xd5c4('0x6')](''):[]);},'get':function(){return this[_0xd5c4('0x7')]('crudPermissions')?this['getDataValue']('crudPermissions')[_0xd5c4('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xd5c4('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xd5c4('0x9')],'defaultValue':!![]}};