Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 2842670..ba24787 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x4e9f=['mailSubstatus','then','catch','./mailSubstatus.attributes','models','define','MailSubstatus','Condition','update','name'];(function(_0x39e438,_0x1ff236){var _0x27f588=function(_0x6e718a){while(--_0x6e718a){_0x39e438['push'](_0x39e438['shift']());}};_0x27f588(++_0x1ff236);}(_0x4e9f,0x12f));var _0xf4e9=function(_0x2390e5,_0x38f33d){_0x2390e5=_0x2390e5-0x0;var _0x5a0f08=_0x4e9f[_0x2390e5];return _0x5a0f08;};'use strict';var attributes=require(_0xf4e9('0x0'));module['exports']=function(_0x6b399c){var _0x4795f9=_0x6b399c[_0xf4e9('0x1')];return _0x6b399c[_0xf4e9('0x2')](_0xf4e9('0x3'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x41ae12,_0x18aeb6,_0x435c5b){return _0x4795f9[_0xf4e9('0x4')][_0xf4e9('0x5')]({'value':_0x41ae12[_0xf4e9('0x6')]},{'where':{'field':_0xf4e9('0x7'),'value':_0x41ae12['_previousDataValues'][_0xf4e9('0x6')]}})[_0xf4e9('0x8')](function(){_0x435c5b();})[_0xf4e9('0x9')](function(_0x397d93){_0x435c5b(_0x397d93);});}}});};
\ No newline at end of file