Built motion from commit b5413ace.|2.6.9
[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 _0xa28a=['sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue','BOOLEAN'];(function(_0x4016ae,_0x250155){var _0x29d0ae=function(_0x4094aa){while(--_0x4094aa){_0x4016ae['push'](_0x4016ae['shift']());}};_0x29d0ae(++_0x250155);}(_0xa28a,0xf3));var _0xaa28=function(_0x39c223,_0x17a712){_0x39c223=_0x39c223-0x0;var _0xac729f=_0xa28a[_0x39c223];return _0xac729f;};'use strict';var Sequelize=require(_0xaa28('0x0'));module[_0xaa28('0x1')]={'name':{'type':Sequelize[_0xaa28('0x2')],'allowNull':![],'unique':_0xaa28('0x3')},'crudPermissions':{'type':Sequelize[_0xaa28('0x2')],'set':function(_0x95efa5){this[_0xaa28('0x4')](_0xaa28('0x5'),_0x95efa5?_0x95efa5[_0xaa28('0x6')](''):[]);},'get':function(){return this[_0xaa28('0x7')](_0xaa28('0x5'))?this[_0xaa28('0x7')](_0xaa28('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xaa28('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xaa28('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xaa28('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xaa28('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};