f63ac4d54a24817dce36253674854db565638a23
[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 _0xf6cc=['split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','getDataValue'];(function(_0x53bd61,_0x5dcf32){var _0x49ed38=function(_0x34723e){while(--_0x34723e){_0x53bd61['push'](_0x53bd61['shift']());}};_0x49ed38(++_0x5dcf32);}(_0xf6cc,0x8a));var _0xcf6c=function(_0x4b6462,_0x262c7b){_0x4b6462=_0x4b6462-0x0;var _0x1a0198=_0xf6cc[_0x4b6462];return _0x1a0198;};'use strict';var Sequelize=require(_0xcf6c('0x0'));module[_0xcf6c('0x1')]={'name':{'type':Sequelize[_0xcf6c('0x2')],'allowNull':![],'unique':_0xcf6c('0x3')},'crudPermissions':{'type':Sequelize[_0xcf6c('0x2')],'set':function(_0x413383){this[_0xcf6c('0x4')]('crudPermissions',_0x413383?_0x413383['join'](''):[]);},'get':function(){return this[_0xcf6c('0x5')]('crudPermissions')?this[_0xcf6c('0x5')]('crudPermissions')[_0xcf6c('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xcf6c('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xcf6c('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xcf6c('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xcf6c('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xcf6c('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xcf6c('0x7')],'defaultValue':!![]}};