Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / chatInteraction / index.js
index 45b7012..1620911 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x57f8=['download','post','root','server/files/attachments/','format','%s-%s','now','originalname','replace','/:id/attachment_upload','single','file','addMessage','/:id/tags','chat','chatinteraction:addtags','addTags','tracked','chatinteraction:update','update','/:id/custom_update','customUpdate','put','/:id/abandon','abandon','/:id/close','close','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','isChatInteractionAuthorized','show','/:id/attachment_download','attachmentDownload','/:id/messages','getMessages','/:id/my_messages','getMyMessages','/:id/download'];(function(_0x3f5911,_0x2866dc){var _0xd4b9f0=function(_0x18017d){while(--_0x18017d){_0x3f5911['push'](_0x3f5911['shift']());}};_0xd4b9f0(++_0x2866dc);}(_0x57f8,0x198));var _0x857f=function(_0x5a2660,_0x52e389){_0x5a2660=_0x5a2660-0x0;var _0x542d3b=_0x57f8[_0x5a2660];return _0x542d3b;};'use strict';var multer=require('multer');var util=require(_0x857f('0x0'));var path=require(_0x857f('0x1'));var timeout=require(_0x857f('0x2'));var express=require(_0x857f('0x3'));var router=express[_0x857f('0x4')]();var auth=require(_0x857f('0x5'));var interaction=require(_0x857f('0x6'));var config=require(_0x857f('0x7'));var controller=require(_0x857f('0x8'));router[_0x857f('0x9')]('/',auth[_0x857f('0xa')](),controller[_0x857f('0xb')]);router['get'](_0x857f('0xc'),auth[_0x857f('0xa')](),controller[_0x857f('0xd')]);router['get'](_0x857f('0xe'),auth[_0x857f('0xf')](),controller[_0x857f('0x10')]);router['get'](_0x857f('0x11'),auth[_0x857f('0xf')](),controller[_0x857f('0x12')]);router['get'](_0x857f('0x13'),auth[_0x857f('0xa')](),controller[_0x857f('0x14')]);router[_0x857f('0x9')](_0x857f('0x15'),auth[_0x857f('0xf')](),controller[_0x857f('0x16')]);router['get'](_0x857f('0x17'),auth[_0x857f('0xa')](),controller[_0x857f('0x18')]);router[_0x857f('0x19')]('/',auth[_0x857f('0xa')](),controller['create']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x3b09d9,_0x5f27b2,_0x1fafbe){_0x1fafbe(null,path['join'](config[_0x857f('0x1a')],_0x857f('0x1b')));},'filename':function(_0x5c3a69,_0x27e8f1,_0x29b251){_0x29b251(null,util[_0x857f('0x1c')](_0x857f('0x1d'),Date[_0x857f('0x1e')](),_0x27e8f1[_0x857f('0x1f')][_0x857f('0x20')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x857f('0x19')](_0x857f('0x21'),upload[_0x857f('0x22')](_0x857f('0x23')),controller['attachmentUpload']);router[_0x857f('0x19')](_0x857f('0x13'),auth['isChatInteractionAuthorized'](),controller[_0x857f('0x24')]);router[_0x857f('0x19')](_0x857f('0x25'),auth['isAuthenticated'](),interaction['tracked'](_0x857f('0x26'),_0x857f('0x27')),controller[_0x857f('0x28')]);router['put'](_0x857f('0xe'),auth[_0x857f('0xa')](),interaction[_0x857f('0x29')]('chat',_0x857f('0x2a')),controller[_0x857f('0x2b')]);router['put'](_0x857f('0x2c'),controller[_0x857f('0x2d')]);router[_0x857f('0x2e')](_0x857f('0x2f'),auth[_0x857f('0xf')](),controller[_0x857f('0x30')]);router[_0x857f('0x2e')](_0x857f('0x31'),controller[_0x857f('0x32')]);router[_0x857f('0x33')](_0x857f('0xe'),auth[_0x857f('0xa')](),interaction[_0x857f('0x29')](_0x857f('0x26'),'chatinteraction:destroy'),controller[_0x857f('0x34')]);router[_0x857f('0x33')](_0x857f('0x25'),auth[_0x857f('0xa')](),controller['removeTags']);module[_0x857f('0x35')]=router;
\ No newline at end of file
+var _0xb62e=['update','/:id/custom_update','/:id/abandon','abandon','/:id/close','delete','chat','chatinteraction:destroy','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatInteraction.controller','get','index','/describe','describe','/:id','isChatInteractionAuthorized','/:id/attachment_download','attachmentDownload','/:id/messages','isAuthenticated','getMessages','/:id/my_messages','/:id/download','download','create','diskStorage','join','server/files/attachments/','format','%s-%s','now','originalname','replace','post','/:id/attachment_upload','single','file','addMessage','/:id/tags','chatinteraction:addtags','addTags','put','chatinteraction:update'];(function(_0x556634,_0x520958){var _0x4429fd=function(_0x1e7eb9){while(--_0x1e7eb9){_0x556634['push'](_0x556634['shift']());}};_0x4429fd(++_0x520958);}(_0xb62e,0x1de));var _0xeb62=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0xb62e[_0x2d7f0e];return _0x110b07;};'use strict';var multer=require(_0xeb62('0x0'));var util=require(_0xeb62('0x1'));var path=require(_0xeb62('0x2'));var timeout=require(_0xeb62('0x3'));var express=require('express');var router=express[_0xeb62('0x4')]();var auth=require(_0xeb62('0x5'));var interaction=require(_0xeb62('0x6'));var config=require(_0xeb62('0x7'));var controller=require(_0xeb62('0x8'));router[_0xeb62('0x9')]('/',auth['isAuthenticated'](),controller[_0xeb62('0xa')]);router[_0xeb62('0x9')](_0xeb62('0xb'),auth['isAuthenticated'](),controller[_0xeb62('0xc')]);router[_0xeb62('0x9')](_0xeb62('0xd'),auth[_0xeb62('0xe')](),controller['show']);router['get'](_0xeb62('0xf'),auth[_0xeb62('0xe')](),controller[_0xeb62('0x10')]);router[_0xeb62('0x9')](_0xeb62('0x11'),auth[_0xeb62('0x12')](),controller[_0xeb62('0x13')]);router[_0xeb62('0x9')](_0xeb62('0x14'),auth[_0xeb62('0xe')](),controller['getMyMessages']);router[_0xeb62('0x9')](_0xeb62('0x15'),auth[_0xeb62('0x12')](),controller[_0xeb62('0x16')]);router['post']('/',auth[_0xeb62('0x12')](),controller[_0xeb62('0x17')]);var upload=multer({'storage':multer[_0xeb62('0x18')]({'destination':function(_0x4da178,_0x26c3fd,_0x195837){_0x195837(null,path[_0xeb62('0x19')](config['root'],_0xeb62('0x1a')));},'filename':function(_0x15b3e8,_0x184106,_0x353e2c){_0x353e2c(null,util[_0xeb62('0x1b')](_0xeb62('0x1c'),Date[_0xeb62('0x1d')](),_0x184106[_0xeb62('0x1e')][_0xeb62('0x1f')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0xeb62('0x20')](_0xeb62('0x21'),upload[_0xeb62('0x22')](_0xeb62('0x23')),controller['attachmentUpload']);router[_0xeb62('0x20')](_0xeb62('0x11'),auth[_0xeb62('0xe')](),controller[_0xeb62('0x24')]);router[_0xeb62('0x20')](_0xeb62('0x25'),auth[_0xeb62('0x12')](),interaction['tracked']('chat',_0xeb62('0x26')),controller[_0xeb62('0x27')]);router[_0xeb62('0x28')](_0xeb62('0xd'),auth[_0xeb62('0x12')](),interaction['tracked']('chat',_0xeb62('0x29')),controller[_0xeb62('0x2a')]);router[_0xeb62('0x28')](_0xeb62('0x2b'),controller['customUpdate']);router['put'](_0xeb62('0x2c'),auth['isChatInteractionAuthorized'](),controller[_0xeb62('0x2d')]);router['put'](_0xeb62('0x2e'),controller['close']);router[_0xeb62('0x2f')](_0xeb62('0xd'),auth[_0xeb62('0x12')](),interaction['tracked'](_0xeb62('0x30'),_0xeb62('0x31')),controller[_0xeb62('0x32')]);router[_0xeb62('0x2f')](_0xeb62('0x25'),auth[_0xeb62('0x12')](),controller['removeTags']);module[_0xeb62('0x33')]=router;
\ No newline at end of file