Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / chatInteraction / chatInteraction.model.js
index 66f974e..a0eff80 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc89f=['exports','define','changed','closedAt','format','utf8mb4','lodash','../../config/logger','api','moment','request-promise','path','rimraf','./chatInteraction.attributes'];(function(_0x5cbbc6,_0x4f4c29){var _0x19c695=function(_0x27010d){while(--_0x27010d){_0x5cbbc6['push'](_0x5cbbc6['shift']());}};_0x19c695(++_0x4f4c29);}(_0xc89f,0xca));var _0xfc89=function(_0x5a9397,_0x2e444c){_0x5a9397=_0x5a9397-0x0;var _0x5b89be=_0xc89f[_0x5a9397];return _0x5b89be;};'use strict';var _=require(_0xfc89('0x0'));var util=require('util');var logger=require(_0xfc89('0x1'))(_0xfc89('0x2'));var moment=require(_0xfc89('0x3'));var BPromise=require('bluebird');var rp=require(_0xfc89('0x4'));var fs=require('fs');var path=require(_0xfc89('0x5'));var rimraf=require(_0xfc89('0x6'));var config=require('../../config/environment');var attributes=require(_0xfc89('0x7'));module[_0xfc89('0x8')]=function(_0x1ea65c,_0x5459c8){return _0x1ea65c[_0xfc89('0x9')]('ChatInteraction',attributes,{'tableName':'chat_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x5b4a1d,_0x12f663,_0x392b84){if(_0x5b4a1d[_0xfc89('0xa')]('closed')){_0x5b4a1d[_0xfc89('0xb')]=moment()[_0xfc89('0xc')]('YYYY-MM-DD\x20HH:mm:ss');}_0x392b84(null,_0x5b4a1d);}},'charset':_0xfc89('0xd'),'collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file
+var _0xf75b=['rimraf','../../config/environment','./chatInteraction.attributes','define','ChatInteraction','chat_interactions','closed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x5756c6,_0x58290a){var _0x4b5806=function(_0x193246){while(--_0x193246){_0x5756c6['push'](_0x5756c6['shift']());}};_0x4b5806(++_0x58290a);}(_0xf75b,0x13a));var _0xbf75=function(_0x21719a,_0x6e279){_0x21719a=_0x21719a-0x0;var _0x379194=_0xf75b[_0x21719a];return _0x379194;};'use strict';var _=require(_0xbf75('0x0'));var util=require(_0xbf75('0x1'));var logger=require(_0xbf75('0x2'))(_0xbf75('0x3'));var moment=require(_0xbf75('0x4'));var BPromise=require('bluebird');var rp=require(_0xbf75('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbf75('0x6'));var config=require(_0xbf75('0x7'));var attributes=require(_0xbf75('0x8'));module['exports']=function(_0x38c632,_0x2b333c){return _0x38c632[_0xbf75('0x9')](_0xbf75('0xa'),attributes,{'tableName':_0xbf75('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0xa483b5,_0x4acd75,_0x23d833){if(_0xa483b5['changed'](_0xbf75('0xc'))){_0xa483b5[_0xbf75('0xd')]=moment()[_0xbf75('0xe')](_0xbf75('0xf'));}_0x23d833(null,_0xa483b5);}},'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};
\ No newline at end of file