Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 8e7f23f..ee438c9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x51c4=['then','catch','./mailSubstatus.attributes','exports','models','MailSubstatus','mail_substatuses','Condition','name','mailSubstatus','_previousDataValues'];(function(_0x835976,_0x1e0c83){var _0x3e5914=function(_0x452566){while(--_0x452566){_0x835976['push'](_0x835976['shift']());}};_0x3e5914(++_0x1e0c83);}(_0x51c4,0x183));var _0x451c=function(_0x34f3a7,_0x3152ad){_0x34f3a7=_0x34f3a7-0x0;var _0x33c36f=_0x51c4[_0x34f3a7];return _0x33c36f;};'use strict';var attributes=require(_0x451c('0x0'));module[_0x451c('0x1')]=function(_0x43a638){var _0x4f50dd=_0x43a638[_0x451c('0x2')];return _0x43a638['define'](_0x451c('0x3'),attributes,{'tableName':_0x451c('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x5928ae,_0x357f0f,_0xb8244c){return _0x4f50dd[_0x451c('0x5')]['update']({'value':_0x5928ae[_0x451c('0x6')]},{'where':{'field':_0x451c('0x7'),'value':_0x5928ae[_0x451c('0x8')][_0x451c('0x6')]}})[_0x451c('0x9')](function(){_0xb8244c();})[_0x451c('0xa')](function(_0x543da0){_0xb8244c(_0x543da0);});}}});};
\ No newline at end of file
+var _0xd0e8=['then','./mailSubstatus.attributes','exports','models','define','MailSubstatus','Condition','name','mailSubstatus'];(function(_0x1d5820,_0x2813fa){var _0x1a0346=function(_0x499a60){while(--_0x499a60){_0x1d5820['push'](_0x1d5820['shift']());}};_0x1a0346(++_0x2813fa);}(_0xd0e8,0x64));var _0x8d0e=function(_0x5eae85,_0x3bb2db){_0x5eae85=_0x5eae85-0x0;var _0x4fd30f=_0xd0e8[_0x5eae85];return _0x4fd30f;};'use strict';var attributes=require(_0x8d0e('0x0'));module[_0x8d0e('0x1')]=function(_0x277834){var _0x7f03e4=_0x277834[_0x8d0e('0x2')];return _0x277834[_0x8d0e('0x3')](_0x8d0e('0x4'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x293397,_0x142773,_0x3b2863){return _0x7f03e4[_0x8d0e('0x5')]['update']({'value':_0x293397[_0x8d0e('0x6')]},{'where':{'field':_0x8d0e('0x7'),'value':_0x293397['_previousDataValues'][_0x8d0e('0x6')]}})[_0x8d0e('0x8')](function(){_0x3b2863();})['catch'](function(_0x27b48d){_0x3b2863(_0x27b48d);});}}});};
\ No newline at end of file