Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / whatsappQueue / index.js
index 35c7934..58d0c90 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4787=['destroy','removeTeams','removeAgents','exports','multer','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','describe','/:id','/:id/teams','/:id/users','getAgents','create','addAgents','put','update','delete'];(function(_0x599f41,_0x4db732){var _0x2e4d58=function(_0x14c882){while(--_0x14c882){_0x599f41['push'](_0x599f41['shift']());}};_0x2e4d58(++_0x4db732);}(_0x4787,0x1bd));var _0x7478=function(_0x50a0c2,_0x4befab){_0x50a0c2=_0x50a0c2-0x0;var _0x5ebadd=_0x4787[_0x50a0c2];return _0x5ebadd;};'use strict';var multer=require(_0x7478('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7478('0x1'));var router=express[_0x7478('0x2')]();var auth=require(_0x7478('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7478('0x4'));var controller=require('./whatsappQueue.controller');router[_0x7478('0x5')]('/',auth[_0x7478('0x6')](),controller['index']);router[_0x7478('0x5')]('/describe',auth[_0x7478('0x6')](),controller[_0x7478('0x7')]);router[_0x7478('0x5')](_0x7478('0x8'),auth[_0x7478('0x6')](),controller['show']);router[_0x7478('0x5')]('/:id/members',auth[_0x7478('0x6')](),controller['getMembers']);router[_0x7478('0x5')](_0x7478('0x9'),auth[_0x7478('0x6')](),controller['getTeams']);router[_0x7478('0x5')](_0x7478('0xa'),auth['isAuthenticated'](),controller[_0x7478('0xb')]);router['post']('/',auth[_0x7478('0x6')](),controller[_0x7478('0xc')]);router['post']('/:id/teams',auth[_0x7478('0x6')](),controller['addTeams']);router['post'](_0x7478('0xa'),auth[_0x7478('0x6')](),controller[_0x7478('0xd')]);router[_0x7478('0xe')]('/:id',auth[_0x7478('0x6')](),controller[_0x7478('0xf')]);router[_0x7478('0x10')](_0x7478('0x8'),auth[_0x7478('0x6')](),controller[_0x7478('0x11')]);router[_0x7478('0x10')]('/:id/teams',auth[_0x7478('0x6')](),controller[_0x7478('0x12')]);router['delete'](_0x7478('0xa'),auth['isAuthenticated'](),controller[_0x7478('0x13')]);module[_0x7478('0x14')]=router;
\ No newline at end of file
+var _0x2816=['removeTeams','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','/describe','describe','get','/:id','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','delete'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0x2816,0x88));var _0x6281=function(_0xe8346a,_0x2e16e2){_0xe8346a=_0xe8346a-0x0;var _0x3fd041=_0x2816[_0xe8346a];return _0x3fd041;};'use strict';var multer=require(_0x6281('0x0'));var util=require(_0x6281('0x1'));var path=require('path');var timeout=require(_0x6281('0x2'));var express=require(_0x6281('0x3'));var router=express[_0x6281('0x4')]();var auth=require(_0x6281('0x5'));var interaction=require(_0x6281('0x6'));var config=require(_0x6281('0x7'));var controller=require(_0x6281('0x8'));router['get']('/',auth[_0x6281('0x9')](),controller[_0x6281('0xa')]);router['get'](_0x6281('0xb'),auth['isAuthenticated'](),controller[_0x6281('0xc')]);router[_0x6281('0xd')](_0x6281('0xe'),auth[_0x6281('0x9')](),controller['show']);router[_0x6281('0xd')]('/:id/members',auth[_0x6281('0x9')](),controller[_0x6281('0xf')]);router[_0x6281('0xd')](_0x6281('0x10'),auth['isAuthenticated'](),controller[_0x6281('0x11')]);router[_0x6281('0xd')](_0x6281('0x12'),auth[_0x6281('0x9')](),controller[_0x6281('0x13')]);router[_0x6281('0x14')]('/',auth['isAuthenticated'](),controller[_0x6281('0x15')]);router[_0x6281('0x14')](_0x6281('0x10'),auth[_0x6281('0x9')](),controller[_0x6281('0x16')]);router[_0x6281('0x14')](_0x6281('0x12'),auth[_0x6281('0x9')](),controller[_0x6281('0x17')]);router[_0x6281('0x18')](_0x6281('0xe'),auth[_0x6281('0x9')](),controller['update']);router[_0x6281('0x19')](_0x6281('0xe'),auth[_0x6281('0x9')](),controller['destroy']);router[_0x6281('0x19')](_0x6281('0x10'),auth[_0x6281('0x9')](),controller[_0x6281('0x1a')]);router[_0x6281('0x19')](_0x6281('0x12'),auth[_0x6281('0x9')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file