0a3fe36c914002256b086d46ac57f01f37c5a6f0
[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 _0x62a6=['setDataValue','crudPermissions','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name'];(function(_0x3eee9d,_0x21333c){var _0x1dec18=function(_0x8cea0e){while(--_0x8cea0e){_0x3eee9d['push'](_0x3eee9d['shift']());}};_0x1dec18(++_0x21333c);}(_0x62a6,0xf8));var _0x662a=function(_0x1694f5,_0x49b7c3){_0x1694f5=_0x1694f5-0x0;var _0x5b4321=_0x62a6[_0x1694f5];return _0x5b4321;};'use strict';var Sequelize=require(_0x662a('0x0'));module[_0x662a('0x1')]={'name':{'type':Sequelize[_0x662a('0x2')],'allowNull':![],'unique':_0x662a('0x3')},'crudPermissions':{'type':Sequelize[_0x662a('0x2')],'set':function(_0x4b0b48){this[_0x662a('0x4')](_0x662a('0x5'),_0x4b0b48?_0x4b0b48['join'](''):[]);},'get':function(){return this[_0x662a('0x6')](_0x662a('0x5'))?this['getDataValue'](_0x662a('0x5'))[_0x662a('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x662a('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x662a('0x8')],'defaultValue':!![]}};