X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;h=682f0c855492ab952bc0481c09ed545388b08787;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=6963933d7647f49a55f6b7038efd4a719d4f3167;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index 6963933..682f0c8 100644 --- a/server/api/userProfile/userProfile.attributes.js +++ b/server/api/userProfile/userProfile.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x026f=['setDataValue','crudPermissions','join','getDataValue','BOOLEAN','exports','name','STRING'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x026f,0x9d));var _0xf026=function(_0x4f2c96,_0x360097){_0x4f2c96=_0x4f2c96-0x0;var _0x3dd0a4=_0x026f[_0x4f2c96];return _0x3dd0a4;};'use strict';var Sequelize=require('sequelize');module[_0xf026('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf026('0x1')},'crudPermissions':{'type':Sequelize[_0xf026('0x2')],'set':function(_0x445c30){this[_0xf026('0x3')](_0xf026('0x4'),_0x445c30?_0x445c30[_0xf026('0x5')](''):[]);},'get':function(){return this[_0xf026('0x6')](_0xf026('0x4'))?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf026('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xf026('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xf026('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xf026('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file +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':!![]}}; \ No newline at end of file