Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index eefc738..927c58a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x61bd=['models','define','mail_substatuses','Condition','update','name','_previousDataValues','then','catch'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x61bd,0x1ef));var _0xd61b=function(_0x44a64f,_0x38475c){_0x44a64f=_0x44a64f-0x0;var _0x52024b=_0x61bd[_0x44a64f];return _0x52024b;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0x10283f){var _0x1474f2=_0x10283f[_0xd61b('0x0')];return _0x10283f[_0xd61b('0x1')]('MailSubstatus',attributes,{'tableName':_0xd61b('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x1023a9,_0x488060,_0x31c4a8){return _0x1474f2[_0xd61b('0x3')][_0xd61b('0x4')]({'value':_0x1023a9[_0xd61b('0x5')]},{'where':{'field':'mailSubstatus','value':_0x1023a9[_0xd61b('0x6')][_0xd61b('0x5')]}})[_0xd61b('0x7')](function(){_0x31c4a8();})[_0xd61b('0x8')](function(_0x2a70d0){_0x31c4a8(_0x2a70d0);});}}});};
\ No newline at end of file
+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