Built motion from commit ae138b72.|2.6.28
[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 _0xa73e=['sequelize','exports','name','STRING','setDataValue','crudPermissions','join','getDataValue','BOOLEAN'];(function(_0x2f13dc,_0x266e44){var _0x497a86=function(_0xbb19ed){while(--_0xbb19ed){_0x2f13dc['push'](_0x2f13dc['shift']());}};_0x497a86(++_0x266e44);}(_0xa73e,0xf3));var _0xea73=function(_0x594b69,_0x3a5d13){_0x594b69=_0x594b69-0x0;var _0x25b7e3=_0xa73e[_0x594b69];return _0x25b7e3;};'use strict';var Sequelize=require(_0xea73('0x0'));module[_0xea73('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xea73('0x2')},'crudPermissions':{'type':Sequelize[_0xea73('0x3')],'set':function(_0x11ea7e){this[_0xea73('0x4')](_0xea73('0x5'),_0x11ea7e?_0x11ea7e[_0xea73('0x6')](''):[]);},'get':function(){return this[_0xea73('0x7')](_0xea73('0x5'))?this[_0xea73('0x7')](_0xea73('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xea73('0x3')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xea73('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xea73('0x8')],'defaultValue':!![]}};