0ed9cfe184998bf2dfaf3acbf7775614e5865d75
[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 _0x77c6=['sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue','BOOLEAN'];(function(_0x3e6adf,_0x2e2232){var _0x28ad5f=function(_0x14bc31){while(--_0x14bc31){_0x3e6adf['push'](_0x3e6adf['shift']());}};_0x28ad5f(++_0x2e2232);}(_0x77c6,0x144));var _0x677c=function(_0x43d3e5,_0x419339){_0x43d3e5=_0x43d3e5-0x0;var _0x2dcdc4=_0x77c6[_0x43d3e5];return _0x2dcdc4;};'use strict';var Sequelize=require(_0x677c('0x0'));module[_0x677c('0x1')]={'name':{'type':Sequelize[_0x677c('0x2')],'allowNull':![],'unique':_0x677c('0x3')},'crudPermissions':{'type':Sequelize[_0x677c('0x2')],'set':function(_0x1d331a){this[_0x677c('0x4')](_0x677c('0x5'),_0x1d331a?_0x1d331a[_0x677c('0x6')](''):[]);},'get':function(){return this[_0x677c('0x7')](_0x677c('0x5'))?this[_0x677c('0x7')](_0x677c('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x677c('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x677c('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x677c('0x8')],'defaultValue':!![]}};