58e6c3f787544993f3a98068afd644eec302dc6d
[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 _0xbb28=['setDataValue','crudPermissions','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0xbb28,0x71));var _0x8bb2=function(_0xd766c,_0x46aaa5){_0xd766c=_0xd766c-0x0;var _0x3d7c0f=_0xbb28[_0xd766c];return _0x3d7c0f;};'use strict';var Sequelize=require(_0x8bb2('0x0'));module[_0x8bb2('0x1')]={'name':{'type':Sequelize[_0x8bb2('0x2')],'allowNull':![],'unique':_0x8bb2('0x3')},'crudPermissions':{'type':Sequelize[_0x8bb2('0x2')],'set':function(_0x2fba02){this[_0x8bb2('0x4')](_0x8bb2('0x5'),_0x2fba02?_0x2fba02['join'](''):[]);},'get':function(){return this[_0x8bb2('0x6')](_0x8bb2('0x5'))?this[_0x8bb2('0x6')](_0x8bb2('0x5'))[_0x8bb2('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x8bb2('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x8bb2('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x8bb2('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x8bb2('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x8bb2('0x8')],'defaultValue':!![]}};