Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 2d56837..8cffd6f 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 _0x04a1=['mail_substatuses','Condition','update','name','_previousDataValues','then','catch','define'];(function(_0x5400b,_0x55943a){var _0x36a39b=function(_0x56963c){while(--_0x56963c){_0x5400b['push'](_0x5400b['shift']());}};_0x36a39b(++_0x55943a);}(_0x04a1,0x1b7));var _0x104a=function(_0x119c37,_0x4c543a){_0x119c37=_0x119c37-0x0;var _0x226d92=_0x04a1[_0x119c37];return _0x226d92;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0x441099){var _0x5cebfa=_0x441099['models'];return _0x441099[_0x104a('0x0')]('MailSubstatus',attributes,{'tableName':_0x104a('0x1'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4f7e9e,_0x48fd29,_0x123648){return _0x5cebfa[_0x104a('0x2')][_0x104a('0x3')]({'value':_0x4f7e9e[_0x104a('0x4')]},{'where':{'field':'mailSubstatus','value':_0x4f7e9e[_0x104a('0x5')][_0x104a('0x4')]}})[_0x104a('0x6')](function(){_0x123648();})[_0x104a('0x7')](function(_0x369d56){_0x123648(_0x369d56);});}}});};
\ No newline at end of file