Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / chatMessage / index.js
index 6ac9849..ccbdbe3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfebd=['index','get','/describe','describe','/:id','post','tracked','chat','chatmessage:create','create','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/interaction/service','./chatMessage.controller','isAuthenticated'];(function(_0x464360,_0x35ee85){var _0x40223b=function(_0x52a41b){while(--_0x52a41b){_0x464360['push'](_0x464360['shift']());}};_0x40223b(++_0x35ee85);}(_0xfebd,0x99));var _0xdfeb=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xfebd[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0xdfeb('0x0'));var util=require(_0xdfeb('0x1'));var path=require(_0xdfeb('0x2'));var timeout=require('connect-timeout');var express=require(_0xdfeb('0x3'));var router=express[_0xdfeb('0x4')]();var fs_extra=require(_0xdfeb('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xdfeb('0x6'));var config=require('../../config/environment');var controller=require(_0xdfeb('0x7'));router['get']('/',auth[_0xdfeb('0x8')](),controller[_0xdfeb('0x9')]);router[_0xdfeb('0xa')](_0xdfeb('0xb'),auth[_0xdfeb('0x8')](),controller[_0xdfeb('0xc')]);router[_0xdfeb('0xa')](_0xdfeb('0xd'),auth[_0xdfeb('0x8')](),controller['show']);router[_0xdfeb('0xe')]('/',auth[_0xdfeb('0x8')](),interaction[_0xdfeb('0xf')](_0xdfeb('0x10'),_0xdfeb('0x11')),controller[_0xdfeb('0x12')]);router[_0xdfeb('0x13')](_0xdfeb('0xd'),controller[_0xdfeb('0x14')]);router[_0xdfeb('0x13')](_0xdfeb('0x15'),auth['isAuthenticated'](),controller[_0xdfeb('0x16')]);router[_0xdfeb('0x13')](_0xdfeb('0x17'),auth['isAuthenticated'](),controller[_0xdfeb('0x18')]);router[_0xdfeb('0x19')](_0xdfeb('0xd'),auth[_0xdfeb('0x8')](),controller[_0xdfeb('0x1a')]);module['exports']=router;
\ No newline at end of file
+var _0x187f=['/:id','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','isAuthenticated','index','/describe','describe','show','chat','chatmessage:create','create','put'];(function(_0x42181f,_0x11cfc5){var _0x3a3fbc=function(_0x6d384e){while(--_0x6d384e){_0x42181f['push'](_0x42181f['shift']());}};_0x3a3fbc(++_0x11cfc5);}(_0x187f,0x197));var _0xf187=function(_0x1ec2de,_0x43f1e1){_0x1ec2de=_0x1ec2de-0x0;var _0x42e7ca=_0x187f[_0x1ec2de];return _0x42e7ca;};'use strict';var multer=require(_0xf187('0x0'));var util=require(_0xf187('0x1'));var path=require(_0xf187('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xf187('0x3'));var auth=require(_0xf187('0x4'));var interaction=require(_0xf187('0x5'));var config=require(_0xf187('0x6'));var controller=require(_0xf187('0x7'));router[_0xf187('0x8')]('/',auth[_0xf187('0x9')](),controller[_0xf187('0xa')]);router['get'](_0xf187('0xb'),auth[_0xf187('0x9')](),controller[_0xf187('0xc')]);router[_0xf187('0x8')]('/:id',auth[_0xf187('0x9')](),controller[_0xf187('0xd')]);router['post']('/',auth['isAuthenticated'](),interaction['tracked'](_0xf187('0xe'),_0xf187('0xf')),controller[_0xf187('0x10')]);router[_0xf187('0x11')](_0xf187('0x12'),controller['update']);router[_0xf187('0x11')]('/:id/accept',auth[_0xf187('0x9')](),controller[_0xf187('0x13')]);router['put'](_0xf187('0x14'),auth[_0xf187('0x9')](),controller[_0xf187('0x15')]);router[_0xf187('0x16')]('/:id',auth[_0xf187('0x9')](),controller[_0xf187('0x17')]);module[_0xf187('0x18')]=router;
\ No newline at end of file