Built motion from commit 9d7072cc.|2.5.39
[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 _0x4c04=['name','crudPermissions','join','BOOLEAN','sequelize','STRING'];(function(_0x42b89a,_0x5842f4){var _0x33e70d=function(_0x5b6048){while(--_0x5b6048){_0x42b89a['push'](_0x42b89a['shift']());}};_0x33e70d(++_0x5842f4);}(_0x4c04,0x1ba));var _0x44c0=function(_0x2842b0,_0xf83014){_0x2842b0=_0x2842b0-0x0;var _0x35b69e=_0x4c04[_0x2842b0];return _0x35b69e;};'use strict';var Sequelize=require(_0x44c0('0x0'));module['exports']={'name':{'type':Sequelize[_0x44c0('0x1')],'allowNull':![],'unique':_0x44c0('0x2')},'crudPermissions':{'type':Sequelize[_0x44c0('0x1')],'set':function(_0x107e5f){this['setDataValue'](_0x44c0('0x3'),_0x107e5f?_0x107e5f[_0x44c0('0x4')](''):[]);},'get':function(){return this['getDataValue']('crudPermissions')?this['getDataValue'](_0x44c0('0x3'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x44c0('0x5')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x44c0('0x5')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x44c0('0x5')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x44c0('0x5')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x44c0('0x5')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};