X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappApplication%2Findex.js;h=b779b298fd99bccdd6563853865552607afd8894;hb=c593ef5de079879fb7bfbdd8f8d4d8640e684821;hp=1b9be0e1faa0346c8222f17a706a7741b970e1bd;hpb=7b947914a77b8347fb1d6de0275fa1bbfcdf6ff9;p=motion2.git diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index 1b9be0e..b779b29 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 _0x0514=['index','post','create','update','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','./whatsappApplication.controller','isAuthenticated'];(function(_0x40c209,_0xcd3ca3){var _0x3ea459=function(_0x4dfe0b){while(--_0x4dfe0b){_0x40c209['push'](_0x40c209['shift']());}};_0x3ea459(++_0xcd3ca3);}(_0x0514,0x180));var _0x4051=function(_0x12a5a6,_0x1ecba3){_0x12a5a6=_0x12a5a6-0x0;var _0x2f8d3=_0x0514[_0x12a5a6];return _0x2f8d3;};'use strict';var multer=require(_0x4051('0x0'));var util=require('util');var path=require(_0x4051('0x1'));var timeout=require(_0x4051('0x2'));var express=require(_0x4051('0x3'));var router=express[_0x4051('0x4')]();var fs_extra=require(_0x4051('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x4051('0x6'));router['get']('/',auth[_0x4051('0x7')](),controller[_0x4051('0x8')]);router['get']('/:id',auth[_0x4051('0x7')](),controller['show']);router[_0x4051('0x9')]('/',auth['isAuthenticated'](),controller[_0x4051('0xa')]);router['put']('/:id',auth[_0x4051('0x7')](),controller[_0x4051('0xb')]);router[_0x4051('0xc')]('/:id',auth[_0x4051('0x7')](),controller['destroy']);module[_0x4051('0xd')]=router; \ No newline at end of file +var _0x17dc=['isAuthenticated','index','get','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./whatsappApplication.controller'];(function(_0x255d5b,_0x4f6f35){var _0x3e141a=function(_0x249ee2){while(--_0x249ee2){_0x255d5b['push'](_0x255d5b['shift']());}};_0x3e141a(++_0x4f6f35);}(_0x17dc,0x90));var _0xc17d=function(_0x3a9399,_0x21594a){_0x3a9399=_0x3a9399-0x0;var _0x138a87=_0x17dc[_0x3a9399];return _0x138a87;};'use strict';var multer=require(_0xc17d('0x0'));var util=require(_0xc17d('0x1'));var path=require(_0xc17d('0x2'));var timeout=require(_0xc17d('0x3'));var express=require(_0xc17d('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xc17d('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc17d('0x6'));var controller=require(_0xc17d('0x7'));router['get']('/',auth[_0xc17d('0x8')](),controller[_0xc17d('0x9')]);router[_0xc17d('0xa')](_0xc17d('0xb'),auth[_0xc17d('0x8')](),controller[_0xc17d('0xc')]);router[_0xc17d('0xd')]('/',auth['isAuthenticated'](),controller[_0xc17d('0xe')]);router['put'](_0xc17d('0xb'),auth[_0xc17d('0x8')](),controller[_0xc17d('0xf')]);router[_0xc17d('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xc17d('0x11')]);module[_0xc17d('0x12')]=router; \ No newline at end of file