X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatInteraction%2FchatInteraction.model.js;h=e06d4e0339a181650b66e00916745ea100d58926;hb=6b8dca8de1a6b807be7e36077511bb032e7382e5;hp=caa769846f302a51b1ef8bab011abe4301ebcec9;hpb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;p=motion2.git diff --git a/server/api/chatInteraction/chatInteraction.model.js b/server/api/chatInteraction/chatInteraction.model.js index caa7698..e06d4e0 100644 --- a/server/api/chatInteraction/chatInteraction.model.js +++ b/server/api/chatInteraction/chatInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x85cb=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','ChatInteraction','chat_interactions','changed','closed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x33fd2d,_0x3a1843){var _0x20bfc5=function(_0x2dcd10){while(--_0x2dcd10){_0x33fd2d['push'](_0x33fd2d['shift']());}};_0x20bfc5(++_0x3a1843);}(_0x85cb,0x164));var _0xb85c=function(_0x544b7c,_0x306ded){_0x544b7c=_0x544b7c-0x0;var _0x5b0f0a=_0x85cb[_0x544b7c];return _0x5b0f0a;};'use strict';var _=require(_0xb85c('0x0'));var util=require(_0xb85c('0x1'));var logger=require(_0xb85c('0x2'))(_0xb85c('0x3'));var moment=require(_0xb85c('0x4'));var BPromise=require(_0xb85c('0x5'));var rp=require(_0xb85c('0x6'));var fs=require('fs');var path=require(_0xb85c('0x7'));var rimraf=require(_0xb85c('0x8'));var config=require(_0xb85c('0x9'));var attributes=require('./chatInteraction.attributes');module[_0xb85c('0xa')]=function(_0x21614e,_0x1013c1){return _0x21614e[_0xb85c('0xb')](_0xb85c('0xc'),attributes,{'tableName':_0xb85c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x5b9d28,_0xcad977,_0x26a69a){if(_0x5b9d28[_0xb85c('0xe')](_0xb85c('0xf'))){_0x5b9d28[_0xb85c('0x10')]=moment()[_0xb85c('0x11')](_0xb85c('0x12'));}_0x26a69a(null,_0x5b9d28);}},'charset':_0xb85c('0x13'),'collate':_0xb85c('0x14')});}; \ No newline at end of file +var _0xd1f7=['changed','closed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatInteraction.attributes','exports','define','chat_interactions'];(function(_0xd812c8,_0x2d76b2){var _0x303c48=function(_0x1d43a2){while(--_0x1d43a2){_0xd812c8['push'](_0xd812c8['shift']());}};_0x303c48(++_0x2d76b2);}(_0xd1f7,0x1ab));var _0x7d1f=function(_0x5f4f34,_0x45345b){_0x5f4f34=_0x5f4f34-0x0;var _0x30311b=_0xd1f7[_0x5f4f34];return _0x30311b;};'use strict';var _=require(_0x7d1f('0x0'));var util=require(_0x7d1f('0x1'));var logger=require(_0x7d1f('0x2'))('api');var moment=require(_0x7d1f('0x3'));var BPromise=require(_0x7d1f('0x4'));var rp=require(_0x7d1f('0x5'));var fs=require('fs');var path=require(_0x7d1f('0x6'));var rimraf=require(_0x7d1f('0x7'));var config=require(_0x7d1f('0x8'));var attributes=require(_0x7d1f('0x9'));module[_0x7d1f('0xa')]=function(_0x44fd33,_0x231407){return _0x44fd33[_0x7d1f('0xb')]('ChatInteraction',attributes,{'tableName':_0x7d1f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x201b50,_0x5ed375,_0x15db5f){if(_0x201b50[_0x7d1f('0xd')](_0x7d1f('0xe'))){_0x201b50[_0x7d1f('0xf')]=moment()[_0x7d1f('0x10')](_0x7d1f('0x11'));}_0x15db5f(null,_0x201b50);}},'charset':_0x7d1f('0x12'),'collate':_0x7d1f('0x13')});}; \ No newline at end of file