Built motion from commit 53e9689.|0.0.63
[motion.git] / server / models / desk_account.js
1 var _0xf62e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x44\x65\x73\x6B\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x62\x61\x73\x69\x63","\x6F\x61\x75\x74\x68","\x64\x65\x73\x6B\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x68\x61\x73\x4D\x61\x6E\x79","\x63\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E\x73","\x44\x65\x73\x6B\x43\x6F\x6E\x66\x69\x67\x75\x72\x61\x74\x69\x6F\x6E","\x69\x64","\x6E\x61\x6D\x65","\x61\x64\x64\x53\x63\x6F\x70\x65","\x64\x65\x66\x69\x6E\x65"];_0xf62e[0];module[_0xf62e[1]]=function(_0x8658x1,_0x8658x2){var _0x8658x3=_0x8658x1[_0xf62e[15]](_0xf62e[2],{name:_0x8658x2[_0xf62e[3]],description:_0x8658x2[_0xf62e[3]],username:{type:_0x8658x2[_0xf62e[3]],unique:true},remoteUri:{type:_0x8658x2[_0xf62e[3]],unique:true},authType:{type:_0x8658x2.ENUM(_0xf62e[4],_0xf62e[5]),defaultValue:_0xf62e[4]},password:_0x8658x2[_0xf62e[3]],consumerKey:_0x8658x2[_0xf62e[3]],consumerSecret:_0x8658x2[_0xf62e[3]],token:_0x8658x2[_0xf62e[3]],tokenSecret:_0x8658x2[_0xf62e[3]]},{tableName:_0xf62e[6],associate:function(_0x8658x4){_0x8658x3[_0xf62e[9]](_0x8658x4.DeskConfiguration,{as:_0xf62e[7],foreignKey:_0xf62e[8]});_0x8658x3[_0xf62e[14]](_0xf62e[10],{include:[{model:_0x8658x4[_0xf62e[11]],as:_0xf62e[7],required:false,attributes:[_0xf62e[12],_0xf62e[13]]}]})}});return _0x8658x3}