X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;fp=server%2Fapi%2FuserProfile%2FuserProfile.attributes.js;h=92da8c99752c9c512b0fdec64dcd308839051daa;hb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;hp=e541ba0ca643d846b6dc8aab4258bc7292fdfa72;hpb=d49944cc2e95578bfbd15d79d46896f71a145821;p=motion2.git diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index e541ba0..92da8c9 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 _0x968b=['BOOLEAN','sequelize','exports','STRING','name','setDataValue','join','getDataValue'];(function(_0x596b4f,_0x4de500){var _0x47760=function(_0x142c81){while(--_0x142c81){_0x596b4f['push'](_0x596b4f['shift']());}};_0x47760(++_0x4de500);}(_0x968b,0x151));var _0xb968=function(_0x191b54,_0x1dc69a){_0x191b54=_0x191b54-0x0;var _0x2270d1=_0x968b[_0x191b54];return _0x2270d1;};'use strict';var Sequelize=require(_0xb968('0x0'));module[_0xb968('0x1')]={'name':{'type':Sequelize[_0xb968('0x2')],'allowNull':![],'unique':_0xb968('0x3')},'crudPermissions':{'type':Sequelize[_0xb968('0x2')],'set':function(_0x4b5c7c){this[_0xb968('0x4')]('crudPermissions',_0x4b5c7c?_0x4b5c7c[_0xb968('0x5')](''):[]);},'get':function(){return this[_0xb968('0x6')]('crudPermissions')?this['getDataValue']('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xb968('0x2')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0xb968('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0xb968('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file +var _0x7d79=['join','getDataValue','split','BOOLEAN','sequelize','STRING','setDataValue','crudPermissions'];(function(_0xf35bc1,_0x510803){var _0xa6b162=function(_0x1e5cc8){while(--_0x1e5cc8){_0xf35bc1['push'](_0xf35bc1['shift']());}};_0xa6b162(++_0x510803);}(_0x7d79,0x18c));var _0x97d7=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x7d79[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x97d7('0x0'));module['exports']={'name':{'type':Sequelize[_0x97d7('0x1')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0x97d7('0x1')],'set':function(_0x54ebc1){this[_0x97d7('0x2')](_0x97d7('0x3'),_0x54ebc1?_0x54ebc1[_0x97d7('0x4')](''):[]);},'get':function(){return this[_0x97d7('0x5')](_0x97d7('0x3'))?this['getDataValue'](_0x97d7('0x3'))[_0x97d7('0x6')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x97d7('0x1')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x97d7('0x7')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file