Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 34d324f..14a1ef0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa0fe=['MailSubstatus','mail_substatuses','update','name','mailSubstatus','_previousDataValues','catch','./mailSubstatus.attributes','exports','models','define'];(function(_0xddaf6d,_0x8a7fea){var _0x52e09d=function(_0x34415d){while(--_0x34415d){_0xddaf6d['push'](_0xddaf6d['shift']());}};_0x52e09d(++_0x8a7fea);}(_0xa0fe,0xd8));var _0xea0f=function(_0x53d457,_0x53bfe8){_0x53d457=_0x53d457-0x0;var _0x40e35b=_0xa0fe[_0x53d457];return _0x40e35b;};'use strict';var attributes=require(_0xea0f('0x0'));module[_0xea0f('0x1')]=function(_0x295307){var _0x5114b8=_0x295307[_0xea0f('0x2')];return _0x295307[_0xea0f('0x3')](_0xea0f('0x4'),attributes,{'tableName':_0xea0f('0x5'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4699ca,_0x1db488,_0x54e3c6){return _0x5114b8['Condition'][_0xea0f('0x6')]({'value':_0x4699ca[_0xea0f('0x7')]},{'where':{'field':_0xea0f('0x8'),'value':_0x4699ca[_0xea0f('0x9')][_0xea0f('0x7')]}})['then'](function(){_0x54e3c6();})[_0xea0f('0xa')](function(_0x1050ad){_0x54e3c6(_0x1050ad);});}}});};
\ 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