Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / whatsappApplication / index.js
index 5b6b980..227bc1e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac6c=['util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','multer'];(function(_0x3d2012,_0x3d02b9){var _0x53d542=function(_0x8f2be8){while(--_0x8f2be8){_0x3d2012['push'](_0x3d2012['shift']());}};_0x53d542(++_0x3d02b9);}(_0xac6c,0x143));var _0xcac6=function(_0x1fec67,_0x1e1297){_0x1fec67=_0x1fec67-0x0;var _0x4661b6=_0xac6c[_0x1fec67];return _0x4661b6;};'use strict';var multer=require(_0xcac6('0x0'));var util=require(_0xcac6('0x1'));var path=require('path');var timeout=require(_0xcac6('0x2'));var express=require(_0xcac6('0x3'));var router=express['Router']();var auth=require(_0xcac6('0x4'));var interaction=require(_0xcac6('0x5'));var config=require(_0xcac6('0x6'));var controller=require('./whatsappApplication.controller');router[_0xcac6('0x7')]('/',auth[_0xcac6('0x8')](),controller[_0xcac6('0x9')]);router[_0xcac6('0x7')](_0xcac6('0xa'),auth[_0xcac6('0x8')](),controller[_0xcac6('0xb')]);router[_0xcac6('0xc')]('/',auth[_0xcac6('0x8')](),controller[_0xcac6('0xd')]);router[_0xcac6('0xe')](_0xcac6('0xa'),auth[_0xcac6('0x8')](),controller['update']);router[_0xcac6('0xf')](_0xcac6('0xa'),auth[_0xcac6('0x8')](),controller[_0xcac6('0x10')]);module[_0xcac6('0x11')]=router;
\ No newline at end of file
+var _0xf5ea=['./whatsappApplication.controller','get','index','/:id','post','isAuthenticated','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment'];(function(_0x643b2,_0x14e495){var _0x2e5346=function(_0x3ed065){while(--_0x3ed065){_0x643b2['push'](_0x643b2['shift']());}};_0x2e5346(++_0x14e495);}(_0xf5ea,0xf0));var _0xaf5e=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xf5ea[_0x1facfa];return _0x9ec701;};'use strict';var multer=require(_0xaf5e('0x0'));var util=require(_0xaf5e('0x1'));var path=require(_0xaf5e('0x2'));var timeout=require(_0xaf5e('0x3'));var express=require('express');var router=express[_0xaf5e('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xaf5e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xaf5e('0x6'));var controller=require(_0xaf5e('0x7'));router[_0xaf5e('0x8')]('/',auth['isAuthenticated'](),controller[_0xaf5e('0x9')]);router[_0xaf5e('0x8')](_0xaf5e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xaf5e('0xb')]('/',auth[_0xaf5e('0xc')](),controller[_0xaf5e('0xd')]);router[_0xaf5e('0xe')](_0xaf5e('0xa'),auth[_0xaf5e('0xc')](),controller[_0xaf5e('0xf')]);router[_0xaf5e('0x10')](_0xaf5e('0xa'),auth[_0xaf5e('0xc')](),controller[_0xaf5e('0x11')]);module[_0xaf5e('0x12')]=router;
\ No newline at end of file