Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / whatsappApplication / index.js
index d84359a..f94be71 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x628a=['fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','index','get','post','/:id','delete','exports','multer','util','path','connect-timeout','express'];(function(_0x20b1ca,_0xcaa99b){var _0x13a457=function(_0x49b381){while(--_0x49b381){_0x20b1ca['push'](_0x20b1ca['shift']());}};_0x13a457(++_0xcaa99b);}(_0x628a,0x1cc));var _0xa628=function(_0x4a5e69,_0x4d7e77){_0x4a5e69=_0x4a5e69-0x0;var _0x16534b=_0x628a[_0x4a5e69];return _0x16534b;};'use strict';var multer=require(_0xa628('0x0'));var util=require(_0xa628('0x1'));var path=require(_0xa628('0x2'));var timeout=require(_0xa628('0x3'));var express=require(_0xa628('0x4'));var router=express['Router']();var fs_extra=require(_0xa628('0x5'));var auth=require(_0xa628('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa628('0x7'));var controller=require('./whatsappApplication.controller');router['get']('/',auth[_0xa628('0x8')](),controller[_0xa628('0x9')]);router[_0xa628('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xa628('0xb')]('/',auth[_0xa628('0x8')](),controller['create']);router['put'](_0xa628('0xc'),auth[_0xa628('0x8')](),controller['update']);router[_0xa628('0xd')](_0xa628('0xc'),auth[_0xa628('0x8')](),controller['destroy']);module[_0xa628('0xe')]=router;
\ No newline at end of file
+var _0xfe88=['../../config/environment','get','isAuthenticated','index','show','post','create','/:id','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x2c7a4d,_0x5d2de8){var _0x296ea9=function(_0x495721){while(--_0x495721){_0x2c7a4d['push'](_0x2c7a4d['shift']());}};_0x296ea9(++_0x5d2de8);}(_0xfe88,0x115));var _0x8fe8=function(_0x9a138c,_0x2607f8){_0x9a138c=_0x9a138c-0x0;var _0x3771a3=_0xfe88[_0x9a138c];return _0x3771a3;};'use strict';var multer=require(_0x8fe8('0x0'));var util=require(_0x8fe8('0x1'));var path=require('path');var timeout=require(_0x8fe8('0x2'));var express=require(_0x8fe8('0x3'));var router=express[_0x8fe8('0x4')]();var fs_extra=require(_0x8fe8('0x5'));var auth=require(_0x8fe8('0x6'));var interaction=require(_0x8fe8('0x7'));var config=require(_0x8fe8('0x8'));var controller=require('./whatsappApplication.controller');router[_0x8fe8('0x9')]('/',auth[_0x8fe8('0xa')](),controller[_0x8fe8('0xb')]);router[_0x8fe8('0x9')]('/:id',auth[_0x8fe8('0xa')](),controller[_0x8fe8('0xc')]);router[_0x8fe8('0xd')]('/',auth[_0x8fe8('0xa')](),controller[_0x8fe8('0xe')]);router['put'](_0x8fe8('0xf'),auth['isAuthenticated'](),controller['update']);router[_0x8fe8('0x10')](_0x8fe8('0xf'),auth[_0x8fe8('0xa')](),controller[_0x8fe8('0x11')]);module[_0x8fe8('0x12')]=router;
\ No newline at end of file