81bd68ba4dfda0b83756a26dca8db4a75f451cac
[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 _0x27bf=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name'];(function(_0x3f4304,_0x6bb62f){var _0x56aa0d=function(_0x35e9ec){while(--_0x35e9ec){_0x3f4304['push'](_0x3f4304['shift']());}};_0x56aa0d(++_0x6bb62f);}(_0x27bf,0x150));var _0xf27b=function(_0x44b317,_0x588637){_0x44b317=_0x44b317-0x0;var _0x47d8ce=_0x27bf[_0x44b317];return _0x47d8ce;};'use strict';var Sequelize=require(_0xf27b('0x0'));module[_0xf27b('0x1')]={'name':{'type':Sequelize[_0xf27b('0x2')],'allowNull':![],'unique':_0xf27b('0x3')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x5532fe){this[_0xf27b('0x4')](_0xf27b('0x5'),_0x5532fe?_0x5532fe[_0xf27b('0x6')](''):[]);},'get':function(){return this[_0xf27b('0x7')](_0xf27b('0x5'))?this[_0xf27b('0x7')](_0xf27b('0x5'))[_0xf27b('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf27b('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xf27b('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};