Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / whatsappQueue / index.js
index b02a5f2..aecee4f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x444c=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','/describe','isAuthenticated','describe','get','/:id','show','getMembers','/:id/teams','/:id/users','getAgents','post','addTeams','put','update','destroy','delete','removeTeams','removeAgents','path','connect-timeout','express'];(function(_0x33a964,_0x2e021d){var _0x3cee4d=function(_0x47d12b){while(--_0x47d12b){_0x33a964['push'](_0x33a964['shift']());}};_0x3cee4d(++_0x2e021d);}(_0x444c,0xde));var _0xc444=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x444c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc444('0x0'));var timeout=require(_0xc444('0x1'));var express=require(_0xc444('0x2'));var router=express[_0xc444('0x3')]();var auth=require(_0xc444('0x4'));var interaction=require(_0xc444('0x5'));var config=require(_0xc444('0x6'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xc444('0x7'),auth[_0xc444('0x8')](),controller[_0xc444('0x9')]);router[_0xc444('0xa')](_0xc444('0xb'),auth[_0xc444('0x8')](),controller[_0xc444('0xc')]);router[_0xc444('0xa')]('/:id/members',auth[_0xc444('0x8')](),controller[_0xc444('0xd')]);router[_0xc444('0xa')](_0xc444('0xe'),auth[_0xc444('0x8')](),controller['getTeams']);router[_0xc444('0xa')](_0xc444('0xf'),auth['isAuthenticated'](),controller[_0xc444('0x10')]);router[_0xc444('0x11')]('/',auth[_0xc444('0x8')](),controller['create']);router[_0xc444('0x11')]('/:id/teams',auth[_0xc444('0x8')](),controller[_0xc444('0x12')]);router['post'](_0xc444('0xf'),auth[_0xc444('0x8')](),controller['addAgents']);router[_0xc444('0x13')]('/:id',auth[_0xc444('0x8')](),controller[_0xc444('0x14')]);router['delete'](_0xc444('0xb'),auth[_0xc444('0x8')](),controller[_0xc444('0x15')]);router[_0xc444('0x16')](_0xc444('0xe'),auth[_0xc444('0x8')](),controller[_0xc444('0x17')]);router[_0xc444('0x16')]('/:id/users',auth[_0xc444('0x8')](),controller[_0xc444('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0x3a48=['../../components/auth/service','../../components/interaction/service','get','isAuthenticated','describe','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','create','post','addTeams','put','/:id','update','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','Router'];(function(_0x22a6f6,_0x5d6ea9){var _0x464440=function(_0x147c88){while(--_0x147c88){_0x22a6f6['push'](_0x22a6f6['shift']());}};_0x464440(++_0x5d6ea9);}(_0x3a48,0xe5));var _0x83a4=function(_0x31dd4c,_0x1ec56b){_0x31dd4c=_0x31dd4c-0x0;var _0x45e2fc=_0x3a48[_0x31dd4c];return _0x45e2fc;};'use strict';var multer=require(_0x83a4('0x0'));var util=require(_0x83a4('0x1'));var path=require(_0x83a4('0x2'));var timeout=require(_0x83a4('0x3'));var express=require('express');var router=express[_0x83a4('0x4')]();var auth=require(_0x83a4('0x5'));var interaction=require(_0x83a4('0x6'));var config=require('../../config/environment');var controller=require('./whatsappQueue.controller');router[_0x83a4('0x7')]('/',auth[_0x83a4('0x8')](),controller['index']);router['get']('/describe',auth[_0x83a4('0x8')](),controller[_0x83a4('0x9')]);router[_0x83a4('0x7')]('/:id',auth[_0x83a4('0x8')](),controller['show']);router[_0x83a4('0x7')](_0x83a4('0xa'),auth[_0x83a4('0x8')](),controller['getMembers']);router[_0x83a4('0x7')](_0x83a4('0xb'),auth[_0x83a4('0x8')](),controller[_0x83a4('0xc')]);router[_0x83a4('0x7')](_0x83a4('0xd'),auth['isAuthenticated'](),controller[_0x83a4('0xe')]);router['post']('/',auth[_0x83a4('0x8')](),controller[_0x83a4('0xf')]);router[_0x83a4('0x10')]('/:id/teams',auth[_0x83a4('0x8')](),controller[_0x83a4('0x11')]);router['post'](_0x83a4('0xd'),auth['isAuthenticated'](),controller['addAgents']);router[_0x83a4('0x12')](_0x83a4('0x13'),auth['isAuthenticated'](),controller[_0x83a4('0x14')]);router[_0x83a4('0x15')](_0x83a4('0x13'),auth[_0x83a4('0x8')](),controller[_0x83a4('0x16')]);router['delete'](_0x83a4('0xb'),auth['isAuthenticated'](),controller[_0x83a4('0x17')]);router['delete'](_0x83a4('0xd'),auth[_0x83a4('0x8')](),controller[_0x83a4('0x18')]);module[_0x83a4('0x19')]=router;
\ No newline at end of file