e2ee0ea77b27d36d86ebc86ed5595b40a15706d9
[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 _0xb37d=['join','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name','crudPermissions'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb37d,0xdc));var _0xdb37=function(_0x2d0a6f,_0x325711){_0x2d0a6f=_0x2d0a6f-0x0;var _0x66f641=_0xb37d[_0x2d0a6f];return _0x66f641;};'use strict';var Sequelize=require(_0xdb37('0x0'));module[_0xdb37('0x1')]={'name':{'type':Sequelize[_0xdb37('0x2')],'allowNull':![],'unique':_0xdb37('0x3')},'crudPermissions':{'type':Sequelize[_0xdb37('0x2')],'set':function(_0x431d80){this['setDataValue'](_0xdb37('0x4'),_0x431d80?_0x431d80[_0xdb37('0x5')](''):[]);},'get':function(){return this[_0xdb37('0x6')](_0xdb37('0x4'))?this[_0xdb37('0x6')](_0xdb37('0x4'))[_0xdb37('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xdb37('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};