X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;h=f028c37994114e3a279eec0dd0d165a23f751a53;hb=0fe7d63fdd24ac799f5260a5b10b06097955b09f;hp=82c7efd3d93868e15f7917468214dc3fca8c9ea8;hpb=4f69ebcfd3a87338adde0f617720ee400a063456;p=motion2.git diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index 82c7efd..f028c37 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 _0x2b36=['getDataValue','crudPermissions','split','BOOLEAN','exports','STRING','name','join'];(function(_0xd9eef7,_0x39fcab){var _0x584cff=function(_0x555e21){while(--_0x555e21){_0xd9eef7['push'](_0xd9eef7['shift']());}};_0x584cff(++_0x39fcab);}(_0x2b36,0x10c));var _0x62b3=function(_0x3b438c,_0x255a1f){_0x3b438c=_0x3b438c-0x0;var _0x4474e4=_0x2b36[_0x3b438c];return _0x4474e4;};'use strict';var Sequelize=require('sequelize');module[_0x62b3('0x0')]={'name':{'type':Sequelize[_0x62b3('0x1')],'allowNull':![],'unique':_0x62b3('0x2')},'crudPermissions':{'type':Sequelize[_0x62b3('0x1')],'set':function(_0x53a2af){this['setDataValue']('crudPermissions',_0x53a2af?_0x53a2af[_0x62b3('0x3')](''):[]);},'get':function(){return this[_0x62b3('0x4')]('crudPermissions')?this[_0x62b3('0x4')](_0x62b3('0x5'))[_0x62b3('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x62b3('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x62b3('0x7')],'defaultValue':!![]}}; \ No newline at end of file +var _0x51fb=['STRING','setDataValue','crudPermissions','getDataValue','split','BOOLEAN','sequelize','name'];(function(_0x468b0f,_0x408566){var _0x3e74d9=function(_0x27a545){while(--_0x27a545){_0x468b0f['push'](_0x468b0f['shift']());}};_0x3e74d9(++_0x408566);}(_0x51fb,0x96));var _0xb51f=function(_0x1cd6af,_0xab7193){_0x1cd6af=_0x1cd6af-0x0;var _0x4a2b1a=_0x51fb[_0x1cd6af];return _0x4a2b1a;};'use strict';var Sequelize=require(_0xb51f('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xb51f('0x1')},'crudPermissions':{'type':Sequelize[_0xb51f('0x2')],'set':function(_0xf2899c){this[_0xb51f('0x3')](_0xb51f('0x4'),_0xf2899c?_0xf2899c['join'](''):[]);},'get':function(){return this[_0xb51f('0x5')]('crudPermissions')?this[_0xb51f('0x5')](_0xb51f('0x4'))[_0xb51f('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xb51f('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xb51f('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file