Built motion from commit 2b9af5da.|2.6.26
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 64fa5c5..4a2bc75 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1a80=['MailSubstatus','mail_substatuses','Condition','mailSubstatus','_previousDataValues','then','catch','./mailSubstatus.attributes','define'];(function(_0x5da700,_0x33a026){var _0x107ed9=function(_0x59c405){while(--_0x59c405){_0x5da700['push'](_0x5da700['shift']());}};_0x107ed9(++_0x33a026);}(_0x1a80,0x142));var _0x01a8=function(_0x3077b1,_0x276b03){_0x3077b1=_0x3077b1-0x0;var _0x418fbf=_0x1a80[_0x3077b1];return _0x418fbf;};'use strict';var attributes=require(_0x01a8('0x0'));module['exports']=function(_0x41c8ac){var _0x1c9d91=_0x41c8ac['models'];return _0x41c8ac[_0x01a8('0x1')](_0x01a8('0x2'),attributes,{'tableName':_0x01a8('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x763fd,_0x3a3e1a,_0x12d2c5){return _0x1c9d91[_0x01a8('0x4')]['update']({'value':_0x763fd['name']},{'where':{'field':_0x01a8('0x5'),'value':_0x763fd[_0x01a8('0x6')]['name']}})[_0x01a8('0x7')](function(){_0x12d2c5();})[_0x01a8('0x8')](function(_0x1dd679){_0x12d2c5(_0x1dd679);});}}});};
\ No newline at end of file
+var _0x5a9e=['mail_substatuses','Condition','update','name','mailSubstatus','then','catch','./mailSubstatus.attributes','models','define'];(function(_0x53125e,_0x11c6a5){var _0x3dfd9a=function(_0x23eb91){while(--_0x23eb91){_0x53125e['push'](_0x53125e['shift']());}};_0x3dfd9a(++_0x11c6a5);}(_0x5a9e,0x15b));var _0xe5a9=function(_0x134192,_0x36adc5){_0x134192=_0x134192-0x0;var _0x3cd080=_0x5a9e[_0x134192];return _0x3cd080;};'use strict';var attributes=require(_0xe5a9('0x0'));module['exports']=function(_0x591ccc){var _0x82232d=_0x591ccc[_0xe5a9('0x1')];return _0x591ccc[_0xe5a9('0x2')]('MailSubstatus',attributes,{'tableName':_0xe5a9('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x1e5157,_0x1d1fa5,_0x5c12ee){return _0x82232d[_0xe5a9('0x4')][_0xe5a9('0x5')]({'value':_0x1e5157[_0xe5a9('0x6')]},{'where':{'field':_0xe5a9('0x7'),'value':_0x1e5157['_previousDataValues'][_0xe5a9('0x6')]}})[_0xe5a9('0x8')](function(){_0x5c12ee();})[_0xe5a9('0x9')](function(_0x2f7814){_0x5c12ee(_0x2f7814);});}}});};
\ No newline at end of file