X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappApplication%2Findex.js;h=5cf8c206dd46de638ddd12df0ac96ff46cc6f76d;hb=d0a5f290c38808a51b2a974ceac262033db82ac8;hp=f3149c430c3ec02017439c7c2cf9d794374ea18f;hpb=fbc87b59ef94ef6130a71493194cc41e82b19e21;p=motion2.git diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index f3149c4..5cf8c20 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 _0x1abb=['put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','isAuthenticated','index','show','post'];(function(_0x2bd9db,_0x2f6076){var _0x28441e=function(_0x354695){while(--_0x354695){_0x2bd9db['push'](_0x2bd9db['shift']());}};_0x28441e(++_0x2f6076);}(_0x1abb,0xcb));var _0xb1ab=function(_0x269e23,_0x14d11c){_0x269e23=_0x269e23-0x0;var _0x69ad53=_0x1abb[_0x269e23];return _0x69ad53;};'use strict';var multer=require(_0xb1ab('0x0'));var util=require(_0xb1ab('0x1'));var path=require(_0xb1ab('0x2'));var timeout=require(_0xb1ab('0x3'));var express=require('express');var router=express[_0xb1ab('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xb1ab('0x5'));var config=require(_0xb1ab('0x6'));var controller=require(_0xb1ab('0x7'));router[_0xb1ab('0x8')]('/',auth[_0xb1ab('0x9')](),controller[_0xb1ab('0xa')]);router['get']('/:id',auth[_0xb1ab('0x9')](),controller[_0xb1ab('0xb')]);router[_0xb1ab('0xc')]('/',auth[_0xb1ab('0x9')](),controller['create']);router[_0xb1ab('0xd')](_0xb1ab('0xe'),auth[_0xb1ab('0x9')](),controller['update']);router[_0xb1ab('0xf')](_0xb1ab('0xe'),auth[_0xb1ab('0x9')](),controller[_0xb1ab('0x10')]);module[_0xb1ab('0x11')]=router; \ No newline at end of file +var _0x7ef0=['/:id','show','post','put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x4a6b92,_0x53929c){var _0x303f17=function(_0x30a218){while(--_0x30a218){_0x4a6b92['push'](_0x4a6b92['shift']());}};_0x303f17(++_0x53929c);}(_0x7ef0,0xbb));var _0x07ef=function(_0x1fe4d8,_0x1a1f99){_0x1fe4d8=_0x1fe4d8-0x0;var _0x3e934e=_0x7ef0[_0x1fe4d8];return _0x3e934e;};'use strict';var multer=require('multer');var util=require(_0x07ef('0x0'));var path=require(_0x07ef('0x1'));var timeout=require(_0x07ef('0x2'));var express=require(_0x07ef('0x3'));var router=express[_0x07ef('0x4')]();var auth=require(_0x07ef('0x5'));var interaction=require(_0x07ef('0x6'));var config=require(_0x07ef('0x7'));var controller=require('./whatsappApplication.controller');router[_0x07ef('0x8')]('/',auth[_0x07ef('0x9')](),controller[_0x07ef('0xa')]);router[_0x07ef('0x8')](_0x07ef('0xb'),auth[_0x07ef('0x9')](),controller[_0x07ef('0xc')]);router[_0x07ef('0xd')]('/',auth[_0x07ef('0x9')](),controller['create']);router[_0x07ef('0xe')](_0x07ef('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x07ef('0xf')](_0x07ef('0xb'),auth[_0x07ef('0x9')](),controller[_0x07ef('0x10')]);module[_0x07ef('0x11')]=router; \ No newline at end of file