28fadf54f2b8236c2749e3cc762000fec345ff74
[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 _0xc42c=['getDataValue','BOOLEAN','sequelize','exports','STRING','setDataValue','crudPermissions','join'];(function(_0x2e5a62,_0x25ce9a){var _0x214f6d=function(_0x4e758b){while(--_0x4e758b){_0x2e5a62['push'](_0x2e5a62['shift']());}};_0x214f6d(++_0x25ce9a);}(_0xc42c,0xba));var _0xcc42=function(_0x475a30,_0x4fa6d4){_0x475a30=_0x475a30-0x0;var _0x14c60a=_0xc42c[_0x475a30];return _0x14c60a;};'use strict';var Sequelize=require(_0xcc42('0x0'));module[_0xcc42('0x1')]={'name':{'type':Sequelize[_0xcc42('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xcc42('0x2')],'set':function(_0x4a98c9){this[_0xcc42('0x3')](_0xcc42('0x4'),_0x4a98c9?_0x4a98c9[_0xcc42('0x5')](''):[]);},'get':function(){return this[_0xcc42('0x6')](_0xcc42('0x4'))?this[_0xcc42('0x6')](_0xcc42('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xcc42('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0xcc42('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};