c6d849f56bfb739dff715882cd1464fd9c26c21f
[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 _0xbcc7=['crudPermissions','split','BOOLEAN','exports','STRING','name','setDataValue','join','getDataValue'];(function(_0x4ffa03,_0x363a82){var _0x30d661=function(_0x36ba86){while(--_0x36ba86){_0x4ffa03['push'](_0x4ffa03['shift']());}};_0x30d661(++_0x363a82);}(_0xbcc7,0xff));var _0x7bcc=function(_0x50bfb2,_0xb19ffc){_0x50bfb2=_0x50bfb2-0x0;var _0x3aa18a=_0xbcc7[_0x50bfb2];return _0x3aa18a;};'use strict';var Sequelize=require('sequelize');module[_0x7bcc('0x0')]={'name':{'type':Sequelize[_0x7bcc('0x1')],'allowNull':![],'unique':_0x7bcc('0x2')},'crudPermissions':{'type':Sequelize[_0x7bcc('0x1')],'set':function(_0x4f65cb){this[_0x7bcc('0x3')]('crudPermissions',_0x4f65cb?_0x4f65cb[_0x7bcc('0x4')](''):[]);},'get':function(){return this[_0x7bcc('0x5')](_0x7bcc('0x6'))?this[_0x7bcc('0x5')](_0x7bcc('0x6'))[_0x7bcc('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x7bcc('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x7bcc('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};