Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
index 57eb3e4..1a69a99 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc9bb=['exports','define','OpenchannelInteraction','openchannel_interactions','utf8mb4','utf8mb4_unicode_ci','changed','format','YYYY-MM-DD\x20HH:mm:ss','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelInteraction.attributes'];(function(_0x1bc44d,_0x46379f){var _0x39969a=function(_0x459d6c){while(--_0x459d6c){_0x1bc44d['push'](_0x1bc44d['shift']());}};_0x39969a(++_0x46379f);}(_0xc9bb,0x8e));var _0xbc9b=function(_0x35aaf9,_0x3efa26){_0x35aaf9=_0x35aaf9-0x0;var _0x32e3ca=_0xc9bb[_0x35aaf9];return _0x32e3ca;};'use strict';var _=require(_0xbc9b('0x0'));var util=require(_0xbc9b('0x1'));var logger=require('../../config/logger')(_0xbc9b('0x2'));var moment=require(_0xbc9b('0x3'));var BPromise=require(_0xbc9b('0x4'));var rp=require(_0xbc9b('0x5'));var fs=require('fs');var path=require(_0xbc9b('0x6'));var rimraf=require(_0xbc9b('0x7'));var config=require(_0xbc9b('0x8'));var attributes=require(_0xbc9b('0x9'));module[_0xbc9b('0xa')]=function(_0x327961,_0x518be7){return _0x327961[_0xbc9b('0xb')](_0xbc9b('0xc'),attributes,{'tableName':_0xbc9b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbc9b('0xe'),'collate':_0xbc9b('0xf'),'hooks':{'beforeUpdate':function(_0x5403c3,_0x503dc1,_0x513c6e){if(_0x5403c3[_0xbc9b('0x10')]('closed')){_0x5403c3['closedAt']=moment()[_0xbc9b('0x11')](_0xbc9b('0x12'));}_0x513c6e(null,_0x5403c3);}}});};
\ No newline at end of file
+var _0x663a=['closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','request-promise','rimraf','../../config/environment','exports','define','utf8mb4','utf8mb4_unicode_ci','changed'];(function(_0x2e219e,_0x30e6d3){var _0x3e924a=function(_0x3ba02d){while(--_0x3ba02d){_0x2e219e['push'](_0x2e219e['shift']());}};_0x3e924a(++_0x30e6d3);}(_0x663a,0xf3));var _0xa663=function(_0x187e18,_0x9eba19){_0x187e18=_0x187e18-0x0;var _0xd3103b=_0x663a[_0x187e18];return _0xd3103b;};'use strict';var _=require(_0xa663('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa663('0x1'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa663('0x2'));var config=require(_0xa663('0x3'));var attributes=require('./openchannelInteraction.attributes');module[_0xa663('0x4')]=function(_0x1965e9,_0x29dd70){return _0x1965e9[_0xa663('0x5')]('OpenchannelInteraction',attributes,{'tableName':'openchannel_interactions','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xa663('0x6'),'collate':_0xa663('0x7'),'hooks':{'beforeUpdate':function(_0x531562,_0x4371a6,_0x3e5a1c){if(_0x531562[_0xa663('0x8')]('closed')){_0x531562[_0xa663('0x9')]=moment()[_0xa663('0xa')](_0xa663('0xb'));}_0x3e5a1c(null,_0x531562);}}});};
\ No newline at end of file