X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;h=92870c7db40f5c8ae6da62108b40a140af64e16b;hb=f1d1468b3a09c62a6041ebd552725da73d637879;hp=5ce8161a20f891c1240b164cd2a810c9a4f894e9;hpb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;p=motion2.git diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index 5ce8161..92870c7 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 _0xa489=['setDataValue','crudPermissions','join','getDataValue','split','BOOLEAN','sequelize','STRING','name'];(function(_0xe13624,_0x350368){var _0x2abc5a=function(_0x5e38e5){while(--_0x5e38e5){_0xe13624['push'](_0xe13624['shift']());}};_0x2abc5a(++_0x350368);}(_0xa489,0x192));var _0x9a48=function(_0x180ad0,_0x23031b){_0x180ad0=_0x180ad0-0x0;var _0x546a16=_0xa489[_0x180ad0];return _0x546a16;};'use strict';var Sequelize=require(_0x9a48('0x0'));module['exports']={'name':{'type':Sequelize[_0x9a48('0x1')],'allowNull':![],'unique':_0x9a48('0x2')},'crudPermissions':{'type':Sequelize[_0x9a48('0x1')],'set':function(_0x5a5c29){this[_0x9a48('0x3')](_0x9a48('0x4'),_0x5a5c29?_0x5a5c29[_0x9a48('0x5')](''):[]);},'get':function(){return this[_0x9a48('0x6')](_0x9a48('0x4'))?this['getDataValue']('crudPermissions')[_0x9a48('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x9a48('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x9a48('0x8')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file +var _0x50d3=['crudPermissions','getDataValue','split','BOOLEAN','sequelize','exports','STRING','name','setDataValue'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x50d3,0x13f));var _0x350d=function(_0x4b174a,_0x33a017){_0x4b174a=_0x4b174a-0x0;var _0x3cd7bf=_0x50d3[_0x4b174a];return _0x3cd7bf;};'use strict';var Sequelize=require(_0x350d('0x0'));module[_0x350d('0x1')]={'name':{'type':Sequelize[_0x350d('0x2')],'allowNull':![],'unique':_0x350d('0x3')},'crudPermissions':{'type':Sequelize[_0x350d('0x2')],'set':function(_0x51bc32){this[_0x350d('0x4')](_0x350d('0x5'),_0x51bc32?_0x51bc32['join'](''):[]);},'get':function(){return this[_0x350d('0x6')]('crudPermissions')?this[_0x350d('0x6')](_0x350d('0x5'))[_0x350d('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x350d('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'downloadAttachments':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x350d('0x8')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x350d('0x8')],'defaultValue':!![]}}; \ No newline at end of file