Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / whatsappQueue / index.js
index 0d1f72b..1a164b8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x06f6=['../../config/environment','./whatsappQueue.controller','get','index','/describe','isAuthenticated','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','post','create','addTeams','addAgents','put','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','express','fs-extra'];(function(_0x18fe01,_0x3520a6){var _0xcf894e=function(_0x314de2){while(--_0x314de2){_0x18fe01['push'](_0x18fe01['shift']());}};_0xcf894e(++_0x3520a6);}(_0x06f6,0x67));var _0x606f=function(_0x5f0c06,_0x489bfd){_0x5f0c06=_0x5f0c06-0x0;var _0x510f03=_0x06f6[_0x5f0c06];return _0x510f03;};'use strict';var multer=require(_0x606f('0x0'));var util=require(_0x606f('0x1'));var path=require(_0x606f('0x2'));var timeout=require('connect-timeout');var express=require(_0x606f('0x3'));var router=express['Router']();var fs_extra=require(_0x606f('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x606f('0x5'));var controller=require(_0x606f('0x6'));router[_0x606f('0x7')]('/',auth['isAuthenticated'](),controller[_0x606f('0x8')]);router[_0x606f('0x7')](_0x606f('0x9'),auth[_0x606f('0xa')](),controller['describe']);router[_0x606f('0x7')](_0x606f('0xb'),auth[_0x606f('0xa')](),controller[_0x606f('0xc')]);router[_0x606f('0x7')](_0x606f('0xd'),auth[_0x606f('0xa')](),controller[_0x606f('0xe')]);router[_0x606f('0x7')](_0x606f('0xf'),auth[_0x606f('0xa')](),controller['getTeams']);router[_0x606f('0x7')](_0x606f('0x10'),auth[_0x606f('0xa')](),controller['getAgents']);router[_0x606f('0x11')]('/',auth[_0x606f('0xa')](),controller[_0x606f('0x12')]);router[_0x606f('0x11')](_0x606f('0xf'),auth[_0x606f('0xa')](),controller[_0x606f('0x13')]);router[_0x606f('0x11')](_0x606f('0x10'),auth[_0x606f('0xa')](),controller[_0x606f('0x14')]);router[_0x606f('0x15')](_0x606f('0xb'),auth[_0x606f('0xa')](),controller['update']);router[_0x606f('0x16')](_0x606f('0xb'),auth[_0x606f('0xa')](),controller[_0x606f('0x17')]);router[_0x606f('0x16')](_0x606f('0xf'),auth[_0x606f('0xa')](),controller[_0x606f('0x18')]);router[_0x606f('0x16')]('/:id/users',auth[_0x606f('0xa')](),controller[_0x606f('0x19')]);module[_0x606f('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