Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / whatsappQueue / index.js
index 5d71cc8..5ca7ee3 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd3f7=['delete','destroy','removeTeams','removeAgents','exports','multer','path','Router','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update'];(function(_0x1ed996,_0x2872f7){var _0x3681c5=function(_0xc09a1){while(--_0xc09a1){_0x1ed996['push'](_0x1ed996['shift']());}};_0x3681c5(++_0x2872f7);}(_0xd3f7,0x131));var _0x7d3f=function(_0x1f9f5f,_0x509fb7){_0x1f9f5f=_0x1f9f5f-0x0;var _0x51d649=_0xd3f7[_0x1f9f5f];return _0x51d649;};'use strict';var multer=require(_0x7d3f('0x0'));var util=require('util');var path=require(_0x7d3f('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7d3f('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x7d3f('0x3'));var config=require('../../config/environment');var controller=require('./whatsappQueue.controller');router[_0x7d3f('0x4')]('/',auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x6')]);router[_0x7d3f('0x4')](_0x7d3f('0x7'),auth['isAuthenticated'](),controller[_0x7d3f('0x8')]);router[_0x7d3f('0x4')](_0x7d3f('0x9'),auth['isAuthenticated'](),controller[_0x7d3f('0xa')]);router[_0x7d3f('0x4')]('/:id/members',auth[_0x7d3f('0x5')](),controller['getMembers']);router[_0x7d3f('0x4')](_0x7d3f('0xb'),auth[_0x7d3f('0x5')](),controller['getTeams']);router['get'](_0x7d3f('0xc'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0xd')]);router[_0x7d3f('0xe')]('/',auth[_0x7d3f('0x5')](),controller[_0x7d3f('0xf')]);router[_0x7d3f('0xe')](_0x7d3f('0xb'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x10')]);router['post'](_0x7d3f('0xc'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x11')]);router[_0x7d3f('0x12')](_0x7d3f('0x9'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x13')]);router[_0x7d3f('0x14')](_0x7d3f('0x9'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x15')]);router['delete'](_0x7d3f('0xb'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x16')]);router[_0x7d3f('0x14')](_0x7d3f('0xc'),auth[_0x7d3f('0x5')](),controller[_0x7d3f('0x17')]);module[_0x7d3f('0x18')]=router;
\ No newline at end of file
+var _0x9b26=['connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','isAuthenticated','index','describe','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','put','update','delete','removeTeams','removeAgents','multer','util'];(function(_0x21d2a2,_0xc5e93d){var _0xe708e8=function(_0x591f3c){while(--_0x591f3c){_0x21d2a2['push'](_0x21d2a2['shift']());}};_0xe708e8(++_0xc5e93d);}(_0x9b26,0xb4));var _0x69b2=function(_0x455c13,_0x452889){_0x455c13=_0x455c13-0x0;var _0x330083=_0x9b26[_0x455c13];return _0x330083;};'use strict';var multer=require(_0x69b2('0x0'));var util=require(_0x69b2('0x1'));var path=require('path');var timeout=require(_0x69b2('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x69b2('0x3'));var interaction=require(_0x69b2('0x4'));var config=require(_0x69b2('0x5'));var controller=require(_0x69b2('0x6'));router[_0x69b2('0x7')]('/',auth[_0x69b2('0x8')](),controller[_0x69b2('0x9')]);router['get']('/describe',auth[_0x69b2('0x8')](),controller[_0x69b2('0xa')]);router[_0x69b2('0x7')](_0x69b2('0xb'),auth[_0x69b2('0x8')](),controller[_0x69b2('0xc')]);router[_0x69b2('0x7')](_0x69b2('0xd'),auth[_0x69b2('0x8')](),controller[_0x69b2('0xe')]);router['get'](_0x69b2('0xf'),auth['isAuthenticated'](),controller['getTeams']);router[_0x69b2('0x7')](_0x69b2('0x10'),auth['isAuthenticated'](),controller[_0x69b2('0x11')]);router[_0x69b2('0x12')]('/',auth[_0x69b2('0x8')](),controller[_0x69b2('0x13')]);router['post'](_0x69b2('0xf'),auth['isAuthenticated'](),controller[_0x69b2('0x14')]);router[_0x69b2('0x12')](_0x69b2('0x10'),auth[_0x69b2('0x8')](),controller['addAgents']);router[_0x69b2('0x15')](_0x69b2('0xb'),auth[_0x69b2('0x8')](),controller[_0x69b2('0x16')]);router[_0x69b2('0x17')](_0x69b2('0xb'),auth[_0x69b2('0x8')](),controller['destroy']);router[_0x69b2('0x17')]('/:id/teams',auth[_0x69b2('0x8')](),controller[_0x69b2('0x18')]);router[_0x69b2('0x17')](_0x69b2('0x10'),auth[_0x69b2('0x8')](),controller[_0x69b2('0x19')]);module['exports']=router;
\ No newline at end of file