a6edabd544ff0b670761525405eb02891013a3bd
[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 _0xa4ec=['join','getDataValue','crudPermissions','split','BOOLEAN','sequelize','exports','STRING','setDataValue'];(function(_0x100b37,_0x57fc07){var _0x1afe08=function(_0x477fc3){while(--_0x477fc3){_0x100b37['push'](_0x100b37['shift']());}};_0x1afe08(++_0x57fc07);}(_0xa4ec,0x16d));var _0xca4e=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xa4ec[_0x134c2e];return _0x2825db;};'use strict';var Sequelize=require(_0xca4e('0x0'));module[_0xca4e('0x1')]={'name':{'type':Sequelize[_0xca4e('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xca4e('0x2')],'set':function(_0x56761e){this[_0xca4e('0x3')]('crudPermissions',_0x56761e?_0x56761e[_0xca4e('0x4')](''):[]);},'get':function(){return this[_0xca4e('0x5')](_0xca4e('0x6'))?this[_0xca4e('0x5')]('crudPermissions')[_0xca4e('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xca4e('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xca4e('0x8')],'defaultValue':!![]}};