682f0c855492ab952bc0481c09ed545388b08787
[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 _0xa014=['join','getDataValue','split','BOOLEAN','sequelize','exports','STRING','crudPermissions'];(function(_0x30149d,_0x263b5c){var _0x41732c=function(_0x6ff1b0){while(--_0x6ff1b0){_0x30149d['push'](_0x30149d['shift']());}};_0x41732c(++_0x263b5c);}(_0xa014,0x11c));var _0x4a01=function(_0x3589f4,_0x60e9cc){_0x3589f4=_0x3589f4-0x0;var _0x4d3a18=_0xa014[_0x3589f4];return _0x4d3a18;};'use strict';var Sequelize=require(_0x4a01('0x0'));module[_0x4a01('0x1')]={'name':{'type':Sequelize[_0x4a01('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x4a01('0x2')],'set':function(_0x18b595){this['setDataValue'](_0x4a01('0x3'),_0x18b595?_0x18b595[_0x4a01('0x4')](''):[]);},'get':function(){return this[_0x4a01('0x5')](_0x4a01('0x3'))?this[_0x4a01('0x5')](_0x4a01('0x3'))[_0x4a01('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x4a01('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x4a01('0x7')],'defaultValue':!![]}};