Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 3fc5b1d..eefc738 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9ec3=['mailSubstatus','then','./mailSubstatus.attributes','exports','models','define','mail_substatuses','Condition','update','name'];(function(_0x2f136c,_0x56fe4a){var _0x57cfe1=function(_0x3e73fa){while(--_0x3e73fa){_0x2f136c['push'](_0x2f136c['shift']());}};_0x57cfe1(++_0x56fe4a);}(_0x9ec3,0x1d8));var _0x39ec=function(_0x30ae4b,_0x552f2e){_0x30ae4b=_0x30ae4b-0x0;var _0x53e6a3=_0x9ec3[_0x30ae4b];return _0x53e6a3;};'use strict';var attributes=require(_0x39ec('0x0'));module[_0x39ec('0x1')]=function(_0x23b2d1){var _0x54b72c=_0x23b2d1[_0x39ec('0x2')];return _0x23b2d1[_0x39ec('0x3')]('MailSubstatus',attributes,{'tableName':_0x39ec('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x558ca2,_0x48c6da,_0x15435c){return _0x54b72c[_0x39ec('0x5')][_0x39ec('0x6')]({'value':_0x558ca2[_0x39ec('0x7')]},{'where':{'field':_0x39ec('0x8'),'value':_0x558ca2['_previousDataValues'][_0x39ec('0x7')]}})[_0x39ec('0x9')](function(){_0x15435c();})['catch'](function(_0x249151){_0x15435c(_0x249151);});}}});};
\ No newline at end of file
+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