X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappApplication%2Findex.js;fp=server%2Fapi%2FwhatsappApplication%2Findex.js;h=ec88fbd27c1618cbbd9e7447c1c98a3d94b18f8f;hb=d49944cc2e95578bfbd15d79d46896f71a145821;hp=71e6f037a4b5ec953be51217fb9771dfd7fb8ce8;hpb=b2ace134e5eb466deeb396f27c0c22876a7ffeae;p=motion2.git diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index 71e6f03..ec88fbd 100644 --- a/server/api/whatsappApplication/index.js +++ b/server/api/whatsappApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff3b=['index','/:id','show','post','create','put','destroy','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xff3b,0x1c9));var _0xbff3=function(_0x592ecb,_0x4be9cc){_0x592ecb=_0x592ecb-0x0;var _0x35e231=_0xff3b[_0x592ecb];return _0x35e231;};'use strict';var multer=require(_0xbff3('0x0'));var util=require('util');var path=require(_0xbff3('0x1'));var timeout=require(_0xbff3('0x2'));var express=require(_0xbff3('0x3'));var router=express['Router']();var fs_extra=require(_0xbff3('0x4'));var auth=require(_0xbff3('0x5'));var interaction=require(_0xbff3('0x6'));var config=require(_0xbff3('0x7'));var controller=require(_0xbff3('0x8'));router[_0xbff3('0x9')]('/',auth[_0xbff3('0xa')](),controller[_0xbff3('0xb')]);router[_0xbff3('0x9')](_0xbff3('0xc'),auth[_0xbff3('0xa')](),controller[_0xbff3('0xd')]);router[_0xbff3('0xe')]('/',auth[_0xbff3('0xa')](),controller[_0xbff3('0xf')]);router[_0xbff3('0x10')]('/:id',auth[_0xbff3('0xa')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xbff3('0x11')]);module['exports']=router; \ No newline at end of file +var _0xbbf9=['update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./whatsappApplication.controller','isAuthenticated','index','/:id','show','post','put'];(function(_0x117f4c,_0x36a9b1){var _0x2b24e9=function(_0x31761b){while(--_0x31761b){_0x117f4c['push'](_0x117f4c['shift']());}};_0x2b24e9(++_0x36a9b1);}(_0xbbf9,0x8b));var _0x9bbf=function(_0x42de15,_0x4eb272){_0x42de15=_0x42de15-0x0;var _0x46fca8=_0xbbf9[_0x42de15];return _0x46fca8;};'use strict';var multer=require('multer');var util=require(_0x9bbf('0x0'));var path=require(_0x9bbf('0x1'));var timeout=require(_0x9bbf('0x2'));var express=require(_0x9bbf('0x3'));var router=express[_0x9bbf('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x9bbf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9bbf('0x6'));var controller=require(_0x9bbf('0x7'));router['get']('/',auth[_0x9bbf('0x8')](),controller[_0x9bbf('0x9')]);router['get'](_0x9bbf('0xa'),auth['isAuthenticated'](),controller[_0x9bbf('0xb')]);router[_0x9bbf('0xc')]('/',auth[_0x9bbf('0x8')](),controller['create']);router[_0x9bbf('0xd')](_0x9bbf('0xa'),auth[_0x9bbf('0x8')](),controller[_0x9bbf('0xe')]);router[_0x9bbf('0xf')]('/:id',auth[_0x9bbf('0x8')](),controller[_0x9bbf('0x10')]);module['exports']=router; \ No newline at end of file