Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / whatsappQueue / index.js
index 35658bc..30caa11 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x05ab=['delete','destroy','removeTeams','removeAgents','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','/describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','post','create','addTeams','addAgents','put','update'];(function(_0x2ddc4a,_0xdcf87){var _0x44bd44=function(_0x3e8b79){while(--_0x3e8b79){_0x2ddc4a['push'](_0x2ddc4a['shift']());}};_0x44bd44(++_0xdcf87);}(_0x05ab,0x1e4));var _0xb05a=function(_0x2b7764,_0x2606f1){_0x2b7764=_0x2b7764-0x0;var _0x848dcb=_0x05ab[_0x2b7764];return _0x848dcb;};'use strict';var multer=require(_0xb05a('0x0'));var util=require(_0xb05a('0x1'));var path=require(_0xb05a('0x2'));var timeout=require('connect-timeout');var express=require(_0xb05a('0x3'));var router=express[_0xb05a('0x4')]();var auth=require(_0xb05a('0x5'));var interaction=require(_0xb05a('0x6'));var config=require(_0xb05a('0x7'));var controller=require(_0xb05a('0x8'));router['get']('/',auth[_0xb05a('0x9')](),controller[_0xb05a('0xa')]);router[_0xb05a('0xb')](_0xb05a('0xc'),auth[_0xb05a('0x9')](),controller['describe']);router[_0xb05a('0xb')](_0xb05a('0xd'),auth[_0xb05a('0x9')](),controller[_0xb05a('0xe')]);router[_0xb05a('0xb')](_0xb05a('0xf'),auth[_0xb05a('0x9')](),controller[_0xb05a('0x10')]);router[_0xb05a('0xb')](_0xb05a('0x11'),auth[_0xb05a('0x9')](),controller[_0xb05a('0x12')]);router['get'](_0xb05a('0x13'),auth['isAuthenticated'](),controller['getAgents']);router[_0xb05a('0x14')]('/',auth[_0xb05a('0x9')](),controller[_0xb05a('0x15')]);router['post']('/:id/teams',auth[_0xb05a('0x9')](),controller[_0xb05a('0x16')]);router[_0xb05a('0x14')]('/:id/users',auth[_0xb05a('0x9')](),controller[_0xb05a('0x17')]);router[_0xb05a('0x18')]('/:id',auth[_0xb05a('0x9')](),controller[_0xb05a('0x19')]);router[_0xb05a('0x1a')](_0xb05a('0xd'),auth[_0xb05a('0x9')](),controller[_0xb05a('0x1b')]);router[_0xb05a('0x1a')](_0xb05a('0x11'),auth[_0xb05a('0x9')](),controller[_0xb05a('0x1c')]);router[_0xb05a('0x1a')](_0xb05a('0x13'),auth[_0xb05a('0x9')](),controller[_0xb05a('0x1d')]);module['exports']=router;
\ No newline at end of file
+var _0x9cf2=['/describe','isAuthenticated','get','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','post','create','put','update','delete','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','index'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9cf2,0xac));var _0x29cf=function(_0x2af90a,_0x4b34b8){_0x2af90a=_0x2af90a-0x0;var _0xd668ee=_0x9cf2[_0x2af90a];return _0xd668ee;};'use strict';var multer=require(_0x29cf('0x0'));var util=require(_0x29cf('0x1'));var path=require(_0x29cf('0x2'));var timeout=require(_0x29cf('0x3'));var express=require(_0x29cf('0x4'));var router=express[_0x29cf('0x5')]();var fs_extra=require(_0x29cf('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x29cf('0x7'));var config=require(_0x29cf('0x8'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x29cf('0x9')]);router['get'](_0x29cf('0xa'),auth[_0x29cf('0xb')](),controller['describe']);router[_0x29cf('0xc')](_0x29cf('0xd'),auth['isAuthenticated'](),controller[_0x29cf('0xe')]);router[_0x29cf('0xc')](_0x29cf('0xf'),auth[_0x29cf('0xb')](),controller[_0x29cf('0x10')]);router[_0x29cf('0xc')](_0x29cf('0x11'),auth[_0x29cf('0xb')](),controller['getTeams']);router[_0x29cf('0xc')](_0x29cf('0x12'),auth[_0x29cf('0xb')](),controller['getAgents']);router[_0x29cf('0x13')]('/',auth[_0x29cf('0xb')](),controller[_0x29cf('0x14')]);router[_0x29cf('0x13')](_0x29cf('0x11'),auth[_0x29cf('0xb')](),controller['addTeams']);router[_0x29cf('0x13')]('/:id/users',auth[_0x29cf('0xb')](),controller['addAgents']);router[_0x29cf('0x15')](_0x29cf('0xd'),auth['isAuthenticated'](),controller[_0x29cf('0x16')]);router[_0x29cf('0x17')](_0x29cf('0xd'),auth[_0x29cf('0xb')](),controller['destroy']);router[_0x29cf('0x17')](_0x29cf('0x11'),auth['isAuthenticated'](),controller['removeTeams']);router[_0x29cf('0x17')](_0x29cf('0x12'),auth[_0x29cf('0xb')](),controller[_0x29cf('0x18')]);module[_0x29cf('0x19')]=router;
\ No newline at end of file