Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / whatsappQueue / index.js
index 55dc531..cf63c39 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x11a8=['addAgents','put','update','delete','destroy','removeAgents','exports','multer','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/members','getMembers','getTeams','/:id/users','post','create','/:id/teams'];(function(_0x1bec80,_0x5ae705){var _0x4a373c=function(_0x287a96){while(--_0x287a96){_0x1bec80['push'](_0x1bec80['shift']());}};_0x4a373c(++_0x5ae705);}(_0x11a8,0x1c7));var _0x811a=function(_0x281095,_0x140a85){_0x281095=_0x281095-0x0;var _0x4d9b65=_0x11a8[_0x281095];return _0x4d9b65;};'use strict';var multer=require(_0x811a('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x811a('0x1'));var router=express[_0x811a('0x2')]();var auth=require(_0x811a('0x3'));var interaction=require(_0x811a('0x4'));var config=require(_0x811a('0x5'));var controller=require(_0x811a('0x6'));router['get']('/',auth[_0x811a('0x7')](),controller[_0x811a('0x8')]);router[_0x811a('0x9')](_0x811a('0xa'),auth['isAuthenticated'](),controller[_0x811a('0xb')]);router[_0x811a('0x9')](_0x811a('0xc'),auth['isAuthenticated'](),controller[_0x811a('0xd')]);router[_0x811a('0x9')](_0x811a('0xe'),auth[_0x811a('0x7')](),controller[_0x811a('0xf')]);router[_0x811a('0x9')]('/:id/teams',auth['isAuthenticated'](),controller[_0x811a('0x10')]);router[_0x811a('0x9')](_0x811a('0x11'),auth[_0x811a('0x7')](),controller['getAgents']);router[_0x811a('0x12')]('/',auth['isAuthenticated'](),controller[_0x811a('0x13')]);router[_0x811a('0x12')](_0x811a('0x14'),auth[_0x811a('0x7')](),controller['addTeams']);router[_0x811a('0x12')]('/:id/users',auth[_0x811a('0x7')](),controller[_0x811a('0x15')]);router[_0x811a('0x16')](_0x811a('0xc'),auth[_0x811a('0x7')](),controller[_0x811a('0x17')]);router[_0x811a('0x18')]('/:id',auth['isAuthenticated'](),controller[_0x811a('0x19')]);router[_0x811a('0x18')](_0x811a('0x14'),auth[_0x811a('0x7')](),controller['removeTeams']);router[_0x811a('0x18')](_0x811a('0x11'),auth[_0x811a('0x7')](),controller[_0x811a('0x1a')]);module[_0x811a('0x1b')]=router;
\ No newline at end of file
+var _0x0434=['index','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','put','destroy','delete','removeTeams','removeAgents','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','isAuthenticated'];(function(_0x50eca0,_0x430259){var _0x5b075e=function(_0x296d61){while(--_0x296d61){_0x50eca0['push'](_0x50eca0['shift']());}};_0x5b075e(++_0x430259);}(_0x0434,0xa4));var _0x4043=function(_0x5b5cde,_0x1f7c5f){_0x5b5cde=_0x5b5cde-0x0;var _0x364ad2=_0x0434[_0x5b5cde];return _0x364ad2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4043('0x0'));var timeout=require(_0x4043('0x1'));var express=require('express');var router=express[_0x4043('0x2')]();var fs_extra=require(_0x4043('0x3'));var auth=require(_0x4043('0x4'));var interaction=require(_0x4043('0x5'));var config=require(_0x4043('0x6'));var controller=require(_0x4043('0x7'));router[_0x4043('0x8')]('/',auth[_0x4043('0x9')](),controller[_0x4043('0xa')]);router['get']('/describe',auth[_0x4043('0x9')](),controller[_0x4043('0xb')]);router[_0x4043('0x8')](_0x4043('0xc'),auth[_0x4043('0x9')](),controller[_0x4043('0xd')]);router[_0x4043('0x8')](_0x4043('0xe'),auth['isAuthenticated'](),controller[_0x4043('0xf')]);router[_0x4043('0x8')](_0x4043('0x10'),auth[_0x4043('0x9')](),controller[_0x4043('0x11')]);router[_0x4043('0x8')](_0x4043('0x12'),auth[_0x4043('0x9')](),controller[_0x4043('0x13')]);router[_0x4043('0x14')]('/',auth[_0x4043('0x9')](),controller[_0x4043('0x15')]);router[_0x4043('0x14')]('/:id/teams',auth['isAuthenticated'](),controller[_0x4043('0x16')]);router[_0x4043('0x14')]('/:id/users',auth['isAuthenticated'](),controller['addAgents']);router[_0x4043('0x17')](_0x4043('0xc'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x4043('0x18')]);router[_0x4043('0x19')](_0x4043('0x10'),auth['isAuthenticated'](),controller[_0x4043('0x1a')]);router[_0x4043('0x19')](_0x4043('0x12'),auth[_0x4043('0x9')](),controller[_0x4043('0x1b')]);module[_0x4043('0x1c')]=router;
\ No newline at end of file