X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatProactiveAction%2Findex.js;h=d6009506f33254a4ca7c550a50a7fc5bbbbdf700;hb=2f0d83a545a3c7ba93827dd387ecbd5e7a9f8440;hp=f26a2708bd9dc60cc7cb36f486a91a6ae739225b;hpb=63de0c196865c5c3d79c791df925d2ec34a0ad56;p=motion2.git diff --git a/server/api/chatProactiveAction/index.js b/server/api/chatProactiveAction/index.js index f26a270..d600950 100644 --- a/server/api/chatProactiveAction/index.js +++ b/server/api/chatProactiveAction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x826a=['post','create','put','update','destroy','exports','path','express','../../components/auth/service','./chatProactiveAction.controller','get','/:id','isAuthenticated','show'];(function(_0x3c5cc8,_0x336027){var _0x44675c=function(_0xf9543e){while(--_0xf9543e){_0x3c5cc8['push'](_0x3c5cc8['shift']());}};_0x44675c(++_0x336027);}(_0x826a,0xae));var _0xa826=function(_0x2afd31,_0x592c38){_0x2afd31=_0x2afd31-0x0;var _0x326e01=_0x826a[_0x2afd31];return _0x326e01;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa826('0x0'));var timeout=require('connect-timeout');var express=require(_0xa826('0x1'));var router=express['Router']();var auth=require(_0xa826('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa826('0x3'));router[_0xa826('0x4')](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0x7')]);router[_0xa826('0x8')]('/',auth[_0xa826('0x6')](),controller[_0xa826('0x9')]);router[_0xa826('0xa')](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0xb')]);router['delete'](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0xc')]);module[_0xa826('0xd')]=router; \ No newline at end of file +var _0xb692=['path','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','create','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x520605,_0x2fd7bd){var _0x28f932=function(_0x2ff7e3){while(--_0x2ff7e3){_0x520605['push'](_0x520605['shift']());}};_0x28f932(++_0x2fd7bd);}(_0xb692,0x163));var _0x2b69=function(_0x282f9a,_0x63dff){_0x282f9a=_0x282f9a-0x0;var _0x52528c=_0xb692[_0x282f9a];return _0x52528c;};'use strict';var multer=require(_0x2b69('0x0'));var util=require(_0x2b69('0x1'));var path=require(_0x2b69('0x2'));var timeout=require('connect-timeout');var express=require(_0x2b69('0x3'));var router=express[_0x2b69('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x2b69('0x5'));var config=require(_0x2b69('0x6'));var controller=require('./chatProactiveAction.controller');router[_0x2b69('0x7')]('/:id',auth[_0x2b69('0x8')](),controller[_0x2b69('0x9')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2b69('0xa')]);router[_0x2b69('0xb')](_0x2b69('0xc'),auth[_0x2b69('0x8')](),controller[_0x2b69('0xd')]);router[_0x2b69('0xe')](_0x2b69('0xc'),auth[_0x2b69('0x8')](),controller[_0x2b69('0xf')]);module[_0x2b69('0x10')]=router; \ No newline at end of file