Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index ea6c9be..14a1ef0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7a12=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./mailSubstatus.attributes','exports','define','mail_substatuses','lodash','util'];(function(_0x3657d9,_0x3de284){var _0x4e5b18=function(_0x586dea){while(--_0x586dea){_0x3657d9['push'](_0x3657d9['shift']());}};_0x4e5b18(++_0x3de284);}(_0x7a12,0xe8));var _0x27a1=function(_0x8ffcad,_0x4a5338){_0x8ffcad=_0x8ffcad-0x0;var _0x374313=_0x7a12[_0x8ffcad];return _0x374313;};'use strict';var _=require(_0x27a1('0x0'));var util=require(_0x27a1('0x1'));var logger=require(_0x27a1('0x2'))(_0x27a1('0x3'));var moment=require(_0x27a1('0x4'));var BPromise=require(_0x27a1('0x5'));var rp=require(_0x27a1('0x6'));var fs=require('fs');var path=require(_0x27a1('0x7'));var rimraf=require('rimraf');var config=require(_0x27a1('0x8'));var attributes=require(_0x27a1('0x9'));module[_0x27a1('0xa')]=function(_0x389116,_0x2ccadb){return _0x389116[_0x27a1('0xb')]('MailSubstatus',attributes,{'tableName':_0x27a1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ 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