Built motion from commit (unavailable).|2.5.30
[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 _0xc901=['STRING','BOOLEAN','sequelize','setDataValue','join','getDataValue','crudPermissions','split'];(function(_0x8dc04d,_0xaa7559){var _0x2f5f28=function(_0xdd2d1d){while(--_0xdd2d1d){_0x8dc04d['push'](_0x8dc04d['shift']());}};_0x2f5f28(++_0xaa7559);}(_0xc901,0x142));var _0x1c90=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc901[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require(_0x1c90('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x21d387){this[_0x1c90('0x1')]('crudPermissions',_0x21d387?_0x21d387[_0x1c90('0x2')](''):[]);},'get':function(){return this[_0x1c90('0x3')](_0x1c90('0x4'))?this[_0x1c90('0x3')](_0x1c90('0x4'))[_0x1c90('0x5')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x1c90('0x6')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x1c90('0x7')],'defaultValue':!![]}};