969826cc825115d86c58c3aa855ffd328530219e
[motion.git] / server / models / custom_report.js
1 var _0xc632=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x43\x75\x73\x74\x6F\x6D\x52\x65\x70\x6F\x72\x74","\x53\x54\x52\x49\x4E\x47","\x54\x45\x58\x54","\x63\x75\x73\x74\x6F\x6D\x5F\x72\x65\x70\x6F\x72\x74\x73","\x46\x69\x65\x6C\x64\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x66\x69\x65\x6C\x64\x73","\x52\x65\x70\x6F\x72\x74\x46\x69\x65\x6C\x64","\x66\x69\x65\x6C\x64","\x61\x6C\x69\x61\x73","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x67\x72\x6F\x75\x70\x42\x79","\x6F\x72\x64\x65\x72\x42\x79","\x4D\x65\x74\x72\x69\x63\x49\x64","\x61\x64\x64\x53\x63\x6F\x70\x65","\x64\x65\x66\x69\x6E\x65"];_0xc632[0];module[_0xc632[1]]=function(_0x3f61x1,_0x3f61x2){var _0x3f61x3=_0x3f61x1[_0xc632[18]](_0xc632[2],{name:_0x3f61x2[_0xc632[3]],description:_0x3f61x2[_0xc632[3]],parent:_0x3f61x2[_0xc632[3]],table:_0x3f61x2[_0xc632[3]],conditions:_0x3f61x2[_0xc632[4]]},{paranoid:true,tableName:_0xc632[5],associate:function(_0x3f61x4){_0x3f61x3[_0xc632[8]](_0x3f61x4.ReportField,{as:_0xc632[6],onDelete:_0xc632[7],hooks:true});_0x3f61x3[_0xc632[17]](_0xc632[9],{include:[{model:_0x3f61x4[_0xc632[10]],as:_0xc632[6],required:false,attributes:[_0xc632[11],_0xc632[12],_0xc632[13],_0xc632[14],_0xc632[15],_0xc632[16]]}]})}});return _0x3f61x3}