Built motion from commit 167bccf5.|2.6.7
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 05eaaec..2a8106c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfee2=['define','name','mailSubstatus','_previousDataValues','then','catch'];(function(_0xe1441d,_0x36fb8e){var _0x2ef242=function(_0x52bf2d){while(--_0x52bf2d){_0xe1441d['push'](_0xe1441d['shift']());}};_0x2ef242(++_0x36fb8e);}(_0xfee2,0x1ec));var _0x2fee=function(_0x238d10,_0x18534e){_0x238d10=_0x238d10-0x0;var _0x4d5b76=_0xfee2[_0x238d10];return _0x4d5b76;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0xafdaf6){var _0xdc4ed2=_0xafdaf6['models'];return _0xafdaf6[_0x2fee('0x0')]('MailSubstatus',attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x53932a,_0x2323da,_0x4964c1){return _0xdc4ed2['Condition']['update']({'value':_0x53932a[_0x2fee('0x1')]},{'where':{'field':_0x2fee('0x2'),'value':_0x53932a[_0x2fee('0x3')]['name']}})[_0x2fee('0x4')](function(){_0x4964c1();})[_0x2fee('0x5')](function(_0x122758){_0x4964c1(_0x122758);});}}});};
\ No newline at end of file
+var _0x4cf9=['MailSubstatus','mail_substatuses','Condition','update','name','mailSubstatus','_previousDataValues','then','catch','exports','models','define'];(function(_0x372b9f,_0x36ad0e){var _0x53db37=function(_0x27d6a7){while(--_0x27d6a7){_0x372b9f['push'](_0x372b9f['shift']());}};_0x53db37(++_0x36ad0e);}(_0x4cf9,0x105));var _0x94cf=function(_0x4dbbc1,_0x1df2b8){_0x4dbbc1=_0x4dbbc1-0x0;var _0x5e1faa=_0x4cf9[_0x4dbbc1];return _0x5e1faa;};'use strict';var attributes=require('./mailSubstatus.attributes');module[_0x94cf('0x0')]=function(_0x5a412a){var _0x5a56f3=_0x5a412a[_0x94cf('0x1')];return _0x5a412a[_0x94cf('0x2')](_0x94cf('0x3'),attributes,{'tableName':_0x94cf('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x226425,_0x145b4e,_0x403f3c){return _0x5a56f3[_0x94cf('0x5')][_0x94cf('0x6')]({'value':_0x226425[_0x94cf('0x7')]},{'where':{'field':_0x94cf('0x8'),'value':_0x226425[_0x94cf('0x9')][_0x94cf('0x7')]}})[_0x94cf('0xa')](function(){_0x403f3c();})[_0x94cf('0xb')](function(_0xd039f6){_0x403f3c(_0xd039f6);});}}});};
\ No newline at end of file