Built motion from commit 953226e6.|2.6.32
[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 _0xa409=['exports','STRING','name','crudPermissions','join','split','BOOLEAN','sequelize'];(function(_0x3526e6,_0x53e376){var _0x30faf1=function(_0x3aac24){while(--_0x3aac24){_0x3526e6['push'](_0x3526e6['shift']());}};_0x30faf1(++_0x53e376);}(_0xa409,0xef));var _0x9a40=function(_0x29994c,_0x45b8af){_0x29994c=_0x29994c-0x0;var _0x5b9cf8=_0xa409[_0x29994c];return _0x5b9cf8;};'use strict';var Sequelize=require(_0x9a40('0x0'));module[_0x9a40('0x1')]={'name':{'type':Sequelize[_0x9a40('0x2')],'allowNull':![],'unique':_0x9a40('0x3')},'crudPermissions':{'type':Sequelize[_0x9a40('0x2')],'set':function(_0x27702b){this['setDataValue'](_0x9a40('0x4'),_0x27702b?_0x27702b[_0x9a40('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0x9a40('0x4'))?this['getDataValue']('crudPermissions')[_0x9a40('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9a40('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x9a40('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};