Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / whatsappQueue / index.js
index 2b80fe1..30caa11 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf7a3=['../../config/environment','./whatsappQueue.controller','get','isAuthenticated','describe','/:id','show','/:id/teams','/:id/users','getAgents','post','addTeams','addAgents','put','update','destroy','delete','removeTeams','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0xa4f636,_0xaca1b6){var _0x37e02a=function(_0x49bd47){while(--_0x49bd47){_0xa4f636['push'](_0xa4f636['shift']());}};_0x37e02a(++_0xaca1b6);}(_0xf7a3,0x1c4));var _0x3f7a=function(_0x1e05c1,_0x3cffa3){_0x1e05c1=_0x1e05c1-0x0;var _0x15f1ca=_0xf7a3[_0x1e05c1];return _0x15f1ca;};'use strict';var multer=require(_0x3f7a('0x0'));var util=require(_0x3f7a('0x1'));var path=require('path');var timeout=require(_0x3f7a('0x2'));var express=require(_0x3f7a('0x3'));var router=express[_0x3f7a('0x4')]();var auth=require(_0x3f7a('0x5'));var interaction=require(_0x3f7a('0x6'));var config=require(_0x3f7a('0x7'));var controller=require(_0x3f7a('0x8'));router[_0x3f7a('0x9')]('/',auth[_0x3f7a('0xa')](),controller['index']);router[_0x3f7a('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x3f7a('0xb')]);router[_0x3f7a('0x9')](_0x3f7a('0xc'),auth[_0x3f7a('0xa')](),controller[_0x3f7a('0xd')]);router['get']('/:id/members',auth[_0x3f7a('0xa')](),controller['getMembers']);router[_0x3f7a('0x9')](_0x3f7a('0xe'),auth[_0x3f7a('0xa')](),controller['getTeams']);router['get'](_0x3f7a('0xf'),auth[_0x3f7a('0xa')](),controller[_0x3f7a('0x10')]);router[_0x3f7a('0x11')]('/',auth[_0x3f7a('0xa')](),controller['create']);router[_0x3f7a('0x11')](_0x3f7a('0xe'),auth['isAuthenticated'](),controller[_0x3f7a('0x12')]);router[_0x3f7a('0x11')](_0x3f7a('0xf'),auth[_0x3f7a('0xa')](),controller[_0x3f7a('0x13')]);router[_0x3f7a('0x14')](_0x3f7a('0xc'),auth['isAuthenticated'](),controller[_0x3f7a('0x15')]);router['delete']('/:id',auth[_0x3f7a('0xa')](),controller[_0x3f7a('0x16')]);router[_0x3f7a('0x17')](_0x3f7a('0xe'),auth[_0x3f7a('0xa')](),controller[_0x3f7a('0x18')]);router[_0x3f7a('0x17')](_0x3f7a('0xf'),auth[_0x3f7a('0xa')](),controller[_0x3f7a('0x19')]);module[_0x3f7a('0x1a')]=router;
\ No newline at end of file
+var _0x9cf2=['/describe','isAuthenticated','get','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','post','create','put','update','delete','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','index'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9cf2,0xac));var _0x29cf=function(_0x2af90a,_0x4b34b8){_0x2af90a=_0x2af90a-0x0;var _0xd668ee=_0x9cf2[_0x2af90a];return _0xd668ee;};'use strict';var multer=require(_0x29cf('0x0'));var util=require(_0x29cf('0x1'));var path=require(_0x29cf('0x2'));var timeout=require(_0x29cf('0x3'));var express=require(_0x29cf('0x4'));var router=express[_0x29cf('0x5')]();var fs_extra=require(_0x29cf('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x29cf('0x7'));var config=require(_0x29cf('0x8'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x29cf('0x9')]);router['get'](_0x29cf('0xa'),auth[_0x29cf('0xb')](),controller['describe']);router[_0x29cf('0xc')](_0x29cf('0xd'),auth['isAuthenticated'](),controller[_0x29cf('0xe')]);router[_0x29cf('0xc')](_0x29cf('0xf'),auth[_0x29cf('0xb')](),controller[_0x29cf('0x10')]);router[_0x29cf('0xc')](_0x29cf('0x11'),auth[_0x29cf('0xb')](),controller['getTeams']);router[_0x29cf('0xc')](_0x29cf('0x12'),auth[_0x29cf('0xb')](),controller['getAgents']);router[_0x29cf('0x13')]('/',auth[_0x29cf('0xb')](),controller[_0x29cf('0x14')]);router[_0x29cf('0x13')](_0x29cf('0x11'),auth[_0x29cf('0xb')](),controller['addTeams']);router[_0x29cf('0x13')]('/:id/users',auth[_0x29cf('0xb')](),controller['addAgents']);router[_0x29cf('0x15')](_0x29cf('0xd'),auth['isAuthenticated'](),controller[_0x29cf('0x16')]);router[_0x29cf('0x17')](_0x29cf('0xd'),auth[_0x29cf('0xb')](),controller['destroy']);router[_0x29cf('0x17')](_0x29cf('0x11'),auth['isAuthenticated'](),controller['removeTeams']);router[_0x29cf('0x17')](_0x29cf('0x12'),auth[_0x29cf('0xb')](),controller[_0x29cf('0x18')]);module[_0x29cf('0x19')]=router;
\ No newline at end of file