Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / chatInteraction / chatInteraction.model.js
index 96c9a6b..d8552bd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4651=['bluebird','request-promise','rimraf','../../config/environment','./chatInteraction.attributes','exports','define','ChatInteraction','changed','closed','closedAt','format','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api'];(function(_0x49dac8,_0x1e22de){var _0x29a744=function(_0x3b4c29){while(--_0x3b4c29){_0x49dac8['push'](_0x49dac8['shift']());}};_0x29a744(++_0x1e22de);}(_0x4651,0x96));var _0x1465=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4651[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0x1465('0x0'));var logger=require(_0x1465('0x1'))(_0x1465('0x2'));var moment=require('moment');var BPromise=require(_0x1465('0x3'));var rp=require(_0x1465('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1465('0x5'));var config=require(_0x1465('0x6'));var attributes=require(_0x1465('0x7'));module[_0x1465('0x8')]=function(_0x585334,_0x460b79){return _0x585334[_0x1465('0x9')](_0x1465('0xa'),attributes,{'tableName':'chat_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x2d11ca,_0x271400,_0x3b049b){if(_0x2d11ca[_0x1465('0xb')](_0x1465('0xc'))){_0x2d11ca[_0x1465('0xd')]=moment()[_0x1465('0xe')]('YYYY-MM-DD\x20HH:mm:ss');}_0x3b049b(null,_0x2d11ca);}},'charset':_0x1465('0xf'),'collate':_0x1465('0x10')});};
\ No newline at end of file
+var _0x5cfb=['closedAt','format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','bluebird','path','./chatInteraction.attributes','define','ChatInteraction','chat_interactions','closed'];(function(_0xd692d4,_0x52efa4){var _0x567410=function(_0x478d92){while(--_0x478d92){_0xd692d4['push'](_0xd692d4['shift']());}};_0x567410(++_0x52efa4);}(_0x5cfb,0xaa));var _0xb5cf=function(_0x1ba6ad,_0x13e6e9){_0x1ba6ad=_0x1ba6ad-0x0;var _0x3cf481=_0x5cfb[_0x1ba6ad];return _0x3cf481;};'use strict';var _=require(_0xb5cf('0x0'));var util=require(_0xb5cf('0x1'));var logger=require('../../config/logger')(_0xb5cf('0x2'));var moment=require('moment');var BPromise=require(_0xb5cf('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5cf('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb5cf('0x5'));module['exports']=function(_0x313562,_0x29bd83){return _0x313562[_0xb5cf('0x6')](_0xb5cf('0x7'),attributes,{'tableName':_0xb5cf('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x4bba55,_0x2189de,_0x3bfa10){if(_0x4bba55['changed'](_0xb5cf('0x9'))){_0x4bba55[_0xb5cf('0xa')]=moment()[_0xb5cf('0xb')](_0xb5cf('0xc'));}_0x3bfa10(null,_0x4bba55);}},'charset':_0xb5cf('0xd'),'collate':_0xb5cf('0xe')});};
\ No newline at end of file