Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 2d56837..3fc5b1d 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 _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