Built motion from commit 47436d59.|2.6.7
[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 _0x610c=['exports','STRING','name','setDataValue','crudPermissions','split','BOOLEAN'];(function(_0x378fcb,_0x32e78c){var _0x5dfe9b=function(_0x14cf62){while(--_0x14cf62){_0x378fcb['push'](_0x378fcb['shift']());}};_0x5dfe9b(++_0x32e78c);}(_0x610c,0x1e3));var _0xc610=function(_0x3431ca,_0x3ad596){_0x3431ca=_0x3431ca-0x0;var _0x912a8c=_0x610c[_0x3431ca];return _0x912a8c;};'use strict';var Sequelize=require('sequelize');module[_0xc610('0x0')]={'name':{'type':Sequelize[_0xc610('0x1')],'allowNull':![],'unique':_0xc610('0x2')},'crudPermissions':{'type':Sequelize[_0xc610('0x1')],'set':function(_0x408f66){this[_0xc610('0x3')](_0xc610('0x4'),_0x408f66?_0x408f66['join'](''):[]);},'get':function(){return this['getDataValue'](_0xc610('0x4'))?this['getDataValue'](_0xc610('0x4'))[_0xc610('0x5')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xc610('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xc610('0x6')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xc610('0x6')],'defaultValue':!![]}};