Built motion from commit 3c2ce842.|2.6.31
[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 _0x0d74=['split','BOOLEAN','sequelize','exports','STRING','name','setDataValue','crudPermissions','join','getDataValue'];(function(_0x53b53e,_0x498437){var _0xbb6179=function(_0x3975eb){while(--_0x3975eb){_0x53b53e['push'](_0x53b53e['shift']());}};_0xbb6179(++_0x498437);}(_0x0d74,0x110));var _0x40d7=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0x0d74[_0x1cfa0d];return _0xe33279;};'use strict';var Sequelize=require(_0x40d7('0x0'));module[_0x40d7('0x1')]={'name':{'type':Sequelize[_0x40d7('0x2')],'allowNull':![],'unique':_0x40d7('0x3')},'crudPermissions':{'type':Sequelize[_0x40d7('0x2')],'set':function(_0x5ef2bb){this[_0x40d7('0x4')](_0x40d7('0x5'),_0x5ef2bb?_0x5ef2bb[_0x40d7('0x6')](''):[]);},'get':function(){return this[_0x40d7('0x7')](_0x40d7('0x5'))?this[_0x40d7('0x7')](_0x40d7('0x5'))[_0x40d7('0x8')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x40d7('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x40d7('0x9')],'defaultValue':!![]}};