Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / chatInteraction / chatInteraction.model.js
index d8552bd..8327994 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x0f28=['format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash','api','moment','bluebird','path','../../config/environment','exports','define','chat_interactions','closedAt'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x0f28,0x170));var _0x80f2=function(_0x52980f,_0x47b3b0){_0x52980f=_0x52980f-0x0;var _0x1f52a1=_0x0f28[_0x52980f];return _0x1f52a1;};'use strict';var _=require(_0x80f2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x80f2('0x1'));var moment=require(_0x80f2('0x2'));var BPromise=require(_0x80f2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x80f2('0x4'));var rimraf=require('rimraf');var config=require(_0x80f2('0x5'));var attributes=require('./chatInteraction.attributes');module[_0x80f2('0x6')]=function(_0x279862,_0x4a47e3){return _0x279862[_0x80f2('0x7')]('ChatInteraction',attributes,{'tableName':_0x80f2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x4a299c,_0x236dc5,_0x22cf2c){if(_0x4a299c['changed']('closed')){_0x4a299c[_0x80f2('0x9')]=moment()[_0x80f2('0xa')](_0x80f2('0xb'));}_0x22cf2c(null,_0x4a299c);}},'charset':_0x80f2('0xc'),'collate':_0x80f2('0xd')});};
\ No newline at end of file