Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / whatsappQueue / index.js
index 49a40b7..90038cf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x52fe=['../../config/environment','index','get','/describe','isAuthenticated','/:id','show','/:id/members','getMembers','/:id/users','getAgents','create','/:id/teams','addTeams','post','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2fee96,_0x2f735d){var _0x2e6ad1=function(_0x2c55ad){while(--_0x2c55ad){_0x2fee96['push'](_0x2fee96['shift']());}};_0x2e6ad1(++_0x2f735d);}(_0x52fe,0x65));var _0xe52f=function(_0x58aee7,_0x1a574e){_0x58aee7=_0x58aee7-0x0;var _0x1ec5c8=_0x52fe[_0x58aee7];return _0x1ec5c8;};'use strict';var multer=require('multer');var util=require(_0xe52f('0x0'));var path=require(_0xe52f('0x1'));var timeout=require(_0xe52f('0x2'));var express=require(_0xe52f('0x3'));var router=express[_0xe52f('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe52f('0x5'));var interaction=require(_0xe52f('0x6'));var config=require(_0xe52f('0x7'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xe52f('0x8')]);router[_0xe52f('0x9')](_0xe52f('0xa'),auth[_0xe52f('0xb')](),controller['describe']);router['get'](_0xe52f('0xc'),auth[_0xe52f('0xb')](),controller[_0xe52f('0xd')]);router['get'](_0xe52f('0xe'),auth[_0xe52f('0xb')](),controller[_0xe52f('0xf')]);router['get']('/:id/teams',auth[_0xe52f('0xb')](),controller['getTeams']);router[_0xe52f('0x9')](_0xe52f('0x10'),auth[_0xe52f('0xb')](),controller[_0xe52f('0x11')]);router['post']('/',auth[_0xe52f('0xb')](),controller[_0xe52f('0x12')]);router['post'](_0xe52f('0x13'),auth[_0xe52f('0xb')](),controller[_0xe52f('0x14')]);router[_0xe52f('0x15')](_0xe52f('0x10'),auth[_0xe52f('0xb')](),controller['addAgents']);router[_0xe52f('0x16')](_0xe52f('0xc'),auth[_0xe52f('0xb')](),controller[_0xe52f('0x17')]);router[_0xe52f('0x18')](_0xe52f('0xc'),auth['isAuthenticated'](),controller[_0xe52f('0x19')]);router[_0xe52f('0x18')](_0xe52f('0x13'),auth[_0xe52f('0xb')](),controller['removeTeams']);router[_0xe52f('0x18')](_0xe52f('0x10'),auth[_0xe52f('0xb')](),controller['removeAgents']);module[_0xe52f('0x1a')]=router;
\ No newline at end of file
+var _0xeaea=['index','/describe','describe','show','/:id/members','getMembers','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','/:id','delete','destroy','/:id/teams','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappQueue.controller','get','isAuthenticated'];(function(_0x15a4c7,_0xedc41){var _0x2fcf59=function(_0x193fa6){while(--_0x193fa6){_0x15a4c7['push'](_0x15a4c7['shift']());}};_0x2fcf59(++_0xedc41);}(_0xeaea,0x174));var _0xaeae=function(_0x35af23,_0x9190f6){_0x35af23=_0x35af23-0x0;var _0x340506=_0xeaea[_0x35af23];return _0x340506;};'use strict';var multer=require(_0xaeae('0x0'));var util=require(_0xaeae('0x1'));var path=require(_0xaeae('0x2'));var timeout=require(_0xaeae('0x3'));var express=require(_0xaeae('0x4'));var router=express[_0xaeae('0x5')]();var fs_extra=require(_0xaeae('0x6'));var auth=require(_0xaeae('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xaeae('0x8'));var controller=require(_0xaeae('0x9'));router[_0xaeae('0xa')]('/',auth[_0xaeae('0xb')](),controller[_0xaeae('0xc')]);router['get'](_0xaeae('0xd'),auth[_0xaeae('0xb')](),controller[_0xaeae('0xe')]);router[_0xaeae('0xa')]('/:id',auth[_0xaeae('0xb')](),controller[_0xaeae('0xf')]);router[_0xaeae('0xa')](_0xaeae('0x10'),auth['isAuthenticated'](),controller[_0xaeae('0x11')]);router[_0xaeae('0xa')]('/:id/teams',auth['isAuthenticated'](),controller[_0xaeae('0x12')]);router['get'](_0xaeae('0x13'),auth[_0xaeae('0xb')](),controller[_0xaeae('0x14')]);router[_0xaeae('0x15')]('/',auth[_0xaeae('0xb')](),controller[_0xaeae('0x16')]);router[_0xaeae('0x15')]('/:id/teams',auth[_0xaeae('0xb')](),controller[_0xaeae('0x17')]);router['post']('/:id/users',auth[_0xaeae('0xb')](),controller[_0xaeae('0x18')]);router['put'](_0xaeae('0x19'),auth['isAuthenticated'](),controller['update']);router[_0xaeae('0x1a')](_0xaeae('0x19'),auth[_0xaeae('0xb')](),controller[_0xaeae('0x1b')]);router[_0xaeae('0x1a')](_0xaeae('0x1c'),auth[_0xaeae('0xb')](),controller[_0xaeae('0x1d')]);router['delete'](_0xaeae('0x13'),auth[_0xaeae('0xb')](),controller[_0xaeae('0x1e')]);module[_0xaeae('0x1f')]=router;
\ No newline at end of file