Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / whatsappQueue / index.js
index 9c274ba..cb25c26 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x27a5=['getMembers','getTeams','/:id/users','getAgents','post','create','/:id/teams','addTeams','addAgents','put','delete','destroy','removeTeams','removeAgents','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappQueue.controller','isAuthenticated','get','describe','/:id','show'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x27a5,0x188));var _0x527a=function(_0x17148a,_0x512075){_0x17148a=_0x17148a-0x0;var _0x369ff6=_0x27a5[_0x17148a];return _0x369ff6;};'use strict';var multer=require(_0x527a('0x0'));var util=require('util');var path=require(_0x527a('0x1'));var timeout=require(_0x527a('0x2'));var express=require(_0x527a('0x3'));var router=express[_0x527a('0x4')]();var fs_extra=require(_0x527a('0x5'));var auth=require(_0x527a('0x6'));var interaction=require(_0x527a('0x7'));var config=require('../../config/environment');var controller=require(_0x527a('0x8'));router['get']('/',auth[_0x527a('0x9')](),controller['index']);router[_0x527a('0xa')]('/describe',auth[_0x527a('0x9')](),controller[_0x527a('0xb')]);router['get'](_0x527a('0xc'),auth[_0x527a('0x9')](),controller[_0x527a('0xd')]);router[_0x527a('0xa')]('/:id/members',auth[_0x527a('0x9')](),controller[_0x527a('0xe')]);router[_0x527a('0xa')]('/:id/teams',auth[_0x527a('0x9')](),controller[_0x527a('0xf')]);router[_0x527a('0xa')](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x11')]);router[_0x527a('0x12')]('/',auth[_0x527a('0x9')](),controller[_0x527a('0x13')]);router['post'](_0x527a('0x14'),auth[_0x527a('0x9')](),controller[_0x527a('0x15')]);router['post'](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x16')]);router[_0x527a('0x17')](_0x527a('0xc'),auth[_0x527a('0x9')](),controller['update']);router[_0x527a('0x18')](_0x527a('0xc'),auth[_0x527a('0x9')](),controller[_0x527a('0x19')]);router[_0x527a('0x18')](_0x527a('0x14'),auth[_0x527a('0x9')](),controller[_0x527a('0x1a')]);router[_0x527a('0x18')](_0x527a('0x10'),auth[_0x527a('0x9')](),controller[_0x527a('0x1b')]);module[_0x527a('0x1c')]=router;
\ No newline at end of file
+var _0x08c4=['index','get','/describe','describe','/:id','show','/:id/members','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','put','delete','destroy','removeTeams','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x08c4,0xf3));var _0x408c=function(_0x2aaa71,_0x317272){_0x2aaa71=_0x2aaa71-0x0;var _0x7be82d=_0x08c4[_0x2aaa71];return _0x7be82d;};'use strict';var multer=require('multer');var util=require(_0x408c('0x0'));var path=require(_0x408c('0x1'));var timeout=require(_0x408c('0x2'));var express=require(_0x408c('0x3'));var router=express[_0x408c('0x4')]();var fs_extra=require(_0x408c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x408c('0x6'));var config=require(_0x408c('0x7'));var controller=require('./whatsappQueue.controller');router['get']('/',auth[_0x408c('0x8')](),controller[_0x408c('0x9')]);router[_0x408c('0xa')](_0x408c('0xb'),auth['isAuthenticated'](),controller[_0x408c('0xc')]);router['get'](_0x408c('0xd'),auth['isAuthenticated'](),controller[_0x408c('0xe')]);router[_0x408c('0xa')](_0x408c('0xf'),auth[_0x408c('0x8')](),controller['getMembers']);router['get'](_0x408c('0x10'),auth['isAuthenticated'](),controller['getTeams']);router['get'](_0x408c('0x11'),auth[_0x408c('0x8')](),controller[_0x408c('0x12')]);router[_0x408c('0x13')]('/',auth['isAuthenticated'](),controller[_0x408c('0x14')]);router['post'](_0x408c('0x10'),auth[_0x408c('0x8')](),controller[_0x408c('0x15')]);router[_0x408c('0x13')]('/:id/users',auth[_0x408c('0x8')](),controller[_0x408c('0x16')]);router[_0x408c('0x17')](_0x408c('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x408c('0x18')]('/:id',auth[_0x408c('0x8')](),controller[_0x408c('0x19')]);router[_0x408c('0x18')](_0x408c('0x10'),auth['isAuthenticated'](),controller[_0x408c('0x1a')]);router[_0x408c('0x18')](_0x408c('0x11'),auth[_0x408c('0x8')](),controller['removeAgents']);module[_0x408c('0x1b')]=router;
\ No newline at end of file