1b05f8b899cc2717e8f8d12dcfa7040db4c7c090
[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 _0x5ce7=['BOOLEAN','sequelize','exports','STRING','setDataValue','crudPermissions','join','getDataValue'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x5ce7,0x111));var _0x75ce=function(_0x3768f3,_0x4a40f1){_0x3768f3=_0x3768f3-0x0;var _0x526a13=_0x5ce7[_0x3768f3];return _0x526a13;};'use strict';var Sequelize=require(_0x75ce('0x0'));module[_0x75ce('0x1')]={'name':{'type':Sequelize[_0x75ce('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x75ce('0x2')],'set':function(_0x12a0fb){this[_0x75ce('0x3')](_0x75ce('0x4'),_0x12a0fb?_0x12a0fb[_0x75ce('0x5')](''):[]);},'get':function(){return this[_0x75ce('0x6')](_0x75ce('0x4'))?this[_0x75ce('0x6')](_0x75ce('0x4'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x75ce('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x75ce('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};