Built motion from commit da617fac.|2.6.6
[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 _0xcf2c=['sequelize','exports','STRING','name','crudPermissions','join','getDataValue','BOOLEAN'];(function(_0x5a26d5,_0x317a00){var _0x1e6190=function(_0x178b48){while(--_0x178b48){_0x5a26d5['push'](_0x5a26d5['shift']());}};_0x1e6190(++_0x317a00);}(_0xcf2c,0xc8));var _0xccf2=function(_0x263f4c,_0x438626){_0x263f4c=_0x263f4c-0x0;var _0x3a78d3=_0xcf2c[_0x263f4c];return _0x3a78d3;};'use strict';var Sequelize=require(_0xccf2('0x0'));module[_0xccf2('0x1')]={'name':{'type':Sequelize[_0xccf2('0x2')],'allowNull':![],'unique':_0xccf2('0x3')},'crudPermissions':{'type':Sequelize[_0xccf2('0x2')],'set':function(_0x119ce0){this['setDataValue'](_0xccf2('0x4'),_0x119ce0?_0x119ce0[_0xccf2('0x5')](''):[]);},'get':function(){return this[_0xccf2('0x6')](_0xccf2('0x4'))?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xccf2('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xccf2('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xccf2('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0xccf2('0x7')],'defaultValue':!![]}};