39be5edbcf2578a25cf91206987b55c2acc2980b
[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 _0x9d38=['BOOLEAN','sequelize','exports','STRING','name','crudPermissions','join','getDataValue','split'];(function(_0x3f763e,_0x701e4e){var _0xbaeae3=function(_0x3bc827){while(--_0x3bc827){_0x3f763e['push'](_0x3f763e['shift']());}};_0xbaeae3(++_0x701e4e);}(_0x9d38,0xd0));var _0x89d3=function(_0x215318,_0xa0ec7d){_0x215318=_0x215318-0x0;var _0x4eb4b1=_0x9d38[_0x215318];return _0x4eb4b1;};'use strict';var Sequelize=require(_0x89d3('0x0'));module[_0x89d3('0x1')]={'name':{'type':Sequelize[_0x89d3('0x2')],'allowNull':![],'unique':_0x89d3('0x3')},'crudPermissions':{'type':Sequelize[_0x89d3('0x2')],'set':function(_0x3bf5ee){this['setDataValue'](_0x89d3('0x4'),_0x3bf5ee?_0x3bf5ee[_0x89d3('0x5')](''):[]);},'get':function(){return this[_0x89d3('0x6')](_0x89d3('0x4'))?this[_0x89d3('0x6')](_0x89d3('0x4'))[_0x89d3('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x89d3('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x89d3('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};