Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 2d56837..2842670 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbbe2=['mailSubstatus','_previousDataValues','catch','./mailSubstatus.attributes','exports','models','define','MailSubstatus','Condition','update','name'];(function(_0x3223de,_0x4f8782){var _0x39067a=function(_0x32b164){while(--_0x32b164){_0x3223de['push'](_0x3223de['shift']());}};_0x39067a(++_0x4f8782);}(_0xbbe2,0x1c6));var _0x2bbe=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbbe2[_0x3dd15e];return _0x231fd0;};'use strict';var attributes=require(_0x2bbe('0x0'));module[_0x2bbe('0x1')]=function(_0x2ff0d2){var _0x318156=_0x2ff0d2[_0x2bbe('0x2')];return _0x2ff0d2[_0x2bbe('0x3')](_0x2bbe('0x4'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x14e026,_0x1092d8,_0x27c5bc){return _0x318156[_0x2bbe('0x5')][_0x2bbe('0x6')]({'value':_0x14e026[_0x2bbe('0x7')]},{'where':{'field':_0x2bbe('0x8'),'value':_0x14e026[_0x2bbe('0x9')][_0x2bbe('0x7')]}})['then'](function(){_0x27c5bc();})[_0x2bbe('0xa')](function(_0x1ab710){_0x27c5bc(_0x1ab710);});}}});};
\ No newline at end of file
+var _0xd65a=['mailSubstatus','_previousDataValues','name','then','catch','./mailSubstatus.attributes','models','define','mail_substatuses','update'];(function(_0x457bf5,_0x4282b6){var _0x51eab9=function(_0x36a658){while(--_0x36a658){_0x457bf5['push'](_0x457bf5['shift']());}};_0x51eab9(++_0x4282b6);}(_0xd65a,0x16d));var _0xad65=function(_0x55250a,_0x4f52bb){_0x55250a=_0x55250a-0x0;var _0x27624c=_0xd65a[_0x55250a];return _0x27624c;};'use strict';var attributes=require(_0xad65('0x0'));module['exports']=function(_0x4e290b){var _0x10b311=_0x4e290b[_0xad65('0x1')];return _0x4e290b[_0xad65('0x2')]('MailSubstatus',attributes,{'tableName':_0xad65('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x1aa2c0,_0x4228ba,_0x181bc3){return _0x10b311['Condition'][_0xad65('0x4')]({'value':_0x1aa2c0['name']},{'where':{'field':_0xad65('0x5'),'value':_0x1aa2c0[_0xad65('0x6')][_0xad65('0x7')]}})[_0xad65('0x8')](function(){_0x181bc3();})[_0xad65('0x9')](function(_0x101539){_0x181bc3(_0x101539);});}}});};
\ No newline at end of file