Built motion from commit 64a6f4bc.|2.6.26
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index c0d745f..38ffade 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb2ed=['name','mailSubstatus','_previousDataValues','catch','./mailSubstatus.attributes','define','MailSubstatus','Condition','update'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0xb2ed,0x124));var _0xdb2e=function(_0x5235dd,_0x3f91cf){_0x5235dd=_0x5235dd-0x0;var _0x13059d=_0xb2ed[_0x5235dd];return _0x13059d;};'use strict';var attributes=require(_0xdb2e('0x0'));module['exports']=function(_0x48538e){var _0x49503b=_0x48538e['models'];return _0x48538e[_0xdb2e('0x1')](_0xdb2e('0x2'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x25df39,_0x3e288f,_0x4878db){return _0x49503b[_0xdb2e('0x3')][_0xdb2e('0x4')]({'value':_0x25df39[_0xdb2e('0x5')]},{'where':{'field':_0xdb2e('0x6'),'value':_0x25df39[_0xdb2e('0x7')]['name']}})['then'](function(){_0x4878db();})[_0xdb2e('0x8')](function(_0x53cfcc){_0x4878db(_0x53cfcc);});}}});};
\ No newline at end of file
+var _0x1dfe=['mail_substatuses','name','mailSubstatus','_previousDataValues','then','catch','./mailSubstatus.attributes','exports','MailSubstatus'];(function(_0x18b1ab,_0x754e09){var _0x4433f7=function(_0x1128c8){while(--_0x1128c8){_0x18b1ab['push'](_0x18b1ab['shift']());}};_0x4433f7(++_0x754e09);}(_0x1dfe,0x69));var _0xe1df=function(_0x4c1ce2,_0x54fc38){_0x4c1ce2=_0x4c1ce2-0x0;var _0xf11691=_0x1dfe[_0x4c1ce2];return _0xf11691;};'use strict';var attributes=require(_0xe1df('0x0'));module[_0xe1df('0x1')]=function(_0x1f2c50){var _0x3969ce=_0x1f2c50['models'];return _0x1f2c50['define'](_0xe1df('0x2'),attributes,{'tableName':_0xe1df('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4c7a44,_0xb71fe5,_0x4f6414){return _0x3969ce['Condition']['update']({'value':_0x4c7a44[_0xe1df('0x4')]},{'where':{'field':_0xe1df('0x5'),'value':_0x4c7a44[_0xe1df('0x6')][_0xe1df('0x4')]}})[_0xe1df('0x7')](function(){_0x4f6414();})[_0xe1df('0x8')](function(_0x50e83f){_0x4f6414(_0x50e83f);});}}});};
\ No newline at end of file