Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / whatsappApplication / index.js
index 1176f52..0978557 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8d6f=['delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service','./whatsappApplication.controller','get','isAuthenticated','/:id','show','put','update'];(function(_0x1efb4a,_0x46acc8){var _0x30c4b9=function(_0x28f547){while(--_0x28f547){_0x1efb4a['push'](_0x1efb4a['shift']());}};_0x30c4b9(++_0x46acc8);}(_0x8d6f,0x19b));var _0xf8d6=function(_0x686501,_0x28fb39){_0x686501=_0x686501-0x0;var _0x24bb36=_0x8d6f[_0x686501];return _0x24bb36;};'use strict';var multer=require(_0xf8d6('0x0'));var util=require(_0xf8d6('0x1'));var path=require(_0xf8d6('0x2'));var timeout=require('connect-timeout');var express=require(_0xf8d6('0x3'));var router=express[_0xf8d6('0x4')]();var fs_extra=require(_0xf8d6('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xf8d6('0x6'));var config=require('../../config/environment');var controller=require(_0xf8d6('0x7'));router[_0xf8d6('0x8')]('/',auth[_0xf8d6('0x9')](),controller['index']);router['get'](_0xf8d6('0xa'),auth[_0xf8d6('0x9')](),controller[_0xf8d6('0xb')]);router['post']('/',auth[_0xf8d6('0x9')](),controller['create']);router[_0xf8d6('0xc')]('/:id',auth[_0xf8d6('0x9')](),controller[_0xf8d6('0xd')]);router[_0xf8d6('0xe')](_0xf8d6('0xa'),auth[_0xf8d6('0x9')](),controller[_0xf8d6('0xf')]);module[_0xf8d6('0x10')]=router;
\ No newline at end of file
+var _0xc787=['create','update','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappApplication.controller','get','isAuthenticated','index','/:id','post'];(function(_0x467e7b,_0x19d1b9){var _0x3d89c0=function(_0x324f10){while(--_0x324f10){_0x467e7b['push'](_0x467e7b['shift']());}};_0x3d89c0(++_0x19d1b9);}(_0xc787,0x1c6));var _0x7c78=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xc787[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x7c78('0x0'));var util=require(_0x7c78('0x1'));var path=require('path');var timeout=require(_0x7c78('0x2'));var express=require(_0x7c78('0x3'));var router=express[_0x7c78('0x4')]();var fs_extra=require(_0x7c78('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x7c78('0x6'));var config=require(_0x7c78('0x7'));var controller=require(_0x7c78('0x8'));router[_0x7c78('0x9')]('/',auth[_0x7c78('0xa')](),controller[_0x7c78('0xb')]);router[_0x7c78('0x9')](_0x7c78('0xc'),auth[_0x7c78('0xa')](),controller['show']);router[_0x7c78('0xd')]('/',auth[_0x7c78('0xa')](),controller[_0x7c78('0xe')]);router['put'](_0x7c78('0xc'),auth['isAuthenticated'](),controller[_0x7c78('0xf')]);router[_0x7c78('0x10')](_0x7c78('0xc'),auth[_0x7c78('0xa')](),controller['destroy']);module[_0x7c78('0x11')]=router;
\ No newline at end of file