X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappApplication%2Findex.js;h=d2bf9cf91e8a2a748f5bb82e83be08b01b7c709e;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=7d0f30060277342d5639135dd896373a6b8bf1b6;hpb=625a274d7c6c9ea6be043136164c37fd3fc082d8;p=motion2.git diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index 7d0f300..d2bf9cf 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 _0xa7b6=['fs-extra','../../components/interaction/service','./whatsappApplication.controller','get','isAuthenticated','/:id','post','update','destroy','multer','util','path','connect-timeout','express'];(function(_0x2f4e3e,_0x8ea6b5){var _0x1ae46d=function(_0x23bc0a){while(--_0x23bc0a){_0x2f4e3e['push'](_0x2f4e3e['shift']());}};_0x1ae46d(++_0x8ea6b5);}(_0xa7b6,0x95));var _0x6a7b=function(_0x55d58f,_0x2bea83){_0x55d58f=_0x55d58f-0x0;var _0x1ad6e6=_0xa7b6[_0x55d58f];return _0x1ad6e6;};'use strict';var multer=require(_0x6a7b('0x0'));var util=require(_0x6a7b('0x1'));var path=require(_0x6a7b('0x2'));var timeout=require(_0x6a7b('0x3'));var express=require(_0x6a7b('0x4'));var router=express['Router']();var fs_extra=require(_0x6a7b('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x6a7b('0x6'));var config=require('../../config/environment');var controller=require(_0x6a7b('0x7'));router[_0x6a7b('0x8')]('/',auth[_0x6a7b('0x9')](),controller['index']);router[_0x6a7b('0x8')](_0x6a7b('0xa'),auth[_0x6a7b('0x9')](),controller['show']);router[_0x6a7b('0xb')]('/',auth[_0x6a7b('0x9')](),controller['create']);router['put'](_0x6a7b('0xa'),auth['isAuthenticated'](),controller[_0x6a7b('0xc')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x6a7b('0xd')]);module['exports']=router; \ No newline at end of file +var _0xc8f8=['get','/:id','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./whatsappApplication.controller','isAuthenticated','index'];(function(_0x17406a,_0x1e2320){var _0x1501ff=function(_0x4b075a){while(--_0x4b075a){_0x17406a['push'](_0x17406a['shift']());}};_0x1501ff(++_0x1e2320);}(_0xc8f8,0x1dc));var _0x8c8f=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xc8f8[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0x8c8f('0x0'));var util=require(_0x8c8f('0x1'));var path=require(_0x8c8f('0x2'));var timeout=require(_0x8c8f('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8c8f('0x4'));var auth=require(_0x8c8f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8c8f('0x6'));var controller=require(_0x8c8f('0x7'));router['get']('/',auth[_0x8c8f('0x8')](),controller[_0x8c8f('0x9')]);router[_0x8c8f('0xa')](_0x8c8f('0xb'),auth[_0x8c8f('0x8')](),controller['show']);router[_0x8c8f('0xc')]('/',auth['isAuthenticated'](),controller[_0x8c8f('0xd')]);router['put']('/:id',auth[_0x8c8f('0x8')](),controller[_0x8c8f('0xe')]);router[_0x8c8f('0xf')](_0x8c8f('0xb'),auth[_0x8c8f('0x8')](),controller[_0x8c8f('0x10')]);module[_0x8c8f('0x11')]=router; \ No newline at end of file