Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / userProfile / userProfile.attributes.js
index 8f54697..f46a631 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x42d5=['getDataValue','sequelize','exports','STRING','name','setDataValue','crudPermissions','join'];(function(_0x56f219,_0x30e29f){var _0x3ee411=function(_0x3b51d9){while(--_0x3b51d9){_0x56f219['push'](_0x56f219['shift']());}};_0x3ee411(++_0x30e29f);}(_0x42d5,0xc9));var _0x542d=function(_0x12b3fd,_0xc4c49a){_0x12b3fd=_0x12b3fd-0x0;var _0x60174e=_0x42d5[_0x12b3fd];return _0x60174e;};'use strict';var Sequelize=require(_0x542d('0x0'));module[_0x542d('0x1')]={'name':{'type':Sequelize[_0x542d('0x2')],'allowNull':![],'unique':_0x542d('0x3')},'crudPermissions':{'type':Sequelize[_0x542d('0x2')],'set':function(_0x2fc413){this[_0x542d('0x4')](_0x542d('0x5'),_0x2fc413?_0x2fc413[_0x542d('0x6')](''):[]);},'get':function(){return this[_0x542d('0x7')](_0x542d('0x5'))?this[_0x542d('0x7')]('crudPermissions')['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x542d('0x2')],'allowNull':!![]}};
\ No newline at end of file
+var _0x49b1=['split','STRING','BOOLEAN','sequelize','exports','crudPermissions'];(function(_0x36dfbd,_0x5bfe2d){var _0x4ecad9=function(_0x5230da){while(--_0x5230da){_0x36dfbd['push'](_0x36dfbd['shift']());}};_0x4ecad9(++_0x5bfe2d);}(_0x49b1,0x69));var _0x149b=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x49b1[_0x501510];return _0x1e6ee5;};'use strict';var Sequelize=require(_0x149b('0x0'));module[_0x149b('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x1e64b5){this['setDataValue']('crudPermissions',_0x1e64b5?_0x1e64b5['join'](''):[]);},'get':function(){return this['getDataValue'](_0x149b('0x2'))?this['getDataValue'](_0x149b('0x2'))[_0x149b('0x3')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0x149b('0x4')],'allowNull':!![]},'privacyEnabled':{'type':Sequelize[_0x149b('0x5')],'defaultValue':![]},'downloadAttachments':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadCallySquareRecordings':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadContactManagerLists':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadJscriptySessions':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadOmnichannelInteractions':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadScreenRecordings':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]},'downloadVoiceRecordings':{'type':Sequelize[_0x149b('0x5')],'defaultValue':!![]}};
\ No newline at end of file