Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / whatsappQueue / index.js
index d42fc22..35c7934 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xea77=['get','/describe','isAuthenticated','describe','/:id','/:id/members','getTeams','/:id/users','getAgents','create','post','addAgents','put','update','delete','destroy','/:id/teams','removeAgents','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','index'];(function(_0x2307c0,_0x1a61d5){var _0x5d5c4a=function(_0x1a66a5){while(--_0x1a66a5){_0x2307c0['push'](_0x2307c0['shift']());}};_0x5d5c4a(++_0x1a61d5);}(_0xea77,0x1b3));var _0x7ea7=function(_0x487308,_0xc78364){_0x487308=_0x487308-0x0;var _0x5e3b09=_0xea77[_0x487308];return _0x5e3b09;};'use strict';var multer=require(_0x7ea7('0x0'));var util=require(_0x7ea7('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7ea7('0x2'));var router=express['Router']();var auth=require(_0x7ea7('0x3'));var interaction=require(_0x7ea7('0x4'));var config=require(_0x7ea7('0x5'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x7ea7('0x6')]);router[_0x7ea7('0x7')](_0x7ea7('0x8'),auth[_0x7ea7('0x9')](),controller[_0x7ea7('0xa')]);router[_0x7ea7('0x7')](_0x7ea7('0xb'),auth[_0x7ea7('0x9')](),controller['show']);router[_0x7ea7('0x7')](_0x7ea7('0xc'),auth[_0x7ea7('0x9')](),controller['getMembers']);router['get']('/:id/teams',auth[_0x7ea7('0x9')](),controller[_0x7ea7('0xd')]);router[_0x7ea7('0x7')](_0x7ea7('0xe'),auth[_0x7ea7('0x9')](),controller[_0x7ea7('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7ea7('0x10')]);router[_0x7ea7('0x11')]('/:id/teams',auth[_0x7ea7('0x9')](),controller['addTeams']);router[_0x7ea7('0x11')](_0x7ea7('0xe'),auth['isAuthenticated'](),controller[_0x7ea7('0x12')]);router[_0x7ea7('0x13')](_0x7ea7('0xb'),auth[_0x7ea7('0x9')](),controller[_0x7ea7('0x14')]);router[_0x7ea7('0x15')]('/:id',auth[_0x7ea7('0x9')](),controller[_0x7ea7('0x16')]);router[_0x7ea7('0x15')](_0x7ea7('0x17'),auth[_0x7ea7('0x9')](),controller['removeTeams']);router[_0x7ea7('0x15')]('/:id/users',auth[_0x7ea7('0x9')](),controller[_0x7ea7('0x18')]);module[_0x7ea7('0x19')]=router;
\ No newline at end of file
+var _0x4787=['destroy','removeTeams','removeAgents','exports','multer','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','describe','/:id','/:id/teams','/:id/users','getAgents','create','addAgents','put','update','delete'];(function(_0x599f41,_0x4db732){var _0x2e4d58=function(_0x14c882){while(--_0x14c882){_0x599f41['push'](_0x599f41['shift']());}};_0x2e4d58(++_0x4db732);}(_0x4787,0x1bd));var _0x7478=function(_0x50a0c2,_0x4befab){_0x50a0c2=_0x50a0c2-0x0;var _0x5ebadd=_0x4787[_0x50a0c2];return _0x5ebadd;};'use strict';var multer=require(_0x7478('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7478('0x1'));var router=express[_0x7478('0x2')]();var auth=require(_0x7478('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7478('0x4'));var controller=require('./whatsappQueue.controller');router[_0x7478('0x5')]('/',auth[_0x7478('0x6')](),controller['index']);router[_0x7478('0x5')]('/describe',auth[_0x7478('0x6')](),controller[_0x7478('0x7')]);router[_0x7478('0x5')](_0x7478('0x8'),auth[_0x7478('0x6')](),controller['show']);router[_0x7478('0x5')]('/:id/members',auth[_0x7478('0x6')](),controller['getMembers']);router[_0x7478('0x5')](_0x7478('0x9'),auth[_0x7478('0x6')](),controller['getTeams']);router[_0x7478('0x5')](_0x7478('0xa'),auth['isAuthenticated'](),controller[_0x7478('0xb')]);router['post']('/',auth[_0x7478('0x6')](),controller[_0x7478('0xc')]);router['post']('/:id/teams',auth[_0x7478('0x6')](),controller['addTeams']);router['post'](_0x7478('0xa'),auth[_0x7478('0x6')](),controller[_0x7478('0xd')]);router[_0x7478('0xe')]('/:id',auth[_0x7478('0x6')](),controller[_0x7478('0xf')]);router[_0x7478('0x10')](_0x7478('0x8'),auth[_0x7478('0x6')](),controller[_0x7478('0x11')]);router[_0x7478('0x10')]('/:id/teams',auth[_0x7478('0x6')](),controller[_0x7478('0x12')]);router['delete'](_0x7478('0xa'),auth['isAuthenticated'](),controller[_0x7478('0x13')]);module[_0x7478('0x14')]=router;
\ No newline at end of file