Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index a37a71b..0859866 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x26cb=['then','./mailSubstatus.attributes','exports','define','MailSubstatus','mail_substatuses','Condition','update','name','_previousDataValues'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x26cb,0x19b));var _0xb26c=function(_0x6de365,_0x3ada32){_0x6de365=_0x6de365-0x0;var _0x104012=_0x26cb[_0x6de365];return _0x104012;};'use strict';var attributes=require(_0xb26c('0x0'));module[_0xb26c('0x1')]=function(_0x49ed7b){var _0x12a9bb=_0x49ed7b['models'];return _0x49ed7b[_0xb26c('0x2')](_0xb26c('0x3'),attributes,{'tableName':_0xb26c('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4f7163,_0x2c3955,_0x5869f6){return _0x12a9bb[_0xb26c('0x5')][_0xb26c('0x6')]({'value':_0x4f7163[_0xb26c('0x7')]},{'where':{'field':'mailSubstatus','value':_0x4f7163[_0xb26c('0x8')]['name']}})[_0xb26c('0x9')](function(){_0x5869f6();})['catch'](function(_0x34aa3d){_0x5869f6(_0x34aa3d);});}}});};
\ 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