Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
index 513b19c..a983264 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xacea=['OpenchannelInteraction','openchannel_interactions','utf8mb4','closed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','util','../../config/logger','moment','bluebird','path','../../config/environment','./openchannelInteraction.attributes','exports','define'];(function(_0x107156,_0x865412){var _0x3b4b86=function(_0x252701){while(--_0x252701){_0x107156['push'](_0x107156['shift']());}};_0x3b4b86(++_0x865412);}(_0xacea,0x1d2));var _0xaace=function(_0x164a6b,_0x33b019){_0x164a6b=_0x164a6b-0x0;var _0x4985fb=_0xacea[_0x164a6b];return _0x4985fb;};'use strict';var _=require(_0xaace('0x0'));var util=require(_0xaace('0x1'));var logger=require(_0xaace('0x2'))('api');var moment=require(_0xaace('0x3'));var BPromise=require(_0xaace('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaace('0x5'));var rimraf=require('rimraf');var config=require(_0xaace('0x6'));var attributes=require(_0xaace('0x7'));module[_0xaace('0x8')]=function(_0x334ca9,_0x764dc6){return _0x334ca9[_0xaace('0x9')](_0xaace('0xa'),attributes,{'tableName':_0xaace('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xaace('0xc'),'collate':'utf8mb4_unicode_ci','hooks':{'beforeUpdate':function(_0x546aca,_0x35d906,_0x47f12d){if(_0x546aca['changed'](_0xaace('0xd'))){_0x546aca[_0xaace('0xe')]=moment()[_0xaace('0xf')](_0xaace('0x10'));}_0x47f12d(null,_0x546aca);}}});};
\ No newline at end of file
+var _0xf899=['path','rimraf','../../config/environment','./openchannelInteraction.attributes','exports','define','OpenchannelInteraction','openchannel_interactions','utf8mb4','utf8mb4_unicode_ci','changed','closed','format','../../config/logger','moment','request-promise'];(function(_0x150903,_0x378aab){var _0x5bbc72=function(_0x17a385){while(--_0x17a385){_0x150903['push'](_0x150903['shift']());}};_0x5bbc72(++_0x378aab);}(_0xf899,0x19d));var _0x9f89=function(_0x2a56e4,_0x3fc413){_0x2a56e4=_0x2a56e4-0x0;var _0x39bc0e=_0xf899[_0x2a56e4];return _0x39bc0e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9f89('0x0'))('api');var moment=require(_0x9f89('0x1'));var BPromise=require('bluebird');var rp=require(_0x9f89('0x2'));var fs=require('fs');var path=require(_0x9f89('0x3'));var rimraf=require(_0x9f89('0x4'));var config=require(_0x9f89('0x5'));var attributes=require(_0x9f89('0x6'));module[_0x9f89('0x7')]=function(_0x56b324,_0x45349f){return _0x56b324[_0x9f89('0x8')](_0x9f89('0x9'),attributes,{'tableName':_0x9f89('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x9f89('0xb'),'collate':_0x9f89('0xc'),'hooks':{'beforeUpdate':function(_0x44ba59,_0x1fbd3f,_0x167524){if(_0x44ba59[_0x9f89('0xd')](_0x9f89('0xe'))){_0x44ba59['closedAt']=moment()[_0x9f89('0xf')]('YYYY-MM-DD\x20HH:mm:ss');}_0x167524(null,_0x44ba59);}}});};
\ No newline at end of file