Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / faxInteraction / faxInteraction.model.js
index 2c209cc..6c2e354 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5848=['closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./faxInteraction.attributes','exports','define','FaxInteraction','fax_interactions','closed'];(function(_0x35885a,_0x42fed7){var _0xe86249=function(_0x98edb3){while(--_0x98edb3){_0x35885a['push'](_0x35885a['shift']());}};_0xe86249(++_0x42fed7);}(_0x5848,0x17d));var _0x8584=function(_0xd1805f,_0x5405a2){_0xd1805f=_0xd1805f-0x0;var _0x42df44=_0x5848[_0xd1805f];return _0x42df44;};'use strict';var _=require(_0x8584('0x0'));var util=require(_0x8584('0x1'));var logger=require(_0x8584('0x2'))(_0x8584('0x3'));var moment=require(_0x8584('0x4'));var BPromise=require(_0x8584('0x5'));var rp=require(_0x8584('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8584('0x7'));var config=require(_0x8584('0x8'));var attributes=require(_0x8584('0x9'));module[_0x8584('0xa')]=function(_0x32d68a,_0x5278c3){return _0x32d68a[_0x8584('0xb')](_0x8584('0xc'),attributes,{'tableName':_0x8584('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x643401,_0x2f3488,_0x31a673){if(_0x643401['changed'](_0x8584('0xe'))){_0x643401[_0x8584('0xf')]=moment()[_0x8584('0x10')](_0x8584('0x11'));}_0x31a673(null,_0x643401);}}});};
\ No newline at end of file
+var _0x0018=['request-promise','path','./faxInteraction.attributes','exports','define','FaxInteraction','fax_interactions','changed','closedAt','YYYY-MM-DD\x20HH:mm:ss','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x0018,0x1aa));var _0x8001=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x0018[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0x8001('0x0'));var util=require(_0x8001('0x1'));var logger=require(_0x8001('0x2'))(_0x8001('0x3'));var moment=require(_0x8001('0x4'));var BPromise=require(_0x8001('0x5'));var rp=require(_0x8001('0x6'));var fs=require('fs');var path=require(_0x8001('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8001('0x8'));module[_0x8001('0x9')]=function(_0x183850,_0x33d797){return _0x183850[_0x8001('0xa')](_0x8001('0xb'),attributes,{'tableName':_0x8001('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x460f4a,_0xf39064,_0x59ebaa){if(_0x460f4a[_0x8001('0xd')]('closed')){_0x460f4a[_0x8001('0xe')]=moment()['format'](_0x8001('0xf'));}_0x59ebaa(null,_0x460f4a);}}});};
\ No newline at end of file