Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / mailSubstatus / mailSubstatus.model.js
index 0859866..47f4f15 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x10e1=['models','define','MailSubstatus','mail_substatuses','Condition','update','mailSubstatus','_previousDataValues','name','then','catch'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x10e1,0x160));var _0x110e=function(_0x11005e,_0x20c3d2){_0x11005e=_0x11005e-0x0;var _0x29338f=_0x10e1[_0x11005e];return _0x29338f;};'use strict';var attributes=require('./mailSubstatus.attributes');module['exports']=function(_0x163d85){var _0x1963b4=_0x163d85[_0x110e('0x0')];return _0x163d85[_0x110e('0x1')](_0x110e('0x2'),attributes,{'tableName':_0x110e('0x3'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x265b1c,_0xb57178,_0x1bdff0){return _0x1963b4[_0x110e('0x4')][_0x110e('0x5')]({'value':_0x265b1c['name']},{'where':{'field':_0x110e('0x6'),'value':_0x265b1c[_0x110e('0x7')][_0x110e('0x8')]}})[_0x110e('0x9')](function(){_0x1bdff0();})[_0x110e('0xa')](function(_0x128c3f){_0x1bdff0(_0x128c3f);});}}});};
\ No newline at end of file
+var _0x3fa7=['./mailSubstatus.attributes','exports','models','MailSubstatus','mail_substatuses','Condition','update','name','mailSubstatus','_previousDataValues','then','catch'];(function(_0x2cc5d2,_0x2e07bd){var _0x165ba1=function(_0x4340be){while(--_0x4340be){_0x2cc5d2['push'](_0x2cc5d2['shift']());}};_0x165ba1(++_0x2e07bd);}(_0x3fa7,0x198));var _0x73fa=function(_0x3dcf7d,_0x27ad77){_0x3dcf7d=_0x3dcf7d-0x0;var _0x166730=_0x3fa7[_0x3dcf7d];return _0x166730;};'use strict';var attributes=require(_0x73fa('0x0'));module[_0x73fa('0x1')]=function(_0x10b906){var _0x27513a=_0x10b906[_0x73fa('0x2')];return _0x10b906['define'](_0x73fa('0x3'),attributes,{'tableName':_0x73fa('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterUpdate':function(_0x4e9065,_0x168301,_0x6d4e5e){return _0x27513a[_0x73fa('0x5')][_0x73fa('0x6')]({'value':_0x4e9065[_0x73fa('0x7')]},{'where':{'field':_0x73fa('0x8'),'value':_0x4e9065[_0x73fa('0x9')][_0x73fa('0x7')]}})[_0x73fa('0xa')](function(){_0x6d4e5e();})[_0x73fa('0xb')](function(_0x459c41){_0x6d4e5e(_0x459c41);});}}});};
\ No newline at end of file