Built motion from commit 3e059bc2.|2.5.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 _0x6d54=['split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','crudPermissions','getDataValue'];(function(_0x586626,_0x377262){var _0x130aad=function(_0x27699c){while(--_0x27699c){_0x586626['push'](_0x586626['shift']());}};_0x130aad(++_0x377262);}(_0x6d54,0x122));var _0x46d5=function(_0x358c39,_0x3094da){_0x358c39=_0x358c39-0x0;var _0x4899ca=_0x6d54[_0x358c39];return _0x4899ca;};'use strict';var Sequelize=require(_0x46d5('0x0'));module[_0x46d5('0x1')]={'name':{'type':Sequelize[_0x46d5('0x2')],'allowNull':![],'unique':_0x46d5('0x3')},'crudPermissions':{'type':Sequelize[_0x46d5('0x2')],'set':function(_0x5a92ca){this[_0x46d5('0x4')](_0x46d5('0x5'),_0x5a92ca?_0x5a92ca['join'](''):[]);},'get':function(){return this['getDataValue'](_0x46d5('0x5'))?this[_0x46d5('0x6')](_0x46d5('0x5'))[_0x46d5('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x46d5('0x8')],'defaultValue':!![]}};