Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / whatsappQueue / index.js
index 9a41130..eabed1f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xab25=['getMembers','/:id/teams','getTeams','getAgents','post','addTeams','/:id/users','put','update','delete','destroy','removeTeams','removeAgents','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members'];(function(_0x36b33b,_0x4bce83){var _0x3cc4a6=function(_0x127f73){while(--_0x127f73){_0x36b33b['push'](_0x36b33b['shift']());}};_0x3cc4a6(++_0x4bce83);}(_0xab25,0x14c));var _0x5ab2=function(_0x398494,_0x46d408){_0x398494=_0x398494-0x0;var _0xad3f07=_0xab25[_0x398494];return _0xad3f07;};'use strict';var multer=require(_0x5ab2('0x0'));var util=require(_0x5ab2('0x1'));var path=require(_0x5ab2('0x2'));var timeout=require(_0x5ab2('0x3'));var express=require(_0x5ab2('0x4'));var router=express['Router']();var fs_extra=require(_0x5ab2('0x5'));var auth=require(_0x5ab2('0x6'));var interaction=require(_0x5ab2('0x7'));var config=require('../../config/environment');var controller=require('./whatsappQueue.controller');router[_0x5ab2('0x8')]('/',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xa')]);router[_0x5ab2('0x8')](_0x5ab2('0xb'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xc')]);router['get'](_0x5ab2('0xd'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xe')]);router['get'](_0x5ab2('0xf'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x10')]);router['get'](_0x5ab2('0x11'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x12')]);router[_0x5ab2('0x8')]('/:id/users',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x13')]);router[_0x5ab2('0x14')]('/',auth['isAuthenticated'](),controller['create']);router[_0x5ab2('0x14')]('/:id/teams',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x15')]);router['post'](_0x5ab2('0x16'),auth[_0x5ab2('0x9')](),controller['addAgents']);router[_0x5ab2('0x17')](_0x5ab2('0xd'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x18')]);router[_0x5ab2('0x19')]('/:id',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x1a')]);router[_0x5ab2('0x19')](_0x5ab2('0x11'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x1b')]);router[_0x5ab2('0x19')](_0x5ab2('0x16'),auth['isAuthenticated'](),controller[_0x5ab2('0x1c')]);module['exports']=router;
\ No newline at end of file
+var _0xb8bd=['update','destroy','delete','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','./whatsappQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','create','post','addTeams','/:id/users','addAgents'];(function(_0x41818d,_0xe57188){var _0x3e0556=function(_0x1b5288){while(--_0x1b5288){_0x41818d['push'](_0x41818d['shift']());}};_0x3e0556(++_0xe57188);}(_0xb8bd,0x19b));var _0xdb8b=function(_0x1da527,_0x2dc953){_0x1da527=_0x1da527-0x0;var _0x40fc7c=_0xb8bd[_0x1da527];return _0x40fc7c;};'use strict';var multer=require(_0xdb8b('0x0'));var util=require(_0xdb8b('0x1'));var path=require(_0xdb8b('0x2'));var timeout=require(_0xdb8b('0x3'));var express=require(_0xdb8b('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdb8b('0x5'));router[_0xdb8b('0x6')]('/',auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x8')]);router[_0xdb8b('0x6')](_0xdb8b('0x9'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xa')]);router[_0xdb8b('0x6')](_0xdb8b('0xb'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xc')]);router[_0xdb8b('0x6')](_0xdb8b('0xd'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xe')]);router[_0xdb8b('0x6')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller['getTeams']);router[_0xdb8b('0x6')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router['post']('/',auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x10')]);router[_0xdb8b('0x11')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x12')]);router[_0xdb8b('0x11')](_0xdb8b('0x13'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x14')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xdb8b('0x15')]);router['delete'](_0xdb8b('0xb'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x16')]);router[_0xdb8b('0x17')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x18')]);router[_0xdb8b('0x17')]('/:id/users',auth['isAuthenticated'](),controller[_0xdb8b('0x19')]);module[_0xdb8b('0x1a')]=router;
\ No newline at end of file