9d5c830db84a88ea6187b28d5026bef7771ded77
[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 _0x0a7a=['split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue'];(function(_0x5c2e3e,_0x26ecd3){var _0x53f64a=function(_0x2b5df8){while(--_0x2b5df8){_0x5c2e3e['push'](_0x5c2e3e['shift']());}};_0x53f64a(++_0x26ecd3);}(_0x0a7a,0x106));var _0xa0a7=function(_0x18d974,_0x2816a1){_0x18d974=_0x18d974-0x0;var _0x378bed=_0x0a7a[_0x18d974];return _0x378bed;};'use strict';var Sequelize=require(_0xa0a7('0x0'));module[_0xa0a7('0x1')]={'name':{'type':Sequelize[_0xa0a7('0x2')],'allowNull':![],'unique':_0xa0a7('0x3')},'crudPermissions':{'type':Sequelize[_0xa0a7('0x2')],'set':function(_0x4d54b1){this[_0xa0a7('0x4')](_0xa0a7('0x5'),_0x4d54b1?_0x4d54b1[_0xa0a7('0x6')](''):[]);},'get':function(){return this[_0xa0a7('0x7')]('crudPermissions')?this[_0xa0a7('0x7')](_0xa0a7('0x5'))[_0xa0a7('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xa0a7('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xa0a7('0x9')],'defaultValue':!![]}};