Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 927c58a..4f3d96e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xadf9=['_previousDataValues','catch','./mailSubstatus.attributes','exports','define','MailSubstatus','update','name','mailSubstatus'];(function(_0x348ed6,_0x58bd43){var _0x495876=function(_0x315f1){while(--_0x315f1){_0x348ed6['push'](_0x348ed6['shift']());}};_0x495876(++_0x58bd43);}(_0xadf9,0xa4));var _0x9adf=function(_0x53f5ec,_0x34bca9){_0x53f5ec=_0x53f5ec-0x0;var _0x4e2d6a=_0xadf9[_0x53f5ec];return _0x4e2d6a;};'use strict';var attributes=require(_0x9adf('0x0'));module[_0x9adf('0x1')]=function(_0x44646b){var _0x581fb4=_0x44646b['models'];return _0x44646b[_0x9adf('0x2')](_0x9adf('0x3'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x38dce5,_0x37e7fc,_0x23f17f){return _0x581fb4['Condition'][_0x9adf('0x4')]({'value':_0x38dce5[_0x9adf('0x5')]},{'where':{'field':_0x9adf('0x6'),'value':_0x38dce5[_0x9adf('0x7')][_0x9adf('0x5')]}})['then'](function(){_0x23f17f();})[_0x9adf('0x8')](function(_0x1d7d85){_0x23f17f(_0x1d7d85);});}}});};
\ No newline at end of file
+var _0x0324=['_previousDataValues','then','./mailSubstatus.attributes','exports','models','define','MailSubstatus','mail_substatuses','update','name','mailSubstatus'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x0324,0xd3));var _0x4032=function(_0x13ea64,_0x717c19){_0x13ea64=_0x13ea64-0x0;var _0xd35ca1=_0x0324[_0x13ea64];return _0xd35ca1;};'use strict';var attributes=require(_0x4032('0x0'));module[_0x4032('0x1')]=function(_0x552f31){var _0x10a05d=_0x552f31[_0x4032('0x2')];return _0x552f31[_0x4032('0x3')](_0x4032('0x4'),attributes,{'tableName':_0x4032('0x5'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4cf280,_0x2c4aff,_0x2b11fd){return _0x10a05d['Condition'][_0x4032('0x6')]({'value':_0x4cf280[_0x4032('0x7')]},{'where':{'field':_0x4032('0x8'),'value':_0x4cf280[_0x4032('0x9')][_0x4032('0x7')]}})[_0x4032('0xa')](function(){_0x2b11fd();})['catch'](function(_0x1f1405){_0x2b11fd(_0x1f1405);});}}});};
\ No newline at end of file