Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / whatsappQueue / index.js
index a28385a..42d90d6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0749=['multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/members','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update','destroy','delete','removeTeams','removeAgents','exports'];(function(_0x3d1122,_0x21d6be){var _0x4601b9=function(_0x295769){while(--_0x295769){_0x3d1122['push'](_0x3d1122['shift']());}};_0x4601b9(++_0x21d6be);}(_0x0749,0x122));var _0x9074=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0x0749[_0x3e5086];return _0xfeb102;};'use strict';var multer=require(_0x9074('0x0'));var util=require(_0x9074('0x1'));var path=require(_0x9074('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x9074('0x3')]();var fs_extra=require(_0x9074('0x4'));var auth=require(_0x9074('0x5'));var interaction=require(_0x9074('0x6'));var config=require(_0x9074('0x7'));var controller=require('./whatsappQueue.controller');router[_0x9074('0x8')]('/',auth[_0x9074('0x9')](),controller[_0x9074('0xa')]);router[_0x9074('0x8')]('/describe',auth[_0x9074('0x9')](),controller[_0x9074('0xb')]);router[_0x9074('0x8')](_0x9074('0xc'),auth[_0x9074('0x9')](),controller[_0x9074('0xd')]);router[_0x9074('0x8')](_0x9074('0xe'),auth['isAuthenticated'](),controller['getMembers']);router[_0x9074('0x8')](_0x9074('0xf'),auth[_0x9074('0x9')](),controller['getTeams']);router['get'](_0x9074('0x10'),auth[_0x9074('0x9')](),controller[_0x9074('0x11')]);router[_0x9074('0x12')]('/',auth[_0x9074('0x9')](),controller[_0x9074('0x13')]);router['post'](_0x9074('0xf'),auth[_0x9074('0x9')](),controller[_0x9074('0x14')]);router[_0x9074('0x12')](_0x9074('0x10'),auth[_0x9074('0x9')](),controller[_0x9074('0x15')]);router[_0x9074('0x16')]('/:id',auth[_0x9074('0x9')](),controller[_0x9074('0x17')]);router['delete'](_0x9074('0xc'),auth[_0x9074('0x9')](),controller[_0x9074('0x18')]);router[_0x9074('0x19')]('/:id/teams',auth[_0x9074('0x9')](),controller[_0x9074('0x1a')]);router[_0x9074('0x19')](_0x9074('0x10'),auth[_0x9074('0x9')](),controller[_0x9074('0x1b')]);module[_0x9074('0x1c')]=router;
\ No newline at end of file
+var _0x62a9=['show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','describe','/:id'];(function(_0x1bacbe,_0x43201d){var _0x531859=function(_0x8bd111){while(--_0x8bd111){_0x1bacbe['push'](_0x1bacbe['shift']());}};_0x531859(++_0x43201d);}(_0x62a9,0x143));var _0x962a=function(_0x4bb2b9,_0x459c78){_0x4bb2b9=_0x4bb2b9-0x0;var _0x40e2a2=_0x62a9[_0x4bb2b9];return _0x40e2a2;};'use strict';var multer=require(_0x962a('0x0'));var util=require(_0x962a('0x1'));var path=require(_0x962a('0x2'));var timeout=require(_0x962a('0x3'));var express=require(_0x962a('0x4'));var router=express[_0x962a('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x962a('0x6'));var controller=require(_0x962a('0x7'));router['get']('/',auth[_0x962a('0x8')](),controller[_0x962a('0x9')]);router[_0x962a('0xa')]('/describe',auth[_0x962a('0x8')](),controller[_0x962a('0xb')]);router[_0x962a('0xa')](_0x962a('0xc'),auth[_0x962a('0x8')](),controller[_0x962a('0xd')]);router[_0x962a('0xa')](_0x962a('0xe'),auth['isAuthenticated'](),controller[_0x962a('0xf')]);router[_0x962a('0xa')](_0x962a('0x10'),auth['isAuthenticated'](),controller['getTeams']);router[_0x962a('0xa')](_0x962a('0x11'),auth[_0x962a('0x8')](),controller[_0x962a('0x12')]);router[_0x962a('0x13')]('/',auth[_0x962a('0x8')](),controller[_0x962a('0x14')]);router['post'](_0x962a('0x10'),auth['isAuthenticated'](),controller[_0x962a('0x15')]);router[_0x962a('0x13')](_0x962a('0x11'),auth[_0x962a('0x8')](),controller[_0x962a('0x16')]);router['put'](_0x962a('0xc'),auth[_0x962a('0x8')](),controller['update']);router[_0x962a('0x17')]('/:id',auth[_0x962a('0x8')](),controller[_0x962a('0x18')]);router['delete']('/:id/teams',auth[_0x962a('0x8')](),controller[_0x962a('0x19')]);router[_0x962a('0x17')](_0x962a('0x11'),auth['isAuthenticated'](),controller[_0x962a('0x1a')]);module[_0x962a('0x1b')]=router;
\ No newline at end of file