X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappApplication%2Findex.js;h=fa0344736a39a0e8c6fff082c047a359641f39ab;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=d9e6226ad028c444fed91132aa4aaf9172eae7ad;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index d9e6226..fa03447 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 _0xf5f6=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','isAuthenticated','index','/:id','show','put','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf5f6,0x107));var _0x6f5f=function(_0x1a2f43,_0x5f245a){_0x1a2f43=_0x1a2f43-0x0;var _0x497eae=_0xf5f6[_0x1a2f43];return _0x497eae;};'use strict';var multer=require(_0x6f5f('0x0'));var util=require(_0x6f5f('0x1'));var path=require(_0x6f5f('0x2'));var timeout=require(_0x6f5f('0x3'));var express=require(_0x6f5f('0x4'));var router=express[_0x6f5f('0x5')]();var auth=require(_0x6f5f('0x6'));var interaction=require(_0x6f5f('0x7'));var config=require(_0x6f5f('0x8'));var controller=require(_0x6f5f('0x9'));router[_0x6f5f('0xa')]('/',auth[_0x6f5f('0xb')](),controller[_0x6f5f('0xc')]);router[_0x6f5f('0xa')](_0x6f5f('0xd'),auth[_0x6f5f('0xb')](),controller[_0x6f5f('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x6f5f('0xf')](_0x6f5f('0xd'),auth[_0x6f5f('0xb')](),controller[_0x6f5f('0x10')]);router[_0x6f5f('0x11')](_0x6f5f('0xd'),auth[_0x6f5f('0xb')](),controller[_0x6f5f('0x12')]);module[_0x6f5f('0x13')]=router; \ No newline at end of file +var _0xc746=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','index','isAuthenticated','show','post','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout'];(function(_0x3ee22c,_0x26f867){var _0x4a545a=function(_0x5d92a0){while(--_0x5d92a0){_0x3ee22c['push'](_0x3ee22c['shift']());}};_0x4a545a(++_0x26f867);}(_0xc746,0x1f4));var _0x6c74=function(_0x466495,_0x3cbe81){_0x466495=_0x466495-0x0;var _0x32fdbf=_0xc746[_0x466495];return _0x32fdbf;};'use strict';var multer=require(_0x6c74('0x0'));var util=require(_0x6c74('0x1'));var path=require(_0x6c74('0x2'));var timeout=require(_0x6c74('0x3'));var express=require(_0x6c74('0x4'));var router=express[_0x6c74('0x5')]();var auth=require(_0x6c74('0x6'));var interaction=require(_0x6c74('0x7'));var config=require(_0x6c74('0x8'));var controller=require(_0x6c74('0x9'));router[_0x6c74('0xa')]('/',auth['isAuthenticated'](),controller[_0x6c74('0xb')]);router[_0x6c74('0xa')]('/:id',auth[_0x6c74('0xc')](),controller[_0x6c74('0xd')]);router[_0x6c74('0xe')]('/',auth['isAuthenticated'](),controller[_0x6c74('0xf')]);router[_0x6c74('0x10')](_0x6c74('0x11'),auth[_0x6c74('0xc')](),controller[_0x6c74('0x12')]);router['delete'](_0x6c74('0x11'),auth[_0x6c74('0xc')](),controller[_0x6c74('0x13')]);module[_0x6c74('0x14')]=router; \ No newline at end of file