Built motion from commit (unavailable).|2.5.20
[motion2.git] / server / api / whatsappQueue / index.js
index 9d102a6..7c04124 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x62ab=['getAgents','post','create','addTeams','destroy','delete','removeTeams','removeAgents','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','/:id/teams','getTeams','/:id/users'];(function(_0x1f46c9,_0x1939c9){var _0x245822=function(_0x4bd1b9){while(--_0x4bd1b9){_0x1f46c9['push'](_0x1f46c9['shift']());}};_0x245822(++_0x1939c9);}(_0x62ab,0x18e));var _0xb62a=function(_0x8aa3f8,_0x5ca090){_0x8aa3f8=_0x8aa3f8-0x0;var _0x428e77=_0x62ab[_0x8aa3f8];return _0x428e77;};'use strict';var multer=require('multer');var util=require(_0xb62a('0x0'));var path=require(_0xb62a('0x1'));var timeout=require('connect-timeout');var express=require(_0xb62a('0x2'));var router=express[_0xb62a('0x3')]();var auth=require(_0xb62a('0x4'));var interaction=require(_0xb62a('0x5'));var config=require(_0xb62a('0x6'));var controller=require('./whatsappQueue.controller');router[_0xb62a('0x7')]('/',auth[_0xb62a('0x8')](),controller[_0xb62a('0x9')]);router[_0xb62a('0x7')](_0xb62a('0xa'),auth[_0xb62a('0x8')](),controller[_0xb62a('0xb')]);router[_0xb62a('0x7')](_0xb62a('0xc'),auth[_0xb62a('0x8')](),controller[_0xb62a('0xd')]);router['get'](_0xb62a('0xe'),auth['isAuthenticated'](),controller['getMembers']);router[_0xb62a('0x7')](_0xb62a('0xf'),auth[_0xb62a('0x8')](),controller[_0xb62a('0x10')]);router[_0xb62a('0x7')](_0xb62a('0x11'),auth[_0xb62a('0x8')](),controller[_0xb62a('0x12')]);router[_0xb62a('0x13')]('/',auth[_0xb62a('0x8')](),controller[_0xb62a('0x14')]);router[_0xb62a('0x13')]('/:id/teams',auth[_0xb62a('0x8')](),controller[_0xb62a('0x15')]);router['post']('/:id/users',auth['isAuthenticated'](),controller['addAgents']);router['put']('/:id',auth[_0xb62a('0x8')](),controller['update']);router['delete'](_0xb62a('0xc'),auth[_0xb62a('0x8')](),controller[_0xb62a('0x16')]);router[_0xb62a('0x17')](_0xb62a('0xf'),auth['isAuthenticated'](),controller[_0xb62a('0x18')]);router[_0xb62a('0x17')](_0xb62a('0x11'),auth[_0xb62a('0x8')](),controller[_0xb62a('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0xb9f1=['isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','put','delete','removeAgents','path','connect-timeout','express','Router','../../config/environment','./whatsappQueue.controller','get'];(function(_0x58d4d1,_0x9d32be){var _0x469aee=function(_0x5cd41e){while(--_0x5cd41e){_0x58d4d1['push'](_0x58d4d1['shift']());}};_0x469aee(++_0x9d32be);}(_0xb9f1,0xda));var _0x1b9f=function(_0x399fb4,_0x3b9673){_0x399fb4=_0x399fb4-0x0;var _0x599673=_0xb9f1[_0x399fb4];return _0x599673;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1b9f('0x0'));var timeout=require(_0x1b9f('0x1'));var express=require(_0x1b9f('0x2'));var router=express[_0x1b9f('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1b9f('0x4'));var controller=require(_0x1b9f('0x5'));router[_0x1b9f('0x6')]('/',auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x8')]);router[_0x1b9f('0x6')](_0x1b9f('0x9'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xa')]);router['get'](_0x1b9f('0xb'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xc')]);router[_0x1b9f('0x6')](_0x1b9f('0xd'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xe')]);router[_0x1b9f('0x6')](_0x1b9f('0xf'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x10')]);router[_0x1b9f('0x6')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x12')]);router[_0x1b9f('0x13')]('/',auth[_0x1b9f('0x7')](),controller['create']);router[_0x1b9f('0x13')]('/:id/teams',auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x14')]);router[_0x1b9f('0x13')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x15')]);router[_0x1b9f('0x16')]('/:id',auth[_0x1b9f('0x7')](),controller['update']);router[_0x1b9f('0x17')](_0x1b9f('0xb'),auth[_0x1b9f('0x7')](),controller['destroy']);router['delete'](_0x1b9f('0xf'),auth[_0x1b9f('0x7')](),controller['removeTeams']);router[_0x1b9f('0x17')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x18')]);module['exports']=router;
\ No newline at end of file