Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 6862d48..6aa5550 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb5fb=['path','rimraf','../../config/environment','./mailSubstatus.attributes','exports','mail_substatuses','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x5f3d8b,_0xae4294){var _0x348b6e=function(_0x3e621b){while(--_0x3e621b){_0x5f3d8b['push'](_0x5f3d8b['shift']());}};_0x348b6e(++_0xae4294);}(_0xb5fb,0x172));var _0xbb5f=function(_0x212950,_0x412c4a){_0x212950=_0x212950-0x0;var _0x1eb5d6=_0xb5fb[_0x212950];return _0x1eb5d6;};'use strict';var _=require(_0xbb5f('0x0'));var util=require(_0xbb5f('0x1'));var logger=require(_0xbb5f('0x2'))(_0xbb5f('0x3'));var moment=require(_0xbb5f('0x4'));var BPromise=require(_0xbb5f('0x5'));var rp=require(_0xbb5f('0x6'));var fs=require('fs');var path=require(_0xbb5f('0x7'));var rimraf=require(_0xbb5f('0x8'));var config=require(_0xbb5f('0x9'));var attributes=require(_0xbb5f('0xa'));module[_0xbb5f('0xb')]=function(_0x4b35d1,_0x1c6c4c){return _0x4b35d1['define']('MailSubstatus',attributes,{'tableName':_0xbb5f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};
\ No newline at end of file
+var _0x3325=['Condition','update','name','_previousDataValues','catch','models','define','MailSubstatus'];(function(_0x5a0ad9,_0x46fd7d){var _0x5af929=function(_0x11b5ec){while(--_0x11b5ec){_0x5a0ad9['push'](_0x5a0ad9['shift']());}};_0x5af929(++_0x46fd7d);}(_0x3325,0x155));var _0x5332=function(_0x4a7529,_0xba0830){_0x4a7529=_0x4a7529-0x0;var _0x254252=_0x3325[_0x4a7529];return _0x254252;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0xd02b3c){var _0x12ef65=_0xd02b3c[_0x5332('0x0')];return _0xd02b3c[_0x5332('0x1')](_0x5332('0x2'),attributes,{'tableName':'mail_substatuses','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x480c27,_0x4ba8b2,_0x40b456){return _0x12ef65[_0x5332('0x3')][_0x5332('0x4')]({'value':_0x480c27[_0x5332('0x5')]},{'where':{'field':'mailSubstatus','value':_0x480c27[_0x5332('0x6')][_0x5332('0x5')]}})['then'](function(){_0x40b456();})[_0x5332('0x7')](function(_0x540377){_0x40b456(_0x540377);});}}});};
\ No newline at end of file