Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.model.js
index fafb52a..bd6adba 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2c6d=['utf8mb4_unicode_ci','changed','closed','closedAt','format','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./openchannelInteraction.attributes','exports','define','OpenchannelInteraction','openchannel_interactions'];(function(_0xf91841,_0x182ae3){var _0x4b9c44=function(_0x2e216e){while(--_0x2e216e){_0xf91841['push'](_0xf91841['shift']());}};_0x4b9c44(++_0x182ae3);}(_0x2c6d,0x64));var _0xd2c6=function(_0x39f6f3,_0x459cbc){_0x39f6f3=_0x39f6f3-0x0;var _0x161061=_0x2c6d[_0x39f6f3];return _0x161061;};'use strict';var _=require(_0xd2c6('0x0'));var util=require(_0xd2c6('0x1'));var logger=require(_0xd2c6('0x2'))(_0xd2c6('0x3'));var moment=require(_0xd2c6('0x4'));var BPromise=require(_0xd2c6('0x5'));var rp=require(_0xd2c6('0x6'));var fs=require('fs');var path=require(_0xd2c6('0x7'));var rimraf=require(_0xd2c6('0x8'));var config=require('../../config/environment');var attributes=require(_0xd2c6('0x9'));module[_0xd2c6('0xa')]=function(_0x5eea87,_0x356557){return _0x5eea87[_0xd2c6('0xb')](_0xd2c6('0xc'),attributes,{'tableName':_0xd2c6('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xd2c6('0xe'),'hooks':{'beforeUpdate':function(_0x5d0c29,_0x15e153,_0x1057f5){if(_0x5d0c29[_0xd2c6('0xf')](_0xd2c6('0x10'))){_0x5d0c29[_0xd2c6('0x11')]=moment()[_0xd2c6('0x12')]('YYYY-MM-DD\x20HH:mm:ss');}_0x1057f5(null,_0x5d0c29);}}});};
\ No newline at end of file
+var _0x08af=['changed','closedAt','lodash','util','api','bluebird','request-promise','path','rimraf','define','OpenchannelInteraction','openchannel_interactions','utf8mb4','utf8mb4_unicode_ci'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x08af,0x1c2));var _0xf08a=function(_0x548483,_0x5e53ab){_0x548483=_0x548483-0x0;var _0x53afbd=_0x08af[_0x548483];return _0x53afbd;};'use strict';var _=require(_0xf08a('0x0'));var util=require(_0xf08a('0x1'));var logger=require('../../config/logger')(_0xf08a('0x2'));var moment=require('moment');var BPromise=require(_0xf08a('0x3'));var rp=require(_0xf08a('0x4'));var fs=require('fs');var path=require(_0xf08a('0x5'));var rimraf=require(_0xf08a('0x6'));var config=require('../../config/environment');var attributes=require('./openchannelInteraction.attributes');module['exports']=function(_0x14ab52,_0x1671bc){return _0x14ab52[_0xf08a('0x7')](_0xf08a('0x8'),attributes,{'tableName':_0xf08a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xf08a('0xa'),'collate':_0xf08a('0xb'),'hooks':{'beforeUpdate':function(_0x50d443,_0x7aaf98,_0xeb1e64){if(_0x50d443[_0xf08a('0xc')]('closed')){_0x50d443[_0xf08a('0xd')]=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');}_0xeb1e64(null,_0x50d443);}}});};
\ No newline at end of file