Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / whatsappQueue / index.js
index 79b32f9..4d04469 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8c01=['../../config/environment','get','/describe','isAuthenticated','/:id','show','/:id/members','/:id/teams','getTeams','getAgents','post','create','addTeams','/:id/users','addAgents','update','destroy','delete','removeAgents','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x44423f,_0xf17f44){var _0x106e35=function(_0x90b46d){while(--_0x90b46d){_0x44423f['push'](_0x44423f['shift']());}};_0x106e35(++_0xf17f44);}(_0x8c01,0xe4));var _0x18c0=function(_0x22ff64,_0x5bd6a3){_0x22ff64=_0x22ff64-0x0;var _0x5496bf=_0x8c01[_0x22ff64];return _0x5496bf;};'use strict';var multer=require(_0x18c0('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x18c0('0x1'));var express=require(_0x18c0('0x2'));var router=express[_0x18c0('0x3')]();var fs_extra=require(_0x18c0('0x4'));var auth=require(_0x18c0('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x18c0('0x6'));var controller=require('./whatsappQueue.controller');router[_0x18c0('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x18c0('0x8'),auth[_0x18c0('0x9')](),controller['describe']);router[_0x18c0('0x7')](_0x18c0('0xa'),auth['isAuthenticated'](),controller[_0x18c0('0xb')]);router[_0x18c0('0x7')](_0x18c0('0xc'),auth[_0x18c0('0x9')](),controller['getMembers']);router[_0x18c0('0x7')](_0x18c0('0xd'),auth[_0x18c0('0x9')](),controller[_0x18c0('0xe')]);router[_0x18c0('0x7')]('/:id/users',auth[_0x18c0('0x9')](),controller[_0x18c0('0xf')]);router[_0x18c0('0x10')]('/',auth[_0x18c0('0x9')](),controller[_0x18c0('0x11')]);router[_0x18c0('0x10')]('/:id/teams',auth[_0x18c0('0x9')](),controller[_0x18c0('0x12')]);router['post'](_0x18c0('0x13'),auth[_0x18c0('0x9')](),controller[_0x18c0('0x14')]);router['put'](_0x18c0('0xa'),auth[_0x18c0('0x9')](),controller[_0x18c0('0x15')]);router['delete'](_0x18c0('0xa'),auth[_0x18c0('0x9')](),controller[_0x18c0('0x16')]);router['delete'](_0x18c0('0xd'),auth['isAuthenticated'](),controller['removeTeams']);router[_0x18c0('0x17')](_0x18c0('0x13'),auth[_0x18c0('0x9')](),controller[_0x18c0('0x18')]);module[_0x18c0('0x19')]=router;
\ No newline at end of file
+var _0x4c19=['../../config/environment','./whatsappQueue.controller','get','index','/describe','describe','/:id','isAuthenticated','show','getMembers','getTeams','/:id/users','getAgents','create','post','/:id/teams','addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x52d093,_0x3cc72d){var _0xd61b4d=function(_0x16d907){while(--_0x16d907){_0x52d093['push'](_0x52d093['shift']());}};_0xd61b4d(++_0x3cc72d);}(_0x4c19,0x119));var _0x94c1=function(_0x2a6596,_0x3e2807){_0x2a6596=_0x2a6596-0x0;var _0x5ef636=_0x4c19[_0x2a6596];return _0x5ef636;};'use strict';var multer=require(_0x94c1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x94c1('0x1'));var express=require(_0x94c1('0x2'));var router=express[_0x94c1('0x3')]();var fs_extra=require(_0x94c1('0x4'));var auth=require(_0x94c1('0x5'));var interaction=require(_0x94c1('0x6'));var config=require(_0x94c1('0x7'));var controller=require(_0x94c1('0x8'));router[_0x94c1('0x9')]('/',auth['isAuthenticated'](),controller[_0x94c1('0xa')]);router[_0x94c1('0x9')](_0x94c1('0xb'),auth['isAuthenticated'](),controller[_0x94c1('0xc')]);router[_0x94c1('0x9')](_0x94c1('0xd'),auth[_0x94c1('0xe')](),controller[_0x94c1('0xf')]);router[_0x94c1('0x9')]('/:id/members',auth[_0x94c1('0xe')](),controller[_0x94c1('0x10')]);router['get']('/:id/teams',auth[_0x94c1('0xe')](),controller[_0x94c1('0x11')]);router['get'](_0x94c1('0x12'),auth['isAuthenticated'](),controller[_0x94c1('0x13')]);router['post']('/',auth[_0x94c1('0xe')](),controller[_0x94c1('0x14')]);router[_0x94c1('0x15')](_0x94c1('0x16'),auth[_0x94c1('0xe')](),controller[_0x94c1('0x17')]);router['post'](_0x94c1('0x12'),auth[_0x94c1('0xe')](),controller[_0x94c1('0x18')]);router[_0x94c1('0x19')]('/:id',auth[_0x94c1('0xe')](),controller[_0x94c1('0x1a')]);router[_0x94c1('0x1b')](_0x94c1('0xd'),auth[_0x94c1('0xe')](),controller[_0x94c1('0x1c')]);router[_0x94c1('0x1b')](_0x94c1('0x16'),auth[_0x94c1('0xe')](),controller[_0x94c1('0x1d')]);router['delete'](_0x94c1('0x12'),auth[_0x94c1('0xe')](),controller[_0x94c1('0x1e')]);module[_0x94c1('0x1f')]=router;
\ No newline at end of file