Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / whatsappApplication / index.js
index da76a40..0978557 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc24=['/:id','isAuthenticated','show','post','create','update','destroy','exports','multer','path','Router','../../components/auth/service','../../config/environment','./whatsappApplication.controller','get'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xfc24,0x1d9));var _0x4fc2=function(_0x2962d5,_0x38deda){_0x2962d5=_0x2962d5-0x0;var _0x273406=_0xfc24[_0x2962d5];return _0x273406;};'use strict';var multer=require(_0x4fc2('0x0'));var util=require('util');var path=require(_0x4fc2('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4fc2('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x4fc2('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x4fc2('0x4'));var controller=require(_0x4fc2('0x5'));router[_0x4fc2('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x4fc2('0x6')](_0x4fc2('0x7'),auth[_0x4fc2('0x8')](),controller[_0x4fc2('0x9')]);router[_0x4fc2('0xa')]('/',auth['isAuthenticated'](),controller[_0x4fc2('0xb')]);router['put']('/:id',auth[_0x4fc2('0x8')](),controller[_0x4fc2('0xc')]);router['delete']('/:id',auth[_0x4fc2('0x8')](),controller[_0x4fc2('0xd')]);module[_0x4fc2('0xe')]=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