Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / whatsappQueue / index.js
index 4533c5a..ce98b93 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x88cf=['put','update','delete','destroy','removeTeams','removeAgents','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','describe','/:id','show','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents'];(function(_0x5cb97e,_0x132a39){var _0x1714b4=function(_0x384210){while(--_0x384210){_0x5cb97e['push'](_0x5cb97e['shift']());}};_0x1714b4(++_0x132a39);}(_0x88cf,0x10c));var _0xf88c=function(_0x5f09c1,_0x1e45ef){_0x5f09c1=_0x5f09c1-0x0;var _0xd12523=_0x88cf[_0x5f09c1];return _0xd12523;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf88c('0x0'));var express=require(_0xf88c('0x1'));var router=express[_0xf88c('0x2')]();var fs_extra=require(_0xf88c('0x3'));var auth=require(_0xf88c('0x4'));var interaction=require(_0xf88c('0x5'));var config=require(_0xf88c('0x6'));var controller=require(_0xf88c('0x7'));router['get']('/',auth[_0xf88c('0x8')](),controller[_0xf88c('0x9')]);router[_0xf88c('0xa')]('/describe',auth[_0xf88c('0x8')](),controller[_0xf88c('0xb')]);router[_0xf88c('0xa')](_0xf88c('0xc'),auth['isAuthenticated'](),controller[_0xf88c('0xd')]);router[_0xf88c('0xa')]('/:id/members',auth[_0xf88c('0x8')](),controller['getMembers']);router[_0xf88c('0xa')](_0xf88c('0xe'),auth['isAuthenticated'](),controller[_0xf88c('0xf')]);router[_0xf88c('0xa')](_0xf88c('0x10'),auth['isAuthenticated'](),controller[_0xf88c('0x11')]);router[_0xf88c('0x12')]('/',auth['isAuthenticated'](),controller[_0xf88c('0x13')]);router['post'](_0xf88c('0xe'),auth[_0xf88c('0x8')](),controller[_0xf88c('0x14')]);router[_0xf88c('0x12')](_0xf88c('0x10'),auth['isAuthenticated'](),controller[_0xf88c('0x15')]);router[_0xf88c('0x16')](_0xf88c('0xc'),auth['isAuthenticated'](),controller[_0xf88c('0x17')]);router[_0xf88c('0x18')](_0xf88c('0xc'),auth[_0xf88c('0x8')](),controller[_0xf88c('0x19')]);router[_0xf88c('0x18')]('/:id/teams',auth[_0xf88c('0x8')](),controller[_0xf88c('0x1a')]);router[_0xf88c('0x18')]('/:id/users',auth[_0xf88c('0x8')](),controller[_0xf88c('0x1b')]);module[_0xf88c('0x1c')]=router;
\ No newline at end of file
+var _0x61ed=['util','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','/:id','show','/:id/members','getMembers','/:id/users','getAgents','post','/:id/teams','addAgents','put','update','delete','removeAgents','exports'];(function(_0x1e2a66,_0x1bbeed){var _0xde23fe=function(_0x65c7de){while(--_0x65c7de){_0x1e2a66['push'](_0x1e2a66['shift']());}};_0xde23fe(++_0x1bbeed);}(_0x61ed,0xf2));var _0xd61e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x61ed[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0xd61e('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd61e('0x1'));var router=express[_0xd61e('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xd61e('0x3'));var config=require(_0xd61e('0x4'));var controller=require('./whatsappQueue.controller');router[_0xd61e('0x5')]('/',auth[_0xd61e('0x6')](),controller['index']);router[_0xd61e('0x5')](_0xd61e('0x7'),auth['isAuthenticated'](),controller['describe']);router[_0xd61e('0x5')](_0xd61e('0x8'),auth['isAuthenticated'](),controller[_0xd61e('0x9')]);router[_0xd61e('0x5')](_0xd61e('0xa'),auth[_0xd61e('0x6')](),controller[_0xd61e('0xb')]);router['get']('/:id/teams',auth['isAuthenticated'](),controller['getTeams']);router[_0xd61e('0x5')](_0xd61e('0xc'),auth[_0xd61e('0x6')](),controller[_0xd61e('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xd61e('0xe')](_0xd61e('0xf'),auth[_0xd61e('0x6')](),controller['addTeams']);router['post']('/:id/users',auth[_0xd61e('0x6')](),controller[_0xd61e('0x10')]);router[_0xd61e('0x11')]('/:id',auth[_0xd61e('0x6')](),controller[_0xd61e('0x12')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);router[_0xd61e('0x13')](_0xd61e('0xf'),auth[_0xd61e('0x6')](),controller['removeTeams']);router['delete'](_0xd61e('0xc'),auth['isAuthenticated'](),controller[_0xd61e('0x14')]);module[_0xd61e('0x15')]=router;
\ No newline at end of file