Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 301fdaa..c5cb593 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa3e5=['name','_previousDataValues','catch','./mailSubstatus.attributes','models','define','MailSubstatus','Condition','update'];(function(_0x328305,_0x19098d){var _0xf0347=function(_0xa391c1){while(--_0xa391c1){_0x328305['push'](_0x328305['shift']());}};_0xf0347(++_0x19098d);}(_0xa3e5,0x198));var _0x5a3e=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0xa3e5[_0xa1e3e3];return _0xc980e9;};'use strict';var attributes=require(_0x5a3e('0x0'));module['exports']=function(_0xc0d69){var _0x51d643=_0xc0d69[_0x5a3e('0x1')];return _0xc0d69[_0x5a3e('0x2')](_0x5a3e('0x3'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4d65bb,_0x1e3d56,_0x5ba185){return _0x51d643[_0x5a3e('0x4')][_0x5a3e('0x5')]({'value':_0x4d65bb[_0x5a3e('0x6')]},{'where':{'field':'mailSubstatus','value':_0x4d65bb[_0x5a3e('0x7')]['name']}})['then'](function(){_0x5ba185();})[_0x5a3e('0x8')](function(_0x2d3c39){_0x5ba185(_0x2d3c39);});}}});};
\ No newline at end of file
+var _0x51b4=['define','mail_substatuses','Condition','update','name','mailSubstatus','_previousDataValues','then','catch','./mailSubstatus.attributes','exports','models'];(function(_0x1ecce9,_0x3d1db0){var _0x1a871f=function(_0x53f809){while(--_0x53f809){_0x1ecce9['push'](_0x1ecce9['shift']());}};_0x1a871f(++_0x3d1db0);}(_0x51b4,0x1a1));var _0x451b=function(_0x227180,_0xe5b77a){_0x227180=_0x227180-0x0;var _0x63c295=_0x51b4[_0x227180];return _0x63c295;};'use strict';var attributes=require(_0x451b('0x0'));module[_0x451b('0x1')]=function(_0x13901a){var _0x1fb30c=_0x13901a[_0x451b('0x2')];return _0x13901a[_0x451b('0x3')]('MailSubstatus',attributes,{'tableName':_0x451b('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4d29f0,_0x156b94,_0x39123b){return _0x1fb30c[_0x451b('0x5')][_0x451b('0x6')]({'value':_0x4d29f0[_0x451b('0x7')]},{'where':{'field':_0x451b('0x8'),'value':_0x4d29f0[_0x451b('0x9')][_0x451b('0x7')]}})[_0x451b('0xa')](function(){_0x39123b();})[_0x451b('0xb')](function(_0x4d0358){_0x39123b(_0x4d0358);});}}});};
\ No newline at end of file