X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatInteraction%2FchatInteraction.model.js;h=dac53a95b75a54863555617003cf44dd52f6a260;hb=3b98a30f4ada10cd5d8b95df3555955dc5830a8a;hp=c9f1fcb7ee626dc77408d0f65b024a6059f3e295;hpb=fef0b697be1412fa067cb7edc64691337a3866f3;p=motion2.git diff --git a/server/api/chatInteraction/chatInteraction.model.js b/server/api/chatInteraction/chatInteraction.model.js index c9f1fcb..dac53a9 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 _0xdf69=['chat_interactions','changed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','ChatInteraction'];(function(_0x93cb67,_0x5b33dc){var _0x404c70=function(_0x508a73){while(--_0x508a73){_0x93cb67['push'](_0x93cb67['shift']());}};_0x404c70(++_0x5b33dc);}(_0xdf69,0xd2));var _0x9df6=function(_0x202b68,_0x437c7b){_0x202b68=_0x202b68-0x0;var _0x119ced=_0xdf69[_0x202b68];return _0x119ced;};'use strict';var _=require(_0x9df6('0x0'));var util=require(_0x9df6('0x1'));var logger=require('../../config/logger')(_0x9df6('0x2'));var moment=require(_0x9df6('0x3'));var BPromise=require(_0x9df6('0x4'));var rp=require(_0x9df6('0x5'));var fs=require('fs');var path=require(_0x9df6('0x6'));var rimraf=require(_0x9df6('0x7'));var config=require(_0x9df6('0x8'));var attributes=require('./chatInteraction.attributes');module[_0x9df6('0x9')]=function(_0x5da932,_0x46585d){return _0x5da932['define'](_0x9df6('0xa'),attributes,{'tableName':_0x9df6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x463c8f,_0x49ab2e,_0x22cbd2){if(_0x463c8f[_0x9df6('0xc')]('closed')){_0x463c8f[_0x9df6('0xd')]=moment()[_0x9df6('0xe')](_0x9df6('0xf'));}_0x22cbd2(null,_0x463c8f);}},'charset':'utf8mb4','collate':_0x9df6('0x10')});}; \ No newline at end of file +var _0x5236=['format','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','ChatInteraction','chat_interactions','closed','closedAt'];(function(_0x4120a3,_0x2b3734){var _0x2d0d99=function(_0x43dfe8){while(--_0x43dfe8){_0x4120a3['push'](_0x4120a3['shift']());}};_0x2d0d99(++_0x2b3734);}(_0x5236,0x146));var _0x6523=function(_0x487056,_0xd044f3){_0x487056=_0x487056-0x0;var _0x3ca7e1=_0x5236[_0x487056];return _0x3ca7e1;};'use strict';var _=require(_0x6523('0x0'));var util=require(_0x6523('0x1'));var logger=require(_0x6523('0x2'))('api');var moment=require(_0x6523('0x3'));var BPromise=require(_0x6523('0x4'));var rp=require(_0x6523('0x5'));var fs=require('fs');var path=require(_0x6523('0x6'));var rimraf=require(_0x6523('0x7'));var config=require(_0x6523('0x8'));var attributes=require('./chatInteraction.attributes');module[_0x6523('0x9')]=function(_0x285b05,_0x21d4d9){return _0x285b05['define'](_0x6523('0xa'),attributes,{'tableName':_0x6523('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x467bd9,_0x4423fa,_0x2080bf){if(_0x467bd9['changed'](_0x6523('0xc'))){_0x467bd9[_0x6523('0xd')]=moment()[_0x6523('0xe')](_0x6523('0xf'));}_0x2080bf(null,_0x467bd9);}},'charset':_0x6523('0x10'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file