Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / whatsappQueue / index.js
index 32690b2..1a164b8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x22ca=['put','update','destroy','delete','/:id/users','removeAgents','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/members','/:id/teams','getTeams','getAgents','post','addTeams','addAgents'];(function(_0x541a6b,_0x1e8a6b){var _0x3c132a=function(_0x4dfcf6){while(--_0x4dfcf6){_0x541a6b['push'](_0x541a6b['shift']());}};_0x3c132a(++_0x1e8a6b);}(_0x22ca,0xdf));var _0xa22c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x22ca[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xa22c('0x0'));var util=require(_0xa22c('0x1'));var path=require('path');var timeout=require(_0xa22c('0x2'));var express=require(_0xa22c('0x3'));var router=express['Router']();var auth=require(_0xa22c('0x4'));var interaction=require(_0xa22c('0x5'));var config=require(_0xa22c('0x6'));var controller=require('./whatsappQueue.controller');router[_0xa22c('0x7')]('/',auth[_0xa22c('0x8')](),controller[_0xa22c('0x9')]);router['get']('/describe',auth[_0xa22c('0x8')](),controller[_0xa22c('0xa')]);router[_0xa22c('0x7')](_0xa22c('0xb'),auth[_0xa22c('0x8')](),controller[_0xa22c('0xc')]);router[_0xa22c('0x7')](_0xa22c('0xd'),auth['isAuthenticated'](),controller['getMembers']);router['get'](_0xa22c('0xe'),auth[_0xa22c('0x8')](),controller[_0xa22c('0xf')]);router[_0xa22c('0x7')]('/:id/users',auth['isAuthenticated'](),controller[_0xa22c('0x10')]);router['post']('/',auth[_0xa22c('0x8')](),controller['create']);router[_0xa22c('0x11')](_0xa22c('0xe'),auth['isAuthenticated'](),controller[_0xa22c('0x12')]);router[_0xa22c('0x11')]('/:id/users',auth[_0xa22c('0x8')](),controller[_0xa22c('0x13')]);router[_0xa22c('0x14')](_0xa22c('0xb'),auth['isAuthenticated'](),controller[_0xa22c('0x15')]);router['delete'](_0xa22c('0xb'),auth[_0xa22c('0x8')](),controller[_0xa22c('0x16')]);router[_0xa22c('0x17')](_0xa22c('0xe'),auth[_0xa22c('0x8')](),controller['removeTeams']);router['delete'](_0xa22c('0x18'),auth[_0xa22c('0x8')](),controller[_0xa22c('0x19')]);module[_0xa22c('0x1a')]=router;
\ No newline at end of file
+var _0xd3ee=['/:id','isAuthenticated','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','put','update','destroy','delete','removeTeams','removeAgents','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','/describe','describe'];(function(_0x1d9aa0,_0x272488){var _0x226868=function(_0x17127c){while(--_0x17127c){_0x1d9aa0['push'](_0x1d9aa0['shift']());}};_0x226868(++_0x272488);}(_0xd3ee,0x167));var _0xed3e=function(_0x38a155,_0x2aa026){_0x38a155=_0x38a155-0x0;var _0x269403=_0xd3ee[_0x38a155];return _0x269403;};'use strict';var multer=require(_0xed3e('0x0'));var util=require(_0xed3e('0x1'));var path=require(_0xed3e('0x2'));var timeout=require(_0xed3e('0x3'));var express=require('express');var router=express[_0xed3e('0x4')]();var fs_extra=require(_0xed3e('0x5'));var auth=require(_0xed3e('0x6'));var interaction=require(_0xed3e('0x7'));var config=require(_0xed3e('0x8'));var controller=require(_0xed3e('0x9'));router[_0xed3e('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0xed3e('0xa')](_0xed3e('0xb'),auth['isAuthenticated'](),controller[_0xed3e('0xc')]);router[_0xed3e('0xa')](_0xed3e('0xd'),auth[_0xed3e('0xe')](),controller[_0xed3e('0xf')]);router['get'](_0xed3e('0x10'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x11')]);router[_0xed3e('0xa')](_0xed3e('0x12'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x13')]);router['get'](_0xed3e('0x14'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x15')]);router[_0xed3e('0x16')]('/',auth[_0xed3e('0xe')](),controller[_0xed3e('0x17')]);router[_0xed3e('0x16')](_0xed3e('0x12'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x18')]);router[_0xed3e('0x16')]('/:id/users',auth[_0xed3e('0xe')](),controller['addAgents']);router[_0xed3e('0x19')](_0xed3e('0xd'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x1a')]);router['delete'](_0xed3e('0xd'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x1b')]);router[_0xed3e('0x1c')](_0xed3e('0x12'),auth['isAuthenticated'](),controller[_0xed3e('0x1d')]);router[_0xed3e('0x1c')](_0xed3e('0x14'),auth[_0xed3e('0xe')](),controller[_0xed3e('0x1e')]);module['exports']=router;
\ No newline at end of file