Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / whatsappQueue / index.js
index a7ed213..9bf1f1d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdf1a=['delete','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','Router','fs-extra','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','post','addTeams','addAgents','put','update','destroy'];(function(_0x5e677d,_0x5b76cc){var _0x16ac32=function(_0x105e7e){while(--_0x105e7e){_0x5e677d['push'](_0x5e677d['shift']());}};_0x16ac32(++_0x5b76cc);}(_0xdf1a,0x12d));var _0xadf1=function(_0x54ccd7,_0x3bc3ce){_0x54ccd7=_0x54ccd7-0x0;var _0x4e667b=_0xdf1a[_0x54ccd7];return _0x4e667b;};'use strict';var multer=require(_0xadf1('0x0'));var util=require(_0xadf1('0x1'));var path=require(_0xadf1('0x2'));var timeout=require(_0xadf1('0x3'));var express=require('express');var router=express[_0xadf1('0x4')]();var fs_extra=require(_0xadf1('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./whatsappQueue.controller');router[_0xadf1('0x6')]('/',auth['isAuthenticated'](),controller[_0xadf1('0x7')]);router[_0xadf1('0x6')](_0xadf1('0x8'),auth[_0xadf1('0x9')](),controller[_0xadf1('0xa')]);router[_0xadf1('0x6')](_0xadf1('0xb'),auth[_0xadf1('0x9')](),controller[_0xadf1('0xc')]);router[_0xadf1('0x6')](_0xadf1('0xd'),auth[_0xadf1('0x9')](),controller[_0xadf1('0xe')]);router[_0xadf1('0x6')](_0xadf1('0xf'),auth[_0xadf1('0x9')](),controller['getTeams']);router[_0xadf1('0x6')](_0xadf1('0x10'),auth[_0xadf1('0x9')](),controller['getAgents']);router[_0xadf1('0x11')]('/',auth[_0xadf1('0x9')](),controller['create']);router[_0xadf1('0x11')](_0xadf1('0xf'),auth[_0xadf1('0x9')](),controller[_0xadf1('0x12')]);router['post'](_0xadf1('0x10'),auth[_0xadf1('0x9')](),controller[_0xadf1('0x13')]);router[_0xadf1('0x14')](_0xadf1('0xb'),auth['isAuthenticated'](),controller[_0xadf1('0x15')]);router['delete'](_0xadf1('0xb'),auth[_0xadf1('0x9')](),controller[_0xadf1('0x16')]);router[_0xadf1('0x17')]('/:id/teams',auth[_0xadf1('0x9')](),controller[_0xadf1('0x18')]);router[_0xadf1('0x17')](_0xadf1('0x10'),auth[_0xadf1('0x9')](),controller[_0xadf1('0x19')]);module[_0xadf1('0x1a')]=router;
\ No newline at end of file
+var _0xb13e=['/:id/teams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','index','isAuthenticated','describe','/:id','show','/:id/members','getMembers','getTeams','getAgents','post','/:id/users','addAgents','put','delete','destroy'];(function(_0x15ca1a,_0x30fc82){var _0x507626=function(_0x14c9bc){while(--_0x14c9bc){_0x15ca1a['push'](_0x15ca1a['shift']());}};_0x507626(++_0x30fc82);}(_0xb13e,0x1f0));var _0xeb13=function(_0x2890ec,_0x198cc8){_0x2890ec=_0x2890ec-0x0;var _0x1fb281=_0xb13e[_0x2890ec];return _0x1fb281;};'use strict';var multer=require(_0xeb13('0x0'));var util=require(_0xeb13('0x1'));var path=require(_0xeb13('0x2'));var timeout=require(_0xeb13('0x3'));var express=require(_0xeb13('0x4'));var router=express[_0xeb13('0x5')]();var fs_extra=require(_0xeb13('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xeb13('0x7'));var config=require(_0xeb13('0x8'));var controller=require(_0xeb13('0x9'));router[_0xeb13('0xa')]('/',auth['isAuthenticated'](),controller[_0xeb13('0xb')]);router[_0xeb13('0xa')]('/describe',auth[_0xeb13('0xc')](),controller[_0xeb13('0xd')]);router['get'](_0xeb13('0xe'),auth[_0xeb13('0xc')](),controller[_0xeb13('0xf')]);router['get'](_0xeb13('0x10'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x11')]);router[_0xeb13('0xa')]('/:id/teams',auth['isAuthenticated'](),controller[_0xeb13('0x12')]);router[_0xeb13('0xa')]('/:id/users',auth[_0xeb13('0xc')](),controller[_0xeb13('0x13')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xeb13('0x14')]('/:id/teams',auth[_0xeb13('0xc')](),controller['addTeams']);router['post'](_0xeb13('0x15'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x16')]);router[_0xeb13('0x17')]('/:id',auth[_0xeb13('0xc')](),controller['update']);router[_0xeb13('0x18')](_0xeb13('0xe'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x19')]);router[_0xeb13('0x18')](_0xeb13('0x1a'),auth[_0xeb13('0xc')](),controller['removeTeams']);router[_0xeb13('0x18')](_0xeb13('0x15'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x1b')]);module[_0xeb13('0x1c')]=router;
\ No newline at end of file