Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 34d324f..0859866 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa0fe=['MailSubstatus','mail_substatuses','update','name','mailSubstatus','_previousDataValues','catch','./mailSubstatus.attributes','exports','models','define'];(function(_0xddaf6d,_0x8a7fea){var _0x52e09d=function(_0x34415d){while(--_0x34415d){_0xddaf6d['push'](_0xddaf6d['shift']());}};_0x52e09d(++_0x8a7fea);}(_0xa0fe,0xd8));var _0xea0f=function(_0x53d457,_0x53bfe8){_0x53d457=_0x53d457-0x0;var _0x40e35b=_0xa0fe[_0x53d457];return _0x40e35b;};'use strict';var attributes=require(_0xea0f('0x0'));module[_0xea0f('0x1')]=function(_0x295307){var _0x5114b8=_0x295307[_0xea0f('0x2')];return _0x295307[_0xea0f('0x3')](_0xea0f('0x4'),attributes,{'tableName':_0xea0f('0x5'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4699ca,_0x1db488,_0x54e3c6){return _0x5114b8['Condition'][_0xea0f('0x6')]({'value':_0x4699ca[_0xea0f('0x7')]},{'where':{'field':_0xea0f('0x8'),'value':_0x4699ca[_0xea0f('0x9')][_0xea0f('0x7')]}})['then'](function(){_0x54e3c6();})[_0xea0f('0xa')](function(_0x1050ad){_0x54e3c6(_0x1050ad);});}}});};
\ No newline at end of file
+var _0x10e1=['models','define','MailSubstatus','mail_substatuses','Condition','update','mailSubstatus','_previousDataValues','name','then','catch'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x10e1,0x160));var _0x110e=function(_0x11005e,_0x20c3d2){_0x11005e=_0x11005e-0x0;var _0x29338f=_0x10e1[_0x11005e];return _0x29338f;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0x163d85){var _0x1963b4=_0x163d85[_0x110e('0x0')];return _0x163d85[_0x110e('0x1')](_0x110e('0x2'),attributes,{'tableName':_0x110e('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x265b1c,_0xb57178,_0x1bdff0){return _0x1963b4[_0x110e('0x4')][_0x110e('0x5')]({'value':_0x265b1c['name']},{'where':{'field':_0x110e('0x6'),'value':_0x265b1c[_0x110e('0x7')][_0x110e('0x8')]}})[_0x110e('0x9')](function(){_0x1bdff0();})[_0x110e('0xa')](function(_0x128c3f){_0x1bdff0(_0x128c3f);});}}});};
\ No newline at end of file