Built motion from commit 9d1906d1.|2.5.40
[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 _0x8798=['BOOLEAN','sequelize','STRING','name','setDataValue','crudPermissions','join','getDataValue','split'];(function(_0xf119c4,_0x555432){var _0x23bd3b=function(_0x49749d){while(--_0x49749d){_0xf119c4['push'](_0xf119c4['shift']());}};_0x23bd3b(++_0x555432);}(_0x8798,0x18d));var _0x8879=function(_0x2339d4,_0xda11e2){_0x2339d4=_0x2339d4-0x0;var _0x9c5196=_0x8798[_0x2339d4];return _0x9c5196;};'use strict';var Sequelize=require(_0x8879('0x0'));module['exports']={'name':{'type':Sequelize[_0x8879('0x1')],'allowNull':![],'unique':_0x8879('0x2')},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x562cf3){this[_0x8879('0x3')](_0x8879('0x4'),_0x562cf3?_0x562cf3[_0x8879('0x5')](''):[]);},'get':function(){return this[_0x8879('0x6')]('crudPermissions')?this[_0x8879('0x6')](_0x8879('0x4'))[_0x8879('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x8879('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x8879('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x8879('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x8879('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x8879('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x8879('0x8')],'defaultValue':!![]}};