Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index a37a71b..14a1ef0 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 _0xe0fd=['exports','models','define','Condition','update','_previousDataValues','name','catch','./mailSubstatus.attributes'];(function(_0x432434,_0x263def){var _0x1153d7=function(_0x5b4c9a){while(--_0x5b4c9a){_0x432434['push'](_0x432434['shift']());}};_0x1153d7(++_0x263def);}(_0xe0fd,0xbc));var _0xde0f=function(_0x1082b1,_0x3ac515){_0x1082b1=_0x1082b1-0x0;var _0x11c304=_0xe0fd[_0x1082b1];return _0x11c304;};'use strict';var attributes=require(_0xde0f('0x0'));module[_0xde0f('0x1')]=function(_0xddb2f3){var _0x3d2b60=_0xddb2f3[_0xde0f('0x2')];return _0xddb2f3[_0xde0f('0x3')]('MailSubstatus',attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4ec7fe,_0x589a5d,_0x163ce9){return _0x3d2b60[_0xde0f('0x4')][_0xde0f('0x5')]({'value':_0x4ec7fe['name']},{'where':{'field':'mailSubstatus','value':_0x4ec7fe[_0xde0f('0x6')][_0xde0f('0x7')]}})['then'](function(){_0x163ce9();})[_0xde0f('0x8')](function(_0x52f6df){_0x163ce9(_0x52f6df);});}}});};
\ No newline at end of file